Skip to content

Commit

Permalink
Added documentation for release 2.0.0
Browse files Browse the repository at this point in the history
Signed-off-by: Bharath Ramaswamy <[email protected]>
  • Loading branch information
quic-bharathr committed Jan 14, 2025
1 parent 5be740b commit 487cf33
Show file tree
Hide file tree
Showing 425 changed files with 192,398 additions and 1 deletion.
Binary file added releases/2.0.0/_images/accuracy_list.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added releases/2.0.0/_images/adaround.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added releases/2.0.0/_images/channel_pruning_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added releases/2.0.0/_images/compression_flow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added releases/2.0.0/_images/compression_use_case.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added releases/2.0.0/_images/cp_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added releases/2.0.0/_images/cp_3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added releases/2.0.0/_images/cp_4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added releases/2.0.0/_images/cross_layer_scaling.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added releases/2.0.0/_images/greedy_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added releases/2.0.0/_images/greedy_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added releases/2.0.0/_images/greedy_4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added releases/2.0.0/_images/greedy_5.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added releases/2.0.0/_images/keras_min_max_ranges.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added releases/2.0.0/_images/keras_post_quant_layer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added releases/2.0.0/_images/keras_pre_quant_layer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added releases/2.0.0/_images/keras_weights_pdf.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added releases/2.0.0/_images/pareto.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added releases/2.0.0/_images/pareto_curve.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added releases/2.0.0/_images/quant_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added releases/2.0.0/_images/quant_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added releases/2.0.0/_images/quant_use_case_1.PNG
Binary file added releases/2.0.0/_images/quant_use_case_2.PNG
Binary file added releases/2.0.0/_images/quant_use_case_3.PNG
Binary file added releases/2.0.0/_images/quantization_workflow.png
Binary file added releases/2.0.0/_images/quantizer_groups.png
Binary file added releases/2.0.0/_images/quantsim2.0.png
Binary file added releases/2.0.0/_images/quantsim_config_file.png
Binary file added releases/2.0.0/_images/spatial_svd.png
Binary file added releases/2.0.0/_images/stages.png
Binary file added releases/2.0.0/_images/vis_1.png
Binary file added releases/2.0.0/_images/vis_4.png
Binary file added releases/2.0.0/_images/vis_5.png
Binary file added releases/2.0.0/_images/vis_6.png
Binary file added releases/2.0.0/_images/vis_7.png
Binary file added releases/2.0.0/_images/weight_svd.png
Binary file added releases/2.0.0/_images/winnow_1.png
Binary file added releases/2.0.0/_images/winnow_2.png
Binary file added releases/2.0.0/_images/work_flow_amp.png
753 changes: 753 additions & 0 deletions releases/2.0.0/_modules/aimet_common/defs.html

Large diffs are not rendered by default.

703 changes: 703 additions & 0 deletions releases/2.0.0/_modules/aimet_onnx/adaround/adaround_weight.html

Large diffs are not rendered by default.

887 changes: 887 additions & 0 deletions releases/2.0.0/_modules/aimet_onnx/amp/mixed_precision_algo.html

Large diffs are not rendered by default.

731 changes: 731 additions & 0 deletions releases/2.0.0/_modules/aimet_onnx/amp/quantizer_groups.html

Large diffs are not rendered by default.

2,041 changes: 2,041 additions & 0 deletions releases/2.0.0/_modules/aimet_onnx/auto_quant_v2.html

Large diffs are not rendered by default.

817 changes: 817 additions & 0 deletions releases/2.0.0/_modules/aimet_onnx/batch_norm_fold.html

Large diffs are not rendered by default.

709 changes: 709 additions & 0 deletions releases/2.0.0/_modules/aimet_onnx/cross_layer_equalization.html

Large diffs are not rendered by default.

512 changes: 512 additions & 0 deletions releases/2.0.0/_modules/aimet_onnx/layer_output_utils.html

Large diffs are not rendered by default.

457 changes: 457 additions & 0 deletions releases/2.0.0/_modules/aimet_onnx/mixed_precision.html

Large diffs are not rendered by default.

998 changes: 998 additions & 0 deletions releases/2.0.0/_modules/aimet_onnx/quant_analyzer.html

Large diffs are not rendered by default.

1,601 changes: 1,601 additions & 0 deletions releases/2.0.0/_modules/aimet_onnx/quantsim.html

Large diffs are not rendered by default.

979 changes: 979 additions & 0 deletions releases/2.0.0/_modules/aimet_onnx/sequential_mse/seq_mse.html

Large diffs are not rendered by default.

698 changes: 698 additions & 0 deletions releases/2.0.0/_modules/aimet_tensorflow/keras/adaround_weight.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2,018 changes: 2,018 additions & 0 deletions releases/2.0.0/_modules/aimet_tensorflow/keras/auto_quant_v2.html

Large diffs are not rendered by default.

1,363 changes: 1,363 additions & 0 deletions releases/2.0.0/_modules/aimet_tensorflow/keras/batch_norm_fold.html

Large diffs are not rendered by default.

463 changes: 463 additions & 0 deletions releases/2.0.0/_modules/aimet_tensorflow/keras/bn_reestimation.html

Large diffs are not rendered by default.

445 changes: 445 additions & 0 deletions releases/2.0.0/_modules/aimet_tensorflow/keras/compress.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

462 changes: 462 additions & 0 deletions releases/2.0.0/_modules/aimet_tensorflow/keras/defs.html

Large diffs are not rendered by default.

493 changes: 493 additions & 0 deletions releases/2.0.0/_modules/aimet_tensorflow/keras/layer_output_utils.html

Large diffs are not rendered by default.

520 changes: 520 additions & 0 deletions releases/2.0.0/_modules/aimet_tensorflow/keras/mixed_precision.html

Large diffs are not rendered by default.

1,302 changes: 1,302 additions & 0 deletions releases/2.0.0/_modules/aimet_tensorflow/keras/model_preparer.html

Large diffs are not rendered by default.

965 changes: 965 additions & 0 deletions releases/2.0.0/_modules/aimet_tensorflow/keras/quant_analyzer.html

Large diffs are not rendered by default.

1,203 changes: 1,203 additions & 0 deletions releases/2.0.0/_modules/aimet_tensorflow/keras/quantsim.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

838 changes: 838 additions & 0 deletions releases/2.0.0/_modules/aimet_torch/_base/amp/quantizer_groups.html

Large diffs are not rendered by default.

464 changes: 464 additions & 0 deletions releases/2.0.0/_modules/aimet_torch/_base/mixed_precision.html

Large diffs are not rendered by default.

904 changes: 904 additions & 0 deletions releases/2.0.0/_modules/aimet_torch/_base/seq_mse.html

Large diffs are not rendered by default.

517 changes: 517 additions & 0 deletions releases/2.0.0/_modules/aimet_torch/bn_reestimation.html

Large diffs are not rendered by default.

448 changes: 448 additions & 0 deletions releases/2.0.0/_modules/aimet_torch/compress.html

Large diffs are not rendered by default.

1,079 changes: 1,079 additions & 0 deletions releases/2.0.0/_modules/aimet_torch/cross_layer_equalization.html

Large diffs are not rendered by default.

599 changes: 599 additions & 0 deletions releases/2.0.0/_modules/aimet_torch/defs.html

Large diffs are not rendered by default.

746 changes: 746 additions & 0 deletions releases/2.0.0/_modules/aimet_torch/layer_output_utils.html

Large diffs are not rendered by default.

1,114 changes: 1,114 additions & 0 deletions releases/2.0.0/_modules/aimet_torch/model_preparer.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

840 changes: 840 additions & 0 deletions releases/2.0.0/_modules/aimet_torch/peft.html

Large diffs are not rendered by default.

995 changes: 995 additions & 0 deletions releases/2.0.0/_modules/aimet_torch/v1/auto_quant.html

Large diffs are not rendered by default.

488 changes: 488 additions & 0 deletions releases/2.0.0/_modules/aimet_torch/v1/quant_analyzer.html

Large diffs are not rendered by default.

1,049 changes: 1,049 additions & 0 deletions releases/2.0.0/_modules/aimet_torch/v1/quantsim.html

Large diffs are not rendered by default.

1,035 changes: 1,035 additions & 0 deletions releases/2.0.0/_modules/aimet_torch/v2/auto_quant.html

Large diffs are not rendered by default.

383 changes: 383 additions & 0 deletions releases/2.0.0/_modules/aimet_torch/v2/mixed_precision.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2,791 changes: 2,791 additions & 0 deletions releases/2.0.0/_modules/aimet_torch/v2/nn/true_quant.html

Large diffs are not rendered by default.

503 changes: 503 additions & 0 deletions releases/2.0.0/_modules/aimet_torch/v2/quant_analyzer.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

1,183 changes: 1,183 additions & 0 deletions releases/2.0.0/_modules/aimet_torch/v2/quantization/affine/quantizer.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

873 changes: 873 additions & 0 deletions releases/2.0.0/_modules/aimet_torch/v2/quantization/tensor.html

Large diffs are not rendered by default.

790 changes: 790 additions & 0 deletions releases/2.0.0/_modules/aimet_torch/v2/quantsim/config_utils.html

Large diffs are not rendered by default.

938 changes: 938 additions & 0 deletions releases/2.0.0/_modules/aimet_torch/v2/quantsim/quantsim.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

382 changes: 382 additions & 0 deletions releases/2.0.0/_modules/index.html

Large diffs are not rendered by default.

101 changes: 101 additions & 0 deletions releases/2.0.0/_sphinx_design_static/design-tabs.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
// @ts-check

// Extra JS capability for selected tabs to be synced
// The selection is stored in local storage so that it persists across page loads.

/**
* @type {Record<string, HTMLElement[]>}
*/
let sd_id_to_elements = {};
const storageKeyPrefix = "sphinx-design-tab-id-";

/**
* Create a key for a tab element.
* @param {HTMLElement} el - The tab element.
* @returns {[string, string, string] | null} - The key.
*
*/
function create_key(el) {
let syncId = el.getAttribute("data-sync-id");
let syncGroup = el.getAttribute("data-sync-group");
if (!syncId || !syncGroup) return null;
return [syncGroup, syncId, syncGroup + "--" + syncId];
}

/**
* Initialize the tab selection.
*
*/
function ready() {
// Find all tabs with sync data

/** @type {string[]} */
let groups = [];

document.querySelectorAll(".sd-tab-label").forEach((label) => {
if (label instanceof HTMLElement) {
let data = create_key(label);
if (data) {
let [group, id, key] = data;

// add click event listener
// @ts-ignore
label.onclick = onSDLabelClick;

// store map of key to elements
if (!sd_id_to_elements[key]) {
sd_id_to_elements[key] = [];
}
sd_id_to_elements[key].push(label);

if (groups.indexOf(group) === -1) {
groups.push(group);
// Check if a specific tab has been selected via URL parameter
const tabParam = new URLSearchParams(window.location.search).get(
group
);
if (tabParam) {
console.log(
"sphinx-design: Selecting tab id for group '" +
group +
"' from URL parameter: " +
tabParam
);
window.sessionStorage.setItem(storageKeyPrefix + group, tabParam);
}
}

// Check is a specific tab has been selected previously
let previousId = window.sessionStorage.getItem(
storageKeyPrefix + group
);
if (previousId === id) {
// console.log(
// "sphinx-design: Selecting tab from session storage: " + id
// );
// @ts-ignore
label.previousElementSibling.checked = true;
}
}
}
});
}

/**
* Activate other tabs with the same sync id.
*
* @this {HTMLElement} - The element that was clicked.
*/
function onSDLabelClick() {
let data = create_key(this);
if (!data) return;
let [group, id, key] = data;
for (const label of sd_id_to_elements[key]) {
if (label === this) continue;
// @ts-ignore
label.previousElementSibling.checked = true;
}
window.sessionStorage.setItem(storageKeyPrefix + group, id);
}

document.addEventListener("DOMContentLoaded", ready, false);
1 change: 1 addition & 0 deletions releases/2.0.0/_sphinx_design_static/sphinx-design.min.css

Large diffs are not rendered by default.

98 changes: 98 additions & 0 deletions releases/2.0.0/_static/aimet-furo.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
/*
* AIMET color palette
*/
:root {
--aimet-blue: #3253dc;
--aimet-dark-blue: #0000ff;
--aimet-white: #ffffff;
--aimet-border-grey: #e0e0e0;
--aimet-menu-hover: #e3efff;
--aimet-menu-font-active: #0058ff;
--aimet-code-grey: #fafafa;
--aimet-light-blue: #e7f2fa;
}

aside.toc-drawer ul ul ul ul {
display: none;
}

.toctree-l3 {
display: none;
}

[for^="toctree-checkbox-"], [id^="toctree-checkbox-"] {
visibility: hidden;
}

/*
* Configure the appearance of code output box.
* Values are based on sphinx-gallery configuration
*/
.script-output {
color: black;
display: flex;
gap: 0.5em;
}

.script-output::before {
content: "Out:";
line-height: 1.4;
padding-top: 10px;
}

.script-output .highlight {
background: transparent;
flex-grow: 1;
overflow: auto;
/* Allow output block to take up maximum 25 lines */
max-height: 25em;
}

*.highlight pre, pre.literal-block {
background-color: var(--aimet-code-grey);
}

/*
* Glossary formatting
*/
[id^="term-"] {
font-weight: bold;
}

/*
* Heading formatting
*/

h1 {
font-size:2.5em;
margin-top:1.75rem;
margin-bottom:1rem;
}

h2 {
font-size:2em;
margin-top:1.75rem;
margin-bottom:1.25rem;
font-weight: normal;
}

h3 {
font-size:1.5em;
margin-top:1.25rem;
margin-bottom:1.25rem;
font-weight: normal;
}

h4 {
font-size:1.25em;
margin-top:1.25rem;
margin-bottom:1.25rem;
font-weight: normal;
}

h5 {
font-size:1.125em;
margin-top:1.25rem;
margin-bottom:1.25rem;
font-weight: normal;
}
Loading

0 comments on commit 487cf33

Please sign in to comment.