Thank you for sharing the bug. I run into the same issue. Based on your article, it seems the bug has been fixed for a couple of months, not sure why I am still experiencing it now. What is this patch you did? Maybe I can do some one-off fix locally on my own?
HI Ning, I've managed to solve the problem with a fix of my own if you're interested. If you clone the sagemaker python sdk https://github.com/aws/sagemaker-python-sdk to your working directory and edit line 3461 to say "tags = tags" instead of "_append_project_tags(tags)", then pip uninstall sagemaker, pip install -e your own version, it should work just fine!
Thank you for sharing the bug. I run into the same issue. Based on your article, it seems the bug has been fixed for a couple of months, not sure why I am still experiencing it now. What is this patch you did? Maybe I can do some one-off fix locally on my own?
HI Ning, I've managed to solve the problem with a fix of my own if you're interested. If you clone the sagemaker python sdk https://github.com/aws/sagemaker-python-sdk to your working directory and edit line 3461 to say "tags = tags" instead of "_append_project_tags(tags)", then pip uninstall sagemaker, pip install -e your own version, it should work just fine!
thanks for sharing the fix Connor! Really appreciate it. I will give it a try!
that's line 3461 of src/sagemaker/session.py