Fix vk.target_env extensions and remove redundant SD imports. (#1826)

* Remove redundant IREE runtime imports.

* Fix vulkan target env extensions.
This commit is contained in:
Ean Garvey
2023-09-11 13:42:52 -05:00
committed by GitHub
parent c61b6f8d65
commit 780f520f02
2 changed files with 2 additions and 2 deletions

View File

@@ -81,4 +81,3 @@ hiddenimports += [
if not any(kw in x for kw in blacklist)
]
hiddenimports += [x for x in collect_submodules("iree") if "tests" not in x]
hiddenimports += ["iree._runtime", "iree._runtime_libs"]

View File

@@ -57,7 +57,8 @@ def get_version(triple):
@functools.cache
def get_extensions(triple):
def make_ext_list(ext_list):
return ", ".join(ext_list)
res = ", ".join(ext_list)
return f"[{res}]"
arch, product, os = triple
if arch == "m1":