It seems that your KFP components are failing to compile within Vertex AI Pipelines due to errors associated with building ‘kfp’ and ‘kfp-server-api’ during the component compilation process.
Here are the potential ways that might help with your use case:
Use a pre-built container image: You may want to utilize a pre-built, version-controlled container image from a registry, as it ensures a dependable, reproducible, and efficient foundation for your Vertex AI Pipelines, while minimizing runtime challenges.
Check pip Version: Ensure your base image includes an updated version of pip, as older versions may struggle to process pyproject.toml-based builds effectively.
Permissions: If you’re utilizing a custom container registry for your base image, ensure that your service account has the appropriate permissions to access and retrieve the image.
Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.