Fix allocation bug in NCCL

This commit is contained in:
Awni Hannun 2025-08-22 14:11:52 -07:00
parent 068a4612e9
commit ef123f46e9

View File

@ -24,6 +24,7 @@ void AllReduce::eval_gpu(
out.copy_shared_buffer(in);
return {in, out};
} else {
out.set_data(allocator::malloc(out.nbytes()));
return {in, out};
}
};