fix: use pinned DISCOVERSE ACT module path
This commit is contained in:
parent
07a09bcd01
commit
7846c1aae5
@ -61,7 +61,7 @@ RUN git clone --filter=blob:none --no-checkout https://github.com/Motphys/motrix
|
||||
ln -s /opt/conda/bin/pip /opt/real2sim_paper_runtime/envs/anysplat/bin/pip
|
||||
|
||||
RUN python -c 'import mujoco, motrixsim, torch; from huggingface_hub import snapshot_download; assert torch.__version__.startswith("2.2")' && \
|
||||
PYTHONPATH=/opt/DISCOVERSE/policies/act:/opt/DISCOVERSE python -c 'from policy import ACTPolicy; assert ACTPolicy is not None' && \
|
||||
PYTHONPATH=/opt/DISCOVERSE/policies/act:/opt/DISCOVERSE python -c 'from policies.act.act import ACTPolicy; assert ACTPolicy is not None' && \
|
||||
PYTHONPATH=/opt/real2sim_paper_runtime/AnySplat python -c 'from src.model.model.anysplat import AnySplat; assert AnySplat is not None' && \
|
||||
test -f /opt/gs_playground/scripts/real2sim_video_motrix_scene.py
|
||||
|
||||
|
||||
@ -3098,7 +3098,7 @@ def _act_runtime_import_ready(discoverse_root_value: str, discoverse_commit: str
|
||||
env = os.environ.copy()
|
||||
env["PYTHONPATH"] = os.pathsep.join([str(act_root), str(discoverse_root), env.get("PYTHONPATH", "")]).rstrip(os.pathsep)
|
||||
completed = subprocess.run(
|
||||
[sys.executable, "-c", "from policy import ACTPolicy; assert ACTPolicy is not None"],
|
||||
[sys.executable, "-c", "from policies.act.act import ACTPolicy; assert ACTPolicy is not None"],
|
||||
cwd=act_root,
|
||||
env=env,
|
||||
text=True,
|
||||
|
||||
@ -153,7 +153,7 @@ def _act_probe(config: PlatformConfig) -> dict[str, Any]:
|
||||
env = os.environ.copy()
|
||||
env["PYTHONPATH"] = os.pathsep.join([str(act_root), str(config.discoverse_root), env.get("PYTHONPATH", "")]).rstrip(os.pathsep)
|
||||
completed = subprocess.run(
|
||||
[sys.executable, "-c", "import torch; from policy import ACTPolicy; print(torch.__version__); assert ACTPolicy is not None and torch.cuda.is_available()"],
|
||||
[sys.executable, "-c", "import torch; from policies.act.act import ACTPolicy; print(torch.__version__); assert ACTPolicy is not None and torch.cuda.is_available()"],
|
||||
cwd=act_root,
|
||||
env=env,
|
||||
text=True,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user