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

RuntimeError: Failed to import transformers.integrations.integration_utils because of the following error (look up to see its traceback): Failed to import transformers.modeling_utils because of the following error (look up to see its traceback): partially initialized module 'torch._dynamo' has no attribute 'external_utils' (most likely due to a circular import) #2255

Open
1 task done
tempdeltavalue opened this issue Dec 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@tempdeltavalue
Copy link

Have you searched existing issues? 🔎

  • I have searched and found no existing issues

Desribe the bug

!pip install bertopic
from bertopic import BERTopic

RuntimeError: Failed to import transformers.integrations.integration_utils because of the following error (look up to see its traceback):
Failed to import transformers.modeling_utils because of the following error (look up to see its traceback):
partially initialized module 'torch._dynamo' has no attribute 'external_utils' (most likely due to a circular import)

Screenshot 2024-12-24 182529

Reproduction

from bertopic import BERTopic

BERTopic Version

I don't know

@tempdeltavalue tempdeltavalue added the bug Something isn't working label Dec 24, 2024
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

1 participant