lightly icon indicating copy to clipboard operation
lightly copied to clipboard

feat: Add configuration logging for benchmark reproducibility + bug fixes

Open saud5150 opened this issue 9 months ago • 1 comments

Adds comprehensive configuration logging to ImageNet ResNet50 benchmarks:

  • Automatically saves full resolved config to config.txt in log directory
  • Captures all CLI arguments + derived values (global_batch_size, world_size, etc.)
  • Includes environment info (PyTorch version, CUDA availability, timestamp)
  • Optional --verbose flag to print config to console before training
  • Uses only Python stdlib (no new dependencies)

Also fixes persistent_workers bug:

  • Fix ValueError when num_workers=0 with persistent_workers=True
  • Only enable persistent_workers when num_workers > 0

saud5150 avatar Feb 26 '26 20:02 saud5150

/review

guarin avatar Feb 27 '26 08:02 guarin