Skip to content

Commit

Permalink
Install dev requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
svekars committed May 7, 2024
1 parent b4332a8 commit 49f1c1b
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 0 deletions.
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
1 change: 1 addition & 0 deletions docs/source/api_ref_intro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ optimize your machine learning models.
:maxdepth: 1
:caption: Python API Reference

api_ref_sparsity
api_ref_quantization
api_ref_dtypes
api_ref_kernel
18 changes: 18 additions & 0 deletions docs/source/api_ref_sparsity.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
.. _api_sparsity:

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

.. autosummary::
:toctree: generated/
:nosignatures:

WandaSparsifier
PerChannelNormObserver
apply_sparse_semi_structured
apply_fake_sparsity


1 change: 1 addition & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ with more content coming soon.
:maxdepth: 1
:caption: API Reference

api_ref_sparsity
api_ref_intro
api_ref_quantization
api_ref_dtypes
Expand Down

0 comments on commit 49f1c1b

Please sign in to comment.