-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathsetup.py
More file actions
53 lines (52 loc) · 1.27 KB
/
Copy pathsetup.py
File metadata and controls
53 lines (52 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
from setuptools import find_packages, setup
# Compatibility metadata for older pip/setuptools editable installs.
# Newer tooling uses pyproject.toml as the source of truth.
setup(
name="unirl",
version="0.1.0",
description="Unified multimodal RL training framework",
python_requires=">=3.12",
include_package_data=True,
packages=find_packages(
where=".",
include=(
"unirl",
"unirl.*",
),
),
install_requires=[
"numpy>=1.24,<3",
"torch>=2.1",
"ray[default]>=2.9,<3",
"sglang[diffusion]==0.5.12.post1",
"diffusers>=0.37.0",
"hydra-core>=1.3",
"omegaconf>=2.3",
"transformers>=4.41",
"peft>=0.11",
"safetensors>=0.4",
"Pillow>=10",
"requests>=2.31",
"psutil>=5.9",
"tensordict>=0.5",
],
extras_require={
"train": [
"wandb>=0.16,<0.20",
"aiohttp>=3.9",
],
"infer": [
"accelerate>=0.30",
],
"eval": [
"torchvision>=0.16",
"easyocr>=1.7",
],
"dev": [
"pytest>=7.4",
"pytest-cov>=4.1",
"ruff>=0.6",
"pre-commit>=3.6",
],
},
)