Skip to content

Add deterministic MNIST training demo#58

Open
farukalpay wants to merge 1 commit intomainfrom
codex/create-train_mnist_demo.py-with-reproducible-training
Open

Add deterministic MNIST training demo#58
farukalpay wants to merge 1 commit intomainfrom
codex/create-train_mnist_demo.py-with-reproducible-training

Conversation

@farukalpay
Copy link
Copy Markdown
Owner

Summary

  • add train_mnist_demo.py showing reproducible training with hashed sub-seeds
  • include per-epoch and per-worker seeding for PyTorch, NumPy and Python RNGs

Testing

  • python train_mnist_demo.py --master-seed 2025 --run-id demoA --epochs 2 --batch-size 64
  • pytest (fails: No module named 'psd', No module named 'hypothesis')

https://chatgpt.com/codex/tasks/task_e_68ac72c37fa083238cacc7f6d475cf99

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant