hmunachii commited on
Commit
b7ce80e
·
verified ·
1 Parent(s): ac5a878

deploy via pip + needle download, drop platform table

Browse files
Files changed (1) hide show
  1. README.md +4 -18
README.md CHANGED
@@ -184,28 +184,14 @@ pip install cactus-needle
184
 
185
  That covers the whole Quickstart above, plus the `needle` CLI: `needle playground` for a local UI, `needle finetune` and `needle build` for training and exporting your own.
186
 
187
- For the standalone command-line binary or the embedded libraries (C, mobile, WebAssembly), pull your platform folder with the model config using the Hugging Face CLI instead of downloading files by hand:
188
 
189
  ```sh
190
- pip install -U huggingface_hub
191
- hf download Cactus-Compute/needle2 --include "macos-arm64/*" "config.json" --local-dir needle2
192
  ```
193
 
194
- Platform folders:
195
-
196
- | your device | folder | command-line | library |
197
- | --- | --- | --- | --- |
198
- | Mac (Apple Silicon) | `macos-arm64` | `needle` | `libneedle.a` |
199
- | Linux x86-64 (PC, server, AMD) | `linux-x86_64` | `needle` | `libneedle.a` |
200
- | Linux ARM64 (Raspberry Pi, server) | `linux-arm64` | `needle` | `libneedle.a` |
201
- | Linux ARMv7 (32-bit) | `linux-armv7` | `needle` | `libneedle.a` |
202
- | Linux RISC-V | `linux-riscv64` | `needle` | `libneedle.a` |
203
- | Linux MIPS32el (Ingenic cameras, routers) | `linux-mipsel` | `needle` | `libneedle.a` |
204
- | Windows x64 | `windows-x86_64` | `needle.exe` | `libneedle.a` |
205
- | Windows ARM | `windows-arm64` | `needle.exe` | `libneedle.a` |
206
- | Android | `android-arm64` / `android-armv7` / `android-riscv64` | `needle` | `libneedle.a` |
207
- | iOS / watchOS / tvOS | `ios-arm64` / `watchos-arm64` / `tvos-arm64` | - | `libneedle.a` |
208
- | Browser / Node (WebAssembly) | `wasm` | - | `needle.js` + `needle.wasm` |
209
 
210
  To run it, use the command-line binary. On macOS, Linux, or Android:
211
 
 
184
 
185
  That covers the whole Quickstart above, plus the `needle` CLI: `needle playground` for a local UI, `needle finetune` and `needle build` for training and exporting your own.
186
 
187
+ For the standalone command-line binary or the embedded libraries (C, mobile, WebAssembly), pull your platform folder with the needle CLI:
188
 
189
  ```sh
190
+ pip install cactus-needle
191
+ needle download macos-arm64
192
  ```
193
 
194
+ Folders: `macos-arm64`, `linux-x86_64`, `linux-arm64`, `linux-armv7`, `linux-riscv64`, `linux-mipsel`, `windows-x86_64`, `windows-arm64`, `android-arm64`, `android-armv7`, `android-riscv64`, `ios-arm64`, `ios-sim-arm64`, `tvos-arm64`, `watchos-arm64`, `wasm`. Each holds the `needle` command-line binary where the OS runs one, plus `libneedle.a` and `needle.h` to embed (`needle.js` and `needle.wasm` for the browser).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
195
 
196
  To run it, use the command-line binary. On macOS, Linux, or Android:
197