DeepSpeed
6f4a7afb - Fix eigenvalue monitoring: list() wrapper and correct variable name

Commit
42 days ago
Fix eigenvalue monitoring: list() wrapper and correct variable name Two bugs in the eigenvalue monitoring logging code in `engine.py`: 1. `self.block_eigenvalue.values()` returns a `dict_values` view which does not support indexing. Wrapped with `list()` to make it subscriptable. 2. `self.ev_values` was used instead of the local variable `ev_values`. `self.ev_values` is never defined in the class, causing `AttributeError` when this code path is hit. Fixes #7983 Signed-off-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Author
Parents
Loading