Code Monkey home page Code Monkey logo

Comments (3)

ashawkey avatar ashawkey commented on July 17, 2024

@Karbo123 Hi, thanks for reporting this. It seems to be caused by bad hyperparameters in raymarching, which should be fixed in 873c267. You can try with the latest version!

from torch-ngp.

Karbo123 avatar Karbo123 commented on July 17, 2024

Yes, enabling --cuda_ray option in the latest commit (873c267) indeed increase the performance a bit. However, I also notice that if we enable --ff, the performance will downgrade slightly which is unexpected.
Here I give some test results.

CUDA_VISIBLE_DEVICES=2 python main_nerf.py data/fox --workspace trial_nerf --fp16 --ff --cuda_ray
==> 22 ~ 23 it/s

CUDA_VISIBLE_DEVICES=2 python main_nerf.py data/fox --workspace trial_nerf --fp16 --ff
==> 11 ~ 12 it/s

CUDA_VISIBLE_DEVICES=2 python main_nerf.py data/fox --workspace trial_nerf --fp16 
==> 22 ~ 23 it/s

CUDA_VISIBLE_DEVICES=2 python main_nerf.py data/fox --workspace trial_nerf 
==> 14 ~ 15 it/s

CUDA_VISIBLE_DEVICES=2 python main_nerf.py data/fox --workspace trial_nerf --cuda_ray
==> 30 ~ 33 it/s

from torch-ngp.

ashawkey avatar ashawkey commented on July 17, 2024

@Karbo123 On my TITAN RTX I got similar performance (16-17it/s) on fox with or without --ff.
This has been mentioned earlier #3 (comment), but unfortunately I don't have a 3090 to test.
Maybe you could just use the native --fp16, since it gives best performance.

from torch-ngp.

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.