Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.

benchmarker API#1259

Merged
bfineran merged 13 commits into
mainfrom
benchmarker
Sep 27, 2023
Merged

benchmarker API#1259
bfineran merged 13 commits into
mainfrom
benchmarker

Conversation

@horheynm

@horheynm horheynm commented Sep 20, 2023

Copy link
Copy Markdown

Trigger
deepsparse.benchmark
deepsparse.benchmark_pipeline

Example code in tests

@bfineran bfineran left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good overall - need a way to instantiate model and pipeline from other sources (ie files, kwargs, etc)

Comment thread src/deepsparse/benchmark/api/benchmarker.py Outdated
@horheynm horheynm changed the title benchmarker benchmarker API Sep 25, 2023
@horheynm horheynm marked this pull request as ready for review September 25, 2023 19:39

@bfineran bfineran left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM overall - the only thing I think would be missing is a way to pass an already instantiated pipeline object to benchmarker

something like:

my_pipeline = Pipeline.create(...)

benchmarker = Benchmarker(pipeline=my_pipeline)

Comment thread src/deepsparse/benchmark/api/benchmarker.py Outdated
Comment thread src/deepsparse/benchmark/api/benchmarker.py Outdated
@bfineran bfineran merged commit 52fac4b into main Sep 27, 2023
@bfineran bfineran deleted the benchmarker branch September 27, 2023 20:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants