Skip to content

Commit 91a42bc

Browse files
Update pkg/distribution/distribution/errors.go
Co-authored-by: Dorin-Andrei Geman <dorin.geman@docker.com>
1 parent 2d00341 commit 91a42bc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pkg/distribution/distribution/errors.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ var (
1616
"client supports only models of type %q and older - try upgrading",
1717
types.MediaTypeModelConfigV01,
1818
))
19-
ErrUnsupportedFormat = errors.New("vLLM backend currently only implemented for x86_64 Nvidia platforms")
19+
ErrConflict = errors.New("resource conflict")
20+
)
21+
22+
const warnUnsupportedFormat = "Model format 'Safetensors' not supported. " +
23+
"vLLM backend requires x86_64 Linux with NVIDIA GPU"
2024
ErrConflict = errors.New("resource conflict")
2125
)

0 commit comments

Comments
 (0)