Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run a custom container using smdistributed/dataparallel unless USE_SMDEBUG is turned off #609

Open
plamb-viso opened this issue Jul 11, 2022 · 0 comments

Comments

@plamb-viso
Copy link

plamb-viso commented Jul 11, 2022

After countless hours of trying to get an Estimator() to run on a custom image_uri in smdistributed/dataparllel mode (it was failing on trying to import any non-sagemaker-DLC library), I finally discovered buried in the sagemaker.huggingface.HuggingFace estimator that in its API req to sagemaker, it adds the env var

"USE_SMDEBUG": "0"

I added this to my custom docker container and suddenly everything worked. Imports from custom libraries worked no problem.

Is this documented anywhere?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant