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

Out-of-memory #10

Open
myhakureimu opened this issue Dec 3, 2023 · 1 comment
Open

Out-of-memory #10

myhakureimu opened this issue Dec 3, 2023 · 1 comment

Comments

@myhakureimu
Copy link

I tested the following code on Google Colab with an A100 (40G) but got out of memory, may I ask for how many memory does the following code needs?

!python test.py --gpt2 channel-metaicl --method direct --out_dir out/gpt2-large --do_zeroshot --use_demonstrations --k 16 --seed 100,13,21,42,87 --dataset glue-wnli_random

@Alrope123
Copy link
Owner

Hi there. Meta-ICL models are 774M models, which an A100 (40G) should suffice. Try decrease the default batch size (64) using the flag --test_batch_size (link to the code).

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

No branches or pull requests

2 participants