Skip to content

Commit

Permalink
step
Browse files Browse the repository at this point in the history
  • Loading branch information
JingyaHuang committed Jan 27, 2025
1 parent 147c30e commit fa7e2e8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 0 additions & 3 deletions optimum/exporters/neuron/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -665,9 +665,6 @@ def main_export(
ip_adapter_scales=ip_adapter_scales,
**input_shapes,
)
import pdb

pdb.set_trace()

_, neuron_outputs = export_models(
models_and_neuron_configs=models_and_neuron_configs,
Expand Down
2 changes: 2 additions & 0 deletions optimum/exporters/neuron/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,8 @@ def export_models(
failed_models = []
total_compilation_time = 0
compile_configs = {}
import pdb
pdb.set_trace()
for i, model_name in enumerate(models_and_neuron_configs.keys()):
logger.info(f"***** Compiling {model_name} *****")
submodel, sub_neuron_config = models_and_neuron_configs[model_name]
Expand Down
2 changes: 2 additions & 0 deletions optimum/neuron/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"DummyMaskedPosGenerator",
"DummyControNetInputGenerator",
"ASTDummyAudioInputGenerator",
"DummyIPAdapterInputGenerator",
],
"misc": [
"DiffusersPretrainedConfig",
Expand Down Expand Up @@ -110,6 +111,7 @@
DummyBeamValuesGenerator,
DummyControNetInputGenerator,
DummyMaskedPosGenerator,
DummyIPAdapterInputGenerator,
)
from .misc import (
DiffusersPretrainedConfig,
Expand Down

0 comments on commit fa7e2e8

Please sign in to comment.