Skip to content

Commit

Permalink
feat(model): support llava model
Browse files Browse the repository at this point in the history
  • Loading branch information
tonywang10101 committed Oct 21, 2023
1 parent 8a7b583 commit e1cdbcf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ func CopyModelFileToModelRepository(modelRepository string, dir string, tritonMo
}
// TODO: add general function to check if backend use fastertransformer, which has different model file structure
} else if (modelSubNames[len(modelSubNames)-3] == "fastertransformer" ||
modelSubNames[len(modelSubNames)-3] == "llava_13b" ||

Check warning on line 255 in pkg/utils/utils.go

View check run for this annotation

Codecov / codecov/patch

pkg/utils/utils.go#L255

Added line #L255 was not covered by tests
modelSubNames[len(modelSubNames)-3] == "llama2_7b" ||
modelSubNames[len(modelSubNames)-3] == "llamacode" ||
modelSubNames[len(modelSubNames)-3] == "llama2_13b_chat" ||
Expand Down

0 comments on commit e1cdbcf

Please sign in to comment.