-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Docs suggest role is optional in local mode #704
Comments
Hi @stevehawley Thanks for your observation. Although role is not necessary in local mode, it allows a smoother transition to other SageMaker services, which is why we keep the parameter. I updated the documentation as suggested. Thanks for using SageMaker |
Sorry to bring this up again. @mvsusp Thanks for giving an answer to it, but I still don't get it: "Although role is not necessary in local mode ...", so we do agree that "role" needs to be an optional parameter, not a required one right? Making it "required" means that you need to have an AWS account, which many people don't, and won't prefer to be forced to have one. |
This is a pain point for me too... it seems local mode isn't really local. I have to specify a role and that role is being validated before I can run the training job locally. I was expecting this could be done completely separately from AWS without needing any credentials. Unfortunately, for my use case, I can't have an AWS account and a role being defined as a dependency. |
Please fill out the form below.
System Information
Framework (e.g. TensorFlow) / Algorithm (e.g. KMeans):
TensorFlow
Framework Version:
1.12
Python Version:
3.7
CPU or GPU:
NA
Python SDK Version:
Are you using a custom image:
No
Describe the problem
Documentation at https://sagemaker.readthedocs.io/en/stable/overview.html#local-mode shows creating estimator without passing role, when doing this locally I get an error that role is a required positional parameter.
specifically this code:
And why would an IAM role be required for local mode anyway?
Minimal repro / logs
logs:
The text was updated successfully, but these errors were encountered: