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

When I use Genesis. No module named 'LuisaRenderPy' #31

Open
Xu-Xuanhui opened this issue Dec 20, 2024 · 1 comment
Open

When I use Genesis. No module named 'LuisaRenderPy' #31

Xu-Xuanhui opened this issue Dec 20, 2024 · 1 comment

Comments

@Xu-Xuanhui
Copy link

Describe the bug
When I use Genesis. No module named 'LuisaRenderPy'
python examples/rendering/demo.py

[Genesis] [23:14:40] [INFO] ╭───────────────────────────────────────────────╮
[Genesis] [23:14:40] [INFO] │┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈ Genesis ┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈┉┈│
[Genesis] [23:14:40] [INFO] ╰───────────────────────────────────────────────╯
[Genesis] [23:14:41] [INFO] Running on [NVIDIA GeForce RTX 4070 Laptop GPU] with backend gs.cuda. Device memory: 7.75 GB.
[Genesis] [23:14:42] [DEBUG] [Taichi] version 1.7.2, llvm 15.0.4, commit 0131dce9, linux, python 3.10.16
[Genesis] [23:14:42] [DEBUG] [Taichi] Starting on arch=cuda
[Genesis] [23:14:42] [INFO] 🚀 Genesis initialized. 🔖 version: 0.2.0, 🌱 seed: 0, 📏 precision: '32', 🐛 debug: False, 🎨 theme: 'dark'.
Traceback (most recent call last):
File "/home/xxh/anaconda3/envs/genesis/lib/python3.10/site-packages/genesis/vis/raytracer.py", line 17, in
import LuisaRenderPy
ModuleNotFoundError: No module named 'LuisaRenderPy'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/xxh/Documents/Genesis-main/examples/rendering/demo.py", line 166, in
main()
File "/home/xxh/Documents/Genesis-main/examples/rendering/demo.py", line 11, in main
scene = gs.Scene(
File "/home/xxh/anaconda3/envs/genesis/lib/python3.10/site-packages/genesis/utils/misc.py", line 27, in new_init
original_init(self, *args, **kwargs)
File "/home/xxh/anaconda3/envs/genesis/lib/python3.10/site-packages/genesis/engine/scene.py", line 148, in init
self._visualizer = Visualizer(
File "/home/xxh/anaconda3/envs/genesis/lib/python3.10/site-packages/genesis/vis/visualizer.py", line 60, in init
from .raytracer import Raytracer
File "/home/xxh/anaconda3/envs/genesis/lib/python3.10/site-packages/genesis/vis/raytracer.py", line 19, in
gs.raise_exception(f"Failed to import LuisaRenderer. {e.class.name}: {e}")

[Genesis] [23:14:44] [ERROR] Failed to import LuisaRenderer. ModuleNotFoundError: No module named 'LuisaRenderPy'

It seems like python bindings are not being generated at all when luisa-render is compiled and built.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [Ubuntu 24.04]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [intel 14700 nvidia 4070]
  • OS: [Ubuntu 24.04]

Additional context
Add any other context about the problem here.

@Mike-Leo-Smith
Copy link
Contributor

Hi, @Xu-Xuanhui

Genesis uses a forked version of LuisaRender maintained by their project’s developers. You may have to wait for them to open-source it. Thank you!

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

2 participants