Skip to content

Commit

Permalink
Update ultravox_model_test.py
Browse files Browse the repository at this point in the history
  • Loading branch information
saeeddhqan authored Nov 20, 2024
1 parent 93164a8 commit 5e06b2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ultravox/model/ultravox_model_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def test_init_latency_mask_valid(encoder):
assert encoder.audio_streaming_mask.shape[1] == 1

mask = encoder.audio_streaming_mask[0, 0]
# 50x60=3000
# 100*30=3000
source_mask = (
torch.tril(torch.ones(30, 30), diagonal=0)
.repeat_interleave(block_size, dim=0)
Expand Down

0 comments on commit 5e06b2a

Please sign in to comment.