Skip to content

Commit

Permalink
Merge branch 'Konsti_Measurements' into Konsti_Recorders
Browse files Browse the repository at this point in the history
  • Loading branch information
knikolaou committed May 14, 2024
2 parents cdadfb5 + 8274786 commit 76e046b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion CI/unit_tests/neural_state/test_neural_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ def test_get_dict(self):
targets=[],
ntk=[],
)
print(neural_state.get_dict())
assert neural_state.get_dict() == {
"loss": [],
"accuracy": [],
Expand Down
2 changes: 1 addition & 1 deletion papyrus/utils/matrix_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def compute_hermitian_eigensystem(
eigenvalues, eigenvectors = np.linalg.eigh(matrix)

if clip:
logger.warning("Eigenvalues are being clipped to avoid negative values.")
# logger.warning("Eigenvalues are being clipped to avoid negative values.")
eigenvalues = np.clip(eigenvalues, 1e-14, None)

if normalize:
Expand Down

0 comments on commit 76e046b

Please sign in to comment.