Comments (5)
These errors look like a mismatch between the installed visual studio and CUDA version -- unfortunately, there are frequent breaking changes between the two.
I recommend updating Visual Studio 2019 through the VS installer, afterwards installing the latest CUDA 11.6, rebooting, and then trying again. Fingers crossed!
from tiny-cuda-nn.
Did not work :/
from tiny-cuda-nn.
To provide an update, updating the Visual Studio 2019 broke my installation of tiny-cuda-nn :/ I don't know if there is a problem with the incompatibility.
from tiny-cuda-nn.
I managed to install the Python bindings! Here are the configurations I used:
Windows 10
GTX 1060
CUDA 11.6.1
Visual Studio 2019 (using the CXX compiler MSVC 19.29.30140.0)
Cmake 3.22.1
PyTorch 1.10.2 (installed with conda with cudatoolkit 11.3)
Initially, when I installed the python bindings (running python setup.py install
, I got the following error:
fully_fused_mlp.cu
C:\Users\Temp\Desktop\3d-object-stationary-camera-implicit\code_c\tiny-cuda-nn\src\fully_fused_mlp.cu(415): error: name followed by "::" must be a class or namespace name
C:\Users\Temp\Desktop\3d-object-stationary-camera-implicit\code_c\tiny-cuda-nn\src\fully_fused_mlp.cu(493): error: name followed by "::" must be a class or namespace name
C:\Users\Temp\Desktop\3d-object-stationary-camera-implicit\code_c\tiny-cuda-nn\src\fully_fused_mlp.cu(493): error: name followed by "::" must be a class or namespace name
3 errors detected in the compilation of "../../src/fully_fused_mlp.cu".
error: command 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.6\\bin\\nvcc.exe' failed with exit status 1
However, since my GPU does not have so much memory, I removed the FullyFused from my installation (it would not work anyway). Doing this ensured the instalation weny smoothly and I managed to run the sample python example
from tiny-cuda-nn.
This is a really good catch, thank you! I pushed a fix to setup.py
that won't include fully fused MLPs on older architectures where compilation would fail.
(CMake already does this, but I had forgotten to replicate the behavior in Python.)
from tiny-cuda-nn.
Related Issues (20)
- 'tiny cuda nn' issue HOT 1
- something to do with tinycudann
- Backward method of the grid encoding
- How to calculate FLOPs?
- Is the RTX4070ti supported?
- install issue HOT 6
- Add auxiliary losses directly imposed on params HOT 1
- README executable instructions include non-executable shell prompts
- Question about the bounding box
- initiailization of hash grid
- tinycudann ImportError: tinycudann_bindings/_80_C.cpython-38-x86_64-linux-gnu.so: undefined symbol: HOT 2
- Enable 5D grids HOT 2
- Link Against tiny-cuda-nn in C++ Program HOT 1
- [Question]: can tiny-cuda-nn build a network with layer's bias=0?
- Problems encountered during installation HOT 1
- Already setted the CUDA_HOME but still:CUDA_HOME environment variable is not set. Please set it to your CUDA install root. HOT 1
- Manual installation with torch extension fails: parameter packs not expanding after cmake build success HOT 1
- Tiny cuda nn compilation issue
- pt
- pip install of tiny-cuda-nn does not install it in
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tiny-cuda-nn.