Skip to content

Commit

Permalink
Add python/tensorrt to benchmark
Browse files Browse the repository at this point in the history
Change-Id: Ib6b852fb08d3714bd30c3ada81b0c09118843ae7
  • Loading branch information
frankfliu committed Sep 28, 2021
1 parent 6c67b00 commit cee2ef6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
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

0 comments on commit cee2ef6

Please sign in to comment.