MoraxCheng commited on
Commit
5e78754
·
1 Parent(s): 5d338ae

Fix requirements.txt for Python 3.10 compatibility

Browse files

- Use flexible version ranges for better compatibility
- Add jaxlib explicitly (required by jax)
- Update version constraints to avoid build conflicts

Files changed (1) hide show
  1. requirements.txt +10 -9
requirements.txt CHANGED
@@ -1,20 +1,21 @@
1
  torch>=1.12.0
2
  transformers==4.17.0
3
  tokenizers==0.11.6
4
- numpy==1.22.0
5
- pandas==1.4.0
6
- scipy==1.8.0
7
- scikit-learn==1.0.0
8
  tqdm
9
- biopython==1.78
10
  matplotlib
11
  seaborn
12
  gradio==3.50.0
13
  datasets==1.18.3
14
  wandb==0.12.11
15
- jax==0.3.0
16
- flax==0.4.0
 
17
  optax
18
  sentencepiece==0.1.96
19
- aiohttp==3.8.0
20
- sentry-sdk==1.3.1
 
1
  torch>=1.12.0
2
  transformers==4.17.0
3
  tokenizers==0.11.6
4
+ numpy>=1.21.0,<1.24.0
5
+ pandas>=1.3.0,<2.0.0
6
+ scipy>=1.7.0,<1.11.0
7
+ scikit-learn>=1.0.0,<1.2.0
8
  tqdm
9
+ biopython>=1.78,<2.0.0
10
  matplotlib
11
  seaborn
12
  gradio==3.50.0
13
  datasets==1.18.3
14
  wandb==0.12.11
15
+ jax>=0.3.0,<0.4.0
16
+ jaxlib>=0.3.0,<0.4.0
17
+ flax>=0.4.0,<0.5.0
18
  optax
19
  sentencepiece==0.1.96
20
+ aiohttp>=3.8.0,<3.9.0
21
+ sentry-sdk>=1.3.1,<2.0.0