Skip to content

Commit 41b76cd

Browse files
committed
lint fixes
1 parent 0aa3b12 commit 41b76cd

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

amdsharktank/amdsharktank/utils/export.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,4 +327,4 @@ def _(module, *fn_args):
327327
export_output = aot.export(fxb, import_symbolic_shape_expressions=True)
328328
export_output.save_mlir(mlir_path)
329329

330-
return export_output
330+
return export_output

amdsharktank/amdsharktank/utils/iree.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@
3030
torch_tree_flatten,
3131
)
3232
from amdsharktank.utils import verify_exactly_one_is_not_none
33-
from amdsharktank.utils.export import export_torch_module_to_mlir_file, get_torch_eager_output, _as_tuple
33+
from amdsharktank.utils.export import (
34+
export_torch_module_to_mlir_file,
35+
get_torch_eager_output,
36+
_as_tuple,
37+
)
3438
from .tree import Tree
3539
from iree.runtime import FileHandle
3640
import iree.runtime

amdsharktank/tests/layers/rotary_embedding_hf_test.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,11 @@
2626
)
2727
from amdsharktank import ops
2828
from amdsharktank.utils.logging import get_logger
29-
from amdsharktank.utils.testing import TempDirTestBase, assert_tensor_close, is_hip_condition
29+
from amdsharktank.utils.testing import (
30+
TempDirTestBase,
31+
assert_tensor_close,
32+
is_hip_condition,
33+
)
3034
import iree.compiler
3135
from iree.turbine.aot import (
3236
FxProgramsBuilder,

0 commit comments

Comments
 (0)