You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error running a pipeline with a Processing Job using a LocalSession #4307
I think in remote execution, the base job name argument is ignored (#3971). I think if you don't supply one (and let the SDK take care of that), your code may run locally.
I think in remote execution, the base job name argument is ignored (#3971). I think if you don't supply one (and let the SDK take care of that), your code may run locally.
Tried that, but it doesn't fix the problem.
But even if that worked, it's not a solution because we need the same code to run locally and in SageMaker. We don't want to have to change the code depending on where we are running it.
Hi @svpino, thanks for reaching out!
It's interesting that I'm not able to reproduce this issue with the supplied code snippet, py3.9 and the latest SDK version (v2.203.1 as of writing time).
Could you try upgrading the SDK and see if it resolves the issue?
If no, could you help to provide us a notebook with the entire sample code to reproduce the issue as well as the error logs printed in the notebook?
Asking because when I used the sample code at the top, I got another error saying that source of ProcessingInput should not be a pipeline Parameter. Thus I made changes accordingly to the code snippet. In case I missed anything else, a complete notebook would help a lot on issue reproducing. Thanks!
Hi @svpino, thanks for the notebook! I can reproduce the issue with it.
It turns out it's the pipeline_definition_config causing the issue. I commented out the pipeline_definition_config and the local pipeline went well.
Seems we're missing tests for PipelineDefinitionConfig in local mode.
I'm working on a fix and will update once the fix is ready. Meanwhile, you can bypass the issue via commenting out the pipeline_definition_config at this moment.
Activity
coderfon commentedon Dec 10, 2023
Same issue here. Similar system information but Intel i7 1165G7 processor
lorenzwalthert commentedon Dec 14, 2023
I think in remote execution, the base job name argument is ignored (#3971). I think if you don't supply one (and let the SDK take care of that), your code may run locally.
svpino commentedon Dec 15, 2023
Tried that, but it doesn't fix the problem.
But even if that worked, it's not a solution because we need the same code to run locally and in SageMaker. We don't want to have to change the code depending on where we are running it.
lorenzwalthert commentedon Dec 20, 2023
muammerkaan commentedon Dec 21, 2023
Was there any resolution this bug?
muammerkaan commentedon Dec 21, 2023
@svpino
svpino commentedon Dec 21, 2023
No, I haven't heard of any solution. I had to downgrade the library to version
2.192.1for it to work.muammerkaan commentedon Dec 21, 2023
thank you
qidewenwhen commentedon Dec 29, 2023
Hi @svpino, thanks for reaching out!
It's interesting that I'm not able to reproduce this issue with the supplied code snippet, py3.9 and the latest SDK version (v2.203.1 as of writing time).
Could you try upgrading the SDK and see if it resolves the issue?
If no, could you help to provide us a notebook with the entire sample code to reproduce the issue as well as the error logs printed in the notebook?
Asking because when I used the sample code at the top, I got another error saying that
sourceof ProcessingInput should not be a pipeline Parameter. Thus I made changes accordingly to the code snippet. In case I missed anything else, a complete notebook would help a lot on issue reproducing. Thanks!svpino commentedon Dec 29, 2023
Hey @qidewenwhen,
Thanks for taking a look! I upgraded the library to
2.203.0, and I still get the same issue.I'm attaching a notebook that fails. Here is the output I see when I run it:
failing-notebook.ipynb.zip
qidewenwhen commentedon Jan 3, 2024
Hi @svpino, thanks for the notebook! I can reproduce the issue with it.
It turns out it's the
pipeline_definition_configcausing the issue. I commented out the pipeline_definition_config and the local pipeline went well.Seems we're missing tests for PipelineDefinitionConfig in local mode.
I'm working on a fix and will update once the fix is ready. Meanwhile, you can bypass the issue via commenting out the
pipeline_definition_configat this moment.