Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TCNN backend does not work #15

Open
evl-synth opened this issue Jul 21, 2023 · 2 comments
Open

TCNN backend does not work #15

evl-synth opened this issue Jul 21, 2023 · 2 comments

Comments

@evl-synth
Copy link

I get the following error, when trying to train with the tcnn backend. I have PyTorch 2.0.1+cu118, Python 3.10, tinycudann 1.7. I've tried all versions of tinycudann down to 1.4:

Traceback (most recent call last):
  File "/scratch/instant-nsr/train_nerf.py", line 116, in <module>
    trainer.train(train_loader, valid_loader, 200)
  File "/scratch/instant-nsr/nerf/utils.py", line 434, in train
    self.train_one_epoch(train_loader)
  File "/scratch/instant-nsr/nerf/utils.py", line 635, in train_one_epoch
    self.scaler.scale(loss).backward()
  File "/usr/local/lib/python3.10/dist-packages/torch/_tensor.py", line 487, in backward
    torch.autograd.backward(
  File "/usr/local/lib/python3.10/dist-packages/torch/autograd/__init__.py", line 200, in backward
    Variable._execution_engine.run_backward(  # Calls into the C++ engine to run the backward pass
  File "/usr/local/lib/python3.10/dist-packages/torch/autograd/function.py", line 274, in apply
    return user_fn(self, *args)
  File "/usr/local/lib/python3.10/dist-packages/tinycudann/modules.py", line 145, in backward
    doutput_grad, params_grad, input_grad = ctx.ctx_fwd.native_tcnn_module.bwd_bwd_input(
RuntimeError: DifferentiableObject::backward_backward_input_impl: not implemented error
@qiuyuenheng
Copy link

I also encountered the same error. Have you resolved this error?

@HelloRicky123
Copy link

Similar problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants