-
Notifications
You must be signed in to change notification settings - Fork 333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Model Wishlist #156
Comments
qwen1.5-72B-Chat |
llama3 |
@NiuBlibing, we have llama3 support ready: the README has a few examples. I will add Qwen support shortly. |
@NiuBlibing, I just added Qwen2 support. Quantized Qwen2 support will be added in the next few days. |
Hello! |
@cargecla1, yes! It will be a great use case for ISQ. |
@francis2tm, yes. I plan on supporting Llava and embedding models this week. |
@NiuBlibing, you can run Qwen now with ISQ, which will quantize it. |
Would be nice to support at least one strong vision-language model: https://huggingface.co/openbmb/MiniCPM-V-2 https://huggingface.co/OpenGVLab/InternVL-Chat-V1-5 with an option to compute visual frontend model on CPU. You might find it easier to ship visual transformer part via onnx. |
Would love to see some DeepSeek-VL, this model is better than Llava and spupports multiple images per prompt |
Also, outside the LLM world, would love to see support for https://github.com/cvg/LightGlue :) but not sure if that's possible ... |
Could you add support to for GGUF quantized Phi-3-Mini to the wishlist? Currently, this fails (built from master): Running `./mistralrs-server gguf -m PrunaAI/Phi-3-mini-128k-instruct-GGUF-Imatrix-smashed -t microsoft/Phi-3-mini-128k-instruct -f /home/jett/Downloads/llms/Phi-3-mini-128k-instruct-q3_K_S.gguf`
2024-04-29T03:08:35.180939Z INFO mistralrs_server: avx: true, neon: false, simd128: false, f16c: false
2024-04-29T03:08:35.180975Z INFO mistralrs_server: Sampling method: penalties -> temperature -> topk -> topp -> multinomial
2024-04-29T03:08:35.180982Z INFO mistralrs_server: Loading model `microsoft/Phi-3-mini-128k-instruct` on Cpu...
2024-04-29T03:08:35.180989Z INFO mistralrs_server: Model kind is: quantized from gguf (no adapters)
2024-04-29T03:08:35.181017Z INFO hf_hub: Token file not found "/home/jett/.cache/huggingface/token"
2024-04-29T03:08:35.181048Z INFO mistralrs_core::utils::tokens: Could not load token at "/home/jett/.cache/huggingface/token", using no HF token.
2024-04-29T03:08:35.181122Z INFO hf_hub: Token file not found "/home/jett/.cache/huggingface/token"
2024-04-29T03:08:35.181133Z INFO mistralrs_core::utils::tokens: Could not load token at "/home/jett/.cache/huggingface/token", using no HF token.
Error: Unknown GGUF architecture `phi3` |
It'll be great to see WizardLM-2 and suzume. And thanks for a great tool! |
Command-R and Command-R+ from Cohere would be amazing 🙏 |
T5 |
Supporting a vision+language or multimodal model is very high priority right now.
I'll add this one too.
I will look into it!
Yes, absolutely, I think it should be easy. In the meantime, you can use ISQ to get the same speed.
Thanks! I think suzume is just finetuned Llama so that can be used already. I'll add WizardLM.
Yes, I'll add those.
Yes, I'll add those. T5 will be a nice smaller model. |
@EricLBuehler Thanks for your reply, for adding my suggestion to the model wishlist, and for developing such an awesome project! It's very appreciated :) |
Congrats for your great work! |
it would be nice to add some embedding models like nomic-text-embed. |
Hello, first of all, I want to express my appreciation for the excellent work your team has accomplished on the mistral.rs engine. It's a great project. I am currently developing a personal AI assistant using Rust, and I believe integrating additional features into your engine could significantly enhance its utility and appeal. Specifically, adding support for Whisper and incorporating Text-to-Speech (TTS) functionalities, such as StyleTTS or similar technologies, would be incredibly beneficial. This would enable the engine to handle LLM inference, speech-to-text, and text-to-speech processes in a unified system very fast (near runtime). Implementing these features could transform the engine into a more versatile tool for developers like myself, who are keen on building more integrated and efficient AI applications. |
@EricLBuehler Woah, thank you so much! This will be lovely for us folks with less powerful computers or size constraints, you're awesome :) |
@jett06, my pleasure! I just fixed a small bug (in case you saw the strange behavior), so it should be all ready to go now! |
IBM's Granite series Code Models. |
The The |
I'm working on it now.chenwanqq/candle-llava |
Hi guys, thanks for the awesome work. Is there any plan to support Idefics3 and InternVl2? |
hey, thanks for this awesome work as it allows people with fewer resources to run LLMs and VLMs on their machines. Are we planning to support TTS, STT and image generation models as well? There is a lot of buzz around Flux.1 these days. There are also some good open-source models out there for voice cloning etc. But once again I must appreciate projects like these to help out the community. 🥇 |
@bhupesh-sf, yes, I'm planning to expand into the multimodal space with a broad variety of models. As you suggested, TTS, STT, and image generation are all on the table as well as embedding models. @dancixx, yes, I plan to add Idefics 3 at least! |
So does it support Deepseek Coder yet? |
I'd appreciate if Qwen2-VL could be considered to add: https://huggingface.co/Qwen/Qwen2-VL-2B-Instruct |
I suggest considering the addition of https://huggingface.co/openbmb/MiniCPM3-4B as well. |
Pixtral! https://mistral.ai/news/pixtral-12b/ |
Here are two open image+text to image+text models (these are the only ones I know of): Anole - Chameleon finetune with image output Lumina-mGPT - an independent project by Chinese researchers The Lumina project also made many text-to-other-modes models, in their Lumina-T2X subproject. |
Qwen-2.5 |
Quick status update: We have added the FLUX and Llama 3.2 Vision models recently, with Parler TTS support coming in #791. If anyone would be able to attempt an implementation of any of the requested models, that would be incredible! My idea of the priority of adding models is:
Please feel free to revise this order! @youcefs21 I think Pixtral would certainly be an interesting addition! I will take a look at adding that. @ethanc8 thanks for linking the models! I think Chameleon would be a cool add, the Anole model seems very interesting. @pigfoot We could add QwenVL-2 :) @dancixx Idefics 3 support was recently merged into transformers, so work can begin on that too. @bhupesh-sf I have added FLUX with Parler TTS being implemented in #791! |
@oldgithubman I just merged support for Qwen 2.5 in #805! |
Move Qwen2 VL up the list @EricLBuehler. It is super strong and super important - especially with the HTTP API server (and improved Metal support ;-)). |
@ChristianWeyer that sounds good :) |
@EricLBuehler Could you look at adding support for Aryn/deformable-detr-DocLayNet? I'd like to be able to segment PDFs, screenshots, and output of headless chrome for further processing and storing in a vector DB. Ideally, Would love to integrate mistral.rs into swiftide to pull the whole thing together locally and offline. I've opened up an issue on swiftide (356) to add support for the same workflow. EDIT: There's a parked swiftide issue to add support for mistralrs (56) |
Anole seems quite interesting, would prioritize it over pixtral as it can generate images as well |
Another interesting highly multimodal model is Emu3-Gen, which can take in images, video, and text, and output images, video, and text -- its video generation is slightly better than OpenSora, and it's also able to extend existing videos. You can see example generations on the website. |
Please support the glm-4-9b-chat model. The model address link is https://huggingface.co/THUDM/glm-4-9b-chat. |
https://huggingface.co/jinaai/jina-embeddings-v3 $ mistralrs-server --isq Q4K --interactive-mode plain --model-id jinaai/jina-embeddings-v3
Error: Unsupported Huggging Face Transformers -CausalLM model class `XLMRobertaModel`. Please raise an issue. |
Is there any way this library would support Stable Diffusion in the near future (as I saw that FLUX is already supported) with quantization and LoRA adapter capabilities? |
support for black-forest-labs/FLUX.1-Fill-dev .uqff format. |
The new qwq model that came out a week or so ago. It's very well regarded on the locallama subreddit (seems to be the communities darling at the moment), and tinkering with it myself has also yielded positive results. To be able to use it in mistral.rs would be fantastic! |
Hi guys, is there a plan to support llama 3.3? |
Hi @dancixx , Llama 3.3 is already supported as it uses the same architecture are 3.1/3.2. |
@EricLBuehler Hi, this isn't so much a wish, but can you recommend me a model for video text detection? For accurately detecting text in any language, like the text in this video. I then want to accurately translate it considering the context of the video, even multiline text like shown, so can you recommend me something for that too? Would this be too slow? Thanks! Also, if I wanted to share this, how would I go about it? Do I just put this in the Cargo.toml:
Or ask everyone to build it on their own system? |
support deepseek language model v2 v3, please. https://huggingface.co/deepseek-ai/DeepSeek-V3 |
@franklucky001 I just merged #1010 which adds Deepseek v2! |
Yes, you would add
I'd check out something like this LLaVA model or Qwen2-VL if you want to strictly take video input, otherwise, using any vision model frame-by-frame (or skipping some using some heuristic) might work too! |
Thanks for the response. I think the only way to get the bounding boxes/specific data and stuff is a frame by frame approach. This would take really long and I don't know how to make it fast (probably like 2 months of straight runtime for one video haha). AI text detection, AI translation, AI font detection, AI inpainting, and then the other computer vision stuff. Any ideas? |
@test3211234 if you just need text, why not process frame by frame with something like https://huggingface.co/stepfun-ai/GOT-OCR2_0 should be relatively fast on a decent GPU, like 1-2 seconds per frame, skipping every other frame, you can probably do 45 minutes of video text extraction per day with a naive approach. You can probably optimize that more with some sort of parallelism. |
Please let us know what model architectures you would like to be added!
Up to date todo list below. Please feel free to contribute any model, a PR without device mapping, ISQ, etc. will still be merged!
Language models
Multimodal models
Embedding models
The text was updated successfully, but these errors were encountered: