readme add aha-ui
This commit is contained in:
@@ -49,6 +49,12 @@ aha is a high-performance, cross-platform AI inference engine built with Rust an
|
||||
- **🧠 Attention Optimization** - Optional Flash Attention support for optimized long sequence processing
|
||||
|
||||
## Changelog
|
||||
### 2026-05-09
|
||||
- merge pr/eastgold15/46, add aha-ui
|
||||
|
||||
### 2026-04-25
|
||||
- VoxCPM update stream
|
||||
|
||||
### 2026-04-17
|
||||
- Qwen3ASR add vad data recognition
|
||||
|
||||
@@ -67,15 +73,6 @@ aha is a high-performance, cross-platform AI inference engine built with Rust an
|
||||
### 0.2.5 (2026-04-06)
|
||||
- add qwen3-embedding/qwen3-reranker/all-minilm-l6-v2
|
||||
|
||||
### 2026-04-03
|
||||
- CLI update: subcommand must be specified
|
||||
- ChatCompletionParameters add repeat_penalty and repeat_last_n
|
||||
- generate add penalty repeat
|
||||
|
||||
### 2026-04-02
|
||||
- refactor generate code
|
||||
- \<think\>...\</think\> The content of the thought chain is returned using the reasoning_content field.
|
||||
- chat response add time info
|
||||
|
||||
**[View full changelog](docs/changelog.md)** →
|
||||
|
||||
@@ -127,7 +124,6 @@ aha run -m all-minilm-l6-v2 -i "Rust embedding test" --weight-path D:\model_down
|
||||
|
||||
# Start service only (model already downloaded)
|
||||
aha serv -m Qwen/Qwen3-ASR-0.6B -p 10100
|
||||
|
||||
```
|
||||
|
||||
### Chat
|
||||
@@ -149,6 +145,66 @@ curl http://localhost:10100/v1/chat/completions \
|
||||
'
|
||||
```
|
||||
|
||||
### aha-ui
|
||||
```bash
|
||||
cd aha-ui
|
||||
```
|
||||
|
||||
#### use npm
|
||||
##### install npm
|
||||
refer to https://nodejs.org/en/download
|
||||
```bash
|
||||
# Download and install nvm:
|
||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.4/install.sh | bash
|
||||
# in lieu of restarting the shell
|
||||
\. "$HOME/.nvm/nvm.sh"
|
||||
# Download and install Node.js:
|
||||
nvm install 24
|
||||
# Verify the Node.js version:
|
||||
node -v # Should print "v24.15.0".
|
||||
# Verify npm version:
|
||||
npm -v # Should print "11.12.1".
|
||||
```
|
||||
|
||||
##### npm run aha-ui
|
||||
```bash
|
||||
# Make sure in the aha-ui directory
|
||||
# and make sure that aha has been compiled
|
||||
npm install
|
||||
npm run tauri dev
|
||||
```
|
||||
|
||||
##### npm build & install & run
|
||||
```bash
|
||||
npm run tauri build
|
||||
# target in
|
||||
# -- aha-ui/src-tauri/target/release/bundle/deb/aha-ui_0.1.0_amd64.deb
|
||||
# -- aha-ui/src-tauri/target/release/bundle/rpm/aha-ui-0.1.0-1.x86_64.rpm
|
||||
# -- aha-ui/src-tauri/target/release/bundle/appimage/aha-ui_0.1.0_amd64.AppImage
|
||||
```
|
||||
|
||||
#### use pnpm
|
||||
##### install pnpm
|
||||
```bash
|
||||
curl -fsSL https://get.pnpm.io/install.sh | sh -
|
||||
```
|
||||
|
||||
##### pnpm run aha-ui
|
||||
```bash
|
||||
# Make sure in the aha-ui directory
|
||||
# and make sure that aha has been compiled
|
||||
pnpm run tauri dev
|
||||
```
|
||||
|
||||
##### pnpm build & install & run
|
||||
```bash
|
||||
pnpm run tauri build
|
||||
# target in
|
||||
# -- aha-ui/src-tauri/target/release/bundle/deb/aha-ui_0.1.0_amd64.deb
|
||||
# -- aha-ui/src-tauri/target/release/bundle/rpm/aha-ui-0.1.0-1.x86_64.rpm
|
||||
# -- aha-ui/src-tauri/target/release/bundle/appimage/aha-ui_0.1.0_amd64.AppImage
|
||||
```
|
||||
|
||||
## Documentation
|
||||
|
||||
| Document | Description |
|
||||
|
||||
Reference in New Issue
Block a user