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

Now, does tensor_parallel no longer support the huggingface trainer? #132

Open
HanGyeol-Yoo opened this issue Dec 31, 2023 · 0 comments
Open

Comments

@HanGyeol-Yoo
Copy link

I'm trying to use the huggingface trainer after using tensor_parallel with the Llama2 7b model, by calling

model = tp.tensor_parallel(model)

but I'm getting the following error.

ValueError: Model parameters were moved to incorrect devices, did call on model.cuda() or model.to(device)? If so, please avoid doing that
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

1 participant