1. 13 6月, 2023 1 次提交
    • F
      [CINN] Enable CINN unittest on atan2, tile, top_k, where (#54280) · cf7cd247
      Fisher 提交于
      * Enable check_cinn on atan2, tile, top_k and where
      
      * Update cmakelists in legacy_test
      
      * Reformat code
      
      * Enable check_cinn on op take_along_axis legacy test
      
      * Enable check_cinn on pool2d
      
      * Remove check_cinn=False
      
      * Try fix tile test error
      
      * Rename enable_cinn to test_cinn
      
      * Refactor test_tile_op
      
      * Replace all enable_cinn to check_cinn
      
      * Revert pool2d test timeout
      
      * Remove check_prim and use enable_cinn
      cf7cd247
  2. 08 6月, 2023 1 次提交
  3. 01 6月, 2023 1 次提交
    • T
      mv all unittests test (#53235) · b0e86d55
      tianshuo78520a 提交于
      * mv all unittests test
      
      * fix error
      
      * fix error
      
      * fix
      
      * fix
      
      * del unittests
      
      * fix paddle_build.sh
      
      * fix
      
      * fix test
      
      * fix add test
      
      * fix
      
      * fix
      
      * fix
      
      * merge develop
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * merge develop
      
      * fix test_async_read_write
      
      * fix test_async_read_write
      
      * merge develop
      
      * fix
      
      * fix import legacy_test
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix bug
      
      * fix
      
      * fix coverage test bug
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix code sstyle
      
      * fix code
      
      * fix code
      
      * fix
      
      * fix
      
      * fix
      
      * del test_sequence_enumerate_op.py
      
      * fix
      b0e86d55
  4. 22 4月, 2023 1 次提交
  5. 29 3月, 2023 1 次提交
  6. 25 3月, 2023 1 次提交
  7. 20 3月, 2023 1 次提交
    • G
      Fluid clean move out fill constant (#49511) · c985b1ac
      GGBond8488 提交于
      * migrate fill_constant to paddle.tensor
      
      * move fill_constant to paddle.tensor and repalce the reference
      
      * add missing fill_constant replacement
      
      * fix typro
      
      * remove unused import fill_constant
      
      * fix zeros import error
      
      * fix circle import
      
      * fix layers.zeros
      
      * fix unitest
      
      * fix unitests
      
      * fix unitest
      
      * use paddle.full replace fill_constant in samplecode
      
      * fix sample code
      
      * recovery xpu test
      
      * recovery xpu test
      
      * fix circle import
      
      * fix utils import error
      
      * fix utils error
      
      * fix circle import
      
      * redo
      
      * fix circle import
      
      * fix prim fill constant import
      
      * fix type error
      
      * fix increase error
      
      * fix test error
      
      * fix fill_constant
      c985b1ac
  8. 09 3月, 2023 1 次提交
  9. 08 3月, 2023 1 次提交
  10. 28 2月, 2023 1 次提交
  11. 28 1月, 2023 1 次提交
    • Yj/eager op test part 1 (#49877) · 65bce2b3
      姜永久 提交于
      * update tril unbind ops for eager tests
      
      * add eager op test
      
      * reset unbind
      
      * lint
      
      * lint
      
      * rm eager checker
      
      * copyright 2018->2023
      65bce2b3
  12. 20 1月, 2023 1 次提交
    • G
      Fluid clean remove io data (#49301) · 5670644c
      GGBond8488 提交于
      * replace paddle.fluid.layers.data and remove io.data
      
      * partial commit
      
      * partial commit
      
      * partial commit
      
      * partial commit
      
      * partial commit
      
      * partial commit
      
      * remove data in fluid.layers.io.__all__
      
      * fix errors
      
      * fix unitests
      
      * fix unitest
      
      * fix unitests
      
      * fix unitest
      
      * fix unitest
      
      * fix unitests
      
      * fix unitest
      
      * fix test_layers unitests
      
      * fix typro
      
      * fix unitest
      
      * fix unitest
      
      * fix unitest
      
      * fix typro
      
      * fix unitest test_model_cast_to_bf16
      
      * fix test_reducescatter
      
      * fix collective unitest
      
      * fix collective unitests
      
      * fix collective unitests
      
      * add coverage
      
      * fix add layers.data
      
      * re run ci
      
      * fix some typro
      
      * fix samplecode error
      
      * fix samplecode error
      5670644c
  13. 17 1月, 2023 1 次提交
    • rm flag retain grad (#49835) · 73f97de0
      姜永久 提交于
      * rm retain grad
      
      * fix zero_dim
      
      * fix zero_dim for xpu
      
      * reset zero dim for xpu
      
      * reset xpu
      
      * reset custom_relu
      
      * Reset flip
      
      * fix zero dim
      73f97de0
  14. 29 11月, 2022 1 次提交
  15. 23 10月, 2022 1 次提交
  16. 13 10月, 2022 1 次提交
  17. 11 10月, 2022 1 次提交
  18. 27 9月, 2022 1 次提交
  19. 13 9月, 2022 1 次提交
  20. 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
  21. 21 3月, 2022 1 次提交
    • H
      Merge some test bug (#40543) · 56c43ccd
      hong 提交于
      * switch eager mode and change it
      
      * set default is eager
      
      * set default is eager
      
      * fix error; test=develop
      
      * fix some error; test=develop
      
      * update
      
      * upd
      
      * update code; test=develop
      
      * update
      
      * fix some bug; test=develop
      
      * fix bug; test=develop
      
      * fix bug; test=develop
      
      * fix bug; test=develop
      
      * fix error; test=develop
      
      * format; test=develop
      Co-authored-by: NJiabinYang <360788950@qq.com>
      56c43ccd
  22. 23 9月, 2020 1 次提交
  23. 21 8月, 2020 1 次提交
  24. 18 8月, 2020 1 次提交
  25. 15 8月, 2020 1 次提交
  26. 06 1月, 2020 1 次提交
    • Z
      all cases use large shape (#22065) · 85ba5275
      zhupengyang 提交于
      affine_channel, affine_grid, bilinear_interp, bilinear_tensor_product,
      clip, crop, crop_tensor, cumsum, data_norm, expand, expand_as
      85ba5275
  27. 18 12月, 2019 1 次提交
  28. 12 12月, 2019 1 次提交
  29. 04 12月, 2019 1 次提交
  30. 13 10月, 2019 1 次提交
    • L
      fill_constant support Tensor; (#20521) · fc6ec3b9
      liym27 提交于
      2. fix bug in backward.py: using fill_constant instead of fill_constant_batch_size_like
      3. fix bug in ExpandGradOp.
      
      test=develop
      fc6ec3b9
  31. 10 10月, 2019 1 次提交
    • W
      fix expand bug (#20340) · 1288ac29
      wangchaochaohu 提交于
      * fix expand bug test=develop
      
      * fix style test=develop
      
      * fix style test=develop
      
      * fix style test=develop
      
      * fix style test=develop
      1288ac29
  32. 17 9月, 2019 1 次提交
    • L
      fix expand op: (#19302) · e9e3c087
      liym27 提交于
      1. add tensor support for argument expand_times in expand op;
      2. add support parameter inference when argument expand_times is a list containing integer and tensor variable;
      
      improve expand op according to reviews:
      1. add doc of ExpandTimes in expand_op.cc;
      2. improve the test of test_api.
      
      add stop_gradient=True when attr(expand_times) is tensor Variable, change code examples.
      test=develop,test=document_preview
      e9e3c087
  33. 04 6月, 2019 1 次提交
    • H
      expand op supprt tensor attribute (#17773) · dfec6762
      Hongyu Liu 提交于
      * expand support tensor attribute; test=develop
      
      * fix bug ; test=develop
      
      * fix uni test bug; test=develop
      
      * fix copy bug; test=develop
      
      * refine expand_times default value; test=develop
      dfec6762
  34. 14 2月, 2019 1 次提交
  35. 13 2月, 2019 1 次提交
  36. 15 8月, 2018 1 次提交
  37. 26 7月, 2018 2 次提交
  38. 24 2月, 2018 1 次提交
  39. 13 2月, 2018 1 次提交
    • X
      Run Python OP tests in a single Python process to improve test time. (#8362) · cde6241a
      Xin Pan 提交于
      Currently, our tests run with 2 GPUs, the init time is absurdly long:
      about 4s for each process.  Currently, we run each OP test on
      different processes. This PR:
      
      1. create cmake function py_test_modules which will generate the
      Makefile that runs a list of Python unittest module in a single Python
      process.
      
      2. move all "python unittest compatible" (e.g., used the unittest
      package, not just a regular python file). from fluid/tests to
      fluid/tests/unittests.
      
      3. cmake now will run all OP tests in fluid/tests/unittests in a
      single process, except the time-consuming tests, they are separated
      into different processes to utilize parallelism. Please make sure to
      use the unittest package if you put the python test file in
      fluid/tests/unittests
      
      4. remove all exit(0) from fluid/tests/unittests/*.py, exit(0) is used
      to disable unittest, we can not do it when running all tests in a
      single process since it will terminate the process without running the
      other tests. Instead, the test is disabled in
      fluid/tests/unittests/CMakeLists.txt. FIXME is added for each disabled
      item. Please disable the unittest from
      fluid/tests/unittests/CMakeLists.txt, instead of adding exit(0) to the
      Python file, for all Python file in fluid/tests/unittests/.
      
      5. add an option WITH_FAST_BUNDLE_TEST. When OFF, will run the unit
      tests in separate process so that they can be tested individually.
      cde6241a