Skip to content

Merge dev to master #87

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 371 commits into from
Dec 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
371 commits
Select commit Hold shift + click to select a range
aa12d7a
docs modified to meet merge request review's need
whz14 Aug 7, 2020
0f4b8cf
src ops modified to meet merge request review's need
whz14 Aug 7, 2020
d4fcab9
update reference in rst
wlt-cortex Aug 7, 2020
9aa6fa2
Merge remote-tracking branch 'origin/wlt' into wlt
wlt-cortex Aug 7, 2020
d49514d
Merge remote-tracking branch 'origin/wlt' into ryt_tune
declmal Aug 10, 2020
5c81d55
meet merge request's review
whz14 Aug 10, 2020
61ce986
comments on op_take. max_pool2d simplified lambda
whz14 Aug 10, 2020
51d4bea
pr's need
whz14 Aug 11, 2020
d77aa19
update underline with sub symbol in rst
wlt-cortex Aug 11, 2020
1eef72d
neaten ops.cc, moved it's operators into other files. TODO: where ope…
whz14 Aug 11, 2020
06ca38c
where operator doc
whz14 Aug 11, 2020
0cd249a
where bug fixed. fixed #66
whz14 Aug 11, 2020
e2cd74d
update the MRT doc
wlt-cortex Aug 11, 2020
4018aae
conv2d removed Indices readability optimization: to optimize performance
whz14 Aug 11, 2020
3a28325
update feature module: optimizor, sampler, feature data types
declmal Aug 12, 2020
e6e6433
Merge remote-tracking branch 'origin/wlt' into archRev
declmal Aug 12, 2020
6d36221
pr's need
whz14 Aug 12, 2020
14be67c
a silly type
whz14 Aug 12, 2020
241c336
update module
declmal Aug 12, 2020
4fa06ef
Indices.ndim, TShape.ndim return value is int32_t now. Other comments…
whz14 Aug 12, 2020
32b061e
Merge pull request #64 from CortexFoundation/whz
wlt-cortex Aug 12, 2020
369ae8a
Merge remote-tracking branch 'origin' into wlt
wlt-cortex Aug 12, 2020
57dd2bb
Merge remote-tracking branch 'origin/wlt' into wlt
wlt-cortex Aug 12, 2020
33c56f6
update sym_config_infos deserialize
declmal Aug 12, 2020
41eb1bd
update sym_calibrate_gen
declmal Aug 12, 2020
8a99202
Merge remote-tracking branch 'origin/wlt' into archRev
declmal Aug 12, 2020
0225642
fixed some warnings: declared but unused; compare between signed and …
whz14 Aug 13, 2020
3b94d30
enhance framework for quantize
declmal Aug 13, 2020
6791ff7
fixed uint int compare warning in more source files
whz14 Aug 13, 2020
0ad96a2
fixed a compile error in test_graph
whz14 Aug 13, 2020
d8dc1ed
update
declmal Aug 13, 2020
a920d90
update dataset bugs
wlt-cortex Aug 13, 2020
d1fdc0a
update mrt dataset doc
wlt-cortex Aug 14, 2020
11957c4
update acknowledgement doc
wlt-cortex Aug 14, 2020
c3b8e53
update
wlt-cortex Aug 14, 2020
1701913
stash
wlt-cortex Aug 14, 2020
c05af4d
update scale and quantizer
declmal Aug 15, 2020
7099bcc
ndarray doc
whz14 Aug 15, 2020
65d9a55
update doc for quantization
declmal Aug 15, 2020
7aff300
Merge remote-tracking branch 'origin/wlt' into archRev
declmal Aug 15, 2020
4be515e
update
declmal Aug 16, 2020
88d8866
update doc
wlt-cortex Aug 17, 2020
873636a
update
declmal Aug 17, 2020
20d1eb5
ndarray doc
whz14 Aug 17, 2020
f09b5c7
update exp formulation for Convolutiion
declmal Aug 17, 2020
193ac16
Merge pull request #70 from CortexFoundation/whz
wlt-cortex Aug 18, 2020
f6d5cfb
Merge branch 'wlt' of github.com:CortexFoundation/cvm-runtime into wlt
wlt-cortex Aug 18, 2020
55b05f1
Fixed cmake bugs
wlt-cortex Aug 18, 2020
60b2265
stash
wlt-cortex Aug 18, 2020
bc2dd6b
update generalized conv quantization formalization
declmal Aug 18, 2020
7dfa03c
doc
whz14 Aug 19, 2020
0f91ba3
update form: nn ops
declmal Aug 19, 2020
e614164
update doc
declmal Aug 19, 2020
c6a265d
update form
declmal Aug 19, 2020
eab1123
update
declmal Aug 19, 2020
f46a9a3
explaination to the graph. more detailed for ndarray&model part
whz14 Aug 19, 2020
ff5f1a1
correct formalization
declmal Aug 20, 2020
1e91b36
update
declmal Aug 20, 2020
3712f02
update types
declmal Aug 20, 2020
1fbabbf
update quantization interfaces
declmal Aug 20, 2020
f6cc3f9
quantize interfaces
declmal Aug 21, 2020
e5fe280
update
declmal Aug 21, 2020
1213bfa
update QuantInfo
declmal Aug 21, 2020
cb7b0ef
update
declmal Aug 21, 2020
81ccb0a
update quantizers
declmal Aug 24, 2020
511e61c
update
declmal Aug 24, 2020
d61354e
update quantizer
declmal Aug 25, 2020
9b803b7
create a new module: mrt.gen
declmal Aug 26, 2020
7552588
add user interface for mrt.gen
declmal Aug 26, 2020
c0a243c
reset cmakelist so that project can be built without cuda. first vers…
whz14 Aug 26, 2020
68946a3
update
declmal Aug 26, 2020
c65ef56
update transformer
declmal Aug 26, 2020
2e060bf
rename
declmal Aug 26, 2020
518f209
update
declmal Aug 26, 2020
7a9e418
fix interface bug for save_model: ctx
declmal Aug 26, 2020
09d4560
update
declmal Aug 26, 2020
896cee0
Merge remote-tracking branch 'origin/ryt_tune' into archRev
declmal Aug 26, 2020
6f92b20
update
declmal Aug 26, 2020
c887a1b
nd.setter key type check and some tests
whz14 Aug 26, 2020
7687298
update
declmal Aug 27, 2020
5c793cd
update example ini
declmal Aug 27, 2020
6998902
enable calibration
declmal Aug 27, 2020
4be9177
fix bugs
declmal Aug 27, 2020
273bf5a
update arch for quantize tfm_ops
declmal Aug 27, 2020
b2b3246
udpate
declmal Aug 27, 2020
180de1f
update
declmal Aug 27, 2020
5200697
update doc
declmal Aug 27, 2020
51d73aa
update
declmal Aug 27, 2020
4baed0a
update
declmal Aug 28, 2020
e5cf8d0
enable quantization
declmal Aug 28, 2020
477f14b
update form
declmal Aug 28, 2020
12fcda2
update
declmal Aug 28, 2020
0e5d194
Merge branch 'archRev' of github.com:CortexFoundation/cvm-runtime int…
declmal Aug 28, 2020
811a8b9
setter index expanding. CVMAssignNDScalar interface(not implemented)
whz14 Aug 28, 2020
e157170
enable evaluation
declmal Aug 29, 2020
1ae7077
fix bugs for alexnet
declmal Aug 29, 2020
31c66cb
update
declmal Aug 29, 2020
471c2ef
enable slice_channel for granularity control in quantization
declmal Aug 29, 2020
117b4e9
update sym_slice
declmal Aug 31, 2020
bd0d8df
enable channel-wise quantization
declmal Aug 31, 2020
a13d6a6
unit for conv channel-wise
declmal Aug 31, 2020
5a5f583
fix bug for channel-wise Convolution
declmal Sep 1, 2020
32fb94e
tmp ndarray.cnn
whz14 Sep 2, 2020
1ac1293
nd setter: basic setter, scalar value done
whz14 Sep 2, 2020
d18a2fc
arch rev
wlt-cortex Sep 4, 2020
eee1d3f
fix bufs
wlt-cortex Sep 4, 2020
b407ccc
fix bug
declmal Sep 4, 2020
1a0722a
ndarray::cpufill half done and has bug. py.ndarray setter doing
whz14 Sep 4, 2020
8ef2af5
Merge pull request #74 from CortexFoundation/ryt_tune
wlt-cortex Sep 4, 2020
48da233
update
declmal Sep 4, 2020
ba55984
update
declmal Sep 7, 2020
f770e17
enable mobilenet-v1-0.25-224-lite
declmal Sep 7, 2020
250722a
enable multiple step in slicechannel
declmal Sep 7, 2020
83ac7e5
Merge branch 'archRev' of github.com:CortexFoundation/cvm-runtime int…
declmal Sep 7, 2020
4e37aab
enable restore in gen
declmal Sep 7, 2020
e0d6e42
update
declmal Sep 7, 2020
56ec996
fill ndarray with a single value done
whz14 Sep 8, 2020
406a219
fixed a bug: in ndarray.py, ndarray.full() is not actually called
whz14 Sep 8, 2020
dc774b1
update
declmal Sep 8, 2020
aaaefa7
update
declmal Sep 8, 2020
853eb67
assign nd to slice half done
whz14 Sep 8, 2020
efaa509
fixed bugs
wlt-cortex Sep 8, 2020
031ad90
Merge remote-tracking branch 'origin/wlt' into archRev
declmal Sep 8, 2020
9abb681
Merge pull request #73 from CortexFoundation/ndDoc
wlt-cortex Sep 9, 2020
cecd049
update cvm_op
declmal Sep 9, 2020
3cb05c2
update channelconv
declmal Sep 9, 2020
161e0f7
fix
declmal Sep 9, 2020
f7a13bd
setting sliced data one by one done
whz14 Sep 9, 2020
9730797
merged from wlt
whz14 Sep 9, 2020
856b226
update types
declmal Sep 9, 2020
8413452
update
declmal Sep 11, 2020
31a458c
merge origin/master
wlt-cortex Sep 11, 2020
c87ce80
update
declmal Sep 12, 2020
a121275
Merge remote-tracking branch 'origin/wlt' into archRev
declmal Sep 12, 2020
0ec7f46
update
declmal Sep 12, 2020
a0364b8
update
declmal Sep 12, 2020
73e0a64
update channelwise conv test
declmal Sep 12, 2020
91a4c89
updatE
declmal Sep 12, 2020
b5178e9
update
declmal Sep 12, 2020
c16a8d8
fix slice_channel bugs for groupwise conv
declmal Sep 14, 2020
4e14a96
update
declmal Sep 14, 2020
331796e
update zp
declmal Sep 14, 2020
e994ed0
update doc gen
declmal Sep 14, 2020
b1b848c
uypdate
declmal Sep 14, 2020
5468479
enable zero point
declmal Sep 15, 2020
15caab1
update
declmal Sep 15, 2020
64d46a5
enable zp for broadcast_add
declmal Sep 16, 2020
60e944e
Merge branch 'zp' of github.com:CortexFoundation/cvm-runtime into zp
declmal Sep 16, 2020
317bd3d
update
declmal Sep 16, 2020
6d7f871
update
declmal Sep 16, 2020
165d167
weigt only zero point quantization
declmal Sep 16, 2020
115c822
Merge pull request #76 from CortexFoundation/zp
declmal Sep 16, 2020
1b07994
update
declmal Sep 16, 2020
5ab2176
fix bug for resnet50_v1
declmal Sep 18, 2020
84b485d
enable resnet50_v1
declmal Sep 18, 2020
54f4aa0
enable resnet50_v2
declmal Sep 18, 2020
cd150f0
fix config for resnet50_v2
declmal Sep 18, 2020
0fcd4ea
enable resnet18_v1
declmal Sep 18, 2020
d382a81
fix config for resnet18_v1
declmal Sep 18, 2020
df82d66
fix config for resnet18_v1b_0.89
declmal Sep 18, 2020
615a6fc
fix config for quickdraw
declmal Sep 18, 2020
d21c6b9
enable quickdraww resnet18_v1b_0.89
declmal Sep 18, 2020
e3bc6e0
fix config for qd10_resnetv1_20
declmal Sep 18, 2020
596369a
enable qd10_resnetv1_20
declmal Sep 18, 2020
f88d844
enable densenet161
declmal Sep 18, 2020
43f8640
fix config for densenet161
declmal Sep 18, 2020
956ffc5
fix config for cifar_resnet20_v1
declmal Sep 18, 2020
3c019d7
enable cifar_resnet20_v1
declmal Sep 18, 2020
e256374
enable mobilenet1_0
declmal Sep 18, 2020
13f279a
fix config for mobilenet1_0
declmal Sep 18, 2020
1cad85f
enable mobilenetv2_1.0
declmal Sep 18, 2020
2abbb84
fix config for mobilenetv2_1.0
declmal Sep 18, 2020
b1c89f8
fix config for shufflenet_v1
declmal Sep 18, 2020
8a756ce
fix config for squeezenet1.0
declmal Sep 18, 2020
31dafff
enabel shufflenet
declmal Sep 18, 2020
f10df28
fix config for tf_inception_v3
declmal Sep 18, 2020
e3c4067
fix config for vgg19
declmal Sep 18, 2020
11b853e
enable squeezenet1.0 tf_inception_v3 vgg19
declmal Sep 18, 2020
b795c98
enable trec:
declmal Sep 18, 2020
1991cb2
enable mnist
declmal Sep 21, 2020
3a28d90
fix config for yolo3_darknet53_voc
declmal Sep 21, 2020
a47e0f8
enable yolo3_darknet53_voc
declmal Sep 21, 2020
631b6ff
fix config for yolo3_mobilenet1.0_voc
declmal Sep 21, 2020
f5d0d20
enable yolo3_mobilenet1.0_voc
declmal Sep 21, 2020
ffc0a5e
fix config for ssd_512_resnet50_v1_voc
declmal Sep 21, 2020
aab6018
enable ssd_512_resnet50_v1_voc
declmal Sep 21, 2020
5d798e1
fix config for ssd_512_resnet50_v1_voc
declmal Sep 21, 2020
f91f731
enable ssd_512_mobilenet1.0_voc
declmal Sep 21, 2020
a84efca
update
declmal Sep 21, 2020
54d533e
enable tf models
declmal Sep 21, 2020
cc4b407
update
declmal Sep 21, 2020
0d76ffe
add slice channel settings
declmal Sep 21, 2020
f15c6db
update docs for mrt.gen.tfm_types
declmal Sep 21, 2020
3e7e509
update
declmal Sep 21, 2020
cd7b7b4
update docs for tfm_types
declmal Sep 23, 2020
b4f9b6b
update for tfm_pass
declmal Sep 23, 2020
45ae8d9
update doc for gen tfm_base
declmal Sep 23, 2020
e36c6c4
update docs for quantize tutorial
declmal Sep 23, 2020
006ca84
Merge pull request #78 from CortexFoundation/ryt_doc
declmal Sep 23, 2020
4b05904
update accuracy comparison doc
declmal Sep 25, 2020
17236cf
update
declmal Sep 25, 2020
f1564ce
Merge pull request #77 from CortexFoundation/ryt_tune
wlt-cortex Sep 30, 2020
6999115
update doc
wlt-cortex Sep 30, 2020
10d33f6
update doc
wlt-cortex Oct 12, 2020
2c3f910
update
declmal Oct 16, 2020
b5c698e
update cvm_right_shift_channel
declmal Oct 19, 2020
7bb9660
update cvm_conv_2d_channel
declmal Oct 19, 2020
1ca7c37
update cvm_conv_2d_channel prop
declmal Oct 19, 2020
feb5240
revise
declmal Oct 19, 2020
a8c35cb
update
declmal Oct 19, 2020
5c696cd
Merge pull request #79 from CortexFoundation/wlt
wlt-cortex Oct 23, 2020
9cfcebd
Merge pull request #75 from CortexFoundation/ndGetter
wlt-cortex Oct 23, 2020
5bf4922
update test for slicechannel
declmal Nov 10, 2020
6b70df1
update slicechannel: fix bug for precision
declmal Nov 10, 2020
ac634a7
update
declmal Nov 10, 2020
d0c0215
update
declmal Nov 10, 2020
1cb4f7c
update
declmal Nov 11, 2020
f9dcb86
update generalized step conv
declmal Nov 11, 2020
4a34541
update
declmal Nov 13, 2020
190013a
add mobilenet1.0
declmal Nov 13, 2020
943a33b
update
declmal Nov 13, 2020
fdb5c94
update
declmal Nov 13, 2020
1557568
rename gen to v2
declmal Nov 13, 2020
6566776
rename to V2
declmal Nov 13, 2020
b51122e
update
declmal Nov 13, 2020
f561909
update
declmal Nov 13, 2020
90b5464
update transformer
declmal Nov 16, 2020
597e589
fix bug for mrt feature get_threshold
declmal Nov 16, 2020
5838897
fix bugs for exactly
declmal Nov 16, 2020
c030527
update realize_ch
declmal Nov 17, 2020
dfa9834
update realize_ch
declmal Nov 17, 2020
c765fc0
enable channelwise quantization
declmal Nov 17, 2020
20178ac
update
declmal Nov 17, 2020
b6aa1c7
fix conflict with dev
declmal Nov 17, 2020
f55f19a
Merge pull request #81 from CortexFoundation/mrt_v2
wlt-cortex Nov 17, 2020
6aec1d7
add utils into cvm init package
wlt-cortex Nov 17, 2020
04c44ce
update doc
declmal Nov 20, 2020
82e2e52
update
declmal Nov 20, 2020
dcdc725
update
declmal Nov 20, 2020
cbd6d63
update
declmal Nov 20, 2020
a476a36
update docs v2
declmal Nov 20, 2020
b1daaad
update doc for quantization
declmal Nov 25, 2020
dd1ee02
Merge branch 'dev' into ryt_tune
declmal Nov 25, 2020
cfac108
update
declmal Nov 25, 2020
d062dff
update
declmal Nov 25, 2020
25f8c0b
update
declmal Nov 25, 2020
e05f385
update
declmal Nov 27, 2020
9872a78
update
declmal Nov 27, 2020
4eca432
Merge pull request #82 from CortexFoundation/mrt_v2
wlt-cortex Dec 8, 2020
1d957de
Merge pull request #84 from CortexFoundation/wlt
wlt-cortex Dec 8, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/ccpp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: C/C++ CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: configure
run: ./configure
- name: make
run: make
- name: make check
run: make check
- name: make distcheck
run: make distcheck
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,4 @@ out/*
# docs
docs/html
docs/doctrees
docs/doxygen_output
4 changes: 0 additions & 4 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ sphinx:
#mkdocs:
# configuration: mkdocs.yml

# Optionally build your docs in additional formats such as PDF
formats:
- pdf

# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.7
Expand Down
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.2)
project(cvm C CXX)

set(CMAKE_EXPORT_COMPILE_COMMANDS ON )
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

# Utility functions
include(cmake/util/Util.cmake)
Expand Down Expand Up @@ -78,6 +78,7 @@ if(ENABLE_CUDA)
list(APPEND CVM_RUNTIME_LINKER_LIBS ${CUDA_NVRTC_LIBRARY})

set(CUDA_NVCC_FLAGS ${CUDA_NVCC_FLAGS} --expt-extended-lambda)
# set(CMAKE_CUDA_FLAGS ${CMAKE_CUDA_FLAGS} --expt-extended-lambda)

add_definitions(-DCVM_RUNTIME_CUDA)
if(USE_NANO)
Expand Down
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ dep:
lib: dep
@cd ${BUILD} && cmake ../ && $(MAKE)

# Make sure install the python dependency package before
# make python target.
python: lib
@cd python && python3 setup.py install

Expand Down
Loading