Skip to content

Commit

Permalink
update sparsify docs for 0.1.1 release (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
markurtz authored Feb 25, 2021
1 parent 6d6885f commit 7a2b32c
Show file tree
Hide file tree
Showing 153 changed files with 1,346 additions and 2,101 deletions.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
6 changes: 3 additions & 3 deletions sparsify/_modules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,11 @@
<ul>
<li class="toctree-l1"><a class="reference internal" href="../api/sparsify.html">sparsify package</a></li>
</ul>
<p class="caption"><span class="caption-text">Help and Support</span></p>
<p class="caption"><span class="caption-text">Help</span></p>
<ul>
<li class="toctree-l1"><a class="reference external" href="https://github.com/neuralmagic/sparsify/issues">Bugs, Feature Requests</a></li>
<li class="toctree-l1"><a class="reference external" href="https://github.com/neuralmagic/sparsify/discussions">Support, General Q&amp;A</a></li>
<li class="toctree-l1"><a class="reference external" href="https://docs.neuralmagic.com">Neural Magic Docs</a></li>
</ul>


Expand Down Expand Up @@ -206,8 +207,7 @@ <h1>All modules for which code is available</h1>
<li><a href="sparsify/schemas/system.html">sparsify.schemas.system</a></li>
<li><a href="sparsify/utils/system.html">sparsify.utils.system</a></li>
<li><a href="sparsify/workers/base.html">sparsify.workers.base</a></li>
<li><a href="sparsify/workers/base_manager.html">sparsify.workers.base_manager</a></li>
<li><a href="sparsify/workers/base_wrapper.html">sparsify.workers.base_wrapper</a></li>
<li><a href="sparsify/workers/manager.html">sparsify.workers.manager</a></li>
<li><a href="sparsify/workers/projects_benchmark.html">sparsify.workers.projects_benchmark</a></li>
<li><a href="sparsify/workers/projects_data.html">sparsify.workers.projects_data</a></li>
<li><a href="sparsify/workers/projects_model.html">sparsify.workers.projects_model</a></li>
Expand Down
3 changes: 2 additions & 1 deletion sparsify/_modules/marshmallow/schema.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,11 @@
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../api/sparsify.html">sparsify package</a></li>
</ul>
<p class="caption"><span class="caption-text">Help and Support</span></p>
<p class="caption"><span class="caption-text">Help</span></p>
<ul>
<li class="toctree-l1"><a class="reference external" href="https://github.com/neuralmagic/sparsify/issues">Bugs, Feature Requests</a></li>
<li class="toctree-l1"><a class="reference external" href="https://github.com/neuralmagic/sparsify/discussions">Support, General Q&amp;A</a></li>
<li class="toctree-l1"><a class="reference external" href="https://docs.neuralmagic.com">Neural Magic Docs</a></li>
</ul>


Expand Down
3 changes: 2 additions & 1 deletion sparsify/_modules/peewee.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,11 @@
<ul>
<li class="toctree-l1"><a class="reference internal" href="../api/sparsify.html">sparsify package</a></li>
</ul>
<p class="caption"><span class="caption-text">Help and Support</span></p>
<p class="caption"><span class="caption-text">Help</span></p>
<ul>
<li class="toctree-l1"><a class="reference external" href="https://github.com/neuralmagic/sparsify/issues">Bugs, Feature Requests</a></li>
<li class="toctree-l1"><a class="reference external" href="https://github.com/neuralmagic/sparsify/discussions">Support, General Q&amp;A</a></li>
<li class="toctree-l1"><a class="reference external" href="https://docs.neuralmagic.com">Neural Magic Docs</a></li>
</ul>


Expand Down
3 changes: 2 additions & 1 deletion sparsify/_modules/playhouse/sqlite_ext.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,11 @@
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../api/sparsify.html">sparsify package</a></li>
</ul>
<p class="caption"><span class="caption-text">Help and Support</span></p>
<p class="caption"><span class="caption-text">Help</span></p>
<ul>
<li class="toctree-l1"><a class="reference external" href="https://github.com/neuralmagic/sparsify/issues">Bugs, Feature Requests</a></li>
<li class="toctree-l1"><a class="reference external" href="https://github.com/neuralmagic/sparsify/discussions">Support, General Q&amp;A</a></li>
<li class="toctree-l1"><a class="reference external" href="https://docs.neuralmagic.com">Neural Magic Docs</a></li>
</ul>


Expand Down
12 changes: 10 additions & 2 deletions sparsify/_modules/sparsify/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,11 @@
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../api/sparsify.html">sparsify package</a></li>
</ul>
<p class="caption"><span class="caption-text">Help and Support</span></p>
<p class="caption"><span class="caption-text">Help</span></p>
<ul>
<li class="toctree-l1"><a class="reference external" href="https://github.com/neuralmagic/sparsify/issues">Bugs, Feature Requests</a></li>
<li class="toctree-l1"><a class="reference external" href="https://github.com/neuralmagic/sparsify/discussions">Support, General Q&amp;A</a></li>
<li class="toctree-l1"><a class="reference external" href="https://docs.neuralmagic.com">Neural Magic Docs</a></li>
</ul>


Expand Down Expand Up @@ -189,6 +190,7 @@ <h1>Source code for sparsify.app</h1><div class="highlight"><pre>
<span class="c1"># limitations under the License.</span>

<span class="kn">import</span> <span class="nn">argparse</span>
<span class="kn">import</span> <span class="nn">atexit</span>
<span class="kn">import</span> <span class="nn">logging</span>
<span class="kn">import</span> <span class="nn">os</span>
<span class="kn">from</span> <span class="nn">typing</span> <span class="kn">import</span> <span class="n">Any</span><span class="p">,</span> <span class="n">Union</span>
Expand Down Expand Up @@ -272,7 +274,13 @@ <h1>Source code for sparsify.app</h1><div class="highlight"><pre>


<span class="k">def</span> <span class="nf">_worker_setup</span><span class="p">():</span>
<span class="n">JobWorkerManager</span><span class="p">()</span><span class="o">.</span><span class="n">app_startup</span><span class="p">()</span>
<span class="n">manager</span> <span class="o">=</span> <span class="n">JobWorkerManager</span><span class="p">()</span>

<span class="k">def</span> <span class="nf">_interrupt</span><span class="p">():</span>
<span class="n">manager</span><span class="o">.</span><span class="n">shutdown</span><span class="p">()</span>

<span class="n">atexit</span><span class="o">.</span><span class="n">register</span><span class="p">(</span><span class="n">_interrupt</span><span class="p">)</span>
<span class="n">manager</span><span class="o">.</span><span class="n">start</span><span class="p">()</span>


<div class="viewcode-block" id="run"><a class="viewcode-back" href="../../api/sparsify.html#sparsify.app.run">[docs]</a><span class="k">def</span> <span class="nf">run</span><span class="p">(</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,11 @@
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../../../api/sparsify.html">sparsify package</a></li>
</ul>
<p class="caption"><span class="caption-text">Help and Support</span></p>
<p class="caption"><span class="caption-text">Help</span></p>
<ul>
<li class="toctree-l1"><a class="reference external" href="https://github.com/neuralmagic/sparsify/issues">Bugs, Feature Requests</a></li>
<li class="toctree-l1"><a class="reference external" href="https://github.com/neuralmagic/sparsify/discussions">Support, General Q&amp;A</a></li>
<li class="toctree-l1"><a class="reference external" href="https://docs.neuralmagic.com">Neural Magic Docs</a></li>
</ul>


Expand Down
3 changes: 2 additions & 1 deletion sparsify/_modules/sparsify/blueprints/utils/helpers.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,11 @@
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../../../api/sparsify.html">sparsify package</a></li>
</ul>
<p class="caption"><span class="caption-text">Help and Support</span></p>
<p class="caption"><span class="caption-text">Help</span></p>
<ul>
<li class="toctree-l1"><a class="reference external" href="https://github.com/neuralmagic/sparsify/issues">Bugs, Feature Requests</a></li>
<li class="toctree-l1"><a class="reference external" href="https://github.com/neuralmagic/sparsify/discussions">Support, General Q&amp;A</a></li>
<li class="toctree-l1"><a class="reference external" href="https://docs.neuralmagic.com">Neural Magic Docs</a></li>
</ul>


Expand Down
3 changes: 2 additions & 1 deletion sparsify/_modules/sparsify/blueprints/utils/projects.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,11 @@
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../../../api/sparsify.html">sparsify package</a></li>
</ul>
<p class="caption"><span class="caption-text">Help and Support</span></p>
<p class="caption"><span class="caption-text">Help</span></p>
<ul>
<li class="toctree-l1"><a class="reference external" href="https://github.com/neuralmagic/sparsify/issues">Bugs, Feature Requests</a></li>
<li class="toctree-l1"><a class="reference external" href="https://github.com/neuralmagic/sparsify/discussions">Support, General Q&amp;A</a></li>
<li class="toctree-l1"><a class="reference external" href="https://docs.neuralmagic.com">Neural Magic Docs</a></li>
</ul>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,11 @@
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../../../api/sparsify.html">sparsify package</a></li>
</ul>
<p class="caption"><span class="caption-text">Help and Support</span></p>
<p class="caption"><span class="caption-text">Help</span></p>
<ul>
<li class="toctree-l1"><a class="reference external" href="https://github.com/neuralmagic/sparsify/issues">Bugs, Feature Requests</a></li>
<li class="toctree-l1"><a class="reference external" href="https://github.com/neuralmagic/sparsify/discussions">Support, General Q&amp;A</a></li>
<li class="toctree-l1"><a class="reference external" href="https://docs.neuralmagic.com">Neural Magic Docs</a></li>
</ul>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,11 @@
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../../../api/sparsify.html">sparsify package</a></li>
</ul>
<p class="caption"><span class="caption-text">Help and Support</span></p>
<p class="caption"><span class="caption-text">Help</span></p>
<ul>
<li class="toctree-l1"><a class="reference external" href="https://github.com/neuralmagic/sparsify/issues">Bugs, Feature Requests</a></li>
<li class="toctree-l1"><a class="reference external" href="https://github.com/neuralmagic/sparsify/discussions">Support, General Q&amp;A</a></li>
<li class="toctree-l1"><a class="reference external" href="https://docs.neuralmagic.com">Neural Magic Docs</a></li>
</ul>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,11 @@
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../../../api/sparsify.html">sparsify package</a></li>
</ul>
<p class="caption"><span class="caption-text">Help and Support</span></p>
<p class="caption"><span class="caption-text">Help</span></p>
<ul>
<li class="toctree-l1"><a class="reference external" href="https://github.com/neuralmagic/sparsify/issues">Bugs, Feature Requests</a></li>
<li class="toctree-l1"><a class="reference external" href="https://github.com/neuralmagic/sparsify/discussions">Support, General Q&amp;A</a></li>
<li class="toctree-l1"><a class="reference external" href="https://docs.neuralmagic.com">Neural Magic Docs</a></li>
</ul>


Expand Down Expand Up @@ -423,7 +424,7 @@ <h1>Source code for sparsify.blueprints.utils.projects_optimizations</h1><div cl
<span class="n">sparsity</span> <span class="o">=</span> <span class="mf">0.85</span> <span class="c1"># TODO: dynamically choose sparsity level</span>
<span class="n">balance_perf_loss</span> <span class="o">=</span> <span class="mf">1.0</span>
<span class="n">filter_min_sparsity</span> <span class="o">=</span> <span class="mf">0.4</span>
<span class="n">filter_min_perf_gain</span> <span class="o">=</span> <span class="mf">0.75</span>
<span class="n">filter_min_perf_gain</span> <span class="o">=</span> <span class="mf">0.6</span>
<span class="n">filter_min_recovery</span> <span class="o">=</span> <span class="o">-</span><span class="mf">1.0</span>

<span class="k">return</span> <span class="n">PruningSettings</span><span class="p">(</span>
Expand Down
Loading

0 comments on commit 7a2b32c

Please sign in to comment.