llama.cpp
ce067af1 - convert-hf : use an ABC for Model again

Commit
1 year ago
convert-hf : use an ABC for Model again It seems Protocol can't be used as a statically type-checked ABC, because its subclasses also can't be instantiated. (why did it seem to work?) At least there's still a way to throw an error when forgetting to define the `model_arch` property of any registered Model subclasses.
Author
Committer
Parents
Loading