Skip to content

Conversation

@Athe-kunal
Copy link
Contributor

No description provided.

I was getting an error. Resolved after enabling gradient checking for y

```
RuntimeError: One of the differentiated Tensors does not require grad
```
Enable gradient tracking for 'y' in mul_relu_block_back_spec
Change accumulator initialization to use the device of input tensor. And use `zeroes` instead of `zeroes_like` because the alter accepts tensor
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Oct 31, 2025
@jansel jansel merged commit 32eeadf into pytorch:main Oct 31, 2025
14 checks passed
@jansel
Copy link
Contributor

jansel commented Oct 31, 2025

Thanks!

oulgen pushed a commit that referenced this pull request Oct 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants