-
-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: increase CLIP max_batch_size to 32
As we didn't configure any config.pbtxt file, max batch size was 4 by default
- Loading branch information
1 parent
118f7d9
commit a39d61a
Showing
2 changed files
with
31 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
backend: "onnxruntime" | ||
max_batch_size: 32 | ||
input [ | ||
{ | ||
name: "pixel_values" | ||
data_type: TYPE_FP32 | ||
dims: [ -1, -1, -1 ] | ||
}, | ||
{ | ||
name: "attention_mask" | ||
data_type: TYPE_INT64 | ||
dims: [ -1 ] | ||
}, | ||
{ | ||
name: "input_ids" | ||
data_type: TYPE_INT64 | ||
dims: [ -1 ] | ||
} | ||
] | ||
output [ | ||
{ | ||
name: "image_embeds" | ||
data_type: TYPE_FP32 | ||
dims: [ 512 ] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters