Go to file
hailin 3c83bbb03e . 2025-08-08 21:50:56 +08:00
dspeed . 2025-08-08 21:50:56 +08:00
README.txt . 2025-08-08 19:53:31 +08:00
check_core_cuda.sh first commit 2025-08-08 17:20:00 +08:00
check_hf.sh . 2025-08-08 19:58:49 +08:00
check_train.sh . 2025-08-08 20:03:54 +08:00
hf-train-cu118.yaml . 2025-08-08 19:53:31 +08:00
requirements-hf.txt . 2025-08-08 19:58:49 +08:00

README.txt

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 正确删除整个环境
mamba deactivate || true
mamba env remove -n hf-train-cu118 || mamba remove -n hf-train-cu118 --all

# 仍然残留就手动清掉目录
rm -rf ~/.local/share/mamba/envs/hf-train-cu118

# 看看是否还在列表里
mamba env list


mamba env create -f hf-train-cu118.yaml --strict-channel-priority
mamba activate hf-train-cu118
python -m pip install --no-deps -r requirements-hf.txt

# deepspeed选一
# DS_BUILD_OPS=0 python -m pip install "deepspeed==0.14.*"
# 或
# mamba install -y cuda-toolkit=11.8 cmake ninja
# python -m pip install "deepspeed==0.14.*"