-
Notifications
You must be signed in to change notification settings - Fork 48
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
Authentication with Dex Static Credentials only works with kfp 1.0 #177
Comments
@xwt-ml regarding your 404 error, can you confirm a few things:
Regarding your comment about "attach shared memory", I am not 100% sure what you are referring to here, but this sounds like a question for upstream Kubeflow Pipelines. Also, you can continue to use Kubeflow Pipelines V1 with deployKF 0.1.5, just downgrade your |
@thesuperzapper I found out this morning that the 404 error is caused by missing environment variables in my code. It has nothing to do with the kfp version. The authentication code works with both kfp 1.0 and kfp 2.0. Regarding to "shared memory", attaching shared memory to Docker for machine learning training with PyTorch is necessary because PyTorch's DataLoader often uses multiple processes to load data efficiently. Increased shared memory prevents bottlenecks, crashes, and out-of-memory errors during data loading and augmentation. It also ensures better performance and utilization of CPU and GPU resources during training. My training job usually does not work without the shared memory. kfp v1.0 supports this functionality through the
The shared memory can be attached to the ContainerOp using the following way:
In kfp 2.0, You are right, this is not related to this particular issue. I mentioned this because I thought deploykf v0.1.5 only works together with kfp 2.0 because of the information in this table Therefore, I will close this issue. Thank you very much for the support. |
@xwt-ml Thanks, I have updated that warning to be more correct (saying that 0.1.5 can use KFP SDK 1.8.22). Regarding your question about |
Checks
deployKF Version
0.1.5
Kubernetes Distribution
EKS
Kubernetes Version
Description
Using the example code provided here https://www.deploykf.org/user-guides/access-kubeflow-pipelines-api/#reference-implementation_1, I can successfully authenticate with the dex static credential and get the list experiments with kfp 1.0. When upgrading to kfp 2.0, I receive the following error message:
kfp_server_api.exceptions.ApiException: (404)
Reason: Not Found
Additionally, there is currently no example showing how to attach shared memory to container operations with kfp 2.0, preventing users from upgrading the platform from v0.1.4 to v0.1.5, since the deploykf v0.1.5 only works together with kfp 2.0 as stated here https://www.deploykf.org/user-guides/access-kubeflow-pipelines-api/#overview.
Relevant Logs
No response
deployKF Values (Optional)
No response
The text was updated successfully, but these errors were encountered: