Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/scripts/unittest-linux/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ conda install --quiet -y ninja cmake

printf "* Installing torchaudio\n"
export BUILD_CPP_TEST=1
python setup.py install
pip install . -v --no-build-isolation

# 3. Install Test tools
printf "* Installing test tools\n"
Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/unittest-windows/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ printf "* Installing fsspec\n"
pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org fsspec

printf "* Installing torchaudio\n"
"$root_dir/packaging/vc_env_helper.bat" python setup.py install
"$root_dir/packaging/vc_env_helper.bat" pip install . -v --no-build-isolation

# 3. Install Test tools
printf "* Installing test tools\n"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
# python -m pip install --quiet --upgrade pip
# python -m pip install --quiet --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
# python -m pip install --quiet pytest requests cmake ninja deep-phonemizer sentencepiece flashlight-text git+https://github.com/kpu/kenlm
# python setup.py install
# python -m pip install . -v --no-build-isolation
# - name: Run integration test
# run: |
# cd test && pytest integration_tests -v --use-tmp-hub-dir
4 changes: 2 additions & 2 deletions docs/source/build.linux.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Here, we install nightly build.

.. code-block::

python setup.py develop
pip install -e . -v --no-build-isolation

.. note::
Due to the complexity of build process, TorchAudio only supports in-place build.
Expand All @@ -57,4 +57,4 @@ To build single version FFmpeg extension, FFmpeg binaries must be provided by us
.. code-block::

conda install -c conda-forge ffmpeg
FFMPEG_ROOT=${CONDA_PREFIX} python setup.py develop
FFMPEG_ROOT=${CONDA_PREFIX} pip install -e . -v --no-build-isolation
6 changes: 3 additions & 3 deletions docs/source/build.windows.rst
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,12 @@ Now that we have everything ready, we can build TorchAudio.
.. code-block::

# In Command Prompt
python setup.py develop
pip install -e . -v --no-build-isolation

.. code-block::

# In Bash
python setup.py develop
pip install -e . -v --no-build-isolation

.. note::
Due to the complexity of build process, TorchAudio only supports in-place build.
Expand All @@ -144,7 +144,7 @@ To build single version FFmpeg extension, FFmpeg binaries must be provided by us
.. code-block::

conda install -c conda-forge ffmpeg
FFMPEG_ROOT=${CONDA_PREFIX}/Library python setup.py develop
FFMPEG_ROOT=${CONDA_PREFIX}/Library pip install -e . -v --no-build-isolation


[Optional] Building FFmpeg from source
Expand Down
2 changes: 1 addition & 1 deletion packaging/torchaudio/bld.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

set IS_CONDA=1

python setup.py install --single-version-externally-managed --record=record.txt
python -m pip install . -vv
2 changes: 1 addition & 1 deletion packaging/torchaudio/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ if [ "${USE_CUDA}" == "1" ] ; then
fi
fi
shopt -u nocasematch
python setup.py install --single-version-externally-managed --record=record.txt
python -m pip install . -vv --no-build-isolation
2 changes: 1 addition & 1 deletion tools/travis/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ pip install -r requirements.txt
# Install the following only if running tests
if [[ "$SKIP_INSTALL" != "true" ]]; then
# TorchAudio CPP Extensions
python setup.py install
python -m pip install . -vv --no-build-isolation
fi

if [[ "$RUN_EXAMPLE_TESTS" == "true" ]]; then
Expand Down