Fix max_eig arg to TensorDiagnosticsOptions

This commit is contained in:
Daniel Povey 2023-06-18 03:28:57 +08:00
parent 7d7fc45ab2
commit 5a8cabd429

View File

@ -980,8 +980,8 @@ def run(rank, world_size, args):
if params.print_diagnostics:
opts = diagnostics.TensorDiagnosticOptions(
2 ** 22
) # allow 4 megabytes per sub-module
512,
)
diagnostic = diagnostics.attach_diagnostics(model, opts)
if params.inf_check: