Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install dev-requirements.txt in doc build #224

Merged
merged 4 commits into from
May 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions .github/workflows/doc_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
run: |
python -m pip install torch
python -m pip install -e .
pip install -r dev-requirements.txt
cd docs
python -m pip install -r requirements.txt
- name: Build docs
Expand Down
6 changes: 5 additions & 1 deletion docs/source/api_ref_sparsity.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
================
torchao.sparsity
================

.. automodule:: torchao.sparsity
.. currentmodule:: torchao.sparsity

.. autosummary::
Expand All @@ -12,3 +12,7 @@ torchao.sparsity

WandaSparsifier
PerChannelNormObserver
apply_sparse_semi_structured
apply_fake_sparsity


4 changes: 2 additions & 2 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ with more content coming soon.
:maxdepth: 1
:caption: API Reference

api_ref_intro
api_ref_sparsity
api_ref_intro
api_ref_quantization
api_ref_dtypes
..
..
api_ref_kernel
Loading