Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.venvIB*
.tmp
.gitignore
*.pyc
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ InferenceBenchmarker takes your invocation logic defined in Python functions in
# user on that worker. Put expensive, reusable client state here — e.g. the boto3
# client and its connection pool — so it isn't rebuilt per request.
import json, boto3
client = boto3.client('sagemaker-runtime', region_name='us-east-1')
client = boto3.client('sagemaker-runtime')

def invoke(payload: Payload) -> None:
# PER-REQUEST: called once for each request a user fires.
Expand Down Expand Up @@ -279,7 +279,7 @@ See [client_capacity/README.md](client_capacity/README.md) for usage.

* **Interactive CLI** – Add traces while running benchmarks in the current dry benchmark tool. [tracking issues](https://github.com/aws-samples/sample-InferenceBenchmarker/issues)

* **Automatic RPS** – Automate trial and error server rps supported at success threshold when --endpoint-config for hardware telemetry provided. [tracking issue](https://github.com/aws-samples/sample-InferenceBenchmarker/issues/2)
* **Automatic RPS** – Automate trial and error server rps supported at success threshold when --endpoint-config for hardware telemetry provided. [tracking issue](https://github.com/aws-samples/sample-InferenceBenchmarker/issues/3)

* **Plot metadata** – Provide a dict to add legend and hover info for better visuals in plots. [tracking issues](https://github.com/aws-samples/sample-InferenceBenchmarker/issues)

Expand Down
1 change: 0 additions & 1 deletion factories/sagemakerai_realtime/factories_cnn.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ def invoke_factory(endpoint_name=None):

client = boto3.client(
'sagemaker-runtime',
region_name='us-east-1',
config=Config(retries={'max_attempts': 3}, max_pool_connections=500, read_timeout=3600),
)

Expand Down
1 change: 0 additions & 1 deletion factories/sagemakerai_realtime/factories_ic.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ def invoke_factory(endpoint_name=None):

client = boto3.client(
'sagemaker-runtime',
region_name='us-east-1',
config=Config(retries={'max_attempts': 0}, max_pool_connections=500),
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ def invoke_factory(endpoint_name=None):

client = boto3.client(
'sagemaker-runtime',
region_name='us-east-1',
config=Config(retries={'max_attempts': 3}, max_pool_connections=500, read_timeout=3600),
)

Expand Down