-
Notifications
You must be signed in to change notification settings - Fork 1.2k
path is removed from entrypoint when using airflow operator #770
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
Comments
Hi @filthysocks , Yep we should allow entry_point to be an absolute path here. That's a bug in the codes. I will try making a fix. For now could you try to use the arguments
|
yes, that is what i'm doing right now, thanks for fixing it. |
PR that will fix this issue: #796 |
PR is merged - #965 |
Please fill out the form below.
System Information
Describe the problem
I want to use the Airflow operator 'SageMakerTrainingOperator'. When i define a path in the entypoint e.g. /my/path/to/entrypoint.py it will be converted to entrypoint.py.
This happens in the sagemaker/workkflow/airflow.py file in the function 'prepare_framework' (line 37)
script = os.path.basename(estimator.entry_point)
According to the documentary it should be possible to define entrypoints with relative or absolute paths.
Minimal repro / logs
The text was updated successfully, but these errors were encountered: