Open renlingjie opened 1 week ago
路径应该是没有问题的,佐证的例子:我想去和预处理模型对话,也会报同样的错误:
(internlm2) D:\pythondev\PyProjects\XTuner>xtuner chat D:\pythondev\PyProjects\xtuner-0.1.18\model\internlm2-chat-7b
[2024-10-17 11:12:50,559] [INFO] [real_accelerator.py:219:get_accelerator] Setting ds_accelerator to cuda (auto detect)
10/17 11:12:50 - mmengine - WARNING - WARNING: command error: '[WinError 2] 系统找不到指定的文件。'!
10/17 11:12:50 - mmengine - WARNING -
Arguments received: ['xtuner', 'chat', 'D:\\pythondev\\PyProjects\\xtuner-0.1.18\\model\\internlm2-chat-7b']. xtuner commands use the following syntax:
xtuner MODE MODE_ARGS ARGS
- 可能xtuner没有安装好,xtuner --help 来检查是否可用。
- xtuner train "D:\pythondev\PyProjects\xtuner-0.1.18\config\internlm2_1_8b_qlora_alpaca_e3_copy.py" --work-dir "D:\pythondev\PyProjects\xtuner-0.1.18\trained"
感谢回复,不过xtuner是没什么问题的,包括配置文件都是通过xtuner命令下载的,至于您提供的第二条思路我之前也试过了,引号、斜杠、进到目录使用相对路径,以及使用dir命令确认路径对应的文件属性等。。我在A100的Ubuntu系统上跑就没问题,windows上就有这样的问题,挺奇怪。。
文档挺详细的,按照文档一步一步来,但是在进行微调的时候有如下报错。因为我是在Windows11上进行的,不知道这个问题您能否给出一些意见?