Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion benchmarks/libero-plus/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -1266,7 +1266,10 @@ def main(argv: list[str] | None = None) -> int:
if args.num_trials is None:
args.num_trials = 1
args.ckpt_dir = args.ckpt_dir.expanduser().resolve()
args.server_python = args.server_python.expanduser().resolve()
# Never resolve the interpreter: a virtualenv's bin/python is a symlink to
# the base interpreter, and executing that target directly leaves the venv
# undetected, so its site-packages never reach the server's sys.path.
args.server_python = args.server_python.expanduser().absolute()
# Preserve the public default aliases in logs and manifests instead of
# exposing an implementation-specific physical environment directory.
args.libero_python = args.libero_python.expanduser().absolute()
Expand Down
5 changes: 4 additions & 1 deletion benchmarks/libero/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -1200,7 +1200,10 @@ def main(argv: list[str] | None = None) -> int:
if args.num_trials is None:
args.num_trials = 50
args.ckpt_dir = args.ckpt_dir.expanduser().resolve()
args.server_python = args.server_python.expanduser().resolve()
# Never resolve the interpreter: a virtualenv's bin/python is a symlink to
# the base interpreter, and executing that target directly leaves the venv
# undetected, so its site-packages never reach the server's sys.path.
args.server_python = args.server_python.expanduser().absolute()
# Preserve the public default aliases in logs and manifests instead of
# exposing an implementation-specific physical environment directory.
args.libero_python = args.libero_python.expanduser().absolute()
Expand Down
Loading