在 NVIDIA DGX Station 上使用 Unsloth 进行 LLM 微调
关于如何使用 Unsloth 的笔记本在 NVIDIA DGX Station 上进行微调的教程。
最后更新于
这有帮助吗?
这有帮助吗?
pip install unslothpip install --no-deps --no-build-isolation xformers==0.0.33.post1
# 可选的 flash-attn
# 克隆并构建(针对 B300 的 sm_100)
git clone https://github.com/Dao-AILab/flash-attention
cd flash-attention
# B300 = sm_100,显式设置架构
TORCH_CUDA_ARCH_LIST="10.0" MAX_JOBS=8 pip install . --no-build-isolation
cd ..pip install --no-build-isolation flash-linear-attention causal_conv1d==1.6.0cd ..
pip install notebook
pip install ipywidgetsgit clone https://github.com/unslothai/notebooks.git
cd notebooksjupyter notebook