We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21416c4 commit 0c51d92Copy full SHA for 0c51d92
torchtitan/experiments/forge/engine.py
@@ -216,7 +216,9 @@ def __init__(self, job_config: ForgeJobConfig):
216
states={"train_state": self},
217
checkpoint_config=job_config.checkpoint,
218
sd_adapter=(
219
- self.train_spec.state_dict_adapter(model_args)
+ self.train_spec.state_dict_adapter(
220
+ model_args, job_config.model.hf_assets_path
221
+ )
222
if self.train_spec.state_dict_adapter
223
else None
224
),
0 commit comments