Skip to content

Commit

Permalink
Load .tar.gz on load_models=all (#3329)
Browse files Browse the repository at this point in the history
  • Loading branch information
m10an authored Sep 23, 2024
1 parent d993070 commit 6881ec5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,8 @@ private void initModelStore() throws InvalidSnapshotException, IOException {
String fileName = file.getName();
if (file.isFile()
&& !fileName.endsWith(".mar")
&& !fileName.endsWith(".model")) {
&& !fileName.endsWith(".model")
&& !fileName.endsWith(".tar.gz")) {
continue;
}
try {
Expand Down

0 comments on commit 6881ec5

Please sign in to comment.