- 21 3月, 2019 1 次提交
-
-
由 Wojciech Uss 提交于
* Add enabling quantization test=develop * remove unused (here) function
-
- 18 3月, 2019 1 次提交
-
-
由 Wojciech Uss 提交于
* Add cpu_quantize_pass for C-API quantization test=develop * add cpu_quantize_pass test * fix lint: add include memory unorderd_map and unordered_set test=develop * fuse_relu 1 test=develop * tuned 2 without squash * fixes test=develop * remove unused vars test=develop * refactored test=develop * fix lint c-style cast -> C++ style cast test=develop * remove QuantMax and c style casts test=develop * last usage of QuantMax removed test=develop * Fix Analysis Predictor UT Check if memory_optimize_pass has already been added to the analysis config before adding a new one, so that it is not added multiple times. test=develop * change map to unordered_map fix the forgotten part of cpu_quantize_pass_tester.cc test=develop * removed quantized attribute * fixed cpu_quantize_pass_tester and op attr comments test=develop * removed redundant line test=debug * removed gmock test=develop * fix after merge
-
- 08 3月, 2019 7 次提交
-
-
由 nhzlx 提交于
add if use static engine for trt test=develop
-
由 nhzlx 提交于
test=develop
-
由 nhzlx 提交于
test=develop
-
由 nhzlx 提交于
1). add static trt load model 2). fix bug: when device_id is not 0, the trt will have a bug test=develop
-
由 nhzlx 提交于
add simple static mode loading test=develop
-
由 nhzlx 提交于
test=develop
-
由 nhzlx 提交于
1. bind trt input and output to fluid tensors
-
- 07 3月, 2019 1 次提交
-
-
由 nhzlx 提交于
add if use static engine for trt test=develop
-
- 27 2月, 2019 1 次提交
-
-
由 nhzlx 提交于
test=develop
-
- 26 2月, 2019 1 次提交
-
-
由 nhzlx 提交于
test=develop
-
- 22 2月, 2019 1 次提交
-
-
由 nhzlx 提交于
1). add static trt load model 2). fix bug: when device_id is not 0, the trt will have a bug test=develop
-
- 18 2月, 2019 1 次提交
-
-
由 nhzlx 提交于
add simple static mode loading test=develop
-
- 15 2月, 2019 1 次提交
-
-
由 nhzlx 提交于
test=develop
-
- 14 2月, 2019 2 次提交
-
-
由 Wojciech Uss 提交于
This also fixes linking to libpaddle_fluid.so built in debug mode test=develop
-
由 nhzlx 提交于
1. bind trt input and output to fluid tensors
-
- 13 2月, 2019 1 次提交
-
-
由 Gabor Buella 提交于
* Remove some superfluous std::move calls The std:move triggered a build error (with -Werror): ``` [ 9%] Building CXX object paddle/fluid/memory/allocation/CMakeFiles/allocator_facade.dir/allocator_facade.cc.o /home/tej/code/gbuella_paddle/paddle/fluid/memory/allocation/allocator_facade.cc:86:29: error: moving a temporary object prevents copy elision [-Werror,-Wpessimizing-move] [this] { return std::move(CreateAllocatorWithChunk()); }, capacity); ^ /home/tej/code/gbuella_paddle/paddle/fluid/memory/allocation/allocator_facade.cc:86:29: note: remove std::move call here [this] { return std::move(CreateAllocatorWithChunk()); }, capacity); ^~~~~~~~~~ ~ 1 error generated. ``` See: https://reviews.llvm.org/D7633 * Remove a superfluous lambda capture from framework/operator.h ``` [ 10%] Building CXX object paddle/fluid/platform/CMakeFiles/device_context.dir/init.cc.o In file included from /home/tej/code/gbuella_paddle/paddle/fluid/platform/init.cc:19: /home/tej/code/gbuella_paddle/paddle/fluid/framework/operator.h:229:21: error: lambda capture 'this' is not used [-Werror,-Wunused-lambda-capture] [this](Variable* var) { return var; }); ^~~~ 1 error generated. ``` Changing it to `return it->second;`, as is in the function below. * Rethrow an exception (instead of copying it) ``` [ 11%] Building CXX object paddle/fluid/framework/CMakeFiles/operator.dir/operator.cc.o /home/tej/code/gbuella_paddle/paddle/fluid/framework/operator.cc:191:13: error: local variable 'exception' will be copied despite being thrown by name [-Werror,-Wreturn-std-move] throw exception; ^~~~~~~~~ /home/tej/code/gbuella_paddle/paddle/fluid/framework/operator.cc:191:13: note: call 'std::move' explicitly to avoid copying throw exception; ^~~~~~~~~ std::move(exception) ``` See https://reviews.llvm.org/D43322 for an explanation of this diagnostic message. * Remove an unused variable ``` /home/tej/code/gbuella_paddle/paddle/fluid/framework/operator.cc:884:16: error: private field 'scope_' is not used [-Werror,-Wunused-private-field] const Scope& scope_; ^ ``` * struct ComputationOpHandle -> class ComputationOpHandle ``` [ 13%] Building CXX object paddle/fluid/framework/details/CMakeFiles/memory_early_delete_pass.dir/memory_early_delete_pass.cc.o In file included from /home/tej/code/gbuella_paddle/paddle/fluid/framework/details/memory_early_delete_pass.cc:21: /home/tej/code/gbuella_paddle/paddle/fluid/framework/details/reference_count_pass_helper.h:30:1: error: class 'ComputationOpHandle' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Werror,-Wmismatched-tags] class ComputationOpHandle; ^ /home/tej/code/gbuella_paddle/paddle/fluid/framework/details/computation_op_handle.h:29:8: note: previous use is here struct ComputationOpHandle : public OpHandleBase { ^ /home/tej/code/gbuella_paddle/paddle/fluid/framework/details/reference_count_pass_helper.h:30:1: note: did you mean struct here? class ComputationOpHandle; ^~~~~ struct 1 error generated. ``` * Fix name() methods under fluid/operators ``` In file included from /home/tej/code/gbuella_paddle/paddle/fluid/operators/jit/gen/act.cc:15: In file included from /home/tej/code/gbuella_paddle/paddle/fluid/operators/jit/gen/act.h:19: /home/tej/code/gbuella_paddle/paddle/fluid/operators/jit/gen/jitcode.h:71:23: error: 'name' overrides a member function but is not marked 'override' [-Werror,-Winconsistent-missing-override] virtual const char* name() const = 0; ^ /home/tej/code/gbuella_paddle/paddle/fluid/operators/jit/gen_base.h:31:23: note: overridden virtual function is here virtual const char* name() const = 0; ^ ``` test=develop
-
- 02 2月, 2019 2 次提交
-
-
由 peizhilin 提交于
test=develop
-
由 Gabor Buella 提交于
test=develop size_t is an unsigned integer, with a conversion rank larger than int, therefore in the following expression the int value was promoted to size_t, making it a subtraction of unsigned values. The result of such a subtraction is also an unsigned value.
-
- 31 1月, 2019 1 次提交
-
-
由 Yan Chunwei 提交于
-
- 29 1月, 2019 1 次提交
-
-
由 Yan Chunwei 提交于
-
- 26 1月, 2019 2 次提交
-
-
由 nhzlx 提交于
test=develop
-
由 Yan Chunwei 提交于
-
- 25 1月, 2019 1 次提交
-
-
由 nhzlx 提交于
test=develop
-
- 24 1月, 2019 1 次提交
-
-
由 nhzlx 提交于
1. graph and program_desc alignment 2. trt stream test=develop
-
- 23 1月, 2019 1 次提交
-
-
由 tensor-tang 提交于
test=develop
-
- 21 1月, 2019 1 次提交
-
-
由 Yan Chunwei 提交于
-
- 16 1月, 2019 1 次提交
-
-
由 nhzlx 提交于
fix comments test=develop
-
- 09 1月, 2019 1 次提交
-
-
由 nhzlx 提交于
test=develop
-
- 08 1月, 2019 2 次提交
-
-
由 tensor-tang 提交于
test=develop
-
由 superjomn 提交于
test=develop
-
- 07 1月, 2019 1 次提交
-
-
由 Yan Chunwei 提交于
-
- 26 12月, 2018 2 次提交
- 24 12月, 2018 2 次提交
- 17 12月, 2018 1 次提交
-
-
由 nhzlx 提交于
test=develop
-
- 10 12月, 2018 1 次提交
-
-
由 superjomn 提交于
test=develop
-
- 08 12月, 2018 1 次提交
-
-
由 bingyanghuang 提交于
* Choose to turn on use_mkldnn attribute v1 * Fix mkldnn_op empty bug * format change test=develop * fix ci test=develop * fix ci test and add test in dam test=develop * add example to dam compare test test=develop * review changes test=develop
-