-
Carl Parker authored
Summary: Previously, `breadcrumbs.html` identified a nightly build version by the prefix "Nightly" which would normally be prepended to the version in `conf.py`. However, the version string is coming through without the "Nightly" prefix, so this change causes `breadcrumbs.html` to key on the substring "dev" instead. The reason we aren't getting "Nightly" is apparently because the environment variable BUILD_VERSION is available, so `conf.py` is using the value of that env var instead of the version string imported from the `torchaudio` module itself, which actually appears to be incorrect; see below. If I install torchaudio using conda install torchaudio -c pytorch-nightly then `torchaudio.__version__` returns the incorrect version string: 2.0.0.dev20230309 Pull Request resolved: https://github.com/pytorch/audio/pull/3333 Reviewed By: mthrok Differential Revision: D45926466 Pulled By: carljparker fbshipit-source-id: d5516f2d9f1716c2400d3e9b285bd5d32b4b3a773ffd76c8