Skip to content

Commit 656afe0

Browse files
committed
fix: 更新pixi.toml,调整默认环境和安装命令以支持hamer_post特性
1 parent 33b30be commit 656afe0

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

‎docker/dynhamr/pixi.toml‎

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@ platforms = ["linux-64"] # "osx-arm64", "osx-64"
44
version = "2025.12.10"
55
[environments]
66
bmc = {features = ["bmc", "bmc-gpu"], no-default-feature = true, solve-group = "bmc"}
7-
# cpu = ["cpu", "hamer", "hamer-all", "vposer"] # TODO
8-
default = {features = ["gpu", "hamer", "hamer_detectron2", "vposer"], solve-group = "default"}
7+
default = ["hamer_post", "gpu", "hamer", "vposer"]
98
[tasks]
10-
install = {cmd = "pixi install --quiet && pixi workspace environment add default -f hamer_post -f gpu -f hamer -f hamer_detectron2 -f vposer --force --quiet && pixi install --quiet"}
9+
install = {cmd = "pixi config set --local run-post-link-scripts insecure && pixi install --quiet && pixi workspace environment add default -f hamer_post -f gpu -f hamer -f vposer --force --quiet && pixi install --quiet"}
1110

1211
[feature.gpu.system-requirements]
1312
cuda = "12.1"
@@ -84,11 +83,6 @@ yacs = "*"
8483
no-build-isolation = true
8584
[feature.hamer_post.pypi-dependencies]
8685
hamer = {path = "third-party/hamer", editable = true, extras = ["all"]}
87-
[feature.hamer_detectron2.pypi-options]
88-
extra-index-urls = ["https://miropsota.github.io/torch_packages_builder"]
89-
[feature.hamer_detectron2.pypi-dependencies]
90-
# https://github.com/MiroPsota/torch_packages_builder https://detectron2.readthedocs.io/en/latest/tutorials/install.html
91-
detectron2 = "==0.6+2a420edpt1.13.0cu117"
9286
[feature.hamer.pypi-options]
9387
# https://github.com/prefix-dev/pixi/issues/4392 https://github.com/prefix-dev/pixi/issues/3223 https://github.com/prefix-dev/pixi/issues/1124 https://github.com/prefix-dev/pixi/issues/1834
9488
extra-index-urls = ["https://pypi.org/simple", "https://miropsota.github.io/torch_packages_builder"]
@@ -99,6 +93,8 @@ protobuf = ">=5,<6"
9993
[feature.hamer.pypi-dependencies]
10094
mmpose = {path = "third-party/hamer/third-party/ViTPose", editable = true}
10195

96+
# https://github.com/MiroPsota/torch_packages_builder https://detectron2.readthedocs.io/en/latest/tutorials/install.html
97+
detectron2 = "==0.6+2a420edpt1.13.0cu117"
10298
mediapipe = "*" # ⚠️ protobuf too old
10399
# chumpy = {git = "https://github.com/mattloper/chumpy"}
104100
# lightning = "*"

0 commit comments

Comments
 (0)