You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
torch from PyPI. If you need a different torch configuration, preinstall torch
65
52
before running this command.)
66
53
67
-
At the moment, there is no automated nightly build process, but we occasionally
68
-
build nightlies based on PyTorch nightlies by hand following the instructions in
69
-
[packaging](packaging). To install the latest nightly via pip, run:
54
+
### Nightly build
55
+
56
+
Note that nightly build is build on PyTorch's nightly build. Therefore, you need to install the latest PyTorch when you use nightly build of torchaudio.
If while building from within an anaconda environment you come across errors similar to the following:
105
+
Alternatively, the build process can build SoX (and codecs such as libmad, lame and flac) statically and torchaudio can link them, by setting environment variable `BUILD_SOX=1`.
106
+
The build process will fetch and build SoX, liblame, libmad, flac before building extension.
This is known to work on linux and unix distributions such as Ubuntu and CentOS 7 and macOS.
117
+
If you try this on a new system and found a solution to make it work, feel free to share it by opening and issue.
118
+
119
+
#### Troubleshooting
120
+
121
+
<Details><Summary>checking build system type... ./config.guess: unable to guess system type</Summary>
122
+
123
+
Since the configuration file for codecs are old, they cannot correctly detect the new environments, such as Jetson Aarch. You need to replace the `config.guess` file in `./third_party/tmp/lame-3.99.5/config.guess` and/or `./third_party/tmp/libmad-0.15.1b/config.guess` with [the latest one](https://github.com/gcc-mirror/gcc/blob/master/config.guess).
124
+
125
+
See also: [#658](https://github.com/pytorch/audio/issues/658)
126
+
127
+
</Details>
128
+
129
+
<Details><Summary>Undefined reference to `tgetnum' when using `BUILD_SOX`</Summary>
130
+
131
+
If while building from within an anaconda environment you come across errors similar to the following:
98
132
99
133
```
100
134
../bin/ld: console.c:(.text+0xc1): undefined reference to `tgetnum'
@@ -107,6 +141,8 @@ Install `ncurses` from `conda-forge` before running `python setup.py install`:
0 commit comments