Skip to content
Merged
Changes from all commits
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: 1 addition & 9 deletions builder/store/database/repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -250,15 +250,7 @@ func (r Repository) Archs() (archs []string) {
func (r Repository) Format() string {
for _, tag := range r.Tags {
if tag.Category == "framework" {
if tag.Name == "gguf" {
return tag.Name
}
if tag.Name == "onnx" {
return tag.Name
}
if tag.Name == "safetensors" {
return tag.Name
}
return tag.Name
}
}
//handle some old repo has no gguf tag
Expand Down
Loading