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

没有docker环境 用git bash运行报错 #12

Open
Mou-Mou-L opened this issue Jun 30, 2023 · 4 comments
Open

没有docker环境 用git bash运行报错 #12

Mou-Mou-L opened this issue Jun 30, 2023 · 4 comments

Comments

@Mou-Mou-L
Copy link

No description provided.

@Mou-Mou-L
Copy link
Author

把这块代码放进.sh文件 使用git bash 命令运行
python3 train_qlora.py
--train_args_json chatGLM_6B_QLoRA.json
--model_name_or_path THUDM/chatglm-6b
--train_data_path data/train.jsonl
--eval_data_path data/dev.jsonl
--lora_rank 4
--lora_dropout 0.05
--compute_dtype fp32
然后报错
image

@Mou-Mou-L
Copy link
Author

把这块代码放进.sh文件 使用git bash 命令运行 python3 train_qlora.py --train_args_json chatGLM_6B_QLoRA.json --model_name_or_path THUDM/chatglm-6b --train_data_path data/train.jsonl --eval_data_path data/dev.jsonl --lora_rank 4 --lora_dropout 0.05 --compute_dtype fp32 然后报错 image

image

@shuxueslpi
Copy link
Owner

你的cuda环境有没有问题?报错里其实写了运行
python -m bitsandbutes
然后看把cuda加到LD_LIBRARY_PATH

@Mou-Mou-L
Copy link
Author

你的cuda环境有没有问题?报错里其实写了运行 python -m bitsandbutes 然后看把cuda加到LD_LIBRARY_PATH

好吧 我是window系统 这个项目只能在linux跑么? 我看cuda加到LD_LIBRARY_PATH

都是linux的问答

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants