1. 23 6月, 2021 1 次提交
  2. 22 6月, 2021 1 次提交
    • R
      Gpu samplecode test On PR-CPU-Py2 (#33634) · dd4297cd
      Ren Wei (任卫) 提交于
      * using argparse to handle selections
      
      * 2 TODOs
      
      * 先不更改pipeline配置,这里强制改成GPU版本
      
      * sorted the all_names
      
      * exec gpu sample codes tests incrementally
      
      * get all apis from the pr.spec file
      
      * condition with WITH_GPU
      
      WITH_GPU == ON
      
      save
      
      * delete the useless codes
      
      * delete the useless codes.
      
      test=document_fix
      
      * echo the diff result
      
      test=document_fix
      
      * dont reuse the variables
      
      * rename fun to _func not work. put it into the skiplist
      
      https://github.com/PaddlePaddle/Paddle/commit/038ffc795025170e8cda74bcd473b46301b9a1c0
      test=document_fix
      
      * skip it in check api approvals
      
      test=document_fix
      
      save
      
      * skip the private _variables
      
      * print signatures wrong. now rename it to _func
      
      test=document_fix
      dd4297cd
  3. 21 6月, 2021 3 次提交
  4. 18 6月, 2021 1 次提交
  5. 17 6月, 2021 3 次提交
  6. 16 6月, 2021 2 次提交
  7. 10 6月, 2021 1 次提交
    • R
      fix the bug that `print_signature.py` cannot get all the public apis (#33423) · afa4bf51
      Ren Wei (任卫) 提交于
      * 增加方法获取和执行全量api的示例代码进行测试
      
      * start the sample code test for gpu
      
      * should import paddle separately
      
      * add a stdout handler, the default is stderr. the paddle_build.sh will catch the stdout content.
      
      * add RUN_ON_DEVICE into the requires set
      
      * if codeblok['required'] is empty, use the RUN_ON_DEVICE instead
      
      * set the threads to 16
      
      http://agroup.baidu.com/paddlepaddle-org-cn/md/article/4036225
      
      * 设置默认日志级别为INFO级别
      
      * using the logic from gen_doc.py
      
      * using modulelist to get the all apis
      
      * as we don't care which name is the shorttest, so fetch the first name in the all_names list
      
      * the new list from project
      
      * 先不启用gpu测试,先把print_signature获取不到全部API的问题解决了
      afa4bf51
  8. 08 6月, 2021 2 次提交
  9. 07 6月, 2021 2 次提交
  10. 03 6月, 2021 1 次提交
  11. 01 6月, 2021 2 次提交
  12. 31 5月, 2021 3 次提交
  13. 27 5月, 2021 1 次提交
  14. 26 5月, 2021 4 次提交
  15. 25 5月, 2021 2 次提交
  16. 24 5月, 2021 1 次提交
  17. 21 5月, 2021 1 次提交
  18. 20 5月, 2021 2 次提交
    • C
      Add complex template type (#32857) · 738bf20e
      chentianyu03 提交于
      * add complex template file
      
      * add numtraits for complex template
      
      * add complex template type register
      
      * modify specify template of complex
      
      * modify specify template of complex
      
      * modify specify template of complex
      
      * modify specify template of complex
      
      * make TensorCheckerVisitor support complex type
      
      * fix operator= error
      
      * add complex template
      
      * add complex template type
      
      * add complex template type to pyarray transform
      
      * add complex template type to pyarray transform
      
      * remove complex type for dlpack register
      
      * set dlpack supprot complex type
      
      * set dlpack supprot complex type
      
      * set dlpack supprot complex type
      
      * remove explict for complex constructor
      
      * add complex unit test file
      738bf20e
    • Z
      handle remove files in pr (#32940) · 7e27b5aa
      zhangchunle 提交于
      7e27b5aa
  19. 19 5月, 2021 2 次提交
  20. 18 5月, 2021 1 次提交
  21. 14 5月, 2021 3 次提交
    • Z
      change ut file map (#32841) · a3debea2
      zhangchunle 提交于
      a3debea2
    • R
      use the `required` instruction to determine if the environment fits the sample... · 42aad304
      Ren Wei (任卫) 提交于
      use the `required` instruction to determine if the environment fits the sample code's required. (#32766)
      
      * add unittests
      
      * add find_last_future_line_end
      
      * extract_code_blocks_from_docstr and its testcases
      
      * test_codeblock_before_examples_is_ignored
      
      * sampcd_extract_to_file 拆为两步
      
      * update the codeblock element's format
      
      * code-block directive has no value options
      
      * insert the CODES_INTERTED_INTO_FRONTEND
      
      * using the new func insert_codes_into_codeblock
      
      * get_test_capacity and is_required_match
      
      * using the new funcitons in sampcd_extract_to_file
      
      * add some comments and refactor functions
      
      * using logger instead of all the print
      
      * remote wlist
      
      * collect summary info, and print them
      
      * call get capacity
      
      * update summary format
      
      * print the apis that don't have sample codes.
      
      * print the samples the consumed time more than 10s.
      
      print time
      
      * update unittest testcases
      
      * solve ResourceWarning: unclosed file
      
      * run tools test seperately
      
      * python2 does not have nonlocal keyword, using dict variable instead
      
      * remove unused import, rearrange a series of conditional statements.
      
      * remove wlist.json and its check approval
      
      * remove wlist.json and its check approval
      42aad304
    • T
      test=document_fix (#32906) · ed9e7723
      tianshuo78520a 提交于
      ed9e7723
  22. 12 5月, 2021 1 次提交