Hi, I’m not even sure if this is aboslutely related to Pytorch. Anyways, it is my first time writing a query so please ask any questions that will help you better understand the problem.
This is the final error that I am getting:
…
torch._dynamo.exc.BackendCompilerFailed: backend=‘inductor’ raised:
OSError: [Errno 122] Disk quota exceeded: <directory/.triton/dump/long_alphanumeric>
…
I have run the same code previously and did not encounter this error. This is the first time. Please provide any guidance if this has happened with you too
So, for anyone facing this issue later:
This is the code to find out the directory in which the Triton cache is currently getting stored
“”"
import os
import triton
and then this is the code to change the directory
“”"
os.environ[‘TRITON_CACHE_DIR’] = ‘/path/to/new/cache/dir’
“”"
Now, moving onto my issue. It is somehow automatically resolved, but if it happens again, I guess I can use this directory change method.
I am keeping this open so that if the problem arises next time and I’m unable to fix, I’ll continue here.