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

[BUG] 简洁阐述问题 / Concise description of the issue #3997

Open
so-lovely opened this issue May 12, 2024 · 1 comment
Open

[BUG] 简洁阐述问题 / Concise description of the issue #3997

so-lovely opened this issue May 12, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@so-lovely
Copy link

so-lovely commented May 12, 2024

问题描述 / Problem Description
用简洁明了的语言描述这个问题 / Describe the problem in a clear and concise manner.

pip3 install -r requirements.txt

ERROR: Could not find a version that satisfies the requirement torch==2.1.2 (from versions: 2.2.0, 2.2.1, 2.2.2, 2.3.0)
ERROR: No matching distribution found for torch==2.1.2

复现问题的步骤 / Steps to Reproduce

  1. 执行 '...' / Run '...'
  2. 点击 '...' / Click '...'
  3. 滚动到 '...' / Scroll to '...'
  4. 问题出现 / Problem occurs

预期的结果 / Expected Result
描述应该出现的结果 / Describe the expected result.

实际结果 / Actual Result
描述实际发生的结果 / Describe the actual result.

环境信息 / Environment Information

  • langchain-ChatGLM 版本/commit 号:(例如:v2.0.1 或 commit 123456) / langchain-ChatGLM version/commit number: (e.g., v2.0.1 or commit 123456)

Using MacOS

  • 是否使用 Docker 部署(是/否):是 / Is Docker deployment used (yes/no): yes

No

  • 使用的模型(ChatGLM2-6B / Qwen-7B 等):ChatGLM-6B / Model used (ChatGLM2-6B / Qwen-7B, etc.): ChatGLM2-6B
  • 使用的 Embedding 模型(moka-ai/m3e-base 等):moka-ai/m3e-base / Embedding model used (moka-ai/m3e-base, etc.): moka-ai/m3e-base
  • 使用的向量库类型 (faiss / milvus / pg_vector 等): faiss / Vector library used (faiss, milvus, pg_vector, etc.): faiss
  • 操作系统及版本 / Operating system and version:
  • Python 版本 / Python version:
  • 其他相关环境信息 / Other relevant environment information:

附加信息 / Additional Information
添加与问题相关的任何其他信息 / Add any other information related to the issue.

@so-lovely so-lovely added the bug Something isn't working label May 12, 2024
Copy link

dosubot bot commented May 12, 2024

It looks like you're facing an issue with installing PyTorch version 2.1.2, which is not available in the versions listed by pip. Here's a more focused approach to address your problem:

  1. Check for the Version: First, verify if PyTorch version 2.1.2 is available on PyTorch's official website or its PyPI project page. If it's available, you might be able to install it directly from there.

  2. Direct URL Installation: If you find the version available on a trusted source, you can use pip to install it directly from the URL.

  3. Adjust requirements.txt: If your project can run on a newer version of PyTorch without compatibility issues, consider updating the requirements.txt file to include a version that is available, such as 2.2.0 or later. Make sure to test thoroughly after making such changes to ensure everything works as expected.

  4. Virtual Environment: Using a virtual environment can help manage dependencies more effectively and avoid potential conflicts.

If these steps don't resolve your issue or if version 2.1.2 is specifically required for reasons not covered here, reaching out to the maintainers of the Langchain-ChatGLM project for further assistance or potential workarounds 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.

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