Skip to content

Conversation

@radka-j
Copy link
Member

@radka-j radka-j commented Nov 26, 2025

When reviewing #939, I realised that we treat loss history as a class variable. This meant that when I train 5 PyTorch emulators, they all share the same loss history list appending to it. This PR changes it to an instance variable so that each emulator only stores its own loss history.

@radka-j radka-j requested a review from sgreenbury November 26, 2025 20:01
@radka-j radka-j merged commit ca796fb into main Nov 27, 2025
5 checks passed
@radka-j radka-j deleted the fix_loss_history_bug branch November 27, 2025 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants