mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-09 01:52:41 +00:00
Add a note about the CUDA OOM error. (#94)
* Add a note about the CUDA OOM error. Some users consider this kind of OOM as an error during decoding, but actually it is not. This pull request clarifies that. * Fix style issues.
This commit is contained in:
parent
8cb7f712e4
commit
12d647d899
@ -732,6 +732,12 @@ def rescore_with_whole_lattice(
|
|||||||
logging.info(
|
logging.info(
|
||||||
f"num_arcs before pruning: {inv_lattice.arcs.num_elements()}"
|
f"num_arcs before pruning: {inv_lattice.arcs.num_elements()}"
|
||||||
)
|
)
|
||||||
|
logging.info(
|
||||||
|
"This OOM is not an error. You can ignore it. "
|
||||||
|
"If your model does not converge well, or --max-duration "
|
||||||
|
"is too large, or the input sound file is difficult to "
|
||||||
|
"decode, you will meet this exception."
|
||||||
|
)
|
||||||
|
|
||||||
# NOTE(fangjun): The choice of the threshold 1e-9 is arbitrary here
|
# NOTE(fangjun): The choice of the threshold 1e-9 is arbitrary here
|
||||||
# to avoid OOM. You may need to fine tune it.
|
# to avoid OOM. You may need to fine tune it.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user