Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when copying data from Google Drive to Colab OOM happened #4932

Open
Drfengze opened this issue Nov 7, 2024 · 2 comments
Open

when copying data from Google Drive to Colab OOM happened #4932

Drfengze opened this issue Nov 7, 2024 · 2 comments

Comments

@Drfengze
Copy link

Drfengze commented Nov 7, 2024

Screenshot 2024-11-07 at 1 11 52 PM When I was copying data from Google Drive to Colab OOM happened, which could cause the whole page crash. A possible solution is to remount Google Drive, but most time I have to reload the whole program.
 for i in range(len(file_ls) - 1):
        # Copy files to temp directory
        temp_files = []
        for file in tf_files[file_ls[i] : file_ls[i + 1]]:
            dest = shutil.copy(file, temp_dir)
            temp_files.append(dest)
@Drfengze Drfengze added the bug label Nov 7, 2024
@Drfengze
Copy link
Author

Drfengze commented Nov 7, 2024

It happened for 3 years again and again
#3441

@EvanWiederspan
Copy link

As noted in that other issue, this appears to be separate from the Transport Endpoint Not Connected issue, as that one did not involve OOM-ing.

We can't diagnose with just that code snippet. How much data are you trying to copy? Can you copy just a few files at a time and process them instead of trying to copy all of them first?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants