Skip to content

Commit cea09f2

Browse files
spectrometerHBHjinhongyiiMasterJH5574tqchenjunrushao
committed
Initial commit
--------- Co-authored-by: Hongyi Jin <[email protected]> Co-authored-by: Ruihang Lai <[email protected]> Co-authored-by: Tianqi Chen <[email protected]> Co-authored-by: Junru Shao <[email protected]> Co-authored-by: Zihao Ye <[email protected]>
0 parents  commit cea09f2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+13770
-0
lines changed

.clang-format

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Run the following command to reformat a file:
2+
# clang-format -i -style=Google <file>
3+
# Or use clang-format-diff to only reformat the changed lines:
4+
# https://clang.llvm.org/docs/ClangFormat.html
5+
BasedOnStyle: Google
6+
DerivePointerAlignment: false
7+
ColumnLimit: 100
8+
PointerAlignment: Left

.gitignore

Lines changed: 323 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,323 @@
1+
dist/
2+
params/
3+
*.bak
4+
# Byte-compiled / optimized / DLL files
5+
__pycache__/
6+
*.py[cod]
7+
*$py.class
8+
9+
.DS_Store
10+
11+
*.S
12+
# C extensions
13+
*.so
14+
15+
build*
16+
17+
*.ll
18+
.npm
19+
# Distribution / packaging
20+
.Python
21+
env/
22+
build/
23+
build-*/
24+
develop-eggs/
25+
dist/
26+
downloads/
27+
eggs/
28+
.eggs/
29+
lib/
30+
lib64/
31+
parts/
32+
sdist/
33+
var/
34+
wheels/
35+
pip-wheel-metadata/
36+
share/python-wheels/
37+
*.egg-info/
38+
.installed.cfg
39+
*.egg
40+
MANIFEST
41+
42+
.conda/
43+
# PyInstaller
44+
# Usually these files are written by a python script from a template
45+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
46+
*.manifest
47+
*.spec
48+
49+
# Generated by python/gen_requirements.py
50+
python/requirements/*.txt
51+
52+
# Installer logs
53+
pip-log.txt
54+
pip-delete-this-directory.txt
55+
56+
# Unit test / coverage reports
57+
htmlcov/
58+
.tox/
59+
.nox/
60+
.coverage
61+
.coverage.*
62+
.cache
63+
nosetests.xml
64+
coverage.xml
65+
*.cover
66+
*.py,cover
67+
.hypothesis/
68+
.pytest_cache/
69+
70+
# Translations
71+
*.mo
72+
*.pot
73+
74+
# Django stuff:
75+
*.log
76+
local_settings.py
77+
db.sqlite3
78+
db.sqlite3-journal
79+
80+
# Flask stuff:
81+
instance/
82+
.webassets-cache
83+
84+
# Scrapy stuff:
85+
.scrapy
86+
87+
# Sphinx documentation
88+
docs/_build/
89+
docs/_staging/
90+
91+
# PyBuilder
92+
target/
93+
/target/
94+
95+
# Jupyter Notebook
96+
.ipynb_checkpoints
97+
98+
# IPython
99+
profile_default/
100+
ipython_config.py
101+
102+
# pyenv
103+
.python-version
104+
105+
# pipenv
106+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
107+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
108+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
109+
# install all needed dependencies.
110+
#Pipfile.lock
111+
112+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
113+
__pypackages__/
114+
115+
# Celery stuff
116+
celerybeat-schedule
117+
celerybeat.pid
118+
119+
# SageMath parsed files
120+
*.sage.py
121+
122+
# Environments
123+
.env
124+
.venv
125+
env/
126+
venv/
127+
ENV/
128+
env.bak/
129+
venv.bak/
130+
131+
# Spyder project settings
132+
.spyderproject
133+
.spyproject
134+
135+
# Rope project settings
136+
.ropeproject
137+
*~
138+
*.pyc
139+
*~
140+
config.mk
141+
config.cmake
142+
Win32
143+
*.dir
144+
perf
145+
*.wasm
146+
.emscripten
147+
148+
## IOS
149+
DerivedData/
150+
151+
## Java
152+
*.class
153+
jvm/*/target/
154+
jvm/*/*/target/
155+
jvm/native/*/generated
156+
jvm/native/src/main/native/org_apache_tvm_native_c_api.h
157+
*.worksheet
158+
*.idea
159+
*.iml
160+
*.classpath
161+
*.project
162+
*.settings
163+
*/node_modules/
164+
165+
## Various settings
166+
*.pbxuser
167+
!default.pbxuser
168+
*.mode1v3
169+
!default.mode1v3
170+
*.mode2v3
171+
!default.mode2v3
172+
*.perspectivev3
173+
!default.perspectivev3
174+
xcuserdata/
175+
.pkl_memoize_*
176+
177+
.emscripten*
178+
.m2
179+
180+
# Compiled Dynamic libraries
181+
*.so
182+
*.dylib
183+
*.dll
184+
185+
# Compiled Object files
186+
*.slo
187+
*.lo
188+
*.o
189+
*.obj
190+
191+
# Precompiled Headers
192+
*.gch
193+
*.pch
194+
195+
# Compiled Static libraries
196+
*.lai
197+
*.la
198+
*.a
199+
*.lib
200+
201+
# Executables
202+
*.exe
203+
*.out
204+
*.app
205+
206+
## Other
207+
*.moved-aside
208+
*.xccheckout
209+
*.xcscmblueprint
210+
.DS_Store
211+
tags
212+
cscope*
213+
*.lock
214+
215+
# vim temporary files
216+
*.swp
217+
*.swo
218+
219+
# TVM generated code
220+
perf
221+
.bash_history
222+
# *.json
223+
*.params
224+
*.ro
225+
*.onnx
226+
*.h5
227+
synset.txt
228+
cat.jpg
229+
cat.png
230+
docs.tgz
231+
cat.png
232+
*.mlmodel
233+
tvm_u.*
234+
tvm_t.*
235+
# Mac OS X
236+
.DS_Store
237+
238+
# Jetbrain
239+
.idea
240+
.ipython
241+
.jupyter
242+
.nv
243+
.pylint.d
244+
.python_history
245+
.pytest_cache
246+
.local
247+
cmake-build-debug
248+
249+
# Visual Studio
250+
.vs
251+
252+
# Visual Studio Code
253+
.vscode
254+
255+
# tmp file
256+
.nfs*
257+
258+
# keys
259+
*.pem
260+
*.p12
261+
*.pfx
262+
*.cer
263+
*.crt
264+
*.der
265+
266+
# patch sentinel
267+
patched.txt
268+
269+
# Python type checking
270+
.mypy_cache/
271+
.pyre/
272+
273+
# pipenv files
274+
Pipfile
275+
Pipfile.lock
276+
277+
# conda package artifacts
278+
conda/Dockerfile.cuda*
279+
conda/pkg
280+
.node_repl_history
281+
# nix files
282+
.envrc
283+
*.nix
284+
285+
# Docker files
286+
.sudo_as_admin_successful
287+
288+
# Downloaded models/datasets
289+
.tvm_test_data
290+
.dgl
291+
.caffe2
292+
293+
# Local docs build
294+
_docs/
295+
jvm/target
296+
.config/configstore/
297+
.ci-py-scripts/
298+
299+
# Generated Hexagon files
300+
src/runtime/hexagon/rpc/hexagon_rpc.h
301+
src/runtime/hexagon/rpc/hexagon_rpc_skel.c
302+
src/runtime/hexagon/rpc/hexagon_rpc_stub.c
303+
304+
# Local tvm-site checkout
305+
tvm-site/
306+
307+
# Generated docs files
308+
gallery/how_to/work_with_microtvm/micro_tvmc.py
309+
310+
# Test sample data files
311+
!tests/python/ci/sample_prs/*.json
312+
313+
# Used in CI to communicate between Python and Jenkins
314+
.docker-image-names/
315+
316+
# Printed TIR code on disk
317+
*.tir
318+
319+
# GDB history file
320+
.gdb_history
321+
322+
3rdparty
323+
dist

.gitmodules

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[submodule "3rdparty/sentencepiece-js"]
2+
path = 3rdparty/sentencepiece-js
3+
url = https://github.com/tqchen/sentencepiece-js
4+
[submodule "3rdparty/argparse"]
5+
path = 3rdparty/argparse
6+
url = https://github.com/p-ranav/argparse

3rdparty/argparse

Submodule argparse added at 557948f

3rdparty/sentencepiece-js

Submodule sentencepiece-js added at 9c3168c

0 commit comments

Comments
 (0)