Shortcuts

torch.compiler.reset

torch.compiler.reset()[source]

This function clears all compilation caches and restores the system to its initial state. It is recommended to call this function, especially after using operations like torch.compile(…) to ensure a clean state before another unrelated compilation

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