Skip to content

Commit

Permalink
fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
humu789 committed Jan 16, 2023
1 parent 7f3a78c commit e6b72ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mmrazor/models/quantizers/academic_quantizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import torch

from mmrazor.models.task_modules import build_graphmodule
from mmrazor.models.task_modules.tracer import build_graphmodule
from mmrazor.models.utils import str2class
from mmrazor.registry import MODELS
from mmrazor.structures.quantization import BackendConfigs, QConfigHander
Expand Down
1 change: 1 addition & 0 deletions mmrazor/models/quantizers/native_quantizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
qat_modules = get_package_placeholder('torch>=1.13')

from mmrazor import digit_version
from mmrazor.models.task_modules.tracer import build_graphmodule
from mmrazor.models.task_modules.tracer.fx import (
del_fakequant_after_function, del_fakequant_after_method,
del_fakequant_after_module, del_fakequant_after_op,
Expand Down

0 comments on commit e6b72ca

Please sign in to comment.