Shortcuts

torch.compiler.disable

torch.compiler.disable(fn=None, recursive=True)[source][source]

This function provides a decorator to disable compilation on a function It also provides the option of recursively disabling called functions

Parameters
  • fn (optional) – The function to disable

  • recursive (optional) – A boolean value indicating whether the disabling should be recursive.

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources