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

SDK/Lightweight - Disabled code pickling by default #1512

Conversation

Ark-kun
Copy link
Contributor

@Ark-kun Ark-kun commented Jun 14, 2019

I've introduced code pickling to capture dependencies in #1372
Later I've discovered that there is a serious opcode incompatibility between python versions 3.5 and 3.6+. See my analysis of the issue: cloudpipe/cloudpickle#293

Due to this issue I decided to switch back to using source code copying by default and to continue improving it.

Until we stop supporting python 3.5 (#668) it's better to disable code pickling by default.

Code pickling can be enabled by specifying use_code_pickling=True when calling func_to_container_op


This change is Reviewable

I've introduced code pickling to capture dependencies in kubeflow#1372
Later I've discovered that there is a serious opcode incompatibility between python versions 3.5 and 3.6+. See my analysis of the issue: cloudpipe/cloudpickle#293

Dues to this issue I decided to switch back to using source code copying by default and to continue improving it.

Until we stop supporting python 3.5 (kubeflow#668) it's too dangerous to use code pickling by default.

Code pickling can be enabled by specifying `pickle_code=True` when calling `func_to_container_op`
@Ark-kun Ark-kun force-pushed the SDK---Lightweight---Disabled-code-pickling-by-default branch from 5832419 to d5f0ec6 Compare June 18, 2019 01:43
Copy link
Contributor

@hongye-sun hongye-sun left a comment

Choose a reason for hiding this comment

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

/lgtm

@Ark-kun
Copy link
Contributor Author

Ark-kun commented Jun 19, 2019

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Ark-kun

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@Ark-kun
Copy link
Contributor Author

Ark-kun commented Jun 19, 2019

/test kubeflow-pipeline-e2e-test

@k8s-ci-robot k8s-ci-robot merged commit 627b412 into kubeflow:master Jun 19, 2019
@Ark-kun Ark-kun deleted the SDK---Lightweight---Disabled-code-pickling-by-default branch June 19, 2019 03:07
magdalenakuhn17 pushed a commit to magdalenakuhn17/pipelines that referenced this pull request Oct 22, 2023
* manifests: Add base ui manifests

Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>

* manifests: Move patches to distinct folder

Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>

* manifests: Extend kubeflow overlay for the ui

Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>

* manifests: Add ui to the base manifests

Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>

* review: Remove 'namespace: kubeflow' from default

We will let kustomize replace the namespace and not use a specific one
in the objects.

Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>

* review: Explicitly use namespace: kfserving-system

In order to ensure Kustomize substitutes the name correctly we:
1. removed the `namespace: kfserving-system` from the web-app's
   kustomization file
2. explicitly use `namespace: kfserving-system` in all of the yamls

Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>

* review: Use ingressGateway vars instead of patch

Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>

* review: Use kfserving-system service in vsvc

Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>

* review: Use v1beta1 vsvc in kustomization

Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>

* review: Add a kfserving- prefix

Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants