ChatGLM-6B icon indicating copy to clipboard operation
ChatGLM-6B copied to clipboard

[BUG/Help] <求助>

Open Unknown-egetables opened this issue 1 year ago • 2 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current Behavior

can i run ‘web_demo.py’, throw a err :Failed to load cpm_kernels:[WinError 267] 目录名称无效。: 'D:\Program\anaconda3\Scripts\conda.exe'

Expected Behavior

No response

Steps To Reproduce

Failed to load cpm_kernels:[WinError 267] 目录名称无效。: 'D:\Program\anaconda3\Scripts\conda.exe'

Environment

- OS:Win11
- Python:3.10
- Transformers:4.27.1
- PyTorch:1.11.0+cu115
- CUDA Support (`python -c "import torch; print(torch.cuda.is_available())"`) :true

Anything else?

No response

Unknown-egetables avatar May 02 '23 13:05 Unknown-egetables

The conda and pytroch environments cannot exist at the same time, otherwise an error will be reported, and suddenly there is no problem when I try to uninstall anaconda

Unknown-egetables avatar May 03 '23 11:05 Unknown-egetables

If you want to use virtual environments, please refer to this document Windows部署文档

ZhangErling avatar May 04 '23 06:05 ZhangErling