You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,6 +57,24 @@ You also need to install **PyTorch** following the [official instructions](https
57
57
58
58
If you would like to try out the latest version, we suggest you to git clone from the repo and do `pip install -e .` instead of via PyPI.
59
59
60
+
### Docker Installation
61
+
You can use the Dockerfile provided in the repository to build a docker image:
62
+
```bash
63
+
docker build -t genesis .
64
+
```
65
+
66
+
And then run the examples inside the docker image:
67
+
```bash
68
+
xhost +local:root # Allow the container to access the display
69
+
70
+
docker run --gpus all --rm -it -e DISPLAY=$DISPLAY -v /tmp/.X11-unix/:/tmp/.X11-unix genesis python examples/tutorials/hello_genesis.py
71
+
72
+
# Or with docker-compose
73
+
docker compose up
74
+
```
75
+
76
+
You need to install [Docker](https://www.docker.com/) and [NVIDIA Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html) to be able to run the container with GPU support.
77
+
60
78
### Documentation
61
79
62
80
Please refer to our [documentation site (English)](https://genesis-world.readthedocs.io/en/latest/user_guide/index.html) / [(Chinese)](https://genesis-world.readthedocs.io/zh-cn/latest/user_guide/index.html) for detailed installation steps, tutorials and API references.
请参阅我们的 [文档网站(英文)](https://genesis-world.readthedocs.io/en/latest/user_guide/index.html)/[(中文)](https://genesis-world.readthedocs.io/zh-cn/latest/user_guide/index.html)以获取详细的安装步骤、教程和 API 参考。
0 commit comments