1. 08 9月, 2023 1 次提交
  2. 07 9月, 2023 2 次提交
    • D
      【Fluid Clean】 Rename paddle.fluid to paddle.base (#56576) · e53afe54
      Difer 提交于
      * rename fluid to base
      
      * fix setup and rename paddle.fluid
      
      * fix protobuf generated paddle.fluid
      
      * fix some errors
      
      * fix cmake depends
      
      * fix some error
      
      * try to fix cache error
      
      * fix codestyle && some doc error
      
      * remove build change
      
      * fix some error
      
      ---------
      Co-authored-by: NXiangGao <jeff41404@gmail.com>
      e53afe54
    • Z
      [clang-tidy] NO.33,64 enable... · 25f78de0
      Zhenghai Zhang 提交于
      [clang-tidy] NO.33,64 enable `bugprone-signed-char-misuse`,`clang-analyzer-optin.portability.UnixAPI` check (#56744)
      
      * enable bugprone-signed-char-misuse&clang-analyzer-optin.portability.UnixAPI check
      
      * fix bugprone-signed-char-misuse
      
      * fix bug
      25f78de0
  3. 06 9月, 2023 1 次提交
    • X
      support for checking op's inputs grad semantic (#56925) · d8122a23
      Xianduo Li 提交于
      * add <with_grad_semantic> in OpInputInfo to represent whether an input of OP has grad semantics
      
      * add support for check OP's input grad semantic by comparing fwd_op inputs and bwd_op outputs
      
      * add pybind interface to support checking OP's inputs grad semantic in python-level
      
      * add test
      
      * fix bugs
      
      * fix bugs in op_gen
      
      * fix bugs in op_gen
      
      * add test for multiply_op
      
      * fix bugs in codestype
      
      * fix bugs in codestype
      d8122a23
  4. 05 9月, 2023 2 次提交
  5. 04 9月, 2023 6 次提交
  6. 02 9月, 2023 1 次提交
  7. 01 9月, 2023 1 次提交
  8. 31 8月, 2023 2 次提交
    • L
      use macro instead of functor (#56726) · 5425ad7f
      LiYuRio 提交于
      5425ad7f
    • C
      [AutoParallel] Adapt static spmd rules for dynamic graph (#56367) · 54fcd9a9
      Chen Weihang 提交于
      * move matmul spmd rules into phi
      
      * add basic infer spmd utils
      
      * addspmd factory
      
      * fix compile error
      
      * add unittest
      
      * refine infer spmd test and utils
      
      * debug infer spmd test
      
      * adapt python test
      
      * poish details
      
      * change to vector attr arg
      
      * revert needless change
      
      * update matmul spmd rule test
      
      * remove original rule
      
      * polish details
      
      * fix marco error
      
      * add comment
      
      * pass backward test
      
      * fix compile error
      
      * add cmake rule for spmd_rules_test
      
      * add dist meta tensor
      
      * update pybind impl
      
      * add marco for rules
      54fcd9a9
  9. 30 8月, 2023 4 次提交
    • H
      Add paddle custom flags support (#56256) · 2ef4ec71
      huangjiyi 提交于
      * update
      
      * repalce gflags header
      
      * replace DEFINE_<type> with PD_DEFINE_<type>
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * update cmake
      
      * add :: before some paddle namespace
      
      * fix link error
      
      * fix CI-Py3
      
      * allow commandline parse
      
      * fix SetFlagsFromEnv
      
      * fix bug
      
      * fix bug
      
      * fix CI-CINN
      
      * fix CI-Coverage-build
      
      * fix CI-Windows-build
      
      * fix CI-Inference
      
      * fix bug
      
      * fix bug
      
      * fix CI-CINN
      
      * fix inference api test
      
      * fix infer_ut test
      
      * revert infer_ut gflags usage
      
      * update
      
      * fix inference
      
      * remove flags export macro
      
      * revert inference demo_ci gflags usage
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * fix bug when turn on WITH_GFLAGS
      
      * turn on WITH_GFLAGS
      
      * fix bug when turn on WITH_GFLAGS
      
      * fix bug when turn on WITH_GFLAGS
      
      * update
      
      * update and add unittest
      
      * add unittest
      
      * fix conflict
      
      * rerun ci
      
      * update
      
      * resolve conflict
      2ef4ec71
    • N
    • W
      [NewIR]Gen ops_api.cc for static mode (#56653) · 59b2ad39
      WangZhen 提交于
      59b2ad39
    • G
      [Auto Parallel] Compatible new comm library upgrade (#56604) · ade51aa5
      Ghost Screaming 提交于
      * for verify
      
      fluid operator support new comm library
      
      * u
      
      * u
      
      * u
      
      * compatiable new comm library upgrade for c_allgather, c_reduce, c_reduce_scatter and c_scatter.
      
      * Remove useless comments in process_group.py
      
      * Polish code style.
      
      * Fix some problems.
      
      * Remove use fluid api in phi comm_context_manager.
      
      * Add PPADDLE_WITH_CUDA and PADDLE_WITH_NCCL micro judgement.
      
      * Fix bug of HIP architecture.
      
      * Fix some problems.
      1. remove useless loggings.
      2. Fix conditional compilation for HIP.
      3. Fix problems of test_pass_generation_pipeline.py. It calls paddle.distributed.init_parallel_env() at first,
      then auto.Engine calls _init_comm(), which will calls process_group.instantiate(). However, init_parallel_env() will call
      paddle.distributed.barrier(), it will call CreateNCCLEnvCache and create corresponding NCCLCommContext. But dev_id is not
      set, as a result, NCCLCommContext's dev_ctx is not initialized.
      
      * Fix some problems.
      
      * Polish code.
      
      * Polish code.
      
      * Revert compatiable upgrade for communication operators. Their upgrades
      will be submitted in another PR.
      
      * Remove StaticTCPStore.
      
      * Remove useless modification.
      
      * Remove useless set_cuda_device_id.
      
      * Polish code.
      
      * Remove fluid header files in phi files.
      
      * Remove useless comments.
      
      * Fix problems of hip arch.
      
      * Fix some problems.
      
      * Polish code.
      
      * Polish code style.
      
      ---------
      Co-authored-by: TaoTao Li's avatarhitywt <yuwentao126@126.com>
      ade51aa5
  10. 29 8月, 2023 3 次提交
  11. 28 8月, 2023 3 次提交
  12. 25 8月, 2023 7 次提交
  13. 24 8月, 2023 3 次提交
  14. 23 8月, 2023 1 次提交
    • L
      Integrate TRT qdq layers (#54803) · ae84c603
      Leo Chen 提交于
      * Integrate quantize/dequantize linear and add config for explicit quantization
      
      * Fix the build error
      
      * Add macro for TRT version < 8.0
      
      * Remove qdq UT from windows
      
      * Fix UT failure
      
      * Check TRT version in qdq UT
      
      * Test tensorrt_explicit_enabled API
      
      * Disable QDQ UT if TRT version < 8.5
      
      * Add quantization postfix into public APIs
      
      * Apply code formatter
      
      * Fix the UT failure for explicit quantization
      
      * Apply code formatter on modified files
      
      * Correct the year in copyright
      ae84c603
  15. 22 8月, 2023 1 次提交
    • C
      [AutoParallel] Polish dist tensor design (#56368) · 8495377a
      Chen Weihang 提交于
      * polish dist teensor design
      
      * adjust constructor
      
      * polish details
      
      * polish details design
      
      * fix compile error
      
      * refactor init tensor impl
      
      * fix reshard test
      
      * polish details
      
      * add unittest for coverage
      8495377a
  16. 21 8月, 2023 2 次提交