Skip to content

Commit

Permalink
init commit
Browse files Browse the repository at this point in the history
  • Loading branch information
JinZr committed Mar 18, 2024
1 parent 2dfd5db commit 3b4e86e
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion egs/aishell/ASR/whisper/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@ def run(rank, world_size, args):

if params.print_diagnostics:
opts = diagnostics.TensorDiagnosticOptions(
2**22
512
) # allow 4 megabytes per sub-module
diagnostic = diagnostics.attach_diagnostics(model, opts)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1035,7 +1035,7 @@ def run(rank, world_size, args):

if params.print_diagnostics:
opts = diagnostics.TensorDiagnosticOptions(
2**22
512
) # allow 4 megabytes per sub-module
diagnostic = diagnostics.attach_diagnostics(model, opts)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1119,7 +1119,7 @@ def run(rank, world_size, args):

if params.print_diagnostics:
opts = diagnostics.TensorDiagnosticOptions(
2**22
512
) # allow 4 megabytes per sub-module
diagnostic = diagnostics.attach_diagnostics(model, opts)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1035,7 +1035,7 @@ def run(rank, world_size, args):

if params.print_diagnostics:
opts = diagnostics.TensorDiagnosticOptions(
2**22
512
) # allow 4 megabytes per sub-module
diagnostic = diagnostics.attach_diagnostics(model, opts)

Expand Down
2 changes: 1 addition & 1 deletion egs/multi_zh-hans/ASR/whisper/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@ def run(rank, world_size, args):

if params.print_diagnostics:
opts = diagnostics.TensorDiagnosticOptions(
2**22
512
) # allow 4 megabytes per sub-module
diagnostic = diagnostics.attach_diagnostics(model, opts)

Expand Down
2 changes: 1 addition & 1 deletion egs/wenetspeech/ASR/whisper/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@ def run(rank, world_size, args):

if params.print_diagnostics:
opts = diagnostics.TensorDiagnosticOptions(
2**22
512
) # allow 4 megabytes per sub-module
diagnostic = diagnostics.attach_diagnostics(model, opts)

Expand Down
2 changes: 1 addition & 1 deletion egs/wenetspeech/KWS/zipformer/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -1187,7 +1187,7 @@ def run(rank, world_size, args):

if params.print_diagnostics:
opts = diagnostics.TensorDiagnosticOptions(
2**22
512
) # allow 4 megabytes per sub-module
diagnostic = diagnostics.attach_diagnostics(model, opts)

Expand Down

0 comments on commit 3b4e86e

Please sign in to comment.