-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support custom onnx file and update model signatures (#761)
* feat: allow custom onnx file * fix: path name * fix: validate model path * chore: improve error message * test: add custom path unit test * test: add test cases * test: add test cases * test: add test cases * fix: reindent * fix: change type to int32 * fix: modify text input * chore: format code * chore: update model links * fix: update links * fix: typo * fix: add attention mask for onnx * fix: trt text encode key * fix: fix trt shape * fix: trt convert * fix: trt convert * fix: tensorrt parse model * fix: add md5 verification * fix: add md5 verification * feat: add md5 validation * feat: add torch md5 * feat: add torch md5 * feat: add onnx md5 * fix: md5 validation * chore: clean up * fix: typo * fix: typo * fix: typo * fix: correct path * fix: trt path * test: add md5 test * test: add path test * fix: house keeping * fix: house keeping * fix: house keeping * fix: md5 test case * fix: modify visual signature * fix: modify visual signature * fix: improve download retry * fix: trt timeout 30 min * fix: modify download logic * docs: update trt * fix: validation * fix: polish download with md5 * fix: polish download with md5 * fix: stop with max retires * fix: use forloop * test: none regular file Co-authored-by: numb3r3 <[email protected]>
- Loading branch information
Showing
11 changed files
with
363 additions
and
182 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
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
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
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
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
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
Oops, something went wrong.