按照课件下载并安装xtuner。

然后更新课件提供的runtime.txt中的依赖,报错误提示:
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
xtuner 0.2.0 requires mmengine==0.11.0rc0, but you have mmengine 0.10.6 which is incompatible.
xtuner 0.2.0 requires torch>=2.6.0, but you have torch 2.5.1 which is incompatible.
xtuner 0.2.0 requires transformers==4.57.0, but you have transformers 4.48.0 which is incompatible.
Successfully installed mmengine-0.10.6 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-nccl-cu12-2.21.5 nvidia-nvjitlink-cu12-12.4.127 nvidia-nvtx-cu12-12.4.127 sympy-1.13.1 tokenizers-0.21.4 torch-2.5.1 torchvision-0.20.1 transformers-4.48.0 triton-3.1.0
执行xtuner train XXX.py
提示: xtuner: command not found

执行:pip show xtuner,结果如下:
Name: xtuner
Version: 0.2.0
Summary: A Next-Generation Training Engine Built for Ultra-Large MoE Models
Home-page: https://github.com/InternLM/xtuner
Author:
Author-email: The XTuner Authors <openmmlab@gmail.com>
License: Apache License 2.0
Location: /usr/local/miniconda3/envs/xtuner/lib/python3.10/site-packages
Editable project location: /root/xtuner
Requires: astor, bitsandbytes, codetiming, cyclopts, datasets, einops, gitpython, imageio, loguru, mathruler, mmengine, opencv-python-headless, openpyxl, peft, py-libnuma, pydantic, pylatexenc, scikit-image, scipy, sentencepiece, tensorboard, tiktoken, timm, torch, torchvision, transformers, transformers-stream-generator, xxhash
Required-by:
看到其他同学发帖也碰到过类似的情况,不知道如何解决