Skip to content

Commit

Permalink
fix stray code from chilc PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
sdasgup3 committed Jul 19, 2024
1 parent 31dca25 commit b559dbe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
9 changes: 0 additions & 9 deletions stablehlo/integrations/python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,6 @@ declare_mlir_python_sources(StablehloToSavedModelPythonSources
stablehlo/savedmodel/stablehlo_to_tf_saved_model.py
)

declare_mlir_python_sources(StablehloTestdataGeneratorPythonSources
ADD_TO_PARENT StablehloPythonSources
ROOT_DIR "${CMAKE_CURRENT_SOURCE_DIR}"
SOURCES
stablehlo/testdata_generator/testdata_execution_utils.py
stablehlo/testdata_generator/testdata_generator_lib.py
stablehlo/testdata_generator/testdata_processor.py
)

declare_mlir_python_sources(VhloPythonSources)
declare_mlir_python_sources(VhloPythonSources.Dialects
ADD_TO_PARENT VhloPythonSources
Expand Down
4 changes: 2 additions & 2 deletions stablehlo/integrations/python/tests/check.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@

def run(f):
with ir.Context() as context:
check.register_dialect(context)
stablehlo_dialect.register_dialect(ctx)
check_dialect.register_dialect(context)
stablehlo_dialect.register_dialect(context)
f()
return f

Expand Down

0 comments on commit b559dbe

Please sign in to comment.