From 915e53e8835fd488972a81ab544a056821357d1e Mon Sep 17 00:00:00 2001 From: Tuan Tran <{ID}+{username}@users.noreply.github.com> Date: Tue, 18 Jun 2024 23:45:12 +0200 Subject: [PATCH 1/5] set constraint on numpy dependency --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index effd8c7e..120f9085 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,7 +6,7 @@ hydra-core>=1.1 hydra_colorlog julius num2words -numpy +numpy<2.0.0 sentencepiece spacy>=3.6.1 torch==2.1.0 From 869035a9a218e82b899ff99421a9a83d49231516 Mon Sep 17 00:00:00 2001 From: Tuan Tran <{ID}+{username}@users.noreply.github.com> Date: Wed, 19 Jun 2024 00:08:01 +0200 Subject: [PATCH 2/5] downgrade numpy 2.0 --- .github/actions/audiocraft_build/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/audiocraft_build/action.yml b/.github/actions/audiocraft_build/action.yml index 74ab1e38..8fc5541e 100644 --- a/.github/actions/audiocraft_build/action.yml +++ b/.github/actions/audiocraft_build/action.yml @@ -21,7 +21,7 @@ runs: python3 -m venv env . env/bin/activate python -m pip install --upgrade pip - pip install torch==2.1.0 torchvision==0.16.0 torchaudio==2.1.0 + pip install numpy<2.0 torch==2.1.0 torchvision==0.16.0 torchaudio==2.1.0 pip install xformers pip install -e '.[dev,wm]' - name: System Dependencies From c8e547eb84c36f20534685b3b6eb9eba35682be8 Mon Sep 17 00:00:00 2001 From: Tuan Tran <{ID}+{username}@users.noreply.github.com> Date: Wed, 19 Jun 2024 00:18:42 +0200 Subject: [PATCH 3/5] fix CI --- .github/actions/audiocraft_build/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/audiocraft_build/action.yml b/.github/actions/audiocraft_build/action.yml index 8fc5541e..82835519 100644 --- a/.github/actions/audiocraft_build/action.yml +++ b/.github/actions/audiocraft_build/action.yml @@ -21,7 +21,7 @@ runs: python3 -m venv env . env/bin/activate python -m pip install --upgrade pip - pip install numpy<2.0 torch==2.1.0 torchvision==0.16.0 torchaudio==2.1.0 + pip install 'numpy<2' torch==2.1.0 torchvision==0.16.0 torchaudio==2.1.0 pip install xformers pip install -e '.[dev,wm]' - name: System Dependencies From 4d782ddc38c75ea8d65b1372f314d55dc95aa2f2 Mon Sep 17 00:00:00 2001 From: Tuan Tran <{ID}+{username}@users.noreply.github.com> Date: Wed, 19 Jun 2024 00:39:30 +0200 Subject: [PATCH 4/5] typo in requirements.txt --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 120f9085..697cdfdf 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,7 +6,7 @@ hydra-core>=1.1 hydra_colorlog julius num2words -numpy<2.0.0 +numpy<2 sentencepiece spacy>=3.6.1 torch==2.1.0 From c14a6ede9cba4aa44a1ce8732ae79bc2942e1f44 Mon Sep 17 00:00:00 2001 From: Tuan Tran <{ID}+{username}@users.noreply.github.com> Date: Wed, 19 Jun 2024 00:41:14 +0200 Subject: [PATCH 5/5] rf --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 697cdfdf..120f9085 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,7 +6,7 @@ hydra-core>=1.1 hydra_colorlog julius num2words -numpy<2 +numpy<2.0.0 sentencepiece spacy>=3.6.1 torch==2.1.0