Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some bugbears #7

Merged
merged 2 commits into from
Oct 11, 2023
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
10 changes: 10 additions & 0 deletions projects/baselines/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ by running
pip install -r requirements.txt -e .
```

Then you can run a baseline as follows:
```bash
python -m baselines.iql.main --config baselines/iql/configs/mujoco.py
```

## Running with Singularity
For production experiments on a cluster, we recommend using Singularity containers.
You can create a Singularity container that installs all of the runtime dependencies by
Expand All @@ -29,6 +34,11 @@ Then you can spawn a shell and run the examples in the package using the singula
singularity shell --nv --env PYTHONPATH=$PWD:$PWD/../../ cluster/corax-latest.sif
```

Then you can run a baseline as follows:
```bash
python -m baselines.iql.main --config baselines/iql/configs/mujoco.py
```

## Launching with LXM3
[LXM3](https://github.com/ethanluoyc/lxm3) users, please refer to cluster/launcher.py
for an example of how to launch experiments with LXM3. You may need to modify the
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ test = [
"ott-jax",
"dm-control",
]
dev = ["corax[test]", "black", "ruff"]
dev = ["corax[test]", "black", "ruff", "pre-commit"]

[tool.hatch.build]
directory = "dist"
Expand Down