Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
distiller
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
llvm
distiller
Commits
0caca675
Unverified
Commit
0caca675
authored
5 years ago
by
Lev Zlotnik
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Bug fix in PTQ yaml
parent
d6e5c9eb
Branches
ptq_propagate_settings
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
examples/quantization/post_train_quant/resnet18_imagenet_post_train.yaml
+8
-6
8 additions, 6 deletions
...zation/post_train_quant/resnet18_imagenet_post_train.yaml
with
8 additions
and
6 deletions
examples/quantization/post_train_quant/resnet18_imagenet_post_train.yaml
+
8
−
6
View file @
0caca675
...
...
@@ -67,16 +67,18 @@ quantizers:
conv1
:
# The input to the first layer in the model will never have quantization metadata
input_overrides
:
# Shorthand to take the quantization settings of the output (ignores any other settings)
from_outputs
:
True
0
:
# Shorthand to take the quantization settings of the output (ignores any other settings)
from_output
:
True
fc
:
# In ResNet, the FC layer has a view op before, which kills the quantization metadata. So we have to override
# (or enable auto_fallback).
input_overrides
:
# Example of setting the actual value. Applicable only if 'from_outputs' isn't set.
# The following keys are supported: 'bits_activations', 'mode', 'clip_acts', 'clip_n_stds'
# Any key not explicitly set will default to the output setting
bits_activations
:
6
0
:
# Example of setting the actual value. Applicable only if 'from_outputs' isn't set.
# The following keys are supported: 'bits_activations', 'mode', 'clip_acts', 'clip_n_stds'
# Any key not explicitly set will default to the output setting
bits_activations
:
6
# Overrides section for run 3
# overrides:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment