Skip to content

Conversation

@shayne-fletcher
Copy link
Contributor

Differential Revision: D86025607

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 1, 2025
@meta-codesync
Copy link

meta-codesync bot commented Nov 1, 2025

@shayne-fletcher has exported this pull request. If you are a Meta employee, you can view the originating Diff in D86025607.

shayne-fletcher added a commit to shayne-fletcher/monarch-1 that referenced this pull request Nov 1, 2025
…pytorch#1739)

Summary:


pytorch `InputBuffer::add` API changed. adapt `monarch/python/monarch/_gradient_generator.cpp`
```
  realInputBuffer(node).add(
      input_nr,
      check_and_reduce(node->node, input_nr, std::move(t)),
      std::nullopt,
      std::nullopt);  // Remove: node->node
```

that gradient computation still works correctly after this change needs to be tested.

Differential Revision: D86025607
shayne-fletcher added a commit to shayne-fletcher/monarch-1 that referenced this pull request Nov 1, 2025
…pytorch#1739)

Summary:


pytorch `InputBuffer::add` API changed. adapt `monarch/python/monarch/_gradient_generator.cpp`
```
  realInputBuffer(node).add(
      input_nr,
      check_and_reduce(node->node, input_nr, std::move(t)),
      std::nullopt,
      std::nullopt);  // Remove: node->node
```

that gradient computation still works correctly after this change needs to be tested.

Reviewed By: vidhyav

Differential Revision: D86025607
shayne-fletcher added a commit to shayne-fletcher/monarch-1 that referenced this pull request Nov 1, 2025
…pytorch#1739)

Summary:


pytorch `InputBuffer::add` API changed. adapt `monarch/python/monarch/_gradient_generator.cpp`
```
  realInputBuffer(node).add(
      input_nr,
      check_and_reduce(node->node, input_nr, std::move(t)),
      std::nullopt,
      std::nullopt);  // Remove: node->node
```

that gradient computation still works correctly after this change needs to be tested.

Reviewed By: vidhyav

Differential Revision: D86025607
…pytorch#1739)

Summary:


pytorch `InputBuffer::add` API changed. adapt `monarch/python/monarch/_gradient_generator.cpp`
```
  realInputBuffer(node).add(
      input_nr,
      check_and_reduce(node->node, input_nr, std::move(t)),
      std::nullopt,
      std::nullopt);  // Remove: node->node
```

that gradient computation still works correctly after this change needs to be tested.

Reviewed By: vidhyav

Differential Revision: D86025607
shayne-fletcher added a commit to shayne-fletcher/monarch-1 that referenced this pull request Nov 1, 2025
…pytorch#1739)

Summary:


pytorch `InputBuffer::add` API changed. adapt `monarch/python/monarch/_gradient_generator.cpp`
```
  realInputBuffer(node).add(
      input_nr,
      check_and_reduce(node->node, input_nr, std::move(t)),
      std::nullopt,
      std::nullopt);  // Remove: node->node
```

that gradient computation still works correctly after this change needs to be tested.

Reviewed By: vidhyav

Differential Revision: D86025607
@meta-codesync meta-codesync bot closed this in f40f6db Nov 1, 2025
@meta-codesync
Copy link

meta-codesync bot commented Nov 1, 2025

This pull request has been merged in f40f6db.

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. fb-exported Merged meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants