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

NotImplementedError: Cannot copy out of meta tensor; no data! #2692

Open
2 of 4 tasks
chilljudaoren opened this issue Jan 15, 2025 · 4 comments
Open
2 of 4 tasks

NotImplementedError: Cannot copy out of meta tensor; no data! #2692

chilljudaoren opened this issue Jan 15, 2025 · 4 comments
Labels
bug Something isn't working

Comments

@chilljudaoren
Copy link

System Info

When I changed auto to 'cpu', I still reported the previous error
kwargs = {"device_map": "cpu", "torch_dtype": torch.bfloat16}
How can I solve it?

Who can help?

No response

Information

  • The official example scripts
  • My own modified scripts

Tasks

  • An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
  • My own task or dataset (give details below)

Reproduction

How can I solve it?

Expected behavior

How can I solve it?

actual behavior

How can I solve it?

additional notes

How can I solve it?

@chilljudaoren chilljudaoren added the bug Something isn't working label Jan 15, 2025
@nv-guomingz
Copy link
Collaborator

Please provide the detail information for such issue, like cmd/hw config.

@chilljudaoren
Copy link
Author

chilljudaoren commented Jan 15, 2025 via email

@chilljudaoren
Copy link
Author

chilljudaoren commented Jan 15, 2025 via email

@chilljudaoren
Copy link
Author

chilljudaoren commented Jan 15, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants