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

Please share the versions of GPU, PyTorch, CUDA, Python, and Linux. #207

Open
SuanCai-Fish opened this issue Dec 21, 2024 · 6 comments
Open

Comments

@SuanCai-Fish
Copy link

Please share the versions of GPU, PyTorch, CUDA, Python, and Linux that allow you to run Genesis properly, so I can use them as a reference.

@Habatakurikei
Copy link

Hi, I have just resolved my case.

My environment:

  • Mac Studio
  • Python 3.10.16 (Anaconda/conda 24.7.1)
  • Sequoia 15.2
  • M2 Ultra
  • torch 2.5.1

Commands:
conda create --name genesis python=3.10 -y
conda activate genesis
python -m pip install genesis-world
python -m pip install torch torchvision torchaudio
python render_on_macos.py -v

Hope if it helps your case. Thanks.

@Xu-Xuanhui
Copy link

Intel 14700, NVIDIA 4070,
Ubuntu 22.04 , NVIDIA535, CUDA 12.2
python 3.10
torch 2.2
It is easy to install genesis. The default version of PyOpenGL is 3.1.7, but it will encounter errors during runtime. I found that version 3.1.4 of PyOpenGL can be used. As the user guider reporting, if you followed 2.A and see “GLIBCXX_3.4.30 not found”.
cd ~/anaconda3/envs/genesis/lib
mv libstdc++.so.6 libstdc++.so.6.old
ln -s /usr/lib/x86_64-linux-gnu/libstdc++.so.6 libstdc++.so.6

However, LuisaRender has strict requirements for Ubuntu and CUDA versions.

@DuinoDu
Copy link

DuinoDu commented Dec 21, 2024

Hi, I have just resolved my case.

My environment:

  • Mac Studio
  • Python 3.10.16 (Anaconda/conda 24.7.1)
  • Sequoia 15.2
  • M2 Ultra
  • torch 2.5.1

Commands: conda create --name genesis python=3.10 -y conda activate genesis python -m pip install genesis-world python -m pip install torch torchvision torchaudio python render_on_macos.py -v

Hope if it helps your case. Thanks.

@Habatakurikei Hi, just curious about genesis on mac. Do you meet OpenGL.error.GLError (#165) when executing python render_on_macos.py -v?

OpenGL.error.GLError: GLError(
	err = 1282,
	description = b'invalid operation',
	baseOperation = glBindFramebuffer,
	cArguments = (GL_DRAW_FRAMEBUFFER, 0)

@Habatakurikei
Copy link

Hi, I have just resolved my case.
My environment:

  • Mac Studio
  • Python 3.10.16 (Anaconda/conda 24.7.1)
  • Sequoia 15.2
  • M2 Ultra
  • torch 2.5.1

Commands: conda create --name genesis python=3.10 -y conda activate genesis python -m pip install genesis-world python -m pip install torch torchvision torchaudio python render_on_macos.py -v
Hope if it helps your case. Thanks.

@Habatakurikei Hi, just curious about genesis on mac. Do you meet OpenGL.error.GLError (#165) when executing python render_on_macos.py -v?

OpenGL.error.GLError: GLError(
	err = 1282,
	description = b'invalid operation',
	baseOperation = glBindFramebuffer,
	cArguments = (GL_DRAW_FRAMEBUFFER, 0)

No, I did not face any error including GLError through that setup.
I attach a video how python render_on_macos.py -v worked on my Mac studio.

Ah4cGpFoqL2CjXe8.mp4

@oscar-lima
Copy link

  • GPU: Quadro RTX 4000
  • PyTorch version: 2.5.1+cu121
  • CUDA Version: 12.2
  • Python version: 3.10.9 (via pyenv)
  • Linux: Ubuntu 20.04

@analogjedi
Copy link

Hi, I have just resolved my case.

My environment:

  • Mac Studio
  • Python 3.10.16 (Anaconda/conda 24.7.1)
  • Sequoia 15.2
  • M2 Ultra
  • torch 2.5.1

Commands: conda create --name genesis python=3.10 -y conda activate genesis python -m pip install genesis-world python -m pip install torch torchvision torchaudio python render_on_macos.py -v

Hope if it helps your case. Thanks.

@Habatakurikei , thank you for posting this! I have been struggling to make any progress with a Python virtual environment (tried both Python 12 and 11). I did not try Python 10 in the venv so I am not sure if that was the reason..... but I did use your recipe with Miniconda on my Mac M3 and it finally worked! :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants