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

refactoring inference and add proprocessing download endpoint #2

Merged
merged 2 commits into from
Aug 13, 2024

Conversation

HeinrichAD
Copy link
Member

  • refactor inference endpoint
    • implements shape check
    • base64 support
    • basic/default preprocessing steps
    • improves error handling/messages
  • suppress a warning regarding a default parameter change in torch.load
  • add preprocessing model download endpoint
  • add flag if preprocessing is defined to model metadata response

This PR includes and closes #1.

@HeinrichAD HeinrichAD requested a review from BeFranke August 13, 2024 07:09
Copy link
Member

@BeFranke BeFranke left a comment

Choose a reason for hiding this comment

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

Pretty cool solution for the inference!

fl_server_api/views/inference.py Outdated Show resolved Hide resolved
@BeFranke BeFranke merged commit ff97493 into main Aug 13, 2024
20 checks passed
@HeinrichAD HeinrichAD deleted the enhancement/inference branch August 13, 2024 09:19
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