Closed creiser closed 2 years ago
Oh -- the benchmark code is basically ancient from when tiny-cuda-nn didn't have trainable encodings yet. It hasn't been properly updated, using Encoding
without actually initializing its parameters (or allocating their memory for that matter).
I'm going to make a note to look into this when back from vacation. Should be as easy as replacing the manual Encoding
+Network
combos with NetworkWithInputEncoding
objects and then initializing those by passing them to respective Trainer
s. Cheers!
Fixed on latest master via https://github.com/NVlabs/tiny-cuda-nn/commit/53f70a91f56617b1b2a7e71c17fe985bbd55b03a
I can only run the benchmark with the "OneBlob" encoding but not with the "HashGrid" encoding:
GPU: RTX 3090 Driver Version: 510.47.03 CUDA Version: 11.6