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

Fix top_k type (float => int32) executor.py #1329

Closed
wants to merge 1 commit into from

Conversation

vonjackustc
Copy link
Contributor

For runtime_top_k, the type should be torch.int32.
I meet exception during examples/apps/flaskapi_server.py testing.

@kaiyux
Copy link
Member

kaiyux commented May 20, 2024

Hi @vonjackustc , can you please resolve the conflicts so that I can merge this PR?

Alternatively, we have integrated your fix to the internal codebase, and the fix will be included in the next update to the GitHub main branch. It's okay if you don't resolve the conflicts by then, we will close this PR and credit you as co-author in the PR that include your changes.

Thanks a lot for your support!

@kaiyux kaiyux mentioned this pull request May 21, 2024
@kaiyux
Copy link
Member

kaiyux commented May 21, 2024

The changes are integrated in PR #1639 and we've credited you as co-author, I'm closing this PR now.

Let me know if you have any questions. Thanks a lot for your support and help!

@kaiyux kaiyux closed this May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants