Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion internal/nimparser/v2/nimparser.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,15 @@ func (manifest NIMManifest) MatchProfiles(modelSpec appsv1alpha1.ModelSpec, disc
// Determine backend type
backend := profile.Tags["llm_engine"]
if backend == "" {
backend = profile.Tags["backend"]
// model_type is used for non llm models
backend = profile.Tags["model_type"]
if backend == "" {
// Fallback to backend tag if model_type is not set. Backend tag is deprecated.
backend = profile.Tags["backend"]
if backend == "triton" {
backend = "tensorrt"
}
}
Comment thread
shivamerla marked this conversation as resolved.
Outdated
}

if modelSpec.Engine != "" && !strings.Contains(backend, strings.TrimSuffix(modelSpec.Engine, "_llm")) {
Expand Down
Loading