Commit Graph

2 Commits

Author SHA1 Message Date
XiaoYang f010087e97 ```
feat(cli): add direct model inference via new run subcommand

- Add `aha run` CLI subcommand for direct model inference without HTTP service
- Support multiple models including Qwen series, OCR models, ASR models, and voice generation
- Implement input/output handling with file path support and auto-generation
- Add comprehensive documentation in CLI_USAGE.md with examples
- Include performance timing for model loading and inference operations
- Add macOS build target to Makefile with Metal support
```
2026-01-21 18:41:11 +08:00
XiaoYang 861c411ba2 feat: CLI Subcommand Support
- **CLI Subcommand Support**: Added three new subcommands for better command organization:
  - `aha cli` - Download model and start HTTP service (default, backward compatible)
  - `aha serv` - Start HTTP service only (requires `--weight-path`)
  - `aha download` - Download model only (no service start)
2026-01-20 22:15:45 +08:00