Closed zanussbaum closed 2 months ago
Updated SageMaker client to handle batched image requests using multipart/form-data and modified instance type in batch transform.
Key points:
nomic/aws/sagemaker.py
nomic/aws/sagemaker.py::prepare_multipart_request
nomic/aws/sagemaker.py::preprocess_image
nomic/aws/sagemaker.py::sagemaker_image_request
nomic/aws/sagemaker.py::embed_image
nomic/aws/sagemaker.py::batch_transform_image
ml.g4dn.xlarge
setup.py
3.0.41
3.0.42
Generated with :heart: by ellipsis.dev
Summary:
Updated SageMaker client to handle batched image requests using multipart/form-data and modified instance type in batch transform.
Key points:
nomic/aws/sagemaker.py
to handle batched image requests using multipart/form-data.nomic/aws/sagemaker.py::prepare_multipart_request
to prepare multipart body for image requests.nomic/aws/sagemaker.py::preprocess_image
to return multipart body and boundary.nomic/aws/sagemaker.py::sagemaker_image_request
to use multipart/form-data content type.nomic/aws/sagemaker.py::embed_image
to process images in batches.nomic/aws/sagemaker.py::batch_transform_image
toml.g4dn.xlarge
.setup.py
from3.0.41
to3.0.42
.Generated with :heart: by ellipsis.dev