Skip to content

Conversation

@jeffdaily
Copy link
Collaborator

A user may call torch.empty() when they intended torch.zeros(). This debugging flag could help triage such cases by setting all allocations from the CUDACachingAllocator to zeros.

A user may call torch.empty() when they intended torch.zeros().
This debugging flag could help triage such cases by setting all
allocations from the CUDACachingAllocator to zeros.
@pruthvistony pruthvistony merged commit e8c4b1c into release/2.7 Oct 7, 2025
38 checks passed
@pruthvistony pruthvistony deleted the release/2.7_memset branch October 7, 2025 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants