git-subtree-dir: x git-subtree-mainline: 7d05a6ee8f44b314fa697a427439e5fa4d78c3d7 git-subtree-split: a10a11b9d371f36b7c3510da32a1d70b74e27bd1
13 lines
460 B
Go
13 lines
460 B
Go
package build
|
|
|
|
func convertSafeTensorToGGUF(path string) (ggufPath string, err error) {
|
|
// TODO: decine on hueristic for converting safetensor to gguf and
|
|
// the errors that can be returned. For now, we just say
|
|
// "unsupported", however it may be intended to be a valid safe
|
|
// tensor but we hit an error in the conversion.
|
|
//
|
|
// I (bmizernay) think this will naturally evolve as we implement
|
|
// the conversion.
|
|
return "", ErrUnsupportedModelFormat
|
|
}
|