This commit is contained in:
parent
1e9d6ffd7d
commit
00e2c3df0f
11
README.txt
11
README.txt
|
|
@ -1,3 +1,14 @@
|
|||
# 正确删除整个环境
|
||||
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
|
||||
|
|
|
|||
|
|
@ -17,10 +17,10 @@ dependencies:
|
|||
|
||||
# ---- HF 主栈 ----
|
||||
- transformers>=4.40,<5
|
||||
- accelerate>=0.30
|
||||
- accelerate>=0.30,<1.10
|
||||
- datasets>=2.18
|
||||
- evaluate>=0.4
|
||||
- safetensors>=0.4
|
||||
- safetensors==0.4.3
|
||||
- sentencepiece>=0.1.99
|
||||
- tokenizers=0.19.*
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue