Skip to content

Conversation

@garrett361
Copy link
Contributor

@garrett361 garrett361 commented Jul 25, 2025

Fixes unbound variable error I introduced in #799 which occurs when using a sum loss.

We try to log avg_loss, but I introduced a name change which broke this.

avg_loss is now defined for both sum and mean losses. I tested this branch e2e in both cases.

CC @hamishivi , apologies for this one.

@hamishivi hamishivi merged commit 535ff07 into allenai:main Jul 25, 2025
3 checks passed
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.

2 participants