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

update #22

Merged
merged 57 commits into from
Aug 2, 2021
Merged

update #22

merged 57 commits into from
Aug 2, 2021

Commits on Jul 28, 2021

  1. apply pass strategy to sub graph (#34158)

    When Graph has sub-graph, apply pass to it and all sub-graph. And add single test script .
    thisjiang authored Jul 28, 2021
    Configuration menu
    Copy the full SHA
    5e27d16 View commit details
    Browse the repository at this point in the history
  2. [NPU] add NPU ops of compare, test=develop (#34365)

    * [NPU] add NPU ops&uts of compare, test=develop
    
    * testing
    
    * try style-format
    
    * [NPU] update compare_op_npu uts
    
    * [NPU] fix code sytle of test_compare_op_npu.py
    Aganlengzi authored Jul 28, 2021
    Configuration menu
    Copy the full SHA
    68b4a2c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a59f215 View commit details
    Browse the repository at this point in the history
  4. graph_to_program save parameter and stop_gradient information (#33771)

    This PR added optional boolean is_parameter and stop_gradient in the VarDesc proto, and remove them during save_inference_model
    thisjiang authored Jul 28, 2021
    Configuration menu
    Copy the full SHA
    8a7dee3 View commit details
    Browse the repository at this point in the history
  5. [CPU-PSLIB] Fix bug for consistency insepection of op's embedding nam…

    …e and sparse table name in config_fleet.py (#34441)
    WorgenZhang authored Jul 28, 2021
    Configuration menu
    Copy the full SHA
    f1654de View commit details
    Browse the repository at this point in the history
  6. graph_to_program topology sort (#33949)

    See #33949 for details
    thisjiang authored Jul 28, 2021
    Configuration menu
    Copy the full SHA
    167523e View commit details
    Browse the repository at this point in the history
  7. [Paddle-TRT] Fix TRT8 cuda error before program exit (#34403)

    * trt buildEngineWithConfig is deprecated
    
    * add trt version control
    zlsh80826 authored Jul 28, 2021
    Configuration menu
    Copy the full SHA
    995195f View commit details
    Browse the repository at this point in the history
  8. fix optimizer.py (#34431)

    sljlp authored Jul 28, 2021
    Configuration menu
    Copy the full SHA
    0fb15d9 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    9f60492 View commit details
    Browse the repository at this point in the history
  10. [NPU] Support ScaleTensor for scale npu kernel (#34418)

    * support ScaleTensor for scale npu kernel
    
    * add more tests for adam npu
    
    * fix compile
    
    * fix unittest
    
    * refine adam optimizer
    zhiqiu authored Jul 28, 2021
    Configuration menu
    Copy the full SHA
    f17ba93 View commit details
    Browse the repository at this point in the history
  11. fix ci bug (#34445)

    sneaxiy authored Jul 28, 2021
    Configuration menu
    Copy the full SHA
    0b2e510 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    a83a368 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    54cc065 View commit details
    Browse the repository at this point in the history
  14. Support C++ import python on windows for paddle (#34312)

    * Support C++ import python on windows for paddle
    
    * Support C++ import python on windows for paddle
    zhwesky2010 authored Jul 28, 2021
    Configuration menu
    Copy the full SHA
    cf12ea5 View commit details
    Browse the repository at this point in the history
  15. [Dy2Stat]Add build_strategy in @to_static to support open pass (#34347)

    * Add build_strategy in @to_static to support open pass
    
    * fix os.environ
    
    * add timeout
    
    * disable test_build_strategy on openblas
    Aurelius84 authored Jul 28, 2021
    Configuration menu
    Copy the full SHA
    eb27d8b View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2021

  1. Configuration menu
    Copy the full SHA
    92d8fed View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e958316 View commit details
    Browse the repository at this point in the history
  3. Tile supported (#34388)

    * tile op
    
    * more uts
    
    * disable tile if trt6.0
    
    * typo
    
    * fix timeout issue
    
    * opteller
    
    * opteller remove duplicate code
    
    * comments.	test=document_fix
    
    * modify PADDLE_ENFORCE.
    
    * fix reduce_mean issue
    b3602sss authored Jul 29, 2021
    Configuration menu
    Copy the full SHA
    cffa15c View commit details
    Browse the repository at this point in the history
  4. fix test scope (#34450)

    kuizhiqing authored Jul 29, 2021
    Configuration menu
    Copy the full SHA
    d3dae0c View commit details
    Browse the repository at this point in the history
  5. add parameter of input in model.summary (#34165)

    * add input option in model.summary
    wangna11BD authored Jul 29, 2021
    Configuration menu
    Copy the full SHA
    40bd7a7 View commit details
    Browse the repository at this point in the history
  6. fix lrn bug when shape=0

    huangjun12 authored and chajchaj committed Jul 29, 2021
    Configuration menu
    Copy the full SHA
    104c82b View commit details
    Browse the repository at this point in the history
  7. fix unit test bug

    huangjun12 authored and chajchaj committed Jul 29, 2021
    Configuration menu
    Copy the full SHA
    9e1af38 View commit details
    Browse the repository at this point in the history
  8. fix ci coverage bug

    huangjun12 authored and chajchaj committed Jul 29, 2021
    Configuration menu
    Copy the full SHA
    b451ff2 View commit details
    Browse the repository at this point in the history
  9. add persistent_workers (#34017)

    * add persistent_workers. test=develop
    heavengate authored Jul 29, 2021
    Configuration menu
    Copy the full SHA
    76710e5 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    d71b9ba View commit details
    Browse the repository at this point in the history
  11. Enable FLAGS_convert_all_blocks (#34452)

    As the title
    zhhsplendid authored Jul 29, 2021
    Configuration menu
    Copy the full SHA
    76f94f8 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    b56dbe0 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    02cc3c5 View commit details
    Browse the repository at this point in the history
  14. fix paddle.summary's bug when outputs contains non-tensor (#34160)

    * fix paddle.summary's bug when output contains non-tensor
    HydrogenSulfate authored Jul 29, 2021
    Configuration menu
    Copy the full SHA
    b7fac0f View commit details
    Browse the repository at this point in the history
  15. recover capacity check (#34478)

    * 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
    
    * fix blocking_queue problem
    
    * fix style
    
    * fix
    
    * recover capacity check
    
    Co-authored-by: Huang Zhengjie <270018958@qq.com>
    Co-authored-by: Weiyue Su <weiyue.su@gmail.com>
    Co-authored-by: suweiyue <suweiyue@baidu.com>
    Co-authored-by: luobin06 <luobin06@baidu.com>
    Co-authored-by: liweibin02 <liweibin02@baidu.com>
    Co-authored-by: tangwei12 <tangwei12@baidu.com>
    7 people authored Jul 29, 2021
    Configuration menu
    Copy the full SHA
    b9d6c98 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    9d985ca View commit details
    Browse the repository at this point in the history
  17. add fix op run order pass (#34427)

    * add fix op run order pass
    
    * add ut for fix_op_run_order
    
    * fix ci error
    
    * improve coverage
    
    * improve coverge again and fix cpu test case
    
    * follow some comments
    sneaxiy authored Jul 29, 2021
    Configuration menu
    Copy the full SHA
    79e758c View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2021

  1. Configuration menu
    Copy the full SHA
    423ea97 View commit details
    Browse the repository at this point in the history
  2. fix lr in param group (#34468)

    * fix lr in param group
    
    * add unittest for adamw
    jerrywgz authored Jul 30, 2021
    Configuration menu
    Copy the full SHA
    3041605 View commit details
    Browse the repository at this point in the history
  3. Support setitem by None index (#34442)

    * Support setitem by None index
    
    * remove unreachable code
    
    * Add Checkpoint for set_value_op because add a new attribute
    zyfncg authored Jul 30, 2021
    Configuration menu
    Copy the full SHA
    f775bfc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6c09496 View commit details
    Browse the repository at this point in the history
  5. fix force kill for elastic (#34488)

    * fix force kill for elastic
    kuizhiqing authored Jul 30, 2021
    Configuration menu
    Copy the full SHA
    ba19398 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5571c98 View commit details
    Browse the repository at this point in the history
  7. [NPU] add clip and clip_grad on NPU, test=develop (#34429)

    * [NPU] add clip and clip_grad on NPU, test=develop
    
    * address review comments, test=develop
    
    * update, test=develop
    qili93 authored Jul 30, 2021
    Configuration menu
    Copy the full SHA
    b68e36d View commit details
    Browse the repository at this point in the history
  8. Added expand_v2 BF16/FP32 FWD/BWD kernels (#34284)

    * added expand_v2 bf16/fp32 kernel
    
    * minor change
    
    * CI fix
    
    * added missing test file
    
    * added formatting
    
    * reduced binary size
    
    * CI fix
    jakpiase authored Jul 30, 2021
    Configuration menu
    Copy the full SHA
    41c4f72 View commit details
    Browse the repository at this point in the history
  9. add trainer desc config to distributed strategy (#34457)

    * add trainer desc config to distributed strategy
    
    * code style modified
    esythan authored Jul 30, 2021
    Configuration menu
    Copy the full SHA
    e6aacd1 View commit details
    Browse the repository at this point in the history
  10. Added reshape, reshape2, squeeze and squeeze2 BF16/FP32 FWD/BWD kerne…

    …ls (#34219)
    
    * test version of matmul_v2
    
    * added matmul_v2 grad kernel
    
    * minor changes
    
    * minor changes
    
    * minor change for CI approval
    
    * CI fix
    
    * CI fix
    
    * added squeeze and squeeze2 kernels
    
    * CI fix
    
    * CI fix
    
    * CI fix
    
    * disabled tests when compiled with cuda
    
    * added setting format_tag by strides
    
    * added sigmoid BF16 FWD/BWD and gelu BF16 BWD
    
    * changes after review
    
    * Revert "added sigmoid BF16 FWD/BWD and gelu BF16 BWD"
    
    This reverts commit 6e3f767.
    
    * Revert "Merge branch 'matmul_v2_grad' into squeeze2_op"
    
    This reverts commit 06fcf67, reversing
    changes made to 6e3f767.
    
    * minor change
    
    * added reshape1/2 kernels
    
    * moved some functions into private block
    
    * CI fix
    
    * CI fix
    
    * CI fix
    jakpiase authored Jul 30, 2021
    Configuration menu
    Copy the full SHA
    22c4c18 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    87148a5 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    2ad1e4c View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    06b55ea View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    44e4d57 View commit details
    Browse the repository at this point in the history
  15. Added matmul_v2 BF16/FP32 BWD kernel (#34192)

    * test version of matmul_v2
    
    * added matmul_v2 grad kernel
    
    * minor changes
    
    * minor changes
    
    * minor change for CI approval
    
    * CI fix
    
    * CI fix
    
    * trigger CI
    
    * changes after review, not working yet
    
    * moved ops to anonymous namespaces
    
    * changes after review
    jakpiase authored Jul 30, 2021
    Configuration menu
    Copy the full SHA
    0be7157 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    72a9c8f View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2021

  1. add resnet50 trt tests in pr-ci-inference (#34465)

    * add resnet50 trt test in pr-ci-inference test
    OliverLPH authored Jul 31, 2021
    Configuration menu
    Copy the full SHA
    8b72a1a View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2021

  1. Configuration menu
    Copy the full SHA
    41e2d41 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2021

  1. Configuration menu
    Copy the full SHA
    a6f55e4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    393a0b1 View commit details
    Browse the repository at this point in the history
  3. Fix Inference CE Error by Topo Order (#34521)

    The comment background message is too long, see details at #34521
    zhhsplendid authored Aug 2, 2021
    Configuration menu
    Copy the full SHA
    508b40e View commit details
    Browse the repository at this point in the history
  4. [NPU] add reduce_max (#34179)

    * [NPU] add reduce_max
    
    * [NPU] delete skipIf
    
    * [NPU] add atrrs support or check
    
    * [NPU] add attr out_dtype
    
    * [NPU] delete debug codes
    windstamp authored Aug 2, 2021
    Configuration menu
    Copy the full SHA
    de53f2b View commit details
    Browse the repository at this point in the history
  5. Change Bbenchmark-CI CPU/GPU (#34305)

    * notest;test=cpu-benchmark
    
    * benchmark-cpu
    
    * notest;test=cpu-benchmark
    
    * notest;benchmark-cpu
    
    * notest;benchmark-cpu
    
    * notest;benchmark-cpu
    
    * notest;benchmark-cpu
    
    * notest;benchmark-cpu
    
    * notest;benchmark-cpu
    
    * fix
    
    * fix
    
    * add test_ci_model_benchmark.sh
    tianshuo78520a authored Aug 2, 2021
    Configuration menu
    Copy the full SHA
    9d54a53 View commit details
    Browse the repository at this point in the history
  6. Add Identity OP (#34420)

    * test=develop
    
    * update identity
    
    * add unittest
    
    * notest,test=mac_py3
    
    * modify comment & testname
    
    * test=document_fix
    
    * update comment
    
    * test=document_fix
    
    * activate all of the CI
    shiyutang authored Aug 2, 2021
    Configuration menu
    Copy the full SHA
    80f7f7e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c7cc5ac View commit details
    Browse the repository at this point in the history