Comments (14)
I'd like to follow up on this as I'm running into it too and think a good number of users will start to as well.
from redner.
I just found why it doesnt work.
Optix prime wont work for RTX30
https://forums.developer.nvidia.com/t/optix-6-5-prime-samples-fail-with-rtx-3080/177078
from redner.
I had the same problem when trying to run on colab instance with A100
from redner.
I'm having the same issue! Has anyone been able to find a solution?
from redner.
I'm having the same issue. I'm working with RTX 3090 and pytorch built with CUDA 11. Is it possible that redner is built with CUDA 10? Pytorch will not let me downgrade CUDA to 10 and complains that the GPU is not compatible.
Thanks.
from redner.
I'm having the same issue. I'm working with RTX 3080 Laptop GPU and pytorch built with CUDA 11.3
from redner.
same issue with RTX 3090Ti pytorch==1.12.0
from redner.
redner is currently using Optix Prime and version 5.1 is deprecated for RTX GPUs.
Last version of Optix that had Optix Prime for RTX GPUs seems to be 6.5.
Optix Prime doesn't take advantage of RTX capable Optix implementations that are shipped part of RTX drivers, hence renders will be about 10x slower compared to psdr-cuda or mitsuba-2.
If anyone may still be interested, I would suggest updating this build files to migrate to using the latest Optix Prime version supported on RTX GPUs (6.5).
I have a fork here I was able to build on Windows with RTX 3080 Ti:
https://github.com/leventt/redner
You can see what I changed here:
master...leventt:redner:master
You would have to adapt for Linux and place the binary dependencies for Optix 6.5 under an redner-dependencies/optix
folder at root. but I only tried on Windows.
You can download Optix 6.5 here:
https://developer.nvidia.com/designworks/optix/downloads/legacy
You can build wheels by running this under root:
pip wheel -w dist --verbose .
(I will make a PR to @BachiLi soon)
from redner.
@leventt I have tested using Optix 6.5 instead of mater version(https://github.com/BachiLi/redner)
ubuntu==20.04 LTS pytorch==1.11.0+cu113 RTX3090Ti
and a new error occurred
scene = redner.Scene(camera, RuntimeError: Function "RTPresult _rtpModelUpdate(RTPmodel, unsigned int)" caught exception: Encountered a CUDA error: cudaEventRecord( m_eventEnd, stream ) returned (700): an illegal memory access was encountered
from redner.
@leventt using your version (https://github.com/leventt/redner) in ubuntu==20.04 LTS pytorch==1.11.0+cu113 RTX3090Ti
File "/home/ubuntu/anaconda3/lib/python3.8/site-packages/pyredner/render_pytorch.py", line 609, in unpack_args scene = redner.Scene(camera, RuntimeError: Function "RTPresult _rtpModelUpdate(RTPmodel, unsigned int)" caught exception: Encountered a CUDA error: cudaEventRecord( m_eventEnd, stream ) returned (700): an illegal memory access was encountered
from redner.
@ForrestPi Are you perhaps running out of memory? Can you share a snippet that recreates this for you?
I am asking but I am most likely not going to try fixing this for you. Perhaps someone else may advice. I am just pointing out that I can run redner on a 3080 Ti with #187
from redner.
@ForrestPi @leventt Hello there! I am facing the same question when I try to install Redner on Linux 3090 based on @leventt version (https://github.com/leventt/redner) and it indeed installs successfully. But when I try to use redner there comes the error
RuntimeError: Function "RTPresult _rtpModelUpdate(RTPmodel, unsigned int)" caught exception: Encountered a CUDA error: cudaEventRecord( m_eventEnd, stream ) returned (700): an illegal memory access was encountered
It happens whenever I set a small batch_size or even only rendering one img.
Have you figured out how to fix or solve this question?
from redner.
I was able to compile for python 3.9 and cuda 11.6
i didn't test it yet.
here it is
redner-0.4.28-cp39-cp39-win_amd64.zip
but I was haing the same _rtpModelUpdate
problem as others where having.
from redner.
here is another version for python 3.9 without cuda
redner-0.4.28-cp39-cp39-win_amd64.zip
from redner.
Related Issues (20)
- Inconsistent formulation of SH_reconstruct
- CUDA Runtime Error: out of memory at E:\redner\src\buffer.h:55 HOT 2
- Can redner support glasses/transparent material now?
- weird render behavior
- Windows package on PyPI is at version 0.4.25 while OSX and Linux packages are at 0.4.28
- I have intrinsic parameters in terms of fx, fy, skew, cx, cy. I tried extracting parameters from the file (param: vertices, indices, normals and colors) and creating an object, and using intrinsic parameters to set up the perspective camera. But orientation of scene in output is not lining up, can I get some guidance?
- build from source problem HOT 3
- Icosphere normals generation seems buggy
- Unable to load some obj files with pyredner.load_obj()
- Support pointLight in "render_pathtracing".
- Build for 3.9 no attribute 'CameraType' HOT 1
- How to get the z_buffer or depth information at the rendering process?
- [Question] What is AABB6 and BVHNode6 in "aabb.h" and "edge_tree.h" used for?
- Assertion `false' failed when running the test scripts. HOT 2
- How to set material and environment map obtained by inverse rendering in blender ? HOT 1
- Pip install not compatible with python 3.9? HOT 2
- Is warp-area sampling method easier to understand and implement in path space? HOT 1
- How to realize automatic differentiable in interior term?
- Edge Sampling Integrator broken in Warped Area Integrator branch?
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 redner.