diff --git a/apps/stable_diffusion/shark_studio_imports.py b/apps/stable_diffusion/shark_studio_imports.py index e4ba324976..4a55a94bf1 100644 --- a/apps/stable_diffusion/shark_studio_imports.py +++ b/apps/stable_diffusion/shark_studio_imports.py @@ -81,4 +81,3 @@ 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"] diff --git a/shark/iree_utils/vulkan_target_env_utils.py b/shark/iree_utils/vulkan_target_env_utils.py index d92dd6d9f2..e1de604521 100644 --- a/shark/iree_utils/vulkan_target_env_utils.py +++ b/shark/iree_utils/vulkan_target_env_utils.py @@ -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":