Skip to content

Conversation

@jansel
Copy link
Contributor

@jansel jansel commented Nov 17, 2024

[ghstack-poisoned]
@pytorch-bot
Copy link

pytorch-bot bot commented Nov 17, 2024

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/140915

Note: Links to docs will display an error until the docs builds have been completed.

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

✅ No Failures

As of commit 5094cf5 with merge base e894219 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
jansel added a commit that referenced this pull request Nov 18, 2024
ghstack-source-id: 29d9ac0
Pull Request resolved: #140915
[ghstack-poisoned]
jansel added a commit that referenced this pull request Nov 18, 2024
ghstack-source-id: 4470cbb
Pull Request resolved: #140915
[ghstack-poisoned]
jansel added a commit that referenced this pull request Nov 19, 2024
ghstack-source-id: a7407be
Pull Request resolved: #140915
[ghstack-poisoned]
jansel added a commit that referenced this pull request Nov 19, 2024
ghstack-source-id: 6abcedc
Pull Request resolved: #140915
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
jansel added a commit that referenced this pull request Nov 20, 2024
ghstack-source-id: 694a234
Pull Request resolved: #140915
[ghstack-poisoned]
[ghstack-poisoned]
jansel added a commit that referenced this pull request Nov 21, 2024
ghstack-source-id: 0347df4
Pull Request resolved: #140915
@jansel jansel marked this pull request as ready for review November 21, 2024 19:53
@jansel jansel requested a review from aorenste November 21, 2024 19:53
elif reduction_size != op.get_reduction_size() or size != op.get_size():
reduction_size = [*op.get_reduction_size()]
size = [*op.get_size()]
elif reduction_size != [*op.get_reduction_size()] or size != [
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why convert the returned sequence into a list? Optional[List[T]] should be comparable to Sequence[T]

Copy link
Contributor Author

@jansel jansel Nov 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

>>> (1, ) == [1, ]
False

[ghstack-poisoned]
jansel added a commit that referenced this pull request Nov 22, 2024
ghstack-source-id: d19278e
Pull Request resolved: #140915
@jansel
Copy link
Contributor Author

jansel commented Nov 22, 2024

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Nov 22, 2024
@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants