Comments (10)
I believe I found the problem (CUDA 10.2 only supports constexpr __device__
functions and not variables) and am currently working towards a fix over there: #9
Fingers crossed!
In the interim, if you are able to update your CUDA version to 11.4/.5, that should do the trick
from instant-ngp.
from instant-ngp.
I am using cuda 10.2
from instant-ngp.
from instant-ngp.
@mmalex I receive the same error when building on an RTX 2070 Super (has tensor cores). The CUDA architecture is correctly detected as 75 in the prior build step.
cmake --version
cmake version 3.22.1
gmake --version
GNU Make 4.3
Built for x86_64-pc-linux-gnu
nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2020 NVIDIA Corporation
Built on Mon_Nov_30_19:08:53_PST_2020
Cuda compilation tools, release 11.2, V11.2.67
Build cuda_11.2.r11.2/compiler.29373293_0
neofetch
----------------
OS: Pop!_OS 21.10 x86_64
Host: B450M DS3H
Kernel: 5.15.8-76051508-generic
Shell: bash 5.1.8
CPU: AMD Ryzen 9 3900X (24) @ 3.800GH
GPU: NVIDIA GeForce RTX 2070 SUPER
Memory: 3392MiB / 32113MiB
nvidia-smi
Fri Jan 14 19:29:09 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 470.86 Driver Version: 470.86 CUDA Version: 11.4 |
Manually setting TCNN_CUDA_ARCHITECTURES
to 75 gives the same error
TCNN_CUDA_ARCHITECTURES=75 cmake --build build --config RelWithDebInfo -j 16
from instant-ngp.
I solve this error by using cuda 11.4.
from instant-ngp.
Hi I am also having the same error "error: A device variable cannot be marked constexpr"
My GPU is V100 and I set the architecture to 70. Is it too old for this code?
Thanks
from instant-ngp.
And to add, my current cuda version is 11.2 but still seem to have similar problems.. Although it is a bit hard to upgrade to 11.4 on my current server though
from instant-ngp.
Please feel free to re-open this issue if the compile error persists despite the attempted fix I just merged.
FWIW, CI successfully compiles CUDA 10.2 on Ubuntu 18.04 now.
from instant-ngp.
Confirmed working, thanks @Tom94
from instant-ngp.
Related Issues (20)
- Can instant-ngp be compiled and run on a Jetson Orin NX?
- Compilation error: src/optix/pathescape.cu(77): error: identifier "to_float3" is undefined HOT 1
- Headless No GUI Commands?
- Integrate ZLUDA for AMD CUDA
- NeRF Network location?
- no news, I will try again
- error C2039: 'tolower': is not a member of 'std' HOT 1
- Cannot render video out because [Unrecognized option 'preset']
- how to support other image type
- Adjustable camera positions and parameters in software.
- How to get a 3D model of the world size(real size)
- ambiguity in usage of testbed functionality after generating .ingp file
- how can I segment each component of the 3d cad file automatically or by SAM model
- Poor performance using custom dataset results HOT 1
- Mesh Not Rendering When Building From Source in Docker Container
- colmap2nerf.py FATAL: command failed
- RuntimeError: cutlass_matmul.h:330 status failed with error Error Internal
- WARNING Could not free memory arena: D:/a/instant-ngp/instant-ngp/dependencies/tiny-cuda-nn/includeltiny cuda
- Building instant-ngp on WSL
- Rotate world does not work when camera keyframes are placed
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 instant-ngp.