Remote Training Job created with decorator not installing pip dependencies #4484
Labels
component: pipelines
Relates to the SageMaker Pipeline Platform
remote-function
Relates to Pathways feature
type: bug
Describe the bug
After upgrading to version 2.212.0, pip dependencies passed as a requirements.txt file in
@remote
decorator are not installed. Same code works fine in versions up to 2.209.x, fails with versions from 2.210.x.To reproduce
Just tried with the toy example from the documentation:
And got this in the Training Job, showing no pip install logging before (sagemaker is listed in requirements.txt):
Using sagemaker sdk versions previous to 2.210.x, the job prints pip install logging and then runs the operation without problems.
We observed equivalent problems in our code for remote functions that were working fine before upgrading.
Expected behavior
The training job should start by installing the dependencies defined in requirements.txt
System information
The text was updated successfully, but these errors were encountered: