Git Product home page Git Product logo

Comments (6)

decadance-dance avatar decadance-dance commented on August 21, 2024 1

I fixed it for myself.
First, look at your GPU drivers and their CUDA compatibility.
You must have a full CUDA driver installed.
I installed myself version 11.3. https://developer.nvidia.com/cuda-11.3.0-download-archive?target_os=Linux&target_arch=x86_64&Distribution=Ubuntu&target_version=20.04&target_type=deb_local
After installing CUDA, I registered the paths CUDA_HOME, CUB_HOME
Next, I collected the environment.

conda env create -f environment.yml
conda activate plenoxels

Make sure that your conda environment does not already have libraries related to svox2 and svox. And manually executed the command python setup.py install from the root of the repository. After that, I ran the command pip install .
The svox2 library appeared in the trace in the list of libraries in my environment. Attention, avoid the simultaneous presence of svox2 and svox in the environment.
image

from svox2.

sxyu avatar sxyu commented on August 21, 2024

Hi,
This means that the CUDA extension failed to build.
Did you run pip install . on the svox2 root? If so, did you see any errors/warnings when doing so?
Also, what is your GPU and CUDA version?

from svox2.

Fangkang515 avatar Fangkang515 commented on August 21, 2024

This seems to be a general problem, I have the same error:

    assert (
AssertionError: CUDA extension is currently required for accelerate

and, my cuda version shows below:

image
GPU is 1080Ti.

Do you have any idea to fix it? Help me please. Thank you very much!

from svox2.

Realitian avatar Realitian commented on August 21, 2024

I also got Please do not import svox in the svox2 source directory, when I run the to_svox1.py.
For the debugging, I tried to just import svox and svox2 only in python file.
But, when I import one svox or svox2, then above message does not show. but if I import both svox and svox2 at the same time, then I can get this message.
I am curious if two cuda module has conflict.
Could you give me hint to resolve this issue when I run the to_svox1.py, @sxyu ?
Thank you in advance for your help!

from svox2.

SSground avatar SSground commented on August 21, 2024

I have the same problem, but this does not seem to affect the final result

from svox2.

yyang9887 avatar yyang9887 commented on August 21, 2024

I have the same error.

Traceback (most recent call last):
File "opt.py", line 285, in
grid = svox2.SparseGrid(reso=reso_list[reso_id],
File "/home/iaj/.conda/envs/plenoxel/lib/python3.8/site-packages/svox2/svox2.py", line 535, in init
self.accelerate()
File "/home/iaj/.conda/envs/plenoxel/lib/python3.8/site-packages/svox2/svox2.py", line 1491, in accelerate
assert (
AssertionError: CUDA extension is currently required for accelerate

from svox2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.