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

Draft: bug: fix pydantic error for batch prediction job executor #537

Closed
wants to merge 1 commit into from

Conversation

khorshuheng
Copy link
Collaborator

Description

In #535 , we fixed the issue with pydantic schema generation by preloading the Pyfunc model classes. This was done for the driver script for batch prediction job and the start up script for real time Pyfunc model, but did not include merlinpyspark/model.py, which is called within the spark executor.

Modifications

Preload the pyfunc model for merlinpyspark/model.py

Tests

Checklist

  • Added PR label
  • Added unit test, integration, and/or e2e tests
  • Tested locally
  • Updated documentation
  • Update Swagger spec if the PR introduce API changes
  • Regenerated Golang and Python client if the PR introduces API changes

Release Notes


@ghost
Copy link

ghost commented Feb 15, 2024

👇 Click on the image for a new way to code review

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map legend

@khorshuheng khorshuheng added the bug Something isn't working label Feb 15, 2024
@khorshuheng khorshuheng force-pushed the fix-pydantic-error-in-batch-executor branch from ad5511d to ce3ba5f Compare February 15, 2024 11:16
@khorshuheng khorshuheng changed the title bug: fix pydantic error for batch prediction job executor Draft: bug: fix pydantic error for batch prediction job executor Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant