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

[Runtimes] Fix Pickling in MLRun Function Due to Improper Dynamic Import #5636

Merged
merged 1 commit into from
May 27, 2024

Conversation

quaark
Copy link
Member

@quaark quaark commented May 27, 2024

https://iguazio.atlassian.net/browse/ML-2872

According to https://docs.python.org/3/library/importlib.html#importing-a-source-file-directly, we were missing a step in how we dynamically import the function handler in the local runtime.
After adding the missing step, Pickle works properly within the MLRun Function:
Screenshot 2024-05-27 at 12 12 17

@liranbg liranbg merged commit 5b36daa into mlrun:development May 27, 2024
11 checks passed
rokatyy pushed a commit to rokatyy/mlrun that referenced this pull request May 28, 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.

None yet

2 participants