Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Feature: support nn-Meter in Proxyless NAS #4206

Merged
merged 63 commits into from
Nov 10, 2021

Conversation

JiahangXu
Copy link
Contributor

No description provided.

examples/nas/oneshot/proxylessnas/ops.py Outdated Show resolved Hide resolved
examples/nas/oneshot/proxylessnas/ops.py Outdated Show resolved Hide resolved
nni/retiarii/graph.py Outdated Show resolved Hide resolved
nni/retiarii/oneshot/pytorch/proxyless.py Show resolved Hide resolved
@@ -131,12 +203,31 @@ class ProxylessTrainer(BaseOneShotTrainer):
Step count per logging.
arc_learning_rate : float
Learning rate of architecture parameters.
grad_reg_loss_type: string
Regularization type to add hardware related loss, allowed types include
- mul#log: regularized_loss = (torch.log(expected_latency) / math.log(self.ref_latency)) ** beta;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please wrap the code with ``code``

@ultmaster ultmaster merged commit 219d7d1 into microsoft:master Nov 10, 2021
@liuzhe-lz liuzhe-lz mentioned this pull request Jan 17, 2022
86 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants