aws-samples / aws-samples/foundation-model-benchmarking-tool

Unable to locate credential issue

Open
#153 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
256
Forks
44
PR merge metrics
No merged PRs in 30d

Description

I am trying to run FM bench on an EC2 instance. I am not using SageMaker. I am getting following error:

File ~/anaconda3/envs/fmbench_python311/lib/python3.11/site-packages/botocore/auth.py:418, in SigV4Auth.add_auth(self, request)
416 def add_auth(self, request):
417 if self.credentials is None:
--> 418 raise NoCredentialsError()
419 datetime_now = datetime.datetime.utcnow()
420 request.context['timestamp'] = datetime_now.strftime(SIGV4_TIMESTAMP)

NoCredentialsError: Unable to locate credentials

Do i need to use AWS key and access id somewhere ?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.