Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ def cuda_graphs_impl(
if self.state is None or self.state.need_reinit(encoder_output):
self._graph_reinitialize(encoder_output, encoder_output_length)

# copy (projected) encoder output and lenghts
# copy (projected) encoder output and lengths
self.state.encoder_output_projected[:current_batch_size, :current_max_time, ...].copy_(encoder_output)
self.state.encoder_output_length[: encoder_output_length.shape[0]].copy_(encoder_output_length)
# set length to zero for elements outside the current batch
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ def cuda_graphs_impl(
if self.state is None or self.state.need_reinit(encoder_output):
self._graph_reinitialize(encoder_output, encoder_output_length)

# copy (projected) encoder output and lenghts
# copy (projected) encoder output and lengths
self.state.encoder_output_projected[:current_batch_size, :current_max_time, ...].copy_(encoder_output)
self.state.encoder_output_length[: encoder_output_length.shape[0]].copy_(encoder_output_length)
# set length to zero for elements outside the current batch
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# TODO(vbataev): fix decoding with CUDA graphs on CI for this test
coverage run -a --data-file=/workspace/.coverage --source=/workspace/nemo \
examples/asr/asr_cache_aware_streaming/speech_to_text_cache_aware_streaming_infer.py \
model_path="/home/TestData/asr/stt_en_fastconformer_hybrid_large_streaming_multi.nemo" \
rnnt_decoding.greedy.use_cuda_graph_decoder=false \
audio_dir="/home/TestData/an4_transcribe/test_subset/" \
output_path="/tmp/stt_cache_aware_streaming_test_res"
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# TODO(vbataev): fix decoding with CUDA graphs on CI for this test
coverage run -a --data-file=/workspace/.coverage --source=/workspace/nemo \
examples/asr/asr_chunked_inference/rnnt/speech_to_text_streaming_infer_rnnt.py \
model_path="/home/TestData/asr/stt_en_fastconformer_transducer_large.nemo" \
Expand All @@ -21,5 +20,4 @@ coverage run -a --data-file=/workspace/.coverage --source=/workspace/nemo \
left_context_secs=10.0 \
right_context_secs=2.0 \
timestamps=true \
decoding.greedy.use_cuda_graph_decoder=false \
output_filename="/tmp/stt_streaming_test_res.json"
Loading