mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-28 00:11:59 +00:00
the HF SFTTrainer supports distributed training using FSDP.
Add a new recipe, `finetune_multi_device` which supports multi-GPU (cuda) training
using FSDP and optionally LoRA.
transformers hides _alot_ of their usage of FSDP behind the training args:
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| build.yaml | ||
| doc_template.md | ||
| ollama.py | ||
| run-with-safety.yaml | ||
| run.yaml | ||