Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: Explicitly add torch dependency #416

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
7 changes: 5 additions & 2 deletions .github/workflows/test_df.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,18 +111,21 @@ jobs:
working-directory: DeepFilterNet
run: |
poetry --version
poetry install -vvv --no-interaction -E eval -E dnsmos-local ${{env.EXTRA}}
echo "Installing pytorch"
poetry run poe install-torch-cpu
echo "Installing DeepFilterNet"
poetry install -vvv --no-interaction -E eval -E dnsmos-local ${{env.EXTRA}}
echo "Installing eval-utils"
poetry run poe install-dnsmos-utils
- name: Install runtime dependencies and DeepFilterNet for Windows
if: matrix.os == 'windows-latest'
working-directory: DeepFilterNet
run: |
poetry --version
poetry install -vvv --no-interaction -E dnsmos-local ${{env.EXTRA}}
echo "Installing pytorch"
poetry run poe install-torch-cpu
echo "Installing DeepFilterNet"
poetry install -vvv --no-interaction -E dnsmos-local ${{env.EXTRA}}
echo "Installing eval-utils"
poetry run poe install-eval-utils
poetry run poe install-dnsmos-utils
Expand Down
2 changes: 2 additions & 0 deletions DeepFilterNet/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ include = [
[tool.poetry.dependencies]
deepfilterlib = { path = "../pyDF/" }
deepfilterdataloader = { path = "../pyDF-data/", optional = true }
torch = ">=1.12,<2.1"
torchaudio = ">=1.12,<2.1"
python = ">=3.8,<4.0"
numpy = ">=1.22,<2.0"
loguru = ">=0.5"
Expand Down
Loading