Update SHARK-Runtime links to SRT (#1765)

* Update nightly.yml

* Update setup_venv.ps1

* Update CMakeLists.txt

* Update shark_iree_profiling.md

* Update setup_venv.sh

* Update README.md

* Update .gitmodules

* Update CMakeLists.txt

* Update README.md

* fix signtool flags

* Update nightly.yml

* Update benchmark_utils.py

* uncomment tkinter launch
This commit is contained in:
Ean Garvey
2023-08-15 14:40:44 -05:00
committed by GitHub
parent 57260b9c37
commit 343dfd901c
12 changed files with 33 additions and 32 deletions

View File

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

View File

@@ -20,24 +20,24 @@ if args.clear_all:
clear_all()
# def launch_app(address):
# from tkinter import Tk
# import webview
#
# window = Tk()
#
# # get screen width and height of display and make it more reasonably
# # sized as we aren't making it full-screen or maximized
# width = int(window.winfo_screenwidth() * 0.81)
# height = int(window.winfo_screenheight() * 0.91)
# webview.create_window(
# "SHARK AI Studio",
# url=address,
# width=width,
# height=height,
# text_select=True,
# )
# webview.start(private_mode=False)
def launch_app(address):
from tkinter import Tk
import webview
window = Tk()
# get screen width and height of display and make it more reasonably
# sized as we aren't making it full-screen or maximized
width = int(window.winfo_screenwidth() * 0.81)
height = int(window.winfo_screenheight() * 0.91)
webview.create_window(
"SHARK AI Studio",
url=address,
width=width,
height=height,
text_select=True,
)
webview.start(private_mode=False)
if __name__ == "__main__":