mirror of
https://github.com/huggingface/lerobot.git
synced 2026-05-30 02:11:25 +00:00
smol fix to avoid having default CPU device when training
This commit is contained in:
@@ -423,6 +423,7 @@ def main() -> None:
|
||||
log.info(" Saving model.safetensors …")
|
||||
save_safetensors(mapped_sd, save_dir / "model.safetensors")
|
||||
|
||||
config.device = None # don't bake in the conversion machine's device
|
||||
config._save_pretrained(save_dir) # writes config.json via draccus
|
||||
|
||||
preprocessor, postprocessor = make_vla_jepa_pre_post_processors(config, dataset_stats)
|
||||
|
||||
Reference in New Issue
Block a user