1. 13 3月, 2023 1 次提交
    • 【Hackathon No.89】 Remove circle import Part2 (#51199) · 34358de5
      张春乔 提交于
      * fix the only one circle import in call_transformer.py
      
      * move define of CONVERSION_OPTIONS from convert_call_func.py to program_translator.py
      
      * delete the self import of program_translator.py
      
      * fix import failed problem
      
      * define variable in utils.py
      
      * move is_builtin to utils.py
      
      * move is_builtin to utils.py
      
      * fix import errors
      
      * fix import errors
      
      * fix something
      
      * Update python/paddle/jit/dy2static/call_transformer.py
      Co-authored-by: NAurelius84 <zhangliujie@baidu.com>
      
      * Update python/paddle/jit/dy2static/call_transformer.py
      
      ---------
      Co-authored-by: NAurelius84 <zhangliujie@baidu.com>
      34358de5
  2. 10 3月, 2023 1 次提交
  3. 09 3月, 2023 2 次提交
    • Z
      Remove paddle.fluid.layers.utils.* (#51033) · 86e990d4
      zqw_1997 提交于
      * move fluid.utils to paddle.utils.layers_utils
      
      * fix error
      
      * delete original fluid layers utils
      
      * remove import and old utils
      
      * remove more old utils import
      
      * change import path of fill_constant in the layers_utils.py
      
      * fix mistake
      
      * fix error
      
      * expose in __init__.py
      
      * for comment
      
      * when change the ref of func is_sequence, it should change to the root of is_sequence instead
      
      * for codecheck
      86e990d4
    • A
      [Dy2St]Enhance @to_static auto-skip paddle inner API (#50596) · 4474e085
      Aurelius84 提交于
      * [Dy2St]Enhance @to_static auto-skip paddle inner API
      
      * fix comment
      
      * fix class method
      4474e085
  4. 08 3月, 2023 3 次提交
  5. 02 3月, 2023 1 次提交
  6. 24 2月, 2023 2 次提交
  7. 23 2月, 2023 1 次提交
  8. 21 2月, 2023 3 次提交
    • C
      [OpTest] support prim test in OpTest (#50509) · 457defe7
      Charles-hit 提交于
      * support prim test in OpTest
      
      * fix cmake
      
      * fix op test
      
      * fix test_input_spec
      
      * disable cinn in reduce_sum unit test
      
      * add bfloat16 dtype for sum
      
      * polish code
      
      * add clear jit program function
      
      * convert grad out from tensor to numpy
      
      * remove unnecessary code
      
      * add only_prim flag
      
      * fix flag
      
      * fix op test
      
      * fix optest comp inplace error
      
      * fix op test
      
      * fix op test with guard
      
      * add initialization of check_comp flag
      
      * fix comp inplace error in op test
      
      * rename check_comp with check_prim and add bfloat16 dtype convert
      
      * rename comp_op_type to prim_op_type
      
      * rename comp to prim
      
      * remove useless code
      
      * skip ci check for only prim
      
      * add no_grad_vars and grad_outputs in prim test
      
      * fix var_dict
      
      * fix op test for only_prim
      
      * fix dy2static bugs
      
      * polish some code
      457defe7
    • W
      Flatten input_spec when check neg shape (#50692) · 9b0b155b
      WangZhen 提交于
      * Flatten input_spec when check neg shape
      
      * Fix cycle import
      9b0b155b
    • W
      Check -1 shape for input_spec and program when prim or cinn enabled (#50473) · 1e7dc9c0
      WangZhen 提交于
      * Check -1 shape for input_spec and program when prim or cinn enabled
      
      * Polish neg shape check
      
      * Polish code
      
      * Fix UT
      
      * Fix UT in static
      1e7dc9c0
  9. 20 2月, 2023 1 次提交
  10. 17 2月, 2023 1 次提交
  11. 14 2月, 2023 2 次提交
  12. 10 2月, 2023 1 次提交
  13. 09 2月, 2023 1 次提交
  14. 08 2月, 2023 1 次提交
  15. 03 2月, 2023 1 次提交
  16. 02 2月, 2023 1 次提交
    • X
      【PRIM】Support use operator's output metadata info in constructing static... · d8643cb6
      Xiaoxu Chen 提交于
      【PRIM】Support use operator's output metadata info  in constructing static backward composite (#50043)
      
      * [prim] support custom target_gradients
      
      * support infershape after append one gradop
      
      * [prim] add simple net test
      
      * fix test_loop segment fault bug
      
      * [prim] fix infer shape segment fault bug when output of grad_op_desc is empty
      d8643cb6
  17. 20 1月, 2023 1 次提交
  18. 17 1月, 2023 4 次提交
  19. 12 1月, 2023 1 次提交
  20. 11 1月, 2023 2 次提交
    • A
      [D2SCinn]Fix self.infer_program always build cinn pass without cache (#49696) · 18a7e13f
      Aurelius84 提交于
      * [D2SCinn]Fix self.infer_program always build cinn pass without cache
      
      * fix infer op size
      18a7e13f
    • R
      [Dy2St] 移除 ProgramTranslator (#49628) · 2bb28f31
      Ryan 提交于
      * add enable_to_static and drop some methods of ProgramTranslator
      
      * fix code style
      
      * fix cant import enable_to_static and update unitest
      
      * change unitest and rollback code of PT
      
      * fix can't import as of utils
      
      * roll back PT
      
      * fix roll back
      
      * add some unitest
      
      * add unitest and fix codestyle bug in api.py
      
      * finish all unitest
      
      * remove ProgramTranslator
      
      * fix code style
      
      * restore test_program_translator
      
      * api.py remove get_func
      
      * TestDygraphToStaticCode
      
      * fix check_type and import err
      
      * roll back PT without getcode
      
      * roll back pt with get_code
      
      * convert_to_static
      
      * fix import __all__
      2bb28f31
  21. 10 1月, 2023 1 次提交
  22. 09 1月, 2023 2 次提交
  23. 06 1月, 2023 1 次提交
  24. 05 1月, 2023 1 次提交
  25. 04 1月, 2023 1 次提交
  26. 03 1月, 2023 2 次提交
  27. 30 12月, 2022 1 次提交