3,041 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
37
views
AWS SageMaker PyTorch Model Deployment - is entry_point needed?
I'm trying to deploy a pre-trained PyTorch model to SageMaker using the Python SDK. I have a model.tar.gz file that is uploaded to S3, with the following structure:
code/
code/requirements.txt
code/...
0
votes
0
answers
16
views
How to replace MlFlow model
I have an MLflow model deployed in SageMaker, but when I try to update it I get this error:
MlflowException: You are attempting to deploy an application with name: titanic-xgboost-endpoint in 'create' ...
Best practices
0
votes
0
replies
41
views
AWS sagemaker Model Registry Vs. MLflow
In the AWS environment, which of Sagemaker Registry or MLFlow do you suggest?
If we want to use grid search to experiment with different configurations and log all experiments to decide which model to ...
-4
votes
1
answer
73
views
AWS Lambda Python script calling SageMaker: AlgorithmError: Framework Error
I am using lambda and Python and S3.
# lambda_bootstrap_train.py
import boto3
import time
import json
import os
sm = boto3.client('sagemaker', region_name='us-east-2')
s3 = boto3.client('s3', ...
1
vote
0
answers
75
views
Sagemaker Unified Studio overriding delta lake configuration to iceberg on EMR
I am connecting to an EMR cluster through SageMaker Unified Studio(JupyterLab).
My EMR cluster is configured with Delta Lake support, and I have the following Spark properties set on the cluster:
...
0
votes
1
answer
56
views
Restricting IAM user from accessing/downloading my .py files in AWS sagemaker
I want to share my jupyter notebook to public in AWS sagemaker. But when an IAM user logins all the files are listed under file explorer and he is allowed to download myfunctions.py files where all ...
0
votes
0
answers
38
views
AWS Sagemaker invoke endpoint error "Could not find variable lstm_model/dense/bias"
I have trained a model and deployed as endpoint using aws sagemaker and when I tried to invoke I have got error:
2025年09月09日 14:58:25.724914: I external/org_tensorflow/tensorflow/core/framework/...
0
votes
0
answers
69
views
SageMaker PyTorch MME ignores entry_point and falls back to default handler, causing ModelLoadError
I'm trying to deploy a custom PyTorch model to a SageMaker Multi-Model Endpoint (MME). My model is saved as a state_dict using torch.save(), so it requires a custom inference.py script to load the ...
2
votes
0
answers
179
views
Unable to connect to EMR cluster from SageMaker Unified Studio using runtime role – credentials are null
I'm trying to connect to an existing EMR cluster from SageMaker Unified Studio to run SQL queries via JupyterLab.
SageMaker requires that the EMR cluster be runtime role-enabled to integrate with ...
0
votes
1
answer
63
views
JupyterLab SnowFlake External OAuth EntraID Client how to use it
I did look into Request an access token with a client_secret and Connecting with OAuth and cannot find details how this can be programatically to pass token into:
ctx = snowflake.connector.connect(
...
0
votes
2
answers
287
views
AWS SageMaker - Custom Inference With HuggingFace Model
For context, I'm currently working in a JupyterLab space in SageMaker studio.
My goal is to deploy a HuggingFace Llama model for batch transform inference. The data I will be passing in to the LLM is ...
0
votes
0
answers
41
views
Error Invoking Sagemaker Endpoint from API Gateway REST API Integration
I am having difficulty invoking a sagemaker endpoint from API gateway. The API gateway API is a REST API (POST method type) with Sagemaker Runtime as the Integration type. The HTTP method in the ...
0
votes
1
answer
58
views
S3 Torchconnector loads data as a list of tensors
I'm setting up a model and about to start training a dataset from an S3 bucket. To load the data from S3 I'm using s3torchconnector.S3MapDataset.from_prefix which loads the data into the Sagemaker ...
0
votes
1
answer
92
views
How to keep the same version number in AWS SageMaker ModelPackageGroup when updating model with evaluation metrics?
I’m working with AWS SageMaker Model Registry and have a training pipeline that creates and registers a new model package in a ModelPackageGroupName. After that, I have a separate evaluation pipeline ...
0
votes
2
answers
68
views
Loading and training data on Sagemaker with a Self-supervised pre-training model
I'm testing a Self-supervise pre-training model, independently of the model I'm getting the same Error. My environment is Jupiter Labs for AWS Sagemaker, the problem comes when, using args and trying ...