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

VENV环境运行时也只能跑在默认环境上 #6604

Open
1 task done
cbb2625274797 opened this issue Jan 11, 2025 · 4 comments
Open
1 task done

VENV环境运行时也只能跑在默认环境上 #6604

cbb2625274797 opened this issue Jan 11, 2025 · 4 comments
Labels
bug Something isn't working pending This problem is yet to be addressed

Comments

@cbb2625274797
Copy link

Reminder

  • I have read the above rules and searched the existing issues.

System Info

image

Reproduction

如图,即便我使用了虚拟环境,但是llama-factory不认,我的虚拟环境配置齐全,但是只认我卸载掉torch的系统环境
![image](https://github.com/user-attachments/assets/7f38cc57-c063-4352-96b6-9f12e9fea834)

Others

No response

@cbb2625274797 cbb2625274797 added bug Something isn't working pending This problem is yet to be addressed labels Jan 11, 2025
@cbb2625274797
Copy link
Author

image

@codemayq
Copy link
Collaborator

试一下 conda 管理的虚拟环境呢?

@cbb2625274797
Copy link
Author

cbb2625274797 commented Jan 12, 2025

试一下 conda 管理的虚拟环境呢?

conda环境也复现了,本来是好的,我把CUDA卸载后重装了新版本,就又变成系统环境了。conda环境是python3.11,系统环境是3.10的,我特地卸载了系统环境的torch来区分系统环境和conda环境
image

image

@cbb2625274797
Copy link
Author

cbb2625274797 commented Jan 12, 2025

试一下 conda 管理的虚拟环境呢?

image

试了直接命令行运行,不通过pycharm里面命令行运行也是一样

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

No branches or pull requests

2 participants