Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug accuracy issue #8443

Closed
wants to merge 1 commit into from
Closed

Debug accuracy issue #8443

wants to merge 1 commit into from

Conversation

akihironitta
Copy link
Member

No description provided.

@akihironitta akihironitta self-assigned this Nov 26, 2023
@github-actions github-actions bot added the utils label Nov 26, 2023
Copy link
Member Author

@akihironitta akihironitta left a comment

Choose a reason for hiding this comment

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

Closing this for now until there's any progress in pytorch/pytorch#114109.

Comment on lines +119 to +124
@torch._dynamo.optimize()
def _scatter_min_or_max(src: Tensor, index: Tensor, dim: int, size: int,
reduce: str):
return src.new_zeros(size).scatter_reduce_(dim, index, src,
reduce=f'a{reduce}',
include_self=False)
Copy link
Member Author

@akihironitta akihironitta Dec 6, 2023

Choose a reason for hiding this comment

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

@rusty1s Disabling compiling this part of the computation will address the accuracy issue.

Copy link
Member Author

Choose a reason for hiding this comment

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

Or, in other words, enabling compiling this computation will cause the accuracy issue.

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.

1 participant