verl 0.0.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of verl might be problematic. Click here for more details.

verl-0.0.2/PKG-INFO ADDED
@@ -0,0 +1,13 @@
1
+ Metadata-Version: 2.1
2
+ Name: verl
3
+ Version: 0.0.2
4
+ Summary: VeRL: Volcano Engine Reinforcement Learning for LLM
5
+ Home-page: https://github.com/volcengine/verl
6
+ Author: Bytedance - Seed - MLSys
7
+ Author-email: zhangchi.usc1992@bytedance.com, gmsheng@connect.hku.hk
8
+ License: Apache 2.0
9
+ Description: UNKNOWN
10
+ Platform: UNKNOWN
11
+ Provides-Extra: demo
12
+ Provides-Extra: single-controller-ray
13
+ Provides-Extra: single-controller
verl-0.0.2/README.rst ADDED
@@ -0,0 +1,39 @@
1
+ # VeRL: Volcano Engine Reinforcement Learning for LLM
2
+ Current status: under heavy development
3
+
4
+ ## Installation
5
+ As development mode
6
+ ```bash
7
+ pip3 install -e . --user
8
+ ```
9
+
10
+
11
+ pypi repo: TODO
12
+
13
+ ### Dependencies
14
+ Lightweight dependencies are in setup.py and will be installed during installation of verl. Other dependencies include
15
+ ```bash
16
+ # flash attention 2
17
+ pip3 install flash-attn --no-build-isolation
18
+ # megatron
19
+ bvc clone aml/mlsys/megatron;
20
+ cd megatron;
21
+ pip3 install -e . --user
22
+ # apex
23
+ pip3 install -v --disable-pip-version-check --no-cache-dir --no-build-isolation \
24
+ --config-settings "--build-option=--cpp_ext" --config-settings "--build-option=--cuda_ext" \
25
+ git+https://github.com/NVIDIA/apex
26
+
27
+ ```
28
+
29
+
30
+ ## Contribution
31
+ ### Code formatting
32
+ We use yapf (Google style) to enforce strict code formatting when reviewing MRs. To reformat you code locally, make sure you installed `yapf`
33
+ ```bash
34
+ pip3 install yapf
35
+ ```
36
+ Then, make sure you are at top level of verl repo and run
37
+ ```bash
38
+ yapf -ir -vv --style ./.style.yapf verl tests single_controller examples
39
+ ```
verl-0.0.2/setup.cfg ADDED
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
verl-0.0.2/setup.py ADDED
@@ -0,0 +1,48 @@
1
+ from setuptools import setup, find_packages
2
+ import os
3
+
4
+ version_folder = os.path.dirname(os.path.join(os.path.abspath(__file__)))
5
+
6
+ with open(os.path.join(version_folder, 'verl/version/version')) as f:
7
+ __version__ = f.read().strip()
8
+
9
+ # TODO: add version info to requirements
10
+ install_requires = [
11
+ 'tensordict>=0.3.0,<0.3.1',
12
+ 'transformers',
13
+ 'codetiming',
14
+ 'pybind11',
15
+ 'hydra-core',
16
+ 'numpy',
17
+ 'pytest',
18
+ 'yapf',
19
+ "dill",
20
+ "accelerate"
21
+ ]
22
+
23
+ install_optional = [
24
+ 'vllm==0.5.4',
25
+ 'liger-kernel'
26
+ ]
27
+
28
+ extras_require = {
29
+ 'demo': ['hydra-core', 'transformers', ''],
30
+ 'single-controller': ['ray', 'kubernetes'],
31
+ 'single-controller-ray': ['ray'],
32
+ }
33
+
34
+ setup(
35
+ name='verl',
36
+ version=__version__,
37
+ package_dir={'': '.'},
38
+ packages=find_packages(where='.'),
39
+ url='https://github.com/volcengine/verl',
40
+ license='Apache 2.0',
41
+ author='Bytedance - Seed - MLSys',
42
+ author_email='zhangchi.usc1992@bytedance.com, gmsheng@connect.hku.hk',
43
+ description='VeRL: Volcano Engine Reinforcement Learning for LLM',
44
+ install_requires=install_requires,
45
+ extras_require=extras_require,
46
+ package_data={'': ['version/*']},
47
+ include_package_data=True,
48
+ )
@@ -0,0 +1,9 @@
1
+ import os
2
+
3
+ version_folder = os.path.dirname(os.path.join(os.path.abspath(__file__)))
4
+
5
+ with open(os.path.join(version_folder, 'version/version')) as f:
6
+ __version__ = f.read().strip()
7
+
8
+ with open(os.path.join(version_folder, 'version/scm_version')) as f:
9
+ scm_version = 'local'
@@ -0,0 +1,13 @@
1
+ Metadata-Version: 2.1
2
+ Name: verl
3
+ Version: 0.0.2
4
+ Summary: VeRL: Volcano Engine Reinforcement Learning for LLM
5
+ Home-page: https://github.com/volcengine/verl
6
+ Author: Bytedance - Seed - MLSys
7
+ Author-email: zhangchi.usc1992@bytedance.com, gmsheng@connect.hku.hk
8
+ License: Apache 2.0
9
+ Description: UNKNOWN
10
+ Platform: UNKNOWN
11
+ Provides-Extra: demo
12
+ Provides-Extra: single-controller-ray
13
+ Provides-Extra: single-controller
@@ -0,0 +1,8 @@
1
+ README.rst
2
+ setup.py
3
+ ./verl/__init__.py
4
+ verl.egg-info/PKG-INFO
5
+ verl.egg-info/SOURCES.txt
6
+ verl.egg-info/dependency_links.txt
7
+ verl.egg-info/requires.txt
8
+ verl.egg-info/top_level.txt
@@ -0,0 +1,21 @@
1
+ tensordict<0.3.1,>=0.3.0
2
+ transformers
3
+ codetiming
4
+ pybind11
5
+ hydra-core
6
+ numpy
7
+ pytest
8
+ yapf
9
+ dill
10
+ accelerate
11
+
12
+ [demo]
13
+ hydra-core
14
+ transformers
15
+
16
+ [single-controller]
17
+ ray
18
+ kubernetes
19
+
20
+ [single-controller-ray]
21
+ ray
@@ -0,0 +1 @@
1
+ verl