Rate this Page
โ˜… โ˜… โ˜… โ˜… โ˜…

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