You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be good to add a "division by zero" check in chunked loss handling in kd_losses.py.
Context:
This is based on the discussion in PR #2094.
Potential issue: ForwardKLWithChunkedOutputLoss does not check for division by zero, while the non-chunked version does.
The text was updated successfully, but these errors were encountered:
insop
changed the title
add a "division by zero" check in chunked loss handling in kd_losses.py
Improvement: add a "division by zero" check in chunked loss handling in kd_losses.py
Jan 2, 2025
Suggested improvement:
It would be good to add a "division by zero" check in chunked loss handling in kd_losses.py.
Context:
This is based on the discussion in PR #2094.
Potential issue:
ForwardKLWithChunkedOutputLoss does not check for division by zero, while the non-chunked version does.
The text was updated successfully, but these errors were encountered: