Skip to content

python compatibility for pytorch excludes 3.7 and 3.8 support with correct framework version #2826

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

Closed
elenatomlinson opened this issue Jan 5, 2022 · 2 comments
Assignees
Labels
component: pysdk-team Related to SageMaker Python SDK Core Issues PyTorch type: documentation

Comments

@elenatomlinson
Copy link

What did you find confusing? Please describe.
The line: "Your PyTorch training script must be a Python 3.6 compatible source file" on this page. You can supply a Python 3.7 or 3.8 compatible training script provided you use a deep learning container with complimentary support. The SDK will error unless you also specify the PyTorch framework_version of the container.

Describe how documentation can be improved
Inform users under which circumstances PyTorch 3.7 and 3.8 are supported and how to get past the SDK errors.

Additional context
Python 3.6 is EOL

@istranic
Copy link

I'm also confused why Python 3.7+ has not been added to the kernels that are supported on SageMaker, since 3.6 is at EOL, and a lot of other packages are no longer supporting 3.6.

@rsareddy0329
Copy link
Contributor

Yes, the training script is not confined to one version, but it is dependent on the framework_version being provided and it's supported py_version here.
these are the currently supported pytorch framework versions(till 2.2.0): https://github.com/aws/sagemaker-python-sdk/blob/master/src/sagemaker/fw_utils.py#L120

Removed the line about python version requirements: #5057

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: pysdk-team Related to SageMaker Python SDK Core Issues PyTorch type: documentation
Projects
None yet
Development

No branches or pull requests

6 participants