PyTorch CUDA batch-norm path reads past bounds on empty tensors
A report says batch_norm_gather_stats launches a CUDA kernel with a negative count and zero-size tensors, producing invalid global reads.
By tensorA report says batch_norm_gather_stats launches a CUDA kernel with a negative count and zero-size tensors, producing invalid global reads.
By tensorThe CPU path indexes running mean and variance by channel count without checking buffer length, causing heap out-of-bounds access.
By tensor