Skip to content

Commit 39678ea

Browse files
committed
Merge branch 'master' into parknate-doc-fixes
2 parents 0627fd3 + aa00d6d commit 39678ea

File tree

7 files changed

+197
-3
lines changed

7 files changed

+197
-3
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Changelog
22

3+
## v2.239.2 (2025-02-18)
4+
5+
### Bug Fixes and Other Changes
6+
7+
* Add warning about not supporting torch.nn.SyncBatchNorm
8+
* pass in inference_ami_version to model_based endpoint type
9+
* Fix hyperparameter strategy docs
10+
* Add framework_version to all TensorFlowModel examples
11+
* Move RecordSerializer and RecordDeserializer to sagemaker.serializers and sagemaker.deserialzers
12+
313
## v2.239.1 (2025-02-14)
414

515
### Bug Fixes and Other Changes

CONTRIBUTING.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ Before sending us a pull request, please ensure that:
6161
1. Follow the instructions at [Modifying an EBS Volume Using Elastic Volumes (Console)](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/requesting-ebs-volume-modifications.html#modify-ebs-volume) to increase the EBS volume size associated with the newly created EC2 instance.
6262
1. Wait 5-10min for the new EBS volume increase to finalize.
6363
1. Allow EC2 to claim the additional space by stopping and then starting your EC2 host.
64+
2. Set up a venv to manage dependencies:
65+
1. `python -m venv ~/.venv/myproject-env` to create the venv
66+
2. `source ~/.venv/myproject-env/bin/activate` to activate the venv
67+
3. `deactivate` to exit the venv
6468

6569

6670
### Pull Down the Code
@@ -74,8 +78,8 @@ Before sending us a pull request, please ensure that:
7478
### Run the Unit Tests
7579

7680
1. Install tox using `pip install tox`
77-
1. Install coverage using `pip install .[test]`
78-
1. cd into the sagemaker-python-sdk folder: `cd sagemaker-python-sdk` or `cd /environment/sagemaker-python-sdk`
81+
1. cd into the github project sagemaker-python-sdk folder: `cd sagemaker-python-sdk` or `cd /environment/sagemaker-python-sdk`
82+
1. Install coverage using `pip install '.[test]'`
7983
1. Run the following tox command and verify that all code checks and unit tests pass: `tox tests/unit`
8084
1. You can also run a single test with the following command: `tox -e py310 -- -s -vv <path_to_file><file_name>::<test_function_name>`
8185
1. You can run coverage via runcvoerage env : `tox -e runcoverage -- tests/unit` or `tox -e py310 -- tests/unit --cov=sagemaker --cov-append --cov-report xml`

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.239.2.dev0
1+
2.239.3.dev0

doc/frameworks/pytorch/using_pytorch.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,9 @@ To initialize distributed training in your script, call
375375
`torch.distributed.init_process_group
376376
<https://pytorch.org/docs/master/distributed.html#torch.distributed.init_process_group>`_
377377
with the desired backend and the rank of the current host.
378+
Warning: Some torch features, such as (and likely not limited to) ``torch.nn.SyncBatchNorm``
379+
is not supported and its existence in ``init_process_group`` will cause an exception during
380+
distributed training.
378381
379382
.. code:: python
380383

0 commit comments

Comments
 (0)