-
Notifications
You must be signed in to change notification settings - Fork 528
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
ModuleNotFoundError: No module named 'diff_gaussian_rasterization' #26
Comments
You can refer to #12 |
run these commands:
|
Already tried, I get: |
nvcc --version must show cuda 11.8 |
Using on my home PC on Windows I got this: To create a public link, set |
share your machine specs , do you have gpu, what torch and cuda toolkit versions you are using? you switched from colab to windows? |
No I didn't. nvcc: NVIDIA (R) Cuda compiler driver That's the point, I tried to install 11.8 in colab but it did't work (it probably needs a reboot) |
Same problem. UPD: rebooted the system, redo |
If you have cuda 11.8 in the machine but nvcc doesn't point to it. [generally below is the location]
if you want to download cuda 11.8 first then repeat above command. and confirm using echo command. use gpt.
|
Windows 11 - running it for first time, haven't used colab I somehow got passed the error and now am able to run the app. When i click on Generate I get: RuntimeError: CUDA out of memory. Tried to allocate 1273.14 GiB. GPU 0 has a total capacity of 23.99 GiB of which 0 bytes is free. Of the allocated memory 25.64 GiB is allocated by PyTorch, and 1.36 GiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation. See documentation for Memory Management (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables) I tryed before running again to "cmd set PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True", but it was no help. Here is thefull Traceback call: Traceback (most recent call last): |
I receive the same error. Are you running other than 4090 gpu? @alexdepario |
If you're using GCC 13, you may need to apply this patch. See here for more info. Doing this allowed To install I think this is all I did to get the demo app working. |
thanks |
https://github.com/autonomousvision/mip-splatting/tree/main I had the same problem before installing this package. Now everything works great. |
Got stuck at this error in google colab.
Last part of the log is:
Sampling: 100% 12/12 [00:08<00:00, 1.37it/s]
Sampling: 100% 12/12 [00:25<00:00, 2.10s/it]
Rendering: 0it [00:00, ?it/s]
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/gradio/queueing.py", line 536, in process_events
response = await route_utils.call_process_api(
File "/usr/local/lib/python3.10/site-packages/gradio/route_utils.py", line 322, in call_process_api
output = await app.get_blocks().process_api(
File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1935, in process_api
result = await self.call_function(
File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1520, in call_function
prediction = await anyio.to_thread.run_sync( # type: ignore
File "/usr/local/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2505, in run_sync_in_worker_thread
return await future
File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 1005, in run
result = context.run(func, *args)
File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 826, in wrapper
response = f(*args, **kwargs)
File "/content/TRELLIS/app.py", line 115, in image_to_3d
video = render_utils.render_video(outputs['gaussian'][0], num_frames=120)['color']
File "/content/TRELLIS/trellis/utils/render_utils.py", line 96, in render_video
return render_frames(sample, extrinsics, intrinsics, {'resolution': resolution, 'bg_color': bg_color}, **kwargs)
File "/content/TRELLIS/trellis/utils/render_utils.py", line 73, in render_frames
res = renderer.render(sample, extr, intr, colors_overwrite=colors_overwrite)
File "/content/TRELLIS/trellis/renderers/gaussian_render.py", line 223, in render
render_ret = render(camera_dict, gausssian, self.pipe, self.bg_color, override_color=colors_overwrite, scaling_modifier=self.pipe.scale_modifier)
File "/content/TRELLIS/trellis/renderers/gaussian_render.py", line 58, in render
from diff_gaussian_rasterization import GaussianRasterizer, GaussianRasterizationSettings
ModuleNotFoundError: No module named 'diff_gaussian_rasterization'
The text was updated successfully, but these errors were encountered: