We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b244c89 commit 1ab1eadCopy full SHA for 1ab1ead
pkg/distribution/distribution/client.go
@@ -409,15 +409,5 @@ func checkCompat(image types.ModelArtifact) error {
409
return fmt.Errorf("config type %q is unsupported: %w", manifest.Config.MediaType, ErrUnsupportedMediaType)
410
}
411
412
- // Check if the model format is supported
413
- config, err := image.Config()
414
- if err != nil {
415
- return fmt.Errorf("reading model config: %w", err)
416
- }
417
-
418
- if config.Format == types.FormatSafetensors {
419
- return ErrUnsupportedFormat
420
421
422
return nil
423
0 commit comments