Skip to main content

cann-recipes-cli

One offline index over the CANN recipes repositories — cann-recipes-infer, cann-recipes-train, cann-recipes-harmony-infer, cann-recipes-embodied-ai, cann-recipes-spatial-intelligence — so one query answers: which model is optimized where, for which hardware, and how?

  • search — full-text across models / modules / ops / docs / integrations
  • category, repo, and hardware filters (--category model --hw A3)
  • read — read any indexed page
  • init — shallow-clone the recipe repos and build the index

Install

pip install cann-recipes-cli

Quick start

cann-recipes init                       # clone all five repos (shallow) + index
cann-recipes init --repo infer          # just the inference recipes
cann-recipes search GLM-5               # where is GLM-5 optimized?
cann-recipes search 量化 --category module
cann-recipes search moe --hw A3         # hardware filter
cann-recipes read infer/models/glm_5/README.md

Already have clones? cann-recipes --root /path/to/parent ... or set CANN_RECIPES_ROOT. Indexes rebuild automatically when any repo HEAD changes.

This project contains the query client only. Content comes from the recipes repositories at runtime and follows their own license terms.

License

MIT

Release files for cann-recipes-cli 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cann-recipes-cli 0.1.0
File Size Uploaded
cann_recipes_cli-0.1.0.tar.gz 7.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cann-recipes-cli 0.1.0
File Interpreter ABI Platform
cann_recipes_cli-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 16.6 kB

Release files / cann_recipes_cli-0.1.0.tar.gz

Download URL cann_recipes_cli-0.1.0.tar.gz
Size 7.8 kB
Tags Source
SHA-256 checksum
How to use checksums
8b87c8777996925986bac7b91e4c689dfe5300ade083e867e4b70fe7ca0f3241
BLAKE2b-256 checksum
How to use checksums
4a78615f000c794fb3768ac7e0621ef2f50571d2460e5cd71c6354a345272d20
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.12

Release files / cann_recipes_cli-0.1.0-py3-none-any.whl

Download URL cann_recipes_cli-0.1.0-py3-none-any.whl
Size 8.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4164479d060316c53d33ec20d2f14e03a025d4a9772a55cffc4f35881f0b1b6d
BLAKE2b-256 checksum
How to use checksums
1179f76938d7aa50fa02dfa6bfcf31d35bbc66e3c5fd943f3b308a153b3ed62f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.12

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page