1. 29 9月, 2022 1 次提交
    • Z
      [Hackathon No.18] 为 Paddle 新增 frexp API (#46401) · 1e2af54c
      Zheng_Bicheng 提交于
      * 之前的pr合并了大量错误代码,重新提交一份
      
      * 之前的pr合并了大量错误代码,重新提交一份
      
      * 修正格式问题
      
      * 改回原来的格式
      
      * 按照要求修改
      
      * 按照要求修改格式
      
      * 修复注释的问题
      
      * 更新格式
      
      * 测试自动格式化
      
      * 修正英文注释
      
      * fix docs build error
      
      * pre-commit
      
      * for docs build
      
      * for docs build
      
      * 修复mantissa计算错误的bug
      
      * 修复误判exponent可能存在负数,导致计算量增加的情况
      Co-authored-by: NLigoml <39876205+Ligoml@users.noreply.github.com>
      1e2af54c
  2. 09 9月, 2022 1 次提交
  3. 08 9月, 2022 1 次提交
  4. 31 8月, 2022 2 次提交
  5. 30 8月, 2022 1 次提交
  6. 29 8月, 2022 1 次提交
  7. 25 8月, 2022 1 次提交
  8. 17 8月, 2022 1 次提交
  9. 11 8月, 2022 1 次提交
  10. 09 8月, 2022 1 次提交
    • S
      [geometric]Add paddle.geometric.send_u_recv API (#44580) · 34b43555
      Siming Dai 提交于
      * change out_size to INTArray
      
      * fix out_size eager bug
      
      * add unittest for out_size tensor
      
      * add deprecated for paddle.incubate.graph_send_recv, add paddle.geometric.send_u_recv and unittests
      
      * fix lowest bug
      
      * fix according review comment
      
      * add default value in yaml
      
      * change api file name
      
      * change name
      34b43555
  11. 03 8月, 2022 1 次提交
  12. 29 7月, 2022 1 次提交
  13. 28 6月, 2022 1 次提交
  14. 21 6月, 2022 1 次提交
  15. 10 6月, 2022 1 次提交
  16. 05 6月, 2022 1 次提交
    • S
      【code format check upgrade】 step2:yapf (#42944) · a072fca8
      Sing_chan 提交于
      * use yapf to format all python file
      
      * yapf exclude two unittests file for they rely on writing and reading file, and format will break them
      
      * disable diff_py_file because too many diff files cause command following failed
      a072fca8
  17. 01 6月, 2022 1 次提交
  18. 30 5月, 2022 1 次提交
    • T
      【PaddlePaddle Hackathon 2】15 新增 API Nanmedian (#42385) · f87fa3c0
      thunder95 提交于
      * nanmedian op
      
      * 修改cuda kernel的bug
      
      * 修复count_if在其他硬件平台不兼容
      
      * 修复某些cpu硬件不兼容
      
      * 修复某些cpu硬件不兼容
      
      * 修复isnan判断
      
      * 兼容numpy低版本不支持全部nan的情况
      
      * 兼容numpy低版本不支持全部nan的情况
      
      * fix code example
      
      * fix api comment error
      
      * 修改反向传播逻辑以及c++处理逻辑
      
      * 完成修改建议
      
      * typo pre_dim
      
      * update en docs, test=document_fix
      
      * remove numpy in en doc, test=document_fix
      
      * add r,test=document_fix
      
      * 添加api到all
      
      * follow advice from chenwhql
      f87fa3c0
  19. 20 5月, 2022 1 次提交
    • X
      [Hackathon No.5] tril_indices OP (#41639) · 75db5b86
      xiaoguoguo626807 提交于
      * add tril_indices cpu kernal
      
      * modify tril_indice cpu op
      
      * modify bug
      
      * modify bug
      
      * add tril_indices python api
      
      * add tril_indices python api
      
      * resolve conflict
      
      * add tril_indices test
      
      * modify details
      
      * add tril_indices.cu
      
      * pythonapi pass
      
      * save tril_indices
      
      * CPU tril_indices pass
      
      * delete vlog
      
      * modify test_tril_indices_op.py
      
      * delete tril_indices_kernel.cc.swp
      
      * delete tril_indice.cu
      
      * modify code style
      
      * add newline in creation.py
      
      * modify creation.py linux newline
      
      * delete annotation
      
      * check code style
      
      * check .py style add final_state??
      
      * modify code style
      
      * add gpu_tril_indices
      
      * modify gpu_compiled_juage
      
      * modify gpu judge
      
      * code style
      
      * add test example
      
      * modify english document
      
      modify english document
      
      modify english document
      
      modify document
      
      modify document
      
      * modify pram name
      
      * modify pram name
      
      * modify pram
      
      * reduce test ex
      75db5b86
  20. 10 5月, 2022 1 次提交
  21. 20 4月, 2022 1 次提交
    • B
      【PaddlePaddle Hackathon 2】9、为 Paddle 新增 logspace API (#41261) · a3c50c42
      BrilliantYuKaimin 提交于
      * 增加logspace的算子描述
      
      * 增加logspace的形状推断
      
      * 增加logspace核函数实现
      
      * 在python中增加logspace接口
      
      * 增加logspace单测
      
      * 增加logspace
      
      * Update logspace_kernel.cu
      
      * Update logspace_op.cc
      
      * 调整代码格式
      
      * Update doc of logspace
      
      * Update tensor.py
      
      * Update logspace_op.cc
      
      * Update logspace_kernel.cc
      
      * Update logspace_kernel.cu
      
      * Update test_logspace.py
      
      * 调整 logspace 的位置
      
      * 调整代码格式
      a3c50c42
  22. 15 4月, 2022 1 次提交
  23. 12 4月, 2022 1 次提交
  24. 06 4月, 2022 2 次提交
    • Z
      Add paddle.sparse and three Sparse API (#41276) · 1dd82728
      zhangkaihuo 提交于
      1dd82728
    • L
      【PaddlePaddle Hackathon 2】8、为 Paddle 新增 nanmean API (#40472) · 1d43e2da
      Li-fAngyU 提交于
      * Update __init__.py
      
      * Update math.py
      
      * Create test_nanmean_api.py
      
      * Update __init__.py
      
      * Update __init__.py
      
      * Update math.py
      
      * Update test_nanmean_api.py
      
      * Update __init__.py
      
      * Update math.py
      
      * Update test_nanmean_api.py
      
      * Update test_nanmean_api.py
      
      * Update test_nanmean_api.py
      
      * Update math.py
      
      * Update test_nanmean_api.py
      
      * Update math.py
      
      Update the nanmean example code
      
      * Update math.py
      
      * Update math.py
      
      * Update math.py
      
      Remove redundant code in nanmean
      
      * Update math.py
      
      change default keepdim = False
      
      * Update test_nanmean_api.py
      
      add nan into self.x
      
      * Update test_nanmean_api.py
      
      rerun CI check
      
      * Update test_nanmean_api.py
      
      * update code of nanmean in python/paddle/tensor/math.py and test_nanmean_api.py
      
      * Update test_nanmean_api.py
      
      update code format
      
      * Update test_nanmean_api.py
      
      update code format
      
      * Update test_nanmean_api.py
      
      add check grad code.
      
      * Update math.py
      
      update nanmean's describe of Args x
      
      * Update test_nanmean_api.py
      
      update format and release the test_case(self.x, keepdim=True) in check grad code.
      
      * Update test_nanmean_api.py
      
      Update gradient checking method
      
      * Update test_nanmean_api.py
      
      update code format
      
      * Update test_nanmean_api.py 
      
      Update code format and copyright in test_nanmean_api.py
      
      * Update math.py
      
      update arguments describe and code example
      
      * Update math.py
      
      修改了nanmean的axis参数的文档描述。
      
      * Update math.py
      
      updata nanmean's sample code (:name: code-example1)
      
      * Update math.py
      
      修改nanmean的example code 错误
      
      * Update math.py
      
      update example code
      
      * Update math.py
      
      update example code of nanmean
      1d43e2da
  25. 02 4月, 2022 1 次提交
  26. 22 2月, 2022 1 次提交
  27. 15 2月, 2022 1 次提交
    • R
      [PluggableDevice] Add custom runtime support (#38740) · 3e7825f3
      ronnywang 提交于
      * [CustomRuntime] Add DeviceManager
      
      * [CustomRuntime] Add DeviceInterface
      
      * [CustomRuntime] Add Stream, Event, DeviceGuard, CallbackManager
      
      * [CustomRuntime] Add plug-in device
      
      * [CustomRuntime] Memory module support PluggableDevice
      
      * [CustomRuntime] Add WITH_PLUGGABLE_DEVICE cmake option
      
      * update
      
      * [API] update API doc based on comments, test=develop
      Co-authored-by: Nqili93 <qili93@qq.com>
      3e7825f3
  28. 31 12月, 2021 4 次提交
  29. 30 12月, 2021 1 次提交
  30. 28 12月, 2021 2 次提交
  31. 27 12月, 2021 1 次提交
    • S
      fix renorm (#38459) · b0c7144a
      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
      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>
      b0c7144a
  32. 24 12月, 2021 3 次提交
    • W
      add nansum api to math (#38137) · 6554cc10
      wangguanqun 提交于
      * add nansum api
      
      * delete layerhelper
      
      * add nansum to all and tensor_method_func
      
      * update doc
      
      * update doc
      
      * update doc
      6554cc10
    • S
      renorm op (#38130) · 6982871d
      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
      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>
      6982871d
    • Z
      new API inner&outer (#37706) · b463dff4
      zhiboniu 提交于
      b463dff4