Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
98 commits
Select commit Hold shift + click to select a range
b4d6f80
update sphinx docs
lmxyy Jun 16, 2025
0d757ad
update the doc configration
lmxyy Jun 16, 2025
bf755a0
configure doxyfile
lmxyy Jun 16, 2025
6031006
start building the docs
lmxyy Jun 17, 2025
cc22612
building docs
lmxyy Jun 17, 2025
f867705
building docs
lmxyy Jun 19, 2025
628cf2e
update docs
lmxyy Jun 19, 2025
1dab572
finish the installation documents
lmxyy Jun 20, 2025
3352dcd
finish the installation documents
lmxyy Jun 20, 2025
73b3925
finish the installation documents
lmxyy Jun 20, 2025
10234d4
start using rst
lmxyy Jun 20, 2025
5a82b98
use rst instead of md
lmxyy Jun 20, 2025
6429d63
need to figure out how to maintain rst
lmxyy Jun 20, 2025
e27d464
update
lmxyy Jun 20, 2025
c0d62f0
make linter happy
lmxyy Jun 20, 2025
7b6e778
update
lmxyy Jun 20, 2025
83337e4
link management
lmxyy Jun 20, 2025
e280931
rst is hard to handle
lmxyy Jun 20, 2025
47259ab
fix the title-only errors
lmxyy Jun 21, 2025
5bafa62
setup the rst linter
lmxyy Jun 21, 2025
cb76b66
add the lora files
lmxyy Jun 21, 2025
5bfb14f
lora added, need to be more comprehensive
lmxyy Jun 21, 2025
72695c5
update
lmxyy Jun 21, 2025
545bacf
update
lmxyy Jun 21, 2025
411fb9d
finished lora docs
lmxyy Jun 21, 2025
e7295b3
finished the LoRA docs
lmxyy Jun 21, 2025
d3c1214
finished the cn docs
lmxyy Jun 22, 2025
e0f3228
finished the cn docs
lmxyy Jun 22, 2025
714a9df
finished the qencoder docs
lmxyy Jun 22, 2025
f3944cd
finished the cpu offload
lmxyy Jun 24, 2025
4a9420d
finished the offload docs
lmxyy Jun 24, 2025
85ff009
add the attention docs
lmxyy Jun 24, 2025
42ec0a1
finished the attention docs
lmxyy Jun 24, 2025
80843d9
finished the fbcache
lmxyy Jun 24, 2025
d5dccf8
update
lmxyy Jun 24, 2025
79e7e06
finished the pulid docs
lmxyy Jun 24, 2025
eeb2bb3
make linter happy
lmxyy Jun 24, 2025
fc90610
make linter happy
lmxyy Jun 24, 2025
c9bf91d
Merge branch 'dev' into docs/build
lmxyy Jul 1, 2025
e6dbf5b
Merge branch 'dev' into docs/build
lmxyy Jul 7, 2025
4aaba01
Merge branch 'dev' into docs/build
lmxyy Jul 8, 2025
992629c
add kontext
lmxyy Jul 8, 2025
50d050e
update
lmxyy Jul 8, 2025
381121e
Merge branch 'dev' into docs/build
lmxyy Jul 8, 2025
2c2a1dd
add the docs for gradio demos
lmxyy Jul 8, 2025
b2251e2
add docs for test.py
lmxyy Jul 8, 2025
1440c83
add the docs for utils.py
lmxyy Jul 8, 2025
990c538
make the doc better displayed
lmxyy Jul 8, 2025
6dc6595
update
lmxyy Jul 9, 2025
fc96806
update
lmxyy Jul 9, 2025
00657ae
add some docs
lmxyy Jul 9, 2025
69e3c32
style: make linter happy
lmxyy Jul 9, 2025
70faef8
add docs
lmxyy Jul 9, 2025
81d7f89
update
lmxyy Jul 9, 2025
24d65c9
add caching docs
lmxyy Jul 9, 2025
9187e56
make linter happy
lmxyy Jul 9, 2025
f3569dc
add api docs
lmxyy Jul 9, 2025
787dda2
fix the t5 docs
lmxyy Jul 9, 2025
0fd399d
fix the t5 docs
lmxyy Jul 9, 2025
dee28a9
fix the t5 docs
lmxyy Jul 9, 2025
a1719bc
hide the private functions
lmxyy Jul 10, 2025
8db7c60
update
lmxyy Jul 10, 2025
6e31165
fix the docs of caching utils
lmxyy Jul 10, 2025
729c8b0
update docs
lmxyy Jul 10, 2025
81b9f6c
finished the docstring of nunchaku cahcing
lmxyy Jul 10, 2025
78f5202
update packer
lmxyy Jul 10, 2025
1500b84
revert the docs
lmxyy Jul 10, 2025
3632717
better docs for packer.py
lmxyy Jul 10, 2025
7c7a1fd
better docs for packer.py
lmxyy Jul 10, 2025
2e090df
better docs for packer.py
lmxyy Jul 10, 2025
7d30bb0
better docs for packer.py
lmxyy Jul 10, 2025
c0609a8
update
lmxyy Jul 10, 2025
5a1fb9c
update docs
lmxyy Jul 10, 2025
2303706
caching done
lmxyy Jul 10, 2025
0e3f30e
caching done
lmxyy Jul 10, 2025
7f55471
lora
lmxyy Jul 11, 2025
f22bfb1
lora
lmxyy Jul 11, 2025
7052d08
lora
lmxyy Jul 11, 2025
8e2d080
update
lmxyy Jul 11, 2025
7b8d5b6
python docs
lmxyy Jul 11, 2025
a42a542
reorg docs
lmxyy Jul 12, 2025
3082548
add the initial version of faq
lmxyy Jul 12, 2025
eab78ac
update
lmxyy Jul 12, 2025
203b4c4
make linter happy
lmxyy Jul 12, 2025
201ead6
reorg
lmxyy Jul 12, 2025
6fd98e9
reorg
lmxyy Jul 12, 2025
4fdb2a0
add crossref
lmxyy Jul 12, 2025
a498f9e
make linter happy
lmxyy Jul 12, 2025
c92bf55
better docs
lmxyy Jul 13, 2025
32d150c
make linter happy
lmxyy Jul 13, 2025
95fb8c6
preliminary version of the docs done
lmxyy Jul 13, 2025
da6c5cc
update
lmxyy Jul 13, 2025
74edc45
update README
lmxyy Jul 13, 2025
4a94901
update README
lmxyy Jul 14, 2025
2247dc6
docs done
lmxyy Jul 14, 2025
9ce808a
update README
lmxyy Jul 14, 2025
82bcb5c
update docs
lmxyy Jul 14, 2025
0422459
not using datasets 4 for now
lmxyy Jul 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/1-bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ body:
attributes:
label: Checklist
options:
- label: 1. I have searched for related issues and FAQs (https://github.com/mit-han-lab/nunchaku/blob/main/docs/faq.md) but was unable to find a solution.
- label: 1. I have searched for related issues and FAQs (https://nunchaku.tech/docs/nunchaku/faq/faq.html) but was unable to find a solution.
- label: 2. The issue persists in the latest version.
- label: 3. Please note that without environment information and a minimal reproducible example, it will be difficult for us to reproduce and address the issue, which may delay our response.
- label: 4. If your report is a question rather than a bug, please submit it as a discussion at https://github.com/mit-han-lab/nunchaku/discussions/new/choose. Otherwise, this issue will be closed.
Expand Down
4 changes: 2 additions & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
## Checklist

- [ ] Code is formatted using Pre-Commit hooks.
- [ ] Relevant unit tests are added in the [`tests`](../tests) directory following the guidance in [`tests/README.md`](../tests/README.md).
- [ ] [README](../README.md) and example scripts in [`examples`](../examples) are updated if necessary.
- [ ] Relevant unit tests are added in the [`tests`](../tests) directory following the guidance in [`Contribution Guide`](https://nunchaku.tech/docs/nunchaku/developer/contribution_guide.html).
- [ ] [Documentation](../docs/source) and example scripts in [`examples`](../examples) are updated if necessary.
- [ ] Throughput/latency benchmarks and quality evaluations are included where applicable.
- [ ] **For reviewers:** If you're only helping merge the main branch and haven't contributed code to this PR, please remove yourself as a co-author when merging.
- [ ] Please feel free to join our [Slack](https://join.slack.com/t/nunchaku/shared_invite/zt-3170agzoz-NgZzWaTrEj~n2KEV3Hpl5Q), [Discord](https://discord.gg/Wk6PnwX9Sm) or [WeChat](https://github.com/mit-han-lab/nunchaku/blob/main/assets/wechat.jpg) to discuss your PR.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ instance/

# Sphinx documentation
docs/_build/
docs/build/
docs/doxygen/

# PyBuilder
.pybuilder/
Expand Down
16 changes: 15 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,22 @@ repos:
rev: v0.17.0
hooks:
- id: yamlfmt
- repo: https://github.com/executablebooks/mdformat
- repo: https://github.com/hukkin/mdformat
rev: 0.7.22
hooks:
- id: mdformat
name: (Markdown) Format docs with mdformat
additional_dependencies:
- mdformat-gfm
- mdformat-black
- mdformat-myst
- repo: https://github.com/PyCQA/doc8
rev: v2.0.0
hooks:
- id: doc8
additional_dependencies: []
- repo: https://github.com/rstcheck/rstcheck
rev: main # should be replaced with the current verison
hooks:
- id: rstcheck
additional_dependencies: ['rstcheck[sphinx,toml]']
276 changes: 15 additions & 261 deletions README.md

Large diffs are not rendered by default.

304 changes: 38 additions & 266 deletions README_ZH.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/flux.1/t2i/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Nunchaku INT4 FLUX.1 Models
# Nunchaku 4-Bit FLUX.1 Models

## Text-to-Image Gradio Demo

Expand Down
20 changes: 20 additions & 0 deletions docs/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Minimal makefile for Sphinx documentation
#

# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?=
SPHINXBUILD ?= sphinx-build
SOURCEDIR = source
BUILDDIR = build

# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

.PHONY: help Makefile

# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
43 changes: 0 additions & 43 deletions docs/contribution_guide.md

This file was deleted.

43 changes: 0 additions & 43 deletions docs/contribution_guide_ZH.md

This file was deleted.

Loading