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

Mixed precision decorators for interactive renderer #122

Merged

Conversation

orperel
Copy link
Collaborator

@orperel orperel commented Feb 8, 2023

Wisp already uses mixed precision for multiview-training, this change aligns the interactive renderer and sdf pipelines as well.

  1. @torch.cuda.amp.autocast() added to render() and redraw() functions of RendererCore and WispApp. This is toggle-able through WispState.renderer.enable_amp.
  2. BaseTrainer.iterate uses autocast on step() by default, this is controlled by the enable_amp flag passed to the trainer.

Signed-off-by: operel [email protected]

Enable SDF pipelines

Add toggle for mixed precision in training / renderer

change trainer amp to step only

Stabilize flakey test

Signed-off-by: operel <[email protected]>
@orperel orperel merged commit d02e39e into NVIDIAGameWorks:main Feb 8, 2023
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

Successfully merging this pull request may close these issues.

1 participant