Skip to content

consolidate updates to README.md#6739

Merged
nihui merged 12 commits into
Tencent:masterfrom
nihui:doc-update-1
May 24, 2026
Merged

consolidate updates to README.md#6739
nihui merged 12 commits into
Tencent:masterfrom
nihui:doc-update-1

Conversation

@nihui
Copy link
Copy Markdown
Member

@nihui nihui commented May 22, 2026

No description provided.

@tencent-adm
Copy link
Copy Markdown
Member

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refreshes and consolidates README.md to present a more modern “getting started” flow for ncnn (PyTorch/ONNX → pnnx → ncnn), and reorganizes the rest of the document into clearer sections for build, conversion, features, examples, and documentation links.

Changes:

  • Rewrites the top-level project description (EN + 中文) to reflect broader deployment targets and current tooling (pnnx).
  • Adds a new “Quick Start” section with end-to-end snippets (pnnx export + C++/Python inference).
  • Replaces/condenses older sections into streamlined “Build”, “Model Conversion”, “Features”, “Project Examples”, and “Documentation And FAQ” tables.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md
Comment on lines +84 to +88
**Or use Python**

```python
import numpy as np
import ncnn
Comment thread README.md
| --- | --- | --- |
| PyTorch | `pnnx.export(model, "model.pt", (input_tensor,))` or `pnnx model.pt inputshape=[...]` | [pnnx](tools/pnnx), [PyTorch / ONNX guide](https://github.com/Tencent/ncnn/wiki/use-ncnn-with-pytorch-or-onnx) |
| ONNX | `pnnx model.onnx` | [pnnx](tools/pnnx), [onnx tools](tools/onnx) |
| ncnn model optimization | `ncnnoptimize model.param model.bin new.param new.bin flag` | [quantization](tools/quantize), [model file spec](https://github.com/Tencent/ncnn/wiki/param-and-model-file-structure) |
@nihui nihui merged commit a66dad7 into Tencent:master May 24, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants