Add colab integration.
- Launch script that gets a colab runtime started against the dev tree.
- Example function invoke colab notebook.
- Getting started guide.
PiperOrigin-RevId: 276385745
diff --git a/bindings/python/pyiree/BUILD b/bindings/python/pyiree/BUILD
index 8c2a042..836dd4b 100644
--- a/bindings/python/pyiree/BUILD
+++ b/bindings/python/pyiree/BUILD
@@ -30,6 +30,17 @@
"//iree/hal/vulkan:vulkan_driver_module",
]
+py_binary(
+ name = "everything_for_colab",
+ srcs = ["dummy.py"],
+ main = "dummy.py",
+ python_version = "PY3",
+ deps = [
+ ":binding", # build_cleaner: keep
+ "//bindings/python:pathsetup", # build_cleaner: keep
+ ],
+)
+
iree_py_extension(
name = "binding",
srcs = [
diff --git a/bindings/python/pyiree/dummy.py b/bindings/python/pyiree/dummy.py
new file mode 100644
index 0000000..a47f210
--- /dev/null
+++ b/bindings/python/pyiree/dummy.py
@@ -0,0 +1,13 @@
+# Copyright 2019 Google LLC
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.