Skip to content

Commit e123269

Browse files
authored
Fix building on GCC 14.2 (#4163)
1 parent d17635f commit e123269

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/libtorchaudio/rnnt/cpu/compute.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ std::tuple<Tensor, Tensor> compute(
2121
Tensor target_lengths,
2222
int64_t blank,
2323
double clamp,
24-
bool fused_log_softmax = true) {
24+
bool fused_log_softmax) {
2525
STD_TORCH_CHECK(logits.is_cpu(), "logits must be on CPU");
2626

2727
STD_TORCH_CHECK(

src/libtorchaudio/rnnt/gpu/compute.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ std::tuple<Tensor, Tensor> compute(
2121
Tensor target_lengths,
2222
int64_t blank,
2323
double clamp,
24-
bool fused_log_softmax = true) {
24+
bool fused_log_softmax) {
2525
STD_TORCH_CHECK(logits.is_cuda(), "logits must be on CUDA");
2626

2727
STD_TORCH_CHECK(

0 commit comments

Comments
 (0)