Questions tagged [amazon-sagemaker-studio]
106 questions
3
votes
0 answers
AWS Sagemaker Studio Local Ram Overload
Every time i open studio and get to the jupyter labs page about 10s seconds later the browser starts to eat local ram at ~0.1GB/s and one or two cores max out at 100% utilization.
It will continue doing this until all local ram on my local computer…

aris-t
- 151
- 8
2
votes
1 answer
ImportError: Using `low_cpu_mem_usage=True` or a `device_map` requires Accelerate: `pip install accelerate`
Using HuggingFace Transformer I am trying to create a pipeline, by running below code (code is running on a SageMaker Jupyter Lab):
pipeline = transformers.pipeline(
"text-generation",
model="meta-llama/Llama-2-7b-chat-hf",
…

Mohammad Sadoughi
- 410
- 5
- 11
2
votes
2 answers
SageMaker Studio credentials errors
I can no longer view projects, pipelines or create new note books. The complaint appears to be credential related.
Failed to launch app [None]. Error when retrieving credentials from container-role: Error retrieving metadata: Received non 200…

Ray Hogan
- 319
- 3
- 12
2
votes
1 answer
can one pipeline pass parameters/arguments to another pipeline in aws sagemaker pipeline?
Doing some research/experimentation, I can trigger one pipeline from another pipeline in aws sagemaker via Eventbridge. is it possible to pass any parameters/values/arguments from one pipeline to another this way? say, i have a model building…

kyagu
- 155
- 2
- 11
2
votes
1 answer
Customer Error: Record could not be parsed to valid data point
I've been trying to run ensemble prediction from multiple models based on this example and I managed to add KNN to the other two algorithms. However, I'm facing this error during the prediction step (copied from CloudWatch):
Customer Error: Record…

Saba Hussein
- 21
- 2
2
votes
1 answer
Is it possible to choose the S3 directory I want to store my pipeline run files?
My pipeline run directories are being created in my defaul bucket dir and it is getting messy.
I've been trying to set a subdirectory in my s3 default bucket to store all my pipeline run directories (PreProcess, Train, Evaluate, Interpret...) but I…

Sayuri Iwai
- 21
- 1
2
votes
1 answer
Amazon Sagemaker Studio Data Wrangler athena query failing for large datasets
Trying to query a large dataset from Athena using AWS data wrangler. The query fails for large datasets. This is for setting up a datawrangler pipeline using UI in AWS studio trying to add a Athena Source.
Some observations:
Small Athena queries…

user2242666
- 211
- 1
- 2
- 7
2
votes
0 answers
How to allow Sagemaker studio to access data stored in MongoDB?
I'm trying to read data that is stored in MongoDB in Sagemaker studio, and both the MongoDB instance and Sagemaker studio domain is under the same VPC and security group, but I keep getting connection timeout error when I try to do it. Any help is…

user157410
- 43
- 3
2
votes
1 answer
How to add additional files in Sagemaker Pipeline Processing Step
I want to have additional files which can be imported in preprocess.py file
but i am not able to import these directly.
My directory looks like this:
Want to import from helper_functions directory into preprocess.
I tried to add this in setup.py…

sid8491
- 6,622
- 6
- 38
- 64
2
votes
1 answer
Sagemaker Local Mode: RuntimeError: Giving up, endpoint: didn't launch correctly
While running sagemaker in local mode.
I am experimenting with an inference endpoint in local mode using docker container. But as soon as my model.tar.gz file exceeds a certain size i.e. around 200 mb, the deployment fails and returns the…

andyk
- 25
- 2
2
votes
1 answer
How to use Conda kernels while executing jupyter notebook from lambda function
How can I execute jupyter notebook using pre-installed conda kernels from lambda function instead of using the default kernel?
Currently, I'm using the following code snippet to execute jupyter notebook from the lambda function.
import time
import…

Muhammad Azeem
- 21
- 1
- 3
2
votes
1 answer
Can't read uploaded csv file in SageMaker Studio Lab anymore
I used to use the pandas command: pd.read_csv('path copied from studio lab') to read the csv file
but now this same command seems to not work anymore. The path that I used in the pandas command I got by right-clicking on the upload filed and then…

Guga
- 21
- 1
1
vote
2 answers
Where are files located in Sagemaker Studio?
I have seen answers to this question and the answer is always that these files are located in
/home/ec2-user/Sagemaker/
however when I'm in Terminal in Sagemaker Studio I don't see this. It seems that Sagemaker Studio has a different directory than…

Leigh
- 518
- 5
- 12
1
vote
2 answers
Is it possible to use docker commands in Sagemaker Studio
It is not possible to install docker in the SageMaker Studio. Is there a way to install and use it?
$ sudo yum install docker
Loaded plugins: ovl, priorities
No package docker available.
Error: Nothing to do

mon
- 18,789
- 22
- 112
- 205
1
vote
1 answer
Enabling MFA in Sagemaker Studio Lab
Is there any way to enable Multi Factor Authentication in AWS Sagemaker Studio Lab?
I want to use my private data to analyze and run ML algorithms. How secure is Sagemaker Studio Lab? Is there any way to make it more secure? Thank You very much.

Samit
- 87
- 6