pytorch / pytorch/audio

how to install libtorchaudio for cpp project ?

Open
#3,746 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2.9k
Forks
799
Avg merge
58m
Merged PRs (30d)
3

Description

🐛 Describe the bug

HI ,I git clone audio project ,then add libtorch path to the audio CMakeTxt, try to make && make install ,but all finish ,I cannot find libtorchaudio.dylib file on my macos intel, only libtorchaudio.so libtorchaudio_sox.so in /usr/local/torchaudio

Versions

latest

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the audio project's CMake configuration and the libtorch path used for macOS Intel. Check the install output under /usr/local/torchaudio and compare the generated .so files with the expected libtorchaudio.dylib; done means the correct macOS library is produced or the platform limitation is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp, macos, pytorch
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.