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

关于:ModuleNotFoundError: No module named 'transformers_modules.chatglm3-6b' #3915

Closed
Zdao032 opened this issue Apr 28, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Zdao032
Copy link

Zdao032 commented Apr 28, 2024

  1. transformers 版本更新可以跑通,我目前是4.40.1
  2. torch还是要装gpu版本
@Zdao032 Zdao032 added the bug Something isn't working label Apr 28, 2024
Copy link

dosubot bot commented Apr 28, 2024

To address the "ModuleNotFoundError: No module named 'transformers_modules.chatglm3-6b'" issue, it's crucial to ensure that the module or package containing 'transformers_modules.chatglm3-6b' is correctly installed. This error typically indicates that Python cannot find the module in your environment, which might be due to several reasons:

  1. Verify the Module's Installation: If 'transformers_modules.chatglm3-6b' is part of a custom or specialized package not available on standard repositories, you may need to manually install it. This could involve cloning a repository and using pip install -e . if a setup.py file is present, or directly copying the module into your project directory.

  2. Check Dependencies: Since you've updated the transformers library to version 4.40.1 and mentioned installing the GPU version of torch, ensure these installations are successful and compatible with your project.

  3. Environment Setup: Make sure your Python environment is correctly set up, including any necessary environment variables. If using a virtual environment, verify it's activated and contains the module.

  4. Installation Instructions: For a module like 'transformers_modules.chatglm3-6b', which seems to be part of a specific project, refer to that project's README.md or installation instructions for detailed guidance.

If 'transformers_modules.chatglm3-6b' is associated with a specific project or repository, consulting the project's documentation or reaching out to its maintainers for installation guidance might be necessary.

Details

Sources


About Dosu
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.

Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

To continue the conversation, mention @dosu.

@zRzRzRzRzRzRzR zRzRzRzRzRzRzR self-assigned this May 5, 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

2 participants