File tree 2 files changed +17
-25
lines changed
2 files changed +17
-25
lines changed Original file line number Diff line number Diff line change 1
- transformers
2
- hydra-core
3
- tensordict == 0.5.0
4
- numpy
5
- pytest
6
- pybind11
1
+ # vllm==0.6.3 # vllm is installed in image building to avoid ray conflicts
2
+ # TODO: add version info to requirements
3
+ accelerate
7
4
codetiming
8
- yapf
9
- wandb
10
- git+https://github.com/NVIDIA/TransformerEngine.git@stable
5
+ datasets
6
+ dill
7
+ hydra-core
8
+ numpy
9
+ pybind11
10
+ ray == 2.10
11
+ tensordict
12
+ transformers
Original file line number Diff line number Diff line change 20
20
with open (os .path .join (version_folder , 'verl/version/version' )) as f :
21
21
__version__ = f .read ().strip ()
22
22
23
- # TODO: add version info to requirements
24
- install_requires = [
25
- 'torch==2.4.0' ,
26
- 'tensordict' ,
27
- 'transformers' ,
28
- 'codetiming' ,
29
- 'pybind11' ,
30
- 'hydra-core' ,
31
- 'numpy' ,
32
- 'yapf' ,
33
- "dill" ,
34
- "accelerate"
35
- ]
23
+
24
+ with open ('requirements.txt' ) as f :
25
+ required = f .read ().splitlines ()
26
+ install_requires = [item .strip () for item in required if item .strip ()[0 ] != '#' ]
36
27
37
28
install_optional = [
38
29
'vllm==0.6.3' ,
30
+ 'torch==2.4.0' , # required by vllm
39
31
]
40
32
41
33
extras_require = {
42
- 'demo' : ['hydra-core' , 'transformers' , '' ],
43
34
'single-controller' : ['ray' , 'kubernetes' ],
44
- 'single-controller-ray' : ['ray' ],
45
- 'test' : ['fsspec' , 'pytest' , 'datasets' ]
35
+ 'test' : ['pytest' ]
46
36
}
47
37
48
38
from pathlib import Path
You can’t perform that action at this time.
0 commit comments