Skip to content

Commit

Permalink
feat: always push checkpoint to hub if set (axolotl-ai-cloud#1049) [s…
Browse files Browse the repository at this point in the history
…kip ci]
  • Loading branch information
NanoCode012 authored Jan 5, 2024
1 parent bdfefaf commit cbdbf9e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/axolotl/core/trainer_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -611,6 +611,7 @@ def build(self, total_num_steps):
training_arguments_kwargs["hub_model_id"] = self.cfg.hub_model_id
training_arguments_kwargs["push_to_hub"] = True
training_arguments_kwargs["hub_private_repo"] = True
training_arguments_kwargs["hub_always_push"] = True

if self.cfg.hub_strategy:
training_arguments_kwargs["hub_strategy"] = self.cfg.hub_strategy
Expand Down

0 comments on commit cbdbf9e

Please sign in to comment.