-
Notifications
You must be signed in to change notification settings - Fork 581
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
[Core feature] improve flyte remote registration DX #4936
Comments
🤖 Based on the context provided, it seems like the 'no module found' error you're experiencing with Flyte remote's
Here's how you can use fast registration: pyflyte --pkgs workflows package --image ghcr.io/flyteorg/flytekit:py3.9-latest This command packages your project and creates a portable package flytectl register files \
--project flytesnacks \
--domain development \
--archive flyte-package.tgz \
--version "$(git rev-parse HEAD)" As for adding a flag (fast) to For more information, you can refer to the Flyte documentation on registering workflows. If you're still experiencing issues, it would be helpful to know more about your setup. Could you provide more details about your environment, such as the Python version you're using, the exact error message you're seeing, and the steps you're taking when the error occurs? This will help me better understand the issue and provide a more accurate solution. Sources
|
@samhita-alla Hi, I'm currently looking into this issue. And I have some questions.
Thanks |
Motivation: Why do you think this is important?
Observed quite a couple of times where flyteremote's
register_task
andregister_workflow
lead to some sort of no module found errors: https://discuss.flyte.org/t/13551857/hi-i-am-testing-remote-access-and-get-some-basic-questions-w#06ee2389-8d32-4118-8b20-83809484e62d and https://discuss.flyte.org/t/16600910/i-built-a-custom-image-and-pushed-it-to-the-demo-docker-regi. Whileregister_script
works fine, it requires specifying thesource_root
andmodule_name
, which can be confusing.Goal: What should the final outcome look like, ideally?
Registration with Flyte remote should be seamless. It shouldn't lead to any sort of 'no module found' errors.
Describe alternatives you've considered
Use
register_script
instead ofregister_task
andregister_workflow
.Propose: Link/Inline OR Additional context
Kevin's suggestion: we could add a flag (fast) to
register_task
. thus, it can upload the workflow code by flytekit itself.Are you sure this issue hasn't been raised already?
Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: