Skip to content

Commit

Permalink
pin torchaudio
Browse files Browse the repository at this point in the history
  • Loading branch information
Mortimerp9 committed Dec 11, 2024
1 parent 8eee380 commit db560a1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 23 deletions.
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ classifiers = [
]

dependencies = [
"fairseq2>=0.3.0rc1",
# "fairseq2>=0.3.0rc1", # installed with the cpu deps, if you want a gpu build, you need to install it manually
"numpy>=1.21",
"sox",
"soundfile",
Expand All @@ -46,7 +46,7 @@ dev = ["pytest-asyncio>=0.15.0", "pytest-cov>=2.6.1", "pytest>=4.3.0", "coverage
[project.optional-dependencies]
cpu = [
"torch==2.5.1+cpu",
"torchaudio",
"torchaudio==2.5.1+cpu",
"fairseq2n==0.3.0rc1",
"fairseq2[arrow]==0.3.0rc1",
]
Expand Down Expand Up @@ -97,6 +97,7 @@ fairseq2n = [
{ index = "fairseq2-cpu", extra = 'cpu' }
]
torch={index="pytorch-cpu"}
torchaudio={index="pytorch-cpu"}

[[tool.uv.index]]
name = "fairseq2-cpu"
Expand Down
32 changes: 11 additions & 21 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit db560a1

Please sign in to comment.