Skip to content

Instantly share code, notes, and snippets.

@meisa233
Created December 18, 2023 06:30
Show Gist options
  • Save meisa233/c436bfc582f03b891685e3d786f1c434 to your computer and use it in GitHub Desktop.
Save meisa233/c436bfc582f03b891685e3d786f1c434 to your computer and use it in GitHub Desktop.
self = <torch.utils.file_baton.FileBaton object at 0x7f7418fe1fa0>

    def wait(self):
        '''
        Periodically sleeps for a certain amount until the baton is released.
    
        The amount of time slept depends on the ``wait_seconds`` parameter
        passed to the constructor.
        '''
        while os.path.exists(self.lock_file_path):
>           time.sleep(self.wait_seconds)
E           Failed: Timeout >60.0s

Solution:

rm -rf ~/.cache/torch_extensions/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment