-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HPU cards (Gaudi 2 and 3) can't use Accelerate code path. This contribution adds the training setup and loop for FSDP-only training. Minor modifications required for HPUs specifically. Signed-off-by: James Kunstle <[email protected]>
- Loading branch information
1 parent
4bcb77e
commit f9192d1
Showing
3 changed files
with
476 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
SUPPORTED_MODEL_ARCHITECTURES: list[str] = [ | ||
"MistralForCausalLM", | ||
"GPTDolomiteForCausalLM", | ||
"LlamaForCausalLM", | ||
"Starcoder2ForCausalLM", | ||
"GemmaForCausalLM", | ||
"MixtralForCausalLM", | ||
"GraniteForCausalLM", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.