-
Notifications
You must be signed in to change notification settings - Fork 670
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
[BUG] Task to fails to import modules in pyflyte-map-execute
mode but works in pyflyte-execute
mode
#4853
Comments
Thank you for opening your first issue here! 🛠 |
🤖 Hey @debajyoti-truefoundry, great to see you back! Hope you're doing well. Based on the information you've provided, it seems like the issue might be related to the way your modules are being imported or located in the The error message
Here are a few things you could try:
If none of these suggestions solve the issue, it would be helpful if you could provide more information about your file structure and how you're importing the For more information on how Python imports work, you can refer to the Python documentation on modules. I hope this helps! If you have any more questions or need further clarification, feel free to ask. SourcesThis response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant. If you want to continue the conversation, start your reply with @dosu-bot. |
I did not face this problem when I registered the workflow and ran from UI.
This is the command that was used at that time in the Pod.
|
The issue here appears to be that the I've run into this when using a Docker container by setting |
Describe the bug
This is what my current folder structure looks like, and on line 18, I have imported a module.
My workflow file looks like this,
I used the following command to run the workflow remotely.
As you can see in the above screenshot, the validate model map task fails. This is the log I can see in the corresponding pod
I cannot understand why the
should_train_tokenizer
task was executed successfully, but the map task failed.command for the failed task,
Expected behavior
The map task should not fail.
Additional context to reproduce
No response
Screenshots
No response
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: