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

[torchlib] topk results do not match when input is int64/int32 #853

Open
justinchuby opened this issue Jul 11, 2023 · 2 comments
Open

[torchlib] topk results do not match when input is int64/int32 #853

justinchuby opened this issue Jul 11, 2023 · 2 comments
Labels
bug Something isn't working contribution welcome We welcome code contributions for this module: torchlib Related to the torch/aten function lib in development

Comments

@justinchuby
Copy link
Collaborator

No description provided.

@justinchuby justinchuby added bug Something isn't working module: torchlib Related to the torch/aten function lib in development labels Jul 11, 2023
@BowenBao
Copy link
Contributor

Is it about the ordering when values are the same? Wonder if either is stable sort.

@justinchuby
Copy link
Collaborator Author

It could be - I haven't looked into that yet. The same happens for int32

@justinchuby justinchuby changed the title [torchlib] topk results do not match when input is int64 [torchlib] topk results do not match when input is int64/int32 Aug 8, 2023
@justinchuby justinchuby added the contribution welcome We welcome code contributions for this label Aug 26, 2023
@Copilot Copilot bot mentioned this issue Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working contribution welcome We welcome code contributions for this module: torchlib Related to the torch/aten function lib in development
Projects
None yet
Development

No branches or pull requests

2 participants