candle
candle copied to clipboard
Unable to use any CLIP model with model_id
I was unable to use clip-vit-base-patch16 as there is no deserialization available for the CLIP Configuration. The only model that can be used is clip-vit-base-patch-32. In PR #2527 I have added the ability to get any model using the model_id.
https://github.com/huggingface/candle/blob/2f49e1b5349f4e56677ec0d3dc3fe98f9cbb87c7/candle-transformers/src/models/clip/mod.rs#L69-L75