Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sagemaker client issue #53

Open
SuchethaChintha opened this issue Jun 7, 2024 · 2 comments
Open

Sagemaker client issue #53

SuchethaChintha opened this issue Jun 7, 2024 · 2 comments

Comments

@SuchethaChintha
Copy link

when i am executing token_benchmark_ray.py we are getting below error
File "token_benchmark_ray.py", line 456, in
run_token_benchmark(
File "token_benchmark_ray.py", line 297, in run_token_benchmark
summary, individual_responses = get_token_throughput_latencies(
File "token_benchmark_ray.py", line 111, in get_token_throughput_latencies
request_metrics[common_metrics.INTER_TOKEN_LAT] /= num_output_tokens
TypeError: unsupported operand type(s) for /=: 'list' and 'int'
(SageMakerClient pid=15473) Warning Or Error: 'SageMakerRuntime' object has no attribute 'invoke_endpoint_with_response_stream'
(SageMakerClient pid=15473) None

@SuchethaChintha SuchethaChintha changed the title Sagemaker client isssue Sagemaker client issue Jun 7, 2024
@Tatiats7
Copy link

Hey @SuchethaChintha did you fix that ?

@vjaramillo
Copy link

This is probably due to using an older version of the Sagemaker SDK. Updating it should fix the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants