1. 04 3月, 2022 10 次提交
  2. 03 3月, 2022 5 次提交
    • F
      Move compare OPs to phi (#39970) · 0969a4eb
      From00 提交于
      * Move compare OPs to phi
      
      * Fix bug
      
      * Use BroadcastKernel and ElementwiseKernel in phi
      0969a4eb
    • X
      [phi] transfer pad kernel into phi and pass the test_pad_op (#40012) · 9f74b84e
      xiongkun 提交于
      * add pad forward
      
      * fix error
      
      * transfer pad and pass the test_pad_op
      9f74b84e
    • F
      [Phi] move gaussian_random (#39932) · 00bbb8c5
      furnace 提交于
      [Phi] move gaussian_random kernel
      00bbb8c5
    • N
      Modified Reduce for XPU2 (#38918) · 909d1e61
      niuliling123 提交于
      1. set xpu2 block_size = 64
      2. fix a bug when reduce_num is too large
      909d1e61
    • H
      Move bn to pten (#39347) · ebd0f512
      hong 提交于
      * add bn cpu version; test=develop
      
      * move batch norm to pten
      
      * move batch norm to pten; test=develop
      
      * fix bug; test=develop
      
      * fix func::tranpose depend bug; test=develop
      
      * fix compile bugs; test=develop
      
      * fix use_op batch_norm bug; test=develop
      
      * fix cudnn bn add relu test; test=develop
      
      * fix pten context build and double grad bug; test= develop
      
      * remve useless code; test=develop
      
      * add batch norm gpu fp16 support; test=develop
      
      * fix test bn op bug; test=develop
      
      * remove output dtype set; test=develop
      
      * fix bug; test=develop
      
      * fix bug; test=develop
      
      * fix applay pass to program bug; test=develop
      
      * revert to develop; test=develop
      
      * fix rocm bug; test=develop
      
      * revert operator to develop; test=develop
      
      * fix pre_commit; test=develop
      
      * fix statci check error; test=develop
      
      * resolve conflict; test=develop
      
      * ana batch norm bug;
      
      * revert batch norm op
      
      * resolve conlict
      
      * fix nan inf and speed bug; test=develop
      
      * fix bug; test=develop
      
      * fix error; test=develop
      
      * test expand op; test=develop
      
      * fix bug; test=develop
      
      * resolve confilct
      
      * resolve confilct; test=develop
      
      * polish code; test=develop
      
      * polish code; test=develop
      
      * change mutable data to ctx alloc; test=develop
      
      * make format same with ci; test=develop
      
      * fix format error with ci; test=develop
      ebd0f512
  3. 02 3月, 2022 8 次提交
    • H
      Move sgd to phi (#40045) · f3d54e2e
      hong 提交于
      * move sgd to phi; test=develop
      
      * update
      
      * add sgd kernel; test=develop
      f3d54e2e
    • Y
      [Phi]Move elementwise function to funcs directory (#39986) · 5898e9ab
      YuanRisheng 提交于
      * move elementwise function to funcs directory
      
      * fix compile bugs
      
      * modify according to comment
      5898e9ab
    • H
      Move transpose to pten (#39327) · 7a857924
      hong 提交于
      * immigrate_transpose_to_pten cpu kernel only; test=develop
      
      * fix bug; test=develop
      
      * add transpose cuda api
      
      * bug fix;
      
      * fix bugs
      
      * fix bugs; test=develop
      
      * bug fix;
      
      * move transepose to pten; test=develop
      
      * fix bug; test=develop
      
      * fix bugs; test=develop
      
      * add transpose grad fp16 support; test=develop
      
      * fix bug; test=develop
      
      * fix npu bug; test=develop
      
      * fix nemul = 0 bug; test=develop
      
      * add fp16 support; test=develop
      
      * fix data type register bug; test=develop
      
      * fix transpose bug; test=develop
      
      * update transpose
      
      * fix transpose bug; test=develop
      
      * remove useless code; test=develop
      
      * remove useless code; test=develop
      
      * fix transpose alias bug; test=develop
      
      * polish code; test=develop
      
      * resolve confict; test=develop
      
      * resolve confilct; test=develop
      
      * recover prepared operator; test=develop
      
      * fix bug; test=develop
      
      * polish code; test=develop
      
      * fix bug; test=develop
      
      * fix bug; test=develop
      7a857924
    • F
      Move BroadcastTensors OP to phi (#40047) · 2a5590a1
      From00 提交于
      * Move BroadcastTensors OP to phi
      
      * Remove mutable_data in impl
      
      * Move BilinearTensorProductInferMeta to multiary.h/cc
      2a5590a1
    • Z
      [bf16] add bf16 kernel: softmax & log_softmax (#39999) · 4a4215ff
      zhangbo9674 提交于
      * add softmax log_softmax
      
      * refine rocm
      
      * refine unittest
      4a4215ff
    • C
      【phi】migrate gather_tree,reduce_prod to phi (#39844) · 6af2729e
      crystal 提交于
      * move to phi
      
      * migrate gather_tree_op into phi
      
      * move reduce_prod tp phi
      
      * optimize code
      6af2729e
    • C
      [Phi] Unify complex type trait and fix real imag bug (#40036) · 0764fda2
      Chen Weihang 提交于
      * unify complex type trait and fix real imag bug
      
      * add unittest for type tratis
      0764fda2
    • zhouweiwei2014's avatar
      optimize CUDA implementaion of randint OP (#39952) · fb635089
      zhouweiwei2014 提交于
      * change CUDA implementaion of randint OP,move distribution common func to phi
      
      * fix CI
      
      * fix CI
      fb635089
  4. 01 3月, 2022 7 次提交
  5. 28 2月, 2022 2 次提交
    • S
      Move index sample (#39905) · 1b585b28
      seemingwang 提交于
      * graph engine demo
      
      * upload unsaved changes
      
      * fix dependency error
      
      * fix shard_num problem
      
      * py client
      
      * remove lock and graph-type
      
      * add load direct graph
      
      * add load direct graph
      
      * add load direct graph
      
      * batch random_sample
      
      * batch_sample_k
      
      * fix num_nodes size
      
      * batch brpc
      
      * batch brpc
      
      * add test
      
      * add test
      
      * add load_nodes; change add_node function
      
      * change sample return type to pair
      
      * resolve conflict
      
      * resolved conflict
      
      * resolved conflict
      
      * separate server and client
      
      * merge pair type
      
      * fix
      
      * resolved conflict
      
      * fixed segment fault; high-level VLOG for load edges and load nodes
      
      * random_sample return 0
      
      * rm useless loop
      
      * test:load edge
      
      * fix ret -1
      
      * test: rm sample
      
      * rm sample
      
      * random_sample return future
      
      * random_sample return int
      
      * test fake node
      
      * fixed here
      
      * memory leak
      
      * remove test code
      
      * fix return problem
      
      * add common_graph_table
      
      * random sample node &test & change data-structure from linkedList to vector
      
      * add common_graph_table
      
      * sample with srand
      
      * add node_types
      
      * optimize nodes sample
      
      * recover test
      
      * random sample
      
      * destruct weighted sampler
      
      * GraphEdgeBlob
      
      * WeightedGraphEdgeBlob to GraphEdgeBlob
      
      * WeightedGraphEdgeBlob to GraphEdgeBlob
      
      * pybind sample nodes api
      
      * pull nodes with step
      
      * fixed pull_graph_list bug; add test for pull_graph_list by step
      
      * add graph table;name
      
      * add graph table;name
      
      * add pybind
      
      * add pybind
      
      * add FeatureNode
      
      * add FeatureNode
      
      * add FeatureNode Serialize
      
      * add FeatureNode Serialize
      
      * get_feat_node
      
      * avoid local rpc
      
      * fix get_node_feat
      
      * fix get_node_feat
      
      * remove log
      
      * get_node_feat return  py:bytes
      
      * merge develop with graph_engine
      
      * fix threadpool.h head
      
      * fix
      
      * fix typo
      
      * resolve conflict
      
      * fix conflict
      
      * recover lost content
      
      * fix pybind of FeatureNode
      
      * recover cmake
      
      * recover tools
      
      * resolve conflict
      
      * resolve linking problem
      
      * code style
      
      * change test_server port
      
      * fix code problems
      
      * remove shard_num config
      
      * remove redundent threads
      
      * optimize start server
      
      * remove logs
      
      * fix code problems by reviewers' suggestions
      
      * move graph files into a folder
      
      * code style change
      
      * remove graph operations from base table
      
      * optimize get_feat function of graph engine
      
      * fix long long count problem
      
      * remove redandunt graph files
      
      * remove unused shell
      
      * recover dropout_op_pass.h
      
      * fix potential stack overflow when request number is too large & node add & node clear & node remove
      
      * when sample k is larger than neigbor num, return directly
      
      * using random seed generator of paddle to speed up
      
      * fix bug of random sample k
      
      * fix code style
      
      * fix code style
      
      * add remove graph to fleet_py.cc
      
      * fix blocking_queue problem
      
      * fix style
      
      * fix
      
      * recover capacity check
      
      * add remove graph node; add set_feature
      
      * add remove graph node; add set_feature
      
      * add remove graph node; add set_feature
      
      * add remove graph node; add set_feature
      
      * fix distributed op combining problems
      
      * optimize
      
      * remove logs
      
      * fix MultiSlotDataGenerator error
      
      * cache for graph engine
      
      * fix type compare error
      
      * more test&fix thread terminating problem
      
      * remove header
      
      * change time interval of shrink
      
      * use cache when sample nodes
      
      * remove unused function
      
      * change unique_ptr to shared_ptr
      
      * simplify cache template
      
      * cache api on client
      
      * fix
      
      * reduce sample threads when cache is not used
      
      * reduce cache memory
      
      * cache optimization
      
      * remove test function
      
      * remove extra fetch function
      
      * graph-engine data transfer optimization
      
      * support graph_split load&query
      
      * remove logs
      
      * change shards to pointer vector
      
      * use inference
      
      * remove test code
      
      * renorm op
      
      * simplify renorm op
      
      * recover local changes
      
      * recover renorm op kernel
      
      * fix init
      
      * add blanklines in renorm doc
      
      * fix import
      
      * fix import
      
      * add renorm to init.py
      
      * merge
      
      * move index_sample op
      
      * Delete api.h
      
      * Delete api.cc
      
      * fix
      
      * remove logs
      
      * recover infer shape of grad
      
      * recover changes
      
      * change shape
      
      * fix label
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      Co-authored-by: NHuang Zhengjie <270018958@qq.com>
      Co-authored-by: NWeiyue Su <weiyue.su@gmail.com>
      Co-authored-by: Nsuweiyue <suweiyue@baidu.com>
      Co-authored-by: Nluobin06 <luobin06@baidu.com>
      Co-authored-by: Nliweibin02 <liweibin02@baidu.com>
      Co-authored-by: Ntangwei12 <tangwei12@baidu.com>
      1b585b28
    • F
      [Phi] move truncated_gaussian_random kernel (#39971) · 23aa7a36
      furnace 提交于
      * [Phi] move truncated_gaussian_random, copy kernels
      
      * [Phi] move truncated_gaussian_random, kernel register
      
      * [Phi] move truncated_gaussian_random, delete useless codes
      23aa7a36
  6. 26 2月, 2022 3 次提交
    • Z
      [Pten] Refactor the copy kernel (#39731) · 9a7b9eda
      zyfncg 提交于
      * remove SetAllocationForOutputTenosr
      
      * add place param for copy kernel
      
      * recover SetAllocationForOutputTenosr
      
      * polish code
      
      * fix empty_dev api bug
      
      * test=allcases
      
      * test=allcases
      
      * fix bug
      
      * recover empty
      
      * recover modify
      9a7b9eda
    • F
      Move GumbelSoftmax OP to phi (#39873) · 581b2c64
      From00 提交于
      * Move GumbelSoftmax OP to phi
      
      * platform::errors -> phi::errors; GumbelSoftmaxGradInferMeta -> backend.h/cc
      
      * Use axis util in kernel impl
      
      * Remove namespace platform::errors
      
      * Use GetCPUEngine in Device Context
      581b2c64
    • F
      Move BilinearTensorProduct OP to phi (#39903) · de8f2748
      From00 提交于
      * Move BilinearTensorProduct OP to phi
      
      * Set dtype for Infermeta
      de8f2748
  7. 25 2月, 2022 5 次提交