jbilcke-hf HF Staff commited on
Commit
3bdc963
·
1 Parent(s): 3822049

still not solved

Browse files
vms/ui/project/services/training.py CHANGED
@@ -777,7 +777,8 @@ class TrainingService:
777
  # Update with resume_from_checkpoint if provided
778
  if resume_from_checkpoint:
779
  config.resume_from_checkpoint = resume_from_checkpoint
780
- self.append_log(f"Resuming from checkpoint: {resume_from_checkpoint}")
 
781
 
782
  # Common settings for both models
783
  config.mixed_precision = DEFAULT_MIXED_PRECISION
 
777
  # Update with resume_from_checkpoint if provided
778
  if resume_from_checkpoint:
779
  config.resume_from_checkpoint = resume_from_checkpoint
780
+ self.append_log(f"Resuming from checkpoint: {resume_from_checkpoint} (will use 'latest')")
781
+ config.resume_from_checkpoint = "latest"
782
 
783
  # Common settings for both models
784
  config.mixed_precision = DEFAULT_MIXED_PRECISION