Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
nni
Commits
57b1afab
"git@developer.sourcefind.cn:norm/vllm.git" did not exist on "054072bee534faa9fae53dd9c14e91873d76204a"
Unverified
Commit
57b1afab
authored
Jan 13, 2021
by
Ningxin Zheng
Committed by
GitHub
Jan 13, 2021
Browse files
update the compression doc (#3293)
parent
b9c65391
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
docs/en_US/Compression/ModelSpeedup.rst
docs/en_US/Compression/ModelSpeedup.rst
+10
-0
docs/img/SA_latency_accuracy.png
docs/img/SA_latency_accuracy.png
+0
-0
No files found.
docs/en_US/Compression/ModelSpeedup.rst
View file @
57b1afab
...
@@ -188,3 +188,13 @@ input tensor: ``torch.randn(64, 3, 32, 32)``
...
@@ -188,3 +188,13 @@ input tensor: ``torch.randn(64, 3, 32, 32)``
- 0.12421
- 0.12421
- 0.087113
- 0.087113
SimulatedAnnealing pruner example
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
In this experiment, we use SimulatedAnnealing pruner to prune the resnet18 on the cifar10 dataset.
We measure the latencies and accuracies of the pruned model under different sparsity ratios, as shown in the following figure.
The latency is measured on one V100 GPU and the input tensor is ``torch.randn(128, 3, 32, 32)``.
.. image:: ../../img/SA_latency_accuracy.png
\ No newline at end of file
docs/img/SA_latency_accuracy.png
0 → 100644
View file @
57b1afab
281 KB
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment