-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Need docker #50
Comments
is there any problem with pip install taichi? @ Kashu7100 could you help with this? |
I will create PR |
Basically my offline enviroment is messy since many people work on it. So I want to use it on cloud. A docker file will be best. |
https://github.com/ETSTribology/Genesis Still working on it
|
I make it work with following Dockerfile. It does not build genesis from source. But install genesis through pip and install all dependencies. FROM pytorch/pytorch:2.5.1-cuda12.4-cudnn9-devel
ENV DEBIAN_FRONTEND=noninteractive
# install basic tools
RUN apt-get update && apt-get install -y git wget curl \
vim tar xz-utils
# install python package genesis
RUN pip install genesis-world
# install pillow for image processing
RUN pip install pillow
# install OpenGL
RUN apt-get update && apt-get install -y \
libglvnd0 libgl1 libglx0 libegl1 libgles2
# fix missing libraries
RUN apt-get update && apt-get install -y libxrender1 libglib2.0-0
# fix pyrender
# install ffmpeg
# https://github.com/Genesis-Embodied-AI/Genesis/pull/27
RUN apt-get update && apt-get install -y ffmpeg
# install pyrender
RUN pip install pyrender
RUN pip install PyOpenGL==3.1.7
# note that there would be a conflict between PyOpenGL and pyrender.
# but we still need PyOpenGL 3.1.7 refer to https://github.com/Genesis-Embodied-AI/Genesis/issues/74
# PyOpenGL 3.1.7 raise error when using pyrender even if i build pyrender from source
# fix glGetError refer to: https://github.com/MPI-IS/mesh/issues/23
RUN apt-get install -y python3-opengl |
Sorry for taking some time. Finally created a PR with Luisa support. |
Really need a docker to run this on linux. Taichi is hard to run naturally
The text was updated successfully, but these errors were encountered: