Megvii Engine Team
67575d582c
feat(mge/opr): add interpolate bilinear mode
GitOrigin-RevId: f7023a3fd3
4 years ago
Megvii Engine Team
0558b2123d
feat(mge/opr): add interpolate nearest mode
GitOrigin-RevId: d384b87f50
4 years ago
Megvii Engine Team
3eb0505f9b
feat(imperative): add support for quantized conv transpose2d
GitOrigin-RevId: ffd6431299
4 years ago
Megvii Engine Team
c68e669530
feat(bazel/windows/xp/sp2/inference): implement inference on windows xp
(os vesion >= sp2) build with bazel
* bazel build support(define __DEPLOY_ON_XP_SP2__ when deploy on xp sp2):
(dbg)./bazel build //brain/megbrain:load_and_run --cpu='x86_windows_xp'
--compiler='clang_cl' -c dbg --copt "-D__DEPLOY_ON_XP_SP2__=1"
(opt)./bazel build //brain/megbrain:load_and_run --cpu='x86_windows_xp'
--compiler='clang_cl' -c opt --copt "-D__DEPLOY_ON_XP_SP2__=1"
* internal behavior:
will define MGB_HAVE_THREAD=0 when enable __DEPLOY_ON_XP_SP2__
* refer to
https://docs.microsoft.com/en-us/cpp/build/configuring-programs-for-windows-xp?view=msvc-160
xp sp2(x86) do not support vc runtime fully, casused by KERNEL32.dll do not
implement some base apis for c++ std function, for example,
std::mutex/std::thread/std::condition_variable as a workround, we will
disable some MegEngine features on xp sp2 env, for exampe, multi-thread etc!
* about DNN_MUTEX/MGB_MUTEX, if your code will build in inference
code (even CPU backends), please replace std::mutex to DNN_MUTEX/MGB_MUTEX,
* about multi-thread, if you code need multi-thread support, please
enable it when MGB_HAVE_THREAD=1
* about test build env status
1: Visual Studio 2019(MSVC version <= 14.26.28801)---- pass
2: Visual Studio 2019(MSVC version > 14.26.28801) ---- failed
caused by this 'new' version will put VCR depends on win7
KERNEL32.DLL, this may be fixed at Visual Studio 2019 later version
but we do not test at this MR merge point
3: Visual Studio 2017 ---------- pass
4: Visual Studio 2014 ---------- pass
GitOrigin-RevId: 65ac48b95e
4 years ago
Megvii Engine Team
ea70d99b4d
fix(mge/convbias): make fallback convbias support nhwcd4 layout
GitOrigin-RevId: 1c306f867d
4 years ago
Megvii Engine Team
ae6ff2c5a6
feat(mgb/gopt): add opt pass for nchw64 layout transform
GitOrigin-RevId: adede7cef6
5 years ago
Megvii Engine Team
2a2a7f4552
test(mgb/opr): add testcase for conv bias int4
GitOrigin-RevId: e3fff5e30b
5 years ago
Megvii Engine Team
858261af1f
fix(python_module): fix conversion between numpy-ndarray and mgb tensor for qint4 and quint4
GitOrigin-RevId: 7450c4f25e
5 years ago
Megvii Engine Team
a31b7c6ee3
build(rocm): partially support hcc compilation
GitOrigin-RevId: ca9f1f8e8e
5 years ago
Megvii Engine Team
ff755451d2
refactor(mgb): move algo's name from info to desc and delete some algo's unnecessary param() method
GitOrigin-RevId: 144ff547d1
5 years ago
Megvii Engine Team
c338e876ec
refactor(mgb/dnn): add negative attribute for algo
GitOrigin-RevId: 88b1ce94a5
5 years ago
Megvii Engine Team
ec1a99acc2
refactor(mgb/dnn): replace reproducible with attribute
GitOrigin-RevId: d49015714c
5 years ago
Megvii Engine Team
0d165399e6
fix(mgb): fix fastrun for imperative
GitOrigin-RevId: db54984b92
5 years ago
Megvii Engine Team
55974e8cf9
feat(log): opt log
* opt log at release mode
* add MGE_OVERRIDE_LOG_LEVEL for runtime debug
//! env to config LogLevel
//! DEBUG = 0, INFO = 1, WARN = 2, ERROR = 3, NO_LOG = 4
//! for example , export MGE_OVERRIDE_LOG_LEVEL=0, means set LogLevel to DEBUG
GitOrigin-RevId: 16cd674c56
5 years ago
Megvii Engine Team
f2b42bf09e
chore(dotprod): add arm dotprod attribute for easy use
GitOrigin-RevId: 78c3e72218
5 years ago
Megvii Engine Team
c33a717314
feat(dnn): repalce is_reproducible with algo attribute in opencl, cpu, rocm and cuda
GitOrigin-RevId: 86dead0a11
5 years ago
Megvii Engine Team
5b62acfa01
feat(dnn/armv7): add new matmul strategy k8x8x4
GitOrigin-RevId: 0c6b7fa1b2
5 years ago
Megvii Engine Team
c51a687cef
chore(mge): update copyright years
GitOrigin-RevId: 46104ac891
5 years ago
Megvii Engine Team
f14e0c17e7
feat(mgb): add recursive for fastrun and megdnn test
GitOrigin-RevId: 743846f645
5 years ago
Megvii Engine Team
85fa988348
refactor(dnn): add get_algorithm_from_desc interface
GitOrigin-RevId: 6d211ca167
5 years ago
Megvii Engine Team
364afec033
chore(mge): update copyright years
GitOrigin-RevId: 3c0690bcc1
5 years ago
Megvii Engine Team
3bda334798
fix(dnn/fallback): fix segmentfault caused by im2col/conv1x1 using
fallback naive matmul.
GitOrigin-RevId: 03ef904b11
5 years ago
Megvii Engine Team
409a877267
feat(dnn): add algo interface for rocm&fallback matmul and batched matrix mul
GitOrigin-RevId: dea03a0f7a
5 years ago
Megvii Engine Team
fc0fcd2f7f
chore(winograd): remove winograd transform code
GitOrigin-RevId: 78c3cfceae
5 years ago
Megvii Engine Team
0398a7867f
fix(build/windows/cuda/llvm): fix windows bazel build with cuda
* Adapt to the new version llvm/clang-11
* fix windows bazel build with cuda
* add windows bazel build cuda ci
* opt windows bazel ci scripts
GitOrigin-RevId: 6ea7c66585
5 years ago
Megvii Engine Team
86cf7490ec
feat(dnn/aarch64): add quantizeds4 matmul int4x4x16_k8x8x8
GitOrigin-RevId: 7812900244
5 years ago
Megvii Engine Team
a1877ee0fa
refactor(dnn): refactor algo interface, use algoinfo instead of global algorithm
GitOrigin-RevId: 479718ac75
5 years ago
Megvii Engine Team
60c6d59fc9
feat(mbg/core): support bias preprocess in conv_bias
GitOrigin-RevId: d2e1e14d41
5 years ago
Megvii Engine Team
1f75c7ade4
ci(midout): fix midout and reopen midout test
we just test function, do not check size
GitOrigin-RevId: dce5387e83
5 years ago
Megvii Engine Team
1e71e0afe0
refactor(dnn): refactor deconv algo
GitOrigin-RevId: 422be792eb
5 years ago
Megvii Engine Team
f7b2bdae1a
refactor(dnn): refactor algorithm type interface
GitOrigin-RevId: 843d885f82
5 years ago
Megvii Engine Team
2a3f4d099a
refactor(dnn/arm): refactor CPU heuristic algo selection
GitOrigin-RevId: 60d2646bb3
5 years ago
Megvii Engine Team
0307598a80
fix(dnn): keep consistent limit between deduce and compute
GitOrigin-RevId: 8de5f17ced
5 years ago
Megvii Engine Team
a5fad7d07c
feat(dnn): add compile for riscv64
GitOrigin-RevId: fa0c163527
5 years ago
Megvii Engine Team
bca00f2e22
fix(dnn): midout at where neccessary in megdnn
GitOrigin-RevId: 191334bd96
5 years ago
Megvii Engine Team
6aade1336d
fix(dnn/fallback): disable im2col/conv1x1/conv1x1_gemv Quantized8Asymm in x86
GitOrigin-RevId: b094634254
5 years ago
Megvii Engine Team
eb18eba87d
fix(gopt): fix nchw44 nchw44_dot gopt test
GitOrigin-RevId: 06b38dcd30
5 years ago
Megvii Engine Team
2272abe18d
fix(mgb/fallback): disable nchw44 in conv1x1 and im2col in x86
GitOrigin-RevId: 603d2eb94a
5 years ago
Megvii Engine Team
df356635b7
fix(mgb/fallback): delete im2col duplicate code and fix nchw44 usable
GitOrigin-RevId: 1aa250e9e7
5 years ago
Megvii Engine Team
4a2270834f
fix(mgb/fallback): fix conv1x1 and conv1x1_gemv nchw44 usable
GitOrigin-RevId: 90aa75d51e
5 years ago
Megvii Engine Team
b778d22523
feat(mgb/fallback): add conv1x1_gemv, conv1x1 and im2col 8x8x16/8x8x32 support bias
GitOrigin-RevId: 3d97fedc8f
5 years ago
Megvii Engine Team
bcf5691ddf
feat(dnn/arm): add nchw_nchw44 i8i8i16 2x2 3x3 5x5 7x7 s1 s2 conv
GitOrigin-RevId: 8ef1541665
5 years ago
Megvii Engine Team
e258812f12
feat(dnn): add bool dtype
GitOrigin-RevId: 98c8a092b4
5 years ago
Megvii Engine Team
7ca3d579db
feat(dnn): make mk4 and mk8 matmul for winograd both on aarch64 and armv7 supports n=1
GitOrigin-RevId: 0f64b9f70f
5 years ago
Megvii Engine Team
e1e56988cd
feat(dnn/fallback): add conv1x1 filter preprocess funciton
GitOrigin-RevId: 4bd109f2da
5 years ago
Megvii Engine Team
edd7e16701
feat(dnn/fallback): add im2col filterpreprocess function
GitOrigin-RevId: 61c54ad258
5 years ago
Megvii Engine Team
eed54081ab
feat(dnn/arm): add armv7 mk4 i8i8i16 gemm, optimized for A7
GitOrigin-RevId: d2f8290a8d
5 years ago
Megvii Engine Team
9c475fff17
fix(dnn/fallback): delete ConvBias* opr param of conv_bias algo
GitOrigin-RevId: ee5a6874fb
5 years ago
Megvii Engine Team
fff2cdc7bb
feat(dnn/fallback): add winograd weight preprocess
GitOrigin-RevId: 4741298e44
5 years ago
Megvii Engine Team
714cb232bb
feat(dnn): add gemv supports in conv1x1 for NCHW44 and NCHW44_DOT(aarch64 binary size grows 2KB)
GitOrigin-RevId: f8b6d7a1b7
5 years ago