SM Studio: Pipeline.definition() or Pipeline.upsert() crashes with a dictionary deepcopy error from within Python 3.7: "TypeError: can't pickle _thread.lock objects" #2478
Labels
component: pipelines
Relates to the SageMaker Pipeline Platform
Describe the bug
UPDATE: see comment below.
SM Studio: When attempting to call
Pipeline.definition()
orPipeline.upsert()
, the operation crashes with the error "TypeError: can't pickle _thread.lock objects" from within Python 3.7 itself, when attempting a dictionary deepcopy called fromworkflow/pipeline.py
.To reproduce
A clear, step-by-step set of instructions to reproduce the bug.
Run a SM studio notebook in an ml.t3.medium instance with the Data Science kernel (Python 3.7), with the following package versions installed:
Create a pipeline with any definition and run either of the above commands.
Expected behavior
I expected the pipeline to be described or upserted, or at least to receive an error relating to my input.
Screenshots or logs
If applicable, add screenshots or logs to help explain your problem.
stack trace:
System information
A description of your system. Please provide:
Additional context
I've attached the notebook file and a
pip list
output for reference. This notebook is based on the 'Abalone' example.pip-list.txt
car-data-end-to-end.zip
The text was updated successfully, but these errors were encountered: