DeepLink-orgDeepLink-orgOfficial·3 Agent Skills Included

dlinfer

Run large language models on domestic AI accelerators

Connects the lmdeploy inference framework to Ascend NPU, Cambricon MLU, and Moore Threads GPU hardware without changing model code. Provides vendor operators, graph-mode capture, and framework patches so models run in both eager and graph modes. Includes guided workflows for adding new models, debugging precision regressions, profiling timelines, and running RESTful benchmarks.
npx skills add DeepLink-org/dlinfer --all -g -y
Available:

Tells the agent how the dlinfer hardware abstraction layer is structured, how lmdeploy is patched at import time, and which install and test commands to use for each vendor backend.

All Skills in This Repository (3)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install dlinfer?

Run `npx skills add DeepLink-org/dlinfer --all -g -y` in your terminal to install all skills in this suite globally.

What does dlinfer do?

It is a hardware abstraction layer that lets lmdeploy run large language and vision-language models on Ascend NPU, Cambricon MLU, and Moore Threads GPU without modifying model code.

How to add support for a new model on Ascend or Cambricon?

The support-new-model skill walks the agent through the four-layer op stack, vendor backend changes, and graph buffer updates needed to port a model that already runs on CUDA.

How to debug wrong outputs on domestic AI chips?

The precision-align skill provides a step-by-step method to compare lmdeploy+dlinfer against a reference framework, isolating KV cache, operator, and parallelism bugs with tensor dumps.

Can I benchmark inference performance with these skills?

Yes. The service-launch and pressure-benchmark skills start an lmdeploy API server, run ShareGPT or random-length workloads, and report throughput, batch behavior, and KV cache usage.

Related Repositories in Software Engineering

View All in Software Engineering