Spaces:
Configuration error
Configuration error
Henry Ndubuaku commited on
Update README.md
Browse files
README.md
CHANGED
|
@@ -204,40 +204,6 @@ Cactus backend is written in C/C++ and can run directly on any ARM/X86/Raspberry
|
|
| 204 |
```
|
| 205 |
To learn more, see the [C++ Docs](docs/cpp.md). It covers chat design, embeddings, multimodal models, text-to-speech, and more.
|
| 206 |
|
| 207 |
-
|
| 208 |
-
## 
|
| 209 |
-
|
| 210 |
-
First, clone the repo with `git clone https://github.com/cactus-compute/cactus.git`, cd into it and make all scripts executable with `chmod +x scripts/*.sh`
|
| 211 |
-
|
| 212 |
-
1. **Flutter**
|
| 213 |
-
- Build the Android JNILibs with `scripts/build-flutter-android.sh`.
|
| 214 |
-
- Build the Flutter Plugin with `scripts/build-flutter-android.sh`.
|
| 215 |
-
- Navigate to the example app with `cd examples/flutter`.
|
| 216 |
-
- Open your simulator via Xcode or Android Studio, [walkthrough](https://medium.com/@daspinola/setting-up-android-and-ios-emulators-22d82494deda) if you have not done this before.
|
| 217 |
-
- Always start app with this combo `flutter clean && flutter pub get && flutter run`.
|
| 218 |
-
- Play with the app, and make changes either to the example app or plugin as desired.
|
| 219 |
-
|
| 220 |
-
2. **React Native**
|
| 221 |
-
- Build the Android JNILibs with `scripts/build-react-android.sh`.
|
| 222 |
-
- Build the Flutter Plugin with `scripts/build-react-android.sh`.
|
| 223 |
-
- Navigate to the example app with `cd examples/react`.
|
| 224 |
-
- Setup your simulator via Xcode or Android Studio, [walkthrough](https://medium.com/@daspinola/setting-up-android-and-ios-emulators-22d82494deda) if you have not done this before.
|
| 225 |
-
- Always start app with this combo `yarn && yarn ios` or `yarn && yarn android`.
|
| 226 |
-
- Play with the app, and make changes either to the example app or package as desired.
|
| 227 |
-
- For now, if changes are made in the package, you would manually copy the files/folders into the `examples/react/node_modules/cactus-react-native`.
|
| 228 |
-
|
| 229 |
-
2. **C/C++**
|
| 230 |
-
- Navigate to the example app with `cd examples/cpp`.
|
| 231 |
-
- There are multiple main files `main_vlm, main_llm, main_embed, main_tts`.
|
| 232 |
-
- Build both the libraries and executable using `build.sh`.
|
| 233 |
-
- Run with one of the executables `./cactus_vlm`, `./cactus_llm`, `./cactus_embed`, `./cactus_tts`.
|
| 234 |
-
- Try different models and make changes as desired.
|
| 235 |
-
|
| 236 |
-
4. **Contributing**
|
| 237 |
-
- To contribute a bug fix, create a branch after making your changes with `git checkout -b <branch-name>` and submit a PR.
|
| 238 |
-
- To contribute a feature, please raise as issue first so it can be discussed, to avoid intersecting with someone else.
|
| 239 |
-
- [Join our discord](https://discord.gg/SdZjmfWQ)
|
| 240 |
-
|
| 241 |
## 
|
| 242 |
|
| 243 |
| Device | Gemma-3 1B Q8 (toks/sec) | Qwen-2.5 1.5B Q8 (toks/sec) |
|
|
@@ -270,16 +236,4 @@ First, clone the repo with `git clone https://github.com/cactus-compute/cactus.g
|
|
| 270 |
We created a demo chat app we use for benchmarking:
|
| 271 |
|
| 272 |
[](https://apps.apple.com/gb/app/cactus-chat/id6744444212)
|
| 273 |
-
[](https://play.google.com/store/apps/details?id=com.rshemetsubuser.myapp&pcampaignid=web_share)
|
| 274 |
-
|
| 275 |
-
## 
|
| 276 |
-
You can run up to 10B models at Q4 on most devices, but it is not recommended for production due to file size, speed, battery, heating performance.
|
| 277 |
-
We generally give the following recommendation.
|
| 278 |
-
|
| 279 |
-
- **Language Generation**: `SmolLM2-360m`, `Qwen-3-600m-Q6`, `Gemma-3-1B-Q6`, `Qwen-3-1.7B-Q6`
|
| 280 |
-
- **Multimodal Language Generation**: `Smol-VLM-500m-Q6`, `Gemma-3n-2B-Q6`
|
| 281 |
-
- **Embeddings**: `nomic-v2-moe-300m-Q6`, `jina-v3-570m-Q6`
|
| 282 |
-
- **Text-To-Speech**: `OuteTTS-0.2-500m-Q6`
|
| 283 |
-
|
| 284 |
-
Gemma-3n-2B-Q6 is a great omni model and beats GPT 4.1 across many metrics. It is multimodal (vision, audio) and can perfectly be used for embedding
|
| 285 |
-
text, images, audio, as well as zero-shot classification and more, with clever prompt engineering. We are trying hard to get the weights.
|
|
|
|
| 204 |
```
|
| 205 |
To learn more, see the [C++ Docs](docs/cpp.md). It covers chat design, embeddings, multimodal models, text-to-speech, and more.
|
| 206 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 207 |
## 
|
| 208 |
|
| 209 |
| Device | Gemma-3 1B Q8 (toks/sec) | Qwen-2.5 1.5B Q8 (toks/sec) |
|
|
|
|
| 236 |
We created a demo chat app we use for benchmarking:
|
| 237 |
|
| 238 |
[](https://apps.apple.com/gb/app/cactus-chat/id6744444212)
|
| 239 |
+
[](https://play.google.com/store/apps/details?id=com.rshemetsubuser.myapp&pcampaignid=web_share)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|