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

Pretrain and generate #43

Closed
king-menin opened this issue Sep 21, 2020 · 2 comments
Closed

Pretrain and generate #43

king-menin opened this issue Sep 21, 2020 · 2 comments
Labels
stale No activity in 60 days on issue or PR

Comments

@king-menin
Copy link

if i run with
python -m torch.distributed.launch --nproc_per_node 16 pretrain_gpt2.py --model_parallel_size==16
and after run generate:
python generate_samples.py
i have error while initialization: size mismatch for transformer.layers.15.attention.dense.weight: copying a param with shape torch.Size([1024, 64]) from checkpoint, the shape in current model is torch.Size([1024, 1024]).
can i load model on one GPU and train distributed on 16 GPU with --model_parallel_size==16?
thank you!

@github-actions
Copy link

Marking as stale. No activity in 60 days. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the stale No activity in 60 days on issue or PR label Jul 10, 2023
@jon-barker jon-barker reopened this Jul 20, 2023
@github-actions github-actions bot removed the stale No activity in 60 days on issue or PR label Jul 21, 2023
@github-actions
Copy link

Marking as stale. No activity in 60 days.

@github-actions github-actions bot added the stale No activity in 60 days on issue or PR label Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale No activity in 60 days on issue or PR
Projects
None yet
Development

No branches or pull requests

3 participants