Jason
dc5b4be7a9
[Other] Enable to hidden INFO/WARNING log informations ( #1368 )
...
* Enable to hidden INFO/WARNING log informations
* Fix build error
---------
Co-authored-by: root <root@bjyz-sys-gpu-kongming3.bjyz.baidu.com >
2023-02-20 17:24:12 +08:00
Jack Zhou
f861095a53
[Functions] Fix functions comments ( #1126 )
...
* fix functions comments
* Add paddle lite backend
2023-01-12 18:57:24 +08:00
Jason
054dfec43a
[Other] Remove some build options ( #1090 )
...
* remove some flags
* add gpu check in cmake
2023-01-09 17:36:07 +08:00
Jack Zhou
d74e1209ae
[Diffusion] Add StableDiffusionInpaint pipeline ( #760 )
...
* Update Inpaint pipeline
* Update concat
* Add GaussianRandomKernel
* Update GaussianRandom
* Add vae endoder
* Add unet infer
* Add vae decoder predict
* add PrepareMaskAndMaskedImage
* Add imwrite
* Add time counter
* Fix pipeline
* use FDTensor move
* Fix scaled_linear dpm solver
* Add RGB2BGR
2022-12-02 19:30:32 +08:00
Jason
9d78b1d414
[Other] Fix compile error on linux aarch64 ( #752 )
...
Fix compile error on linux aarch64
2022-11-30 14:42:03 +08:00
Jack Zhou
d95094cfe5
[Diffusion] Add C++ dpm solver ( #714 )
...
* Add BetaForAlphaBar, ConvertModelOutput, SetTimesteps, and constructor for DPMSolverMultistepScheduler
* tmp
* Add DPMSolverFirstOrderUpdate
* Add ScaleModelInput
* Add MultiStepDPMSolverSecondOrderUpdate
* add MultiStepDPMSolverThirdOrderUpdate
* Add Step
* Add FASTDEPLOY_DECL
* Add AddNoise
* Fix operator
* update
* Fix DPMSolverMultistepScheduler
* Upgrade Slice
* Fix DPMSolverFirstOrderUpdate
* remove FASTDEPLOY_DECL
* Add config for dpm solver
2022-11-30 13:41:22 +08:00
Jack Zhou
82fc8a17f5
[Function] Fix slice function ( #724 )
...
Add ()
2022-11-28 17:32:06 +08:00
huangjianhui
312e1b097d
[Other]Refactor PaddleSeg with preprocessor && postprocessor && support batch ( #639 )
...
* Refactor PaddleSeg with preprocessor && postprocessor
* Fix bugs
* Delete redundancy code
* Modify by comments
* Refactor according to comments
* Add batch evaluation
* Add single test script
* Add ppliteseg single test script && fix eval(raise) error
* fix bug
* Fix evaluation segmentation.py batch predict
* Fix segmentation evaluation bug
* Fix evaluation segmentation bugs
Co-authored-by: Jason <jiangjiajun@baidu.com >
2022-11-28 15:50:12 +08:00
Jack Zhou
d0307192f9
[Function] Add slice function ( #719 )
...
* fix math functions
* add slice function
2022-11-28 15:33:33 +08:00
Jack Zhou
129dda7809
[Functions] Add quantile function ( #700 )
...
* Add sort function
* Add isfinite function
* upgrade isinf isnan
* Add Scalar to FDTensor
* Add floor, ceil function
* add cast functions
* Update out_tmp
* Update quantile
* add gather scatter along axis
* finish quantile function
* Add quantile unittest
* refresh code style for test source code
* Add comments
* Add full function
* Add scalar to fd tensor
* Add full unittest
* Add functions headers
* move fdtensor operators to fastdeploy namespace
2022-11-28 09:51:40 +08:00
zhoushunjie
97165faa81
update args
2022-11-25 02:25:09 +00:00
zhoushunjie
5555630dcd
Add split functions
2022-11-24 09:19:28 +00:00
zhoushunjie
6e2e646422
Add cumprod function
2022-11-24 06:56:47 +00:00
zhoushunjie
12af6b4464
Add abs functions
2022-11-24 04:02:00 +00:00
zhoushunjie
a14c55069f
Add linspace
2022-11-24 03:46:05 +00:00
zhoushunjie
9baf22ec92
add tile
2022-11-23 17:13:00 +00:00
zhoushunjie
f80775b451
Add clip function
2022-11-23 09:04:25 +00:00
zhoushunjie
1b32381201
Add sqrt, exp, round, log functions
2022-11-23 07:23:05 +00:00
zhoushunjie
5ce0fd29f8
Add maximum functions
2022-11-23 05:14:30 +00:00
Jack Zhou
de98163efa
[Functions] Add +-*/ operators and reshape for FDTensor ( #655 )
...
* Add +-*/ functions
* Add same dims test case for operations
* add broadcast 0
* Add broadcast dim2 testcase
* Add broadcast dim3 and dim4 testcase
* Add +-*/ operators
* Add mixed operation
* refresh code style
* Add reshape op
* update code style
2022-11-23 11:34:02 +08:00
Wang Xinyu
a36f5d3396
[Backend] cuda normalize and permute, cuda concat, optimized ppcls, ppdet & ppseg ( #546 )
...
* cuda normalize and permute, cuda concat
* add use cuda option for preprocessor
* ppyoloe use cuda normalize
* ppseg use cuda normalize
* add proclib cuda in processor base
* ppcls add use cuda preprocess api
* ppcls preprocessor set gpu id
* fix pybind
* refine ppcls preprocessing use gpu logic
* fdtensor device id is -1 by default
* refine assert message
Co-authored-by: heliqi <1101791222@qq.com >
2022-11-14 18:44:00 +08:00
Jason
f2fed7959b
[Other] Add namespace for functions ( #538 )
...
Add namespace for functions
2022-11-09 13:57:53 +08:00
Jason
e93bf6e35c
[Other] Add FDTensor function Pad ( #532 )
...
* Add InferShape func for all the vision processors
* fix infer shape of limit short
* Fix infer shape bug of stride_pad
* revert modify of processor
* add function pad
2022-11-08 21:45:31 +08:00
Jason
3589c0fa94
[Model] Refactor PaddleClas module ( #505 )
...
* Refactor the PaddleClas module
* fix bug
* remove debug code
* clean unused code
* support pybind
* Update fd_tensor.h
* Update fd_tensor.cc
* temporary revert python api
* fix ci error
* fix code style problem
2022-11-07 19:33:47 +08:00
Jack Zhou
70f664161f
[Functions] Add fd tensor concat ( #507 )
...
* Add fd tensor concat
* fix comment
2022-11-07 10:02:42 +08:00
Wang Xinyu
caa369f64a
[Backend] TRT cast GPU input from int64 to int32, output from int32 to int64, and Windows support building CUDA files ( #426 )
...
* TRT cast int64 to int32
* windows cmake build cuda src
* fix windows cmake error when build cuda src
* add a notice in windows gpu build doc
* cmake add cuda std=11
* TRT cast output from int32 to int64
* nits
* trt get original input output dtype
2022-10-28 13:38:06 +08:00
Jack Zhou
9c150f0bfb
Upgrade eigen func ( #253 )
...
* Add FDTensor copy and move assignment and constructor
* Upgrade the transpose to receive the output tensor same as input tensor
* Add note
* Add realloc for FDTensor
* Support output equals to input for softmax
* Remove FDTensor::Alloc
2022-09-20 10:58:07 +08:00
Jason
68523be411
Modify file structure to separate python and cpp code ( #223 )
...
Modify code structure
2022-09-14 15:44:13 +08:00