Skip to content
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

Dev 0.4.2 #1926

Open
wants to merge 113 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
113 commits
Select commit Hold shift + click to select a range
43e0b7e
[UPD] merge API header files
doxutx Apr 12, 2023
33a47de
[UPD] merge global CMakeLists.txt
doxutx Apr 12, 2023
407e24e
[UPD] merge test files in ./test/ folder
doxutx Apr 12, 2023
dc69915
[UPD] merge docs folder
doxutx Apr 12, 2023
554e923
[UPD] merge linux & windows platform CMakeLists.txt
doxutx Apr 12, 2023
9b94418
[UPD] merge scripts & .gitignore
doxutx Apr 12, 2023
07b2520
[UPD] merge & move pybind11 to third_party folder
doxutx Apr 12, 2023
628436d
[UPD] Merge with master
doxutx Apr 24, 2023
9a99598
[UPD] merge modifications in tools directory
doxutx Apr 24, 2023
01babd8
[UPD] merge source/tnn/core modifications
doxutx Apr 24, 2023
96e1dc0
[UPD] merge source/tnn/device/arm modifications
doxutx Apr 25, 2023
134ca42
[UPD] merge source/tnn/device/cpu modification
doxutx Apr 25, 2023
eb91d92
[UPD] merge source/tnn/device/cuda modifications
doxutx Apr 25, 2023
0e676ad
[UPD] merge source/tnn/device/huawei_npu modifications
doxutx Apr 25, 2023
3b490a0
[UPD] merge source/tnn/device/metal modifications
doxutx Apr 25, 2023
a56a38b
[UPD] merge source/tnn/device/opencl modifications
doxutx Apr 25, 2023
f940efb
[UPD] merge source/tnn/device/metal/blob_cvter.mm modifications
doxutx Apr 25, 2023
4f6e68c
[UPD] merge source/tnn/device/rknpu modifications
doxutx Apr 25, 2023
1e1d1be
[UPD] merge source/tnn/device/x86 modifications
doxutx Apr 25, 2023
27444c6
[UPD] merge source/tnn/extern_wrapper modifications
doxutx Apr 25, 2023
8555e6e
[UPD] merge source/tnn/interpreter modifications
doxutx Apr 25, 2023
b4c7012
[UPD] merge source/tnn/interpreter/ncnn modifications
doxutx Apr 25, 2023
ec27444
[UPD] merge source/tnn/interpreter/tnn modifications
doxutx Apr 25, 2023
0c26dd2
[UPD] merge source/tnn/layer modifications
doxutx Apr 25, 2023
7197b08
[UPD] merge source/tnn/memory_manager modifications
doxutx Apr 26, 2023
be19267
[UPD] merge source/tnn/network/coreml modifications
doxutx Apr 26, 2023
2d2dba7
[UPD] merge source/tnn/network/openvino modifications
doxutx Apr 26, 2023
dd3ac97
[UPD] merge source/tnn/network/tensorrt modifications
doxutx Apr 26, 2023
81e8577
[UPD] merge source/tnn/optimizer modifications
doxutx Apr 26, 2023
c122c6f
[UPD] merge source/tnn/utils modifications
doxutx Apr 26, 2023
7c0048b
[UPD] merge NeedDoScaleBias, floorf, CMakeLists.txt modifications
doxutx Apr 26, 2023
30e7d75
[UPD] rename 'RESERVED_XXX' Mat formats
doxutx Apr 26, 2023
528014b
[UPD] merge TNN coreml API changes
doxutx May 4, 2023
c171661
[UPD] add arm BlobCVTer NeedDoScaleBias() func
doxutx May 4, 2023
ea13c1b
[UPD] adjust arm BlobCVTer NeedDoScaleBias() func
doxutx May 4, 2023
6a7c8ff
[UPD] futher adjust arm BlobCVTer NeedDoScaleBias() func
doxutx May 4, 2023
9f46ad9
[UPD] merge stable diffusion opt updates
doxutx May 4, 2023
0a93e0c
[UPD] merge optimizer const, comment fused layer ptrs
doxutx May 4, 2023
f53945e
[UPD] remove optimizer_const.cc in ios project file
doxutx May 4, 2023
aa969c6
[UPD] Add back RESERVED_XXX Mat Format
doxutx May 11, 2023
9480536
[UPD] fix typo in arm_blob_converter.cc
doxutx May 11, 2023
7b827c5
[UPD] update TNNTest documents
doxutx May 11, 2023
0fbb0a3
[UPD] fix TNNTest doc indentation
doxutx May 11, 2023
f1633d7
[TOOLS][ARM] Add Arm Cumsum CVTer, Cumsum Onnx2tnn CVTer
doxutx May 24, 2023
9a5d027
[ARM][UPD] Add arm Roll OP implmentation
doxutx May 24, 2023
3bf1f47
[UPD] Add Or, Xor Onnx Converter
doxutx May 24, 2023
5f04e7c
[UPD][NPU] change huawei npu #include from <> to ''
doxutx May 24, 2023
3297015
[UPD][NPU] fix huawei npu new version compile errors
doxutx May 24, 2023
2d44ad2
[UPD][NPU] Add DataType Map to HUAWEI NPU Network
doxutx May 24, 2023
bdc1737
[UPD] Add pytnn
doxutx May 25, 2023
8c685d8
[UPD] Add compatible MatTypes to model_checker
doxutx May 26, 2023
72d9b2d
[UPD] Add TRT Version restriction to layernorm & non-zero
doxutx May 29, 2023
dd3fac2
[UPD][OPTIMIZER] replace Optimizer namespace with TNN_NS
doxutx May 29, 2023
0e24f7d
[UPD] add TRT Network GPU sm version check
doxutx May 30, 2023
4230dba
[UPD][NPU] Update huawei HiAi NPU codes to support HiAi DDK 100.520.X…
doxutx Jun 1, 2023
cddfcbd
[UPD][SNPE] Add TNN for Qualcomm SNPE
doxutx Jun 6, 2023
3276266
[BUG] Comment unused 'i' in third_party/flatbuffers to fix mac compil…
doxutx Jun 8, 2023
7930ebd
[BUG] Fix TNN SplitV layer interpret default value bug
doxutx Jun 8, 2023
47dc361
[UPD] Update linux-x86-cpu-gcc.yml
doxutx Jun 12, 2023
0ad3759
[UPD] Update github actions, update to new versions to avoid WARNINGs
doxutx Jun 12, 2023
a1a30d7
[UPD] fix model_checker bug, upate github action version
doxutx Jun 12, 2023
813a5c6
[UPD][OPENVINO] Major Update, upgrade openvino to version 2023.0
doxutx Jun 13, 2023
a9208e3
Merge branch 'master' of github.com:Tencent/TNN into dev-0.4.2
doxutx Jun 13, 2023
f5ccd97
update for atlas (#1939)
calvinphxu Jun 19, 2023
c9a6093
[UPD] Update scripts/build_macos.sh OPENVINO to new version
doxutx Jun 19, 2023
bb2d60c
[OPENVINO] Update openvino macos lib address
doxutx Jun 19, 2023
c95d539
[OPENVINO] fix build_macos.sh typo
doxutx Jun 20, 2023
4d0c0f6
[OPENVINO] Adjust openvino Mac Link
doxutx Jun 20, 2023
e544e94
[OPENVINO] remove tbb link on macos
doxutx Jun 20, 2023
07082e4
[SNPE] Update SNPE version to 2.11
doxutx Jul 4, 2023
93c77d0
[DEMO] Update Android Demo Settings to 2023 new version
doxutx Jul 4, 2023
e59c908
[DEMO] Update android demo to support Qualcomm SNPE
doxutx Jul 7, 2023
8aea575
[DEMO] Update Android SNPE demo
doxutx Jul 11, 2023
20a68a8
[TOOLS] Lower Cyclomatic Complexity: onnx2tnn part
doxutx Jul 19, 2023
ec8a953
[OPTIMIZER] remove unused MulitHeadAttention v1 Optimizer
doxutx Jul 20, 2023
bb953bf
[UPD] Lower Cyclomatic Complexity: layer part
doxutx Jul 20, 2023
20276bf
[ATLAS] Update doc & examples & codes for HUAWEI Atlas (#1946)
calvinphxu Jul 21, 2023
af491b1
[IOS][COREML] Fix ios CoreML build errors
doxutx Aug 16, 2023
4350595
[CUDA][ARM] Add arm64+CUDA compile script
doxutx Sep 6, 2023
a66300e
close fuse ffn optimizer
doxutx Sep 19, 2023
88bfb0b
[ATLAS] fix atlas code bugs
doxutx Sep 22, 2023
96e9ec5
Merge remote-tracking branch 'origin/master' into dev-0.4.2
doxutx Dec 4, 2023
a7605b8
[CUDA] Add TensorRT Swish Impl
doxutx Dec 4, 2023
8934bc7
[OP] Update Range OP TNN interepreter to support OLD TNN Proto
doxutx Jan 18, 2024
70836d0
[TRT] Add fallback to hand-written ROIAlign for TRT prev to 8.4
doxutx Feb 27, 2024
97e7c1b
[ATLAS] Update ATLAS, support new APIs like get input shape map
doxutx Feb 29, 2024
6be1b0d
[ATLAS] Update CMakeLists.txt for Atlas Platform
doxutx Feb 29, 2024
4d3dc00
[TRT] Disable TRT MatMul Plugin Cases, plugin can only be called via …
doxutx Mar 20, 2024
1e2b6a6
[OP] Update BiasAdd OP settings
doxutx Mar 23, 2024
f453576
[BUG][CUDA] Revert CUDA LayerNorm Grid.x Grid.y to fix >65535 bug on …
doxutx Mar 26, 2024
7cea315
[TRT][OP] Fix Upsample TRT LayerBuilder BUG for dim upsample under dy…
doxutx Mar 28, 2024
3bf8a7b
[ATLAS] Refact TNN ATLAS for Multiple Model
doxutx Apr 12, 2024
b9136bb
[TRT] Fix Upsample TRT LayerBuilder Plugin & 3D BUGs
doxutx Apr 20, 2024
49ed37c
[ATLAS] Fix Atlas func return BUG, remove destroy old desc code
doxutx May 11, 2024
5713190
fix layernorm and graph ir logic
seanxcwang May 15, 2024
dc16e53
[ATLAS] Set Atlas Default cxx11 abi to OFF
doxutx May 20, 2024
baff1f6
[ATLAS] Fix TNN Atlas Bugs
doxutx May 21, 2024
debcb38
[TRT] Add TRT Layer delete when layer creation return non-zero
doxutx Jun 18, 2024
1d535ec
[TRT] Fix TRT PadV2 LayerBuilder empty param->pads bug
doxutx Aug 2, 2024
c828a4b
[TRT] Disable out-dated TRT PadV2 Plugin
doxutx Aug 6, 2024
d7f6f79
[CUDA] Fix SplitV gridDim.y > 65535 case bug
doxutx Aug 28, 2024
0369671
[FIX] trt builder
Oct 21, 2024
d77345b
support trt10
Jul 25, 2024
64a3216
fix addmm op in trt10
Aug 16, 2024
2dcac71
fix pooling layer in trt10
Aug 16, 2024
6c67a5b
fix network->addShape return int64
Oct 31, 2024
5de3c1b
update
Nov 5, 2024
7b0cfce
fix pooling LOGE
Dec 18, 2024
4fbf1ce
fix addmm dim -1 error
Dec 18, 2024
29769d9
[CUDA] Update Cuda CMake Build Scripts for New cuda 12+ Version
doxutx Dec 18, 2024
ed23edc
[TRT] Add CUDA 10- compatible codes for Shape Related TRT layer builders
doxutx Dec 19, 2024
a0377a8
[CUDA] Set Default NVidia Jetson Series Driving Compile Switch to OFF
doxutx Dec 19, 2024
e577eac
[CUDA] Block Blackwell CUDA card compile flag
doxutx Dec 19, 2024
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
Prev Previous commit
Next Next commit
fix pooling layer in trt10
kexueyu authored and doxutx committed Dec 19, 2024
commit 2dcac711d887fdc7d0f644058d50c0cbb98a0209
Original file line number Diff line number Diff line change
@@ -112,10 +112,10 @@ ILayer* PoolingTRTPluginLayerBuilder::AddToNetwork(INetworkDefinition* network)
if (paramlist->pad_type == -1) {
if (paramlist->ceil_mode == 1) {
// layer->setPaddingMode(PaddingMode::kCAFFE_ROUND_UP);
LOGE("Caffe is not supported since 9.0\n");
LOGE("Caffe padding mode unsupported since TensorRT 9.0 but result correct in limited cases so far.\n");
} else {
// layer->setPaddingMode(PaddingMode::kCAFFE_ROUND_DOWN);
LOGE("Caffe is not supported since 9.0\n");
LOGE("Caffe padding mode unsupported since TensorRT 9.0 but result correct in limited cases so far.\n");
}
} else if (paramlist->pad_type == 0) {
layer->setPaddingMode(PaddingMode::kSAME_UPPER);