File size: 1,771 Bytes
aa02c28
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
[project]
name = "psi"
version = "0.0.0"
description = "Psi: towards humanoid foundation model"
readme = "README.md"
requires-python = "==3.10.*"
dependencies = [
    "albumentations==1.4.18",
    "datasets==3.6.0",
    "dm-tree==0.1.8",
    "einops==0.8.1",
    "einx>=0.3.0",
    "h5py==3.14.0",
    "imageio==2.34.2",
    "jsonlines>=4.0.0",
    "numpy<2.0.0",
    "numpydantic==1.6.7",
    "omegaconf>=2.3.0",
    "opencv-python",
    "plotly==6.2.0",
    "pydantic==2.10.6",
    "pydantic-yaml>=1.6.0",
    "tqdm==4.67.1",
    "typer>=0.19.1",
    "tyro==0.9.32",
    "vuer[all]>=0.0.68",
    "wandb>=0.20.0",
    "simplejpeg>=1.9.0",
    "dotenv",
    "gdown>=5.2.0",
]

[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"

[tool.setuptools.package-data]
psi = ["assets/*"]

[tool.uv.sources]
psi = { path = ".", editable = true }
simple = { path = "third_party/SIMPLE", editable = true }

[tool.uv.workspace]
members = ["packages/*"]

[dependency-groups]
serve = [
    "fastapi",
    "uvicorn",
]

viz = [
    "transforms3d>=0.4.2",
    "vuer[all]>=0.0.68",
    "viser>=1.0.15",
    #"pin>=3.8.0",
    #"numpy<2.0.0",
]

psi = [
    "setuptools>=61",
    "torch==2.7.0",
    "torchvision==0.22.0",
    "torchcodec==0.4.0",
    "transformers==4.57.0",
    "deepspeed==0.17.1",
    "flash_attn==2.7.4.post1",
    "triton==3.3.0",
    "accelerate==1.7.0",
    "peft==0.17.1",
    "qwen-vl-utils==0.0.14",
    "sentencepiece",
    "lerobot @ git+https://github.com/songlin/lerobot.git@09929d8057b044b53aecaf5c6d7eb71f99e8beb9"
]

#simple = [
#    "simple[full]",
#]

[tool.uv.extra-build-dependencies]
flash-attn = [{ requirement = "torch", match-runtime = true }]

[project.scripts]
serve_psi0 = "psi.deploy.psi0_serve_simple:main"