Skip to content

Commit

Permalink
fairseq2n source maybe?
Browse files Browse the repository at this point in the history
  • Loading branch information
Mortimerp9 committed Dec 11, 2024
1 parent c3be1af commit 90d4a05
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/lint_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ jobs:
run: |
sudo apt-get install libsndfile1
python -m pip install --upgrade pip
python -m pip install fairseq2==v0.3.0rc1 --pre --extra-index-url https://fair.pkg.atmeta.com/fairseq2/whl/rc/pt2.5.1/cpu/
python -m pip install fairseq2n==0.3.0rc1+cpu --pre --extra-index-url https://fair.pkg.atmeta.com/fairseq2/whl/rc/pt2.5.1/cpu/
python -m pip install fairseq2==0.3.0rc1 --pre --extra-index-url https://fair.pkg.atmeta.com/fairseq2/whl/rc/pt2.5.1/cpu/
python -m pip install -r requirements.txt
python -m pip install -r requirements-dev.txt
python -m pip install -e .
Expand Down Expand Up @@ -59,8 +60,9 @@ jobs:
- name: Install dependencies
run: |
sudo apt-get install libsndfile1
python -m pip install --upgrade pip
python -m pip install fairseq2==v0.3.0rc1 --pre --extra-index-url https://fair.pkg.atmeta.com/fairseq2/whl/rc/pt2.5.1/cpu/
python -m pip install --upgrade pip
python -m pip install fairseq2n==0.3.0rc1+cpu --pre --extra-index-url https://fair.pkg.atmeta.com/fairseq2/whl/rc/pt2.5.1/cpu/
python -m pip install fairseq2==0.3.0rc1 --pre --extra-index-url https://fair.pkg.atmeta.com/fairseq2/whl/rc/pt2.5.1/cpu/
python -m pip install -r requirements.txt
python -m pip install -r requirements-dev.txt
python -m pip install -e .
Expand All @@ -83,8 +85,9 @@ jobs:
cache: "pip"
- name: Install dependencies
run: |
sudo apt-get install libsndfile1
python -m pip install fairseq2==v0.3.0rc1 --pre --extra-index-url https://fair.pkg.atmeta.com/fairseq2/whl/rc/pt2.5.1/cpu/
sudo apt-get install libsndfile1
python -m pip install fairseq2n==0.3.0rc1+cpu --pre --extra-index-url https://fair.pkg.atmeta.com/fairseq2/whl/rc/pt2.5.1/cpu/
python -m pip install fairseq2==0.3.0rc1 --pre --extra-index-url https://fair.pkg.atmeta.com/fairseq2/whl/rc/pt2.5.1/cpu/
python -m pip install -r requirements.txt
python -m pip install -r requirements-dev.txt
python -m pip install -e .
Expand All @@ -109,7 +112,8 @@ jobs:
run: |
sudo apt-get install libsndfile1
python -m pip install --upgrade pip
python -m pip install fairseq2==v0.3.0rc1 --pre --extra-index-url https://fair.pkg.atmeta.com/fairseq2/whl/rc/pt2.5.1/cpu/
python -m pip install fairseq2n==0.3.0rc1+cpu --pre --extra-index-url https://fair.pkg.atmeta.com/fairseq2/whl/rc/pt2.5.1/cpu/
python -m pip install fairseq2==0.3.0rc1 --pre --extra-index-url https://fair.pkg.atmeta.com/fairseq2/whl/rc/pt2.5.1/cpu/
python -m pip install -r requirements.txt
python -m pip install -r requirements-dev.txt
python -m pip install -e .
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ classifiers = [
]

dependencies = [
"fairseq2>=0.3.0rc1",
# "fairseq2>=0.3.0rc1", # install manually from https://fair.pkg.atmeta.com/fairseq2/whl/rc/pt2.5.1/cpu/
"numpy>=1.21",
"torch",
"torchaudio",
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
fairseq2>=0.3.0rc1
# fairseq2>=0.3.0rc1 # install manually from https://fair.pkg.atmeta.com/fairseq2/whl/rc/pt2.5.1/cpu/
# See https://github.com/NVIDIA/TensorRT-LLM/issues/1145
mpmath==1.3.0
numpy>=1.21
Expand Down

0 comments on commit 90d4a05

Please sign in to comment.