From 0d92db2e4640e8580f161a923e42ab8889015198 Mon Sep 17 00:00:00 2001
From: Yifan Zhao <yifanz16@illinois.edu>
Date: Wed, 27 Jan 2021 21:38:03 -0600
Subject: [PATCH] Renamed to torch2hpvm

---
 hpvm/projects/onnx_frontend/setup.py                 | 12 ------------
 .../{onnx_frontend => torch2hpvm}/.gitignore         |  0
 .../projects/{onnx_frontend => torch2hpvm}/README.md |  0
 hpvm/projects/{onnx_frontend => torch2hpvm}/TODO.md  |  0
 hpvm/projects/{onnx_frontend => torch2hpvm}/env.yaml |  0
 hpvm/projects/{onnx_frontend => torch2hpvm}/main.py  |  0
 hpvm/projects/torch2hpvm/setup.py                    | 12 ++++++++++++
 .../frontend => torch2hpvm/torch2hpvm}/__init__.py   |  0
 .../torch2hpvm}/codegen_hpvm.py                      |  0
 .../torch2hpvm}/codegen_tensor.py                    |  0
 .../torch2hpvm}/graph_builder.py                     |  0
 .../frontend => torch2hpvm/torch2hpvm}/graph_ir.py   |  0
 .../frontend => torch2hpvm/torch2hpvm}/onnx_attr.py  |  0
 .../torch2hpvm}/template_hpvm.cpp.in                 |  0
 .../torch2hpvm}/template_tensor.cpp.in               |  0
 15 files changed, 12 insertions(+), 12 deletions(-)
 delete mode 100644 hpvm/projects/onnx_frontend/setup.py
 rename hpvm/projects/{onnx_frontend => torch2hpvm}/.gitignore (100%)
 rename hpvm/projects/{onnx_frontend => torch2hpvm}/README.md (100%)
 rename hpvm/projects/{onnx_frontend => torch2hpvm}/TODO.md (100%)
 rename hpvm/projects/{onnx_frontend => torch2hpvm}/env.yaml (100%)
 rename hpvm/projects/{onnx_frontend => torch2hpvm}/main.py (100%)
 create mode 100644 hpvm/projects/torch2hpvm/setup.py
 rename hpvm/projects/{onnx_frontend/frontend => torch2hpvm/torch2hpvm}/__init__.py (100%)
 rename hpvm/projects/{onnx_frontend/frontend => torch2hpvm/torch2hpvm}/codegen_hpvm.py (100%)
 rename hpvm/projects/{onnx_frontend/frontend => torch2hpvm/torch2hpvm}/codegen_tensor.py (100%)
 rename hpvm/projects/{onnx_frontend/frontend => torch2hpvm/torch2hpvm}/graph_builder.py (100%)
 rename hpvm/projects/{onnx_frontend/frontend => torch2hpvm/torch2hpvm}/graph_ir.py (100%)
 rename hpvm/projects/{onnx_frontend/frontend => torch2hpvm/torch2hpvm}/onnx_attr.py (100%)
 rename hpvm/projects/{onnx_frontend/frontend => torch2hpvm/torch2hpvm}/template_hpvm.cpp.in (100%)
 rename hpvm/projects/{onnx_frontend/frontend => torch2hpvm/torch2hpvm}/template_tensor.cpp.in (100%)

diff --git a/hpvm/projects/onnx_frontend/setup.py b/hpvm/projects/onnx_frontend/setup.py
deleted file mode 100644
index 7bcdce7a1d..0000000000
--- a/hpvm/projects/onnx_frontend/setup.py
+++ /dev/null
@@ -1,12 +0,0 @@
-
-from setuptools import setup
-
-setup(
-    name='frontend',
-    version='1.0',
-    description='HPVM frontend modules',
-    author='Yuanjing Shi',
-    author_email='ys26@illinois.edu',
-    packages=['fronend'],
-    install_requires=[],
-)
diff --git a/hpvm/projects/onnx_frontend/.gitignore b/hpvm/projects/torch2hpvm/.gitignore
similarity index 100%
rename from hpvm/projects/onnx_frontend/.gitignore
rename to hpvm/projects/torch2hpvm/.gitignore
diff --git a/hpvm/projects/onnx_frontend/README.md b/hpvm/projects/torch2hpvm/README.md
similarity index 100%
rename from hpvm/projects/onnx_frontend/README.md
rename to hpvm/projects/torch2hpvm/README.md
diff --git a/hpvm/projects/onnx_frontend/TODO.md b/hpvm/projects/torch2hpvm/TODO.md
similarity index 100%
rename from hpvm/projects/onnx_frontend/TODO.md
rename to hpvm/projects/torch2hpvm/TODO.md
diff --git a/hpvm/projects/onnx_frontend/env.yaml b/hpvm/projects/torch2hpvm/env.yaml
similarity index 100%
rename from hpvm/projects/onnx_frontend/env.yaml
rename to hpvm/projects/torch2hpvm/env.yaml
diff --git a/hpvm/projects/onnx_frontend/main.py b/hpvm/projects/torch2hpvm/main.py
similarity index 100%
rename from hpvm/projects/onnx_frontend/main.py
rename to hpvm/projects/torch2hpvm/main.py
diff --git a/hpvm/projects/torch2hpvm/setup.py b/hpvm/projects/torch2hpvm/setup.py
new file mode 100644
index 0000000000..37dcf5f039
--- /dev/null
+++ b/hpvm/projects/torch2hpvm/setup.py
@@ -0,0 +1,12 @@
+
+from setuptools import setup
+
+setup(
+    name='torch2hpvm',
+    version='1.0',
+    description='PyTorch frontend for HPVM',
+    author='Yuanjing Shi, Yifan Zhao',
+    author_email='ys26@illinois.edu, yifanz16@illinois.edu',
+    packages=['torch2hpvm'],
+    install_requires=[],
+)
diff --git a/hpvm/projects/onnx_frontend/frontend/__init__.py b/hpvm/projects/torch2hpvm/torch2hpvm/__init__.py
similarity index 100%
rename from hpvm/projects/onnx_frontend/frontend/__init__.py
rename to hpvm/projects/torch2hpvm/torch2hpvm/__init__.py
diff --git a/hpvm/projects/onnx_frontend/frontend/codegen_hpvm.py b/hpvm/projects/torch2hpvm/torch2hpvm/codegen_hpvm.py
similarity index 100%
rename from hpvm/projects/onnx_frontend/frontend/codegen_hpvm.py
rename to hpvm/projects/torch2hpvm/torch2hpvm/codegen_hpvm.py
diff --git a/hpvm/projects/onnx_frontend/frontend/codegen_tensor.py b/hpvm/projects/torch2hpvm/torch2hpvm/codegen_tensor.py
similarity index 100%
rename from hpvm/projects/onnx_frontend/frontend/codegen_tensor.py
rename to hpvm/projects/torch2hpvm/torch2hpvm/codegen_tensor.py
diff --git a/hpvm/projects/onnx_frontend/frontend/graph_builder.py b/hpvm/projects/torch2hpvm/torch2hpvm/graph_builder.py
similarity index 100%
rename from hpvm/projects/onnx_frontend/frontend/graph_builder.py
rename to hpvm/projects/torch2hpvm/torch2hpvm/graph_builder.py
diff --git a/hpvm/projects/onnx_frontend/frontend/graph_ir.py b/hpvm/projects/torch2hpvm/torch2hpvm/graph_ir.py
similarity index 100%
rename from hpvm/projects/onnx_frontend/frontend/graph_ir.py
rename to hpvm/projects/torch2hpvm/torch2hpvm/graph_ir.py
diff --git a/hpvm/projects/onnx_frontend/frontend/onnx_attr.py b/hpvm/projects/torch2hpvm/torch2hpvm/onnx_attr.py
similarity index 100%
rename from hpvm/projects/onnx_frontend/frontend/onnx_attr.py
rename to hpvm/projects/torch2hpvm/torch2hpvm/onnx_attr.py
diff --git a/hpvm/projects/onnx_frontend/frontend/template_hpvm.cpp.in b/hpvm/projects/torch2hpvm/torch2hpvm/template_hpvm.cpp.in
similarity index 100%
rename from hpvm/projects/onnx_frontend/frontend/template_hpvm.cpp.in
rename to hpvm/projects/torch2hpvm/torch2hpvm/template_hpvm.cpp.in
diff --git a/hpvm/projects/onnx_frontend/frontend/template_tensor.cpp.in b/hpvm/projects/torch2hpvm/torch2hpvm/template_tensor.cpp.in
similarity index 100%
rename from hpvm/projects/onnx_frontend/frontend/template_tensor.cpp.in
rename to hpvm/projects/torch2hpvm/torch2hpvm/template_tensor.cpp.in
-- 
GitLab