You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After I check the code. The Hugging Face Transformers support gguf isn't what we think. According to the PR. This PR offers the ability to load .gguf files within transformers, dequantizing them to float32. This isn't we want to. So, we need to move on to the other solutions.
Based on the currently researching. Here are two paths.
There are also have some other bindings. However, I use Python as backend. So, we want to use Python binding. Furthermore, here is my thinking.
We can import Python binding through kimchima. And support CPU accelerate. And we also what already done. This is breaking change, because we will use Llama.cpp rather than transformers. And currently, we need to do investigation on how to support our Conversation history mechanism.
We can import Llama.cpp server as a seperate stateless micro-service. Our backend can be an orchestration system. It means we can also let kimchima become a micro-service.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hugging Face Transformers load gguf into fp32
After I check the code. The Hugging Face Transformers support gguf isn't what we think. According to the PR.
This PR offers the ability to load .gguf files within transformers, dequantizing them to float32.
This isn't we want to. So, we need to move on to the other solutions.Based on the currently researching. Here are two paths.
Python binding
Llama.cpp server
There are also have some other bindings. However, I use Python as backend. So, we want to use Python binding. Furthermore, here is my thinking.
We can import Python binding through kimchima. And support CPU accelerate. And we also what already done. This is breaking change, because we will use Llama.cpp rather than transformers. And currently, we need to do investigation on how to support our
Conversation history mechanism
.We can import Llama.cpp server as a seperate stateless micro-service. Our backend can be an orchestration system. It means we can also let kimchima become a micro-service.
Reference
Beta Was this translation helpful? Give feedback.
All reactions