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

Add python/tensorrt to benchmark #1257

Merged
merged 1 commit into from
Sep 28, 2021
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
4 changes: 3 additions & 1 deletion extensions/benchmark/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ djl-bench currently support benchmark the following type of models:
- PaddlePaddle model
- TFLite model
- TensorRT model
- Neo DLR (TVM) model
- XGBoost model
- Python script model
- Neo DLR (TVM) model

You can build djl-bench from source if you need to benchmark fastText/BlazingText/Sentencepiece models.

Expand Down Expand Up @@ -188,6 +189,7 @@ By default, the above script will use MXNet as the default Engine, but you can a
-e TensorRT # TensorRT
-e DLR # Neo DLR
-e XGBoost # XGBoost
-e Python # Python script
```

### Step 2: Identify the source of your model
Expand Down
4 changes: 4 additions & 0 deletions extensions/benchmark/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ dependencies {
runtimeOnly "ai.djl.dlr:dlr-native-auto"

runtimeOnly "ai.djl.ml.xgboost:xgboost"

runtimeOnly "ai.djl.python:python"

runtimeOnly "ai.djl.tensorrt:tensorrt"
} else {
implementation project(":model-zoo")

Expand Down