Open monteir03 opened 4 weeks ago
Same.
downgrage pytorch version to 2.4.1
pip install torch==2.4.1 torchvision==0.19.1 torchaudio==2.4.1
reference: https://github.com/InternLM/xtuner/issues/952#issuecomment-2434473868
downgrage pytorch version to 2.4.1
pip install torch==2.4.1 torchvision==0.19.1 torchaudio==2.4.1
reference: #952 (comment)
Fixed! Thx
按照 pip install torch==2.4.1 torchvision==0.19.1 torchaudio==2.4.1 修改后还是一样的报错怎么回事
xtuner train cfg-gamma7b/gemma_7b_it_qlora_alpaca_e3_copy.py --deepspeed deepspeed_zero2 10/28 18:19:05 - mmengine - WARNING - WARNING: command error: ''Adafactor is already registered in optimizer at torch.optim''! 10/28 18:19:05 - mmengine - WARNING - Arguments received: ['xtuner', 'train', 'cfg-gamma7b/gemma_7b_it_qlora_alpaca_e3_copy.py', '--deepspeed', 'deepspeed_zero2']. xtuner commands use the following syntax:
libs used:
datasets 3.0.2 torch 2.5.0 torchvision 0.20.0 transformers 4.46.0 xtuner 0.1.23 peft 0.13.2 numpy 2.1.2 nvidia-cublas-cu12 12.4.5.8 nvidia-cuda-cupti-cu12 12.4.127 nvidia-cuda-nvrtc-cu12 12.4.127 nvidia-cuda-runtime-cu12 12.4.127 nvidia-cudnn-cu12 9.1.0.70 nvidia-cufft-cu12 11.2.1.3 nvidia-curand-cu12 10.3.5.147 nvidia-cusolver-cu12 11.6.1.9 nvidia-cusparse-cu12 12.3.1.170 nvidia-ml-py 12.560.30 nvidia-nccl-cu12 2.21.5 nvidia-nvjitlink-cu12 12.4.127 nvidia-nvtx-cu12 12.4.127