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
The behavior you reported is by design. Here's the rationale behind it:
Sagemaker Pipeline parameters/properties/Expression/ExecutionVariable is runtime variables which would be interpreted only in execution time (when triggering pipeline.start).
However, the s3_analysis_config_output_path is only used during the compile time (when invoking pipeline.create or pipeline.definition) as a S3 path where the analysis config should be uploaded to.
Thus a ParameterString does not apply to the s3_analysis_config_output_path.
The same applies to dataconfig. s3_output_path if s3_analysis_config_output_path is None, which is the second exception you posted. As in this case, dataconfig. s3_output_path is used (as a backup) in compile time to upload the analysis config, it should not be a pipeline parameter/properties etc.
I'd recommend to keep a local variable for s3_analysis_config_output_path and update it as needed. In this way you can keep the dataconfig. s3_output_path parameterized. See the example below:
It looks it's not possible to parameterize
s3_analysis_config_output_path
using Sagemaker Pipeline parameters:Nor it is possible to leave
s3_analysis_config_output_path
as default value i.e.None
:The documenation states:
Sagemaker API version: sagemaker>=2.158.0
Originally posted by @maslick in #2698 (comment)
The text was updated successfully, but these errors were encountered: