1. 07 12月, 2021 4 次提交
    • Z
      Buf fix for reset grad inplace version (#37811) · cf586021
      Zhanlue Yang 提交于
      * Debug
      
      * Fixed issue with reset_grad_inplace_version when used with clear_gradient & cross-batch accumulation
      
      * Rearranged interfaces
      
      * Fixed ci issues
      cf586021
    • W
      ut support block (#37909) · cf5de26f
      Wilber 提交于
      cf5de26f
    • 0
      [Dy2Stat]Polish for zip in dy2stat (#37846) · 4e63d69b
      0x45f 提交于
      * polish for zip in dy2stat
      
      * polish comment
      
      * polish is_builtin_len
      
      * fix comment
      4e63d69b
    • Y
      [Auto para] Relaunch with auto mapping function (#37326) · 506e79d1
      Yulong Ao 提交于
      * [Auto Parallel]  Add the unified cluster representation
      
      * [Auto Parallel] Add the graph class for physical mapping
      
      * [Auto Parallel] Add the simple physical mapper
      
      * Set the timeout of the mapper
      
      * Merge the upstream develop unittests cmake files
      
      * Fix a bug of the process group
      
      * Remove mapper unittest from platforms which is not GPU
      
      * Move the instantiation of process group after resharding
      
      * Add the local id for devices
      
      * Update the rank mapping format
      
      * [Auto Parallel] Relaunch with the rank mapping file
      
      * Remove the unnecessary json file
      
      * Avoid entering get_device_proc_info for auto mapping
      
      * Correct the mapper unit test
      
      * Add some comments
      
      * Remove the related files about mapping
      
      * Update the unittest for auto mapping
      
      * Remove unused rank_mapping unittest
      
      * Improve the unittest coverage
      
      * Improve the unittest coverage
      
      * Improve the unittest of relaunch
      
      * Fix the unittest problem in CI
      
      * Improve the unittest of relaunch
      
      * Remove unnecessary statements
      
      * Update the unittest cmakefile
      
      * Correct the cmakefile of auto parallel unittests
      
      * Modify codes based on the new elastic change
      
      * Use the GPUs exclusively in the unittest
      
      * Correct the cmakefile
      
      * Set the timeout of the unittest
      506e79d1
  2. 06 12月, 2021 6 次提交
  3. 03 12月, 2021 3 次提交
  4. 02 12月, 2021 7 次提交
  5. 01 12月, 2021 6 次提交
  6. 30 11月, 2021 9 次提交
  7. 29 11月, 2021 5 次提交
    • T
      add expand_v2/expand_as_v2 for kunlun (#37592) · dae4e7f2
      TTerror 提交于
      * add expand_v2/expand_as_v2 for kunlun
      
      * update expand_as_v2
      
      * update expand_as_v2
      
      * support float16/bool
      
      * update xpu.cmake
      dae4e7f2
    • Z
      [AMP] For `amp.decorate()` optimizers set to None is ok (#37541) · 2bb3f0b5
      zhangbo9674 提交于
      * amp.decorate optimizers set to None is ok
      
      * refine unittest
      
      * add unittest and refine example code
      
      * refine unittest
      2bb3f0b5
    • Y
    • W
      [New features] Support batch_jacobian and batch_hessian (#37547) · 4d24d352
      Weilong Wu 提交于
      * native commit for triple grad of sigmod
      
      * Updated unittests files
      
      * init functional jacobian api
      
      * Updated trible_test func
      
      * Updated gradient_checker & test_script
      
      * finish test with dtype float32
      
      * add float64 test case
      
      * polish code
      
      * use atol=1e-5 with dtype float64
      
      * fix for ci
      
      * set timeout for test_jacobian
      
      * fix dygraph grad to support high differential
      
      * polish API docstring
      
      * Updated gradient checker and some related files
      
      * fix double grad strip error for high differential
      
      * fix double grad strip error for high differential
      
      * Add Sigmoid triple grad tests
      
      * fix dygraph double grad dtype error when calling for high differential senario
      
      * Updated triple grad teses func
      
      * Use np.random to initialize ddx
      
      * Updated triple_grad_check func
      
      * add todo for gradient checker and refine some comments
      
      * remove additional code
      
      * add test for warnging in backward.py
      
      * format python code
      
      * support multi input in triple gradient checker
      
      * Add matmul triple grad kernel
      
      * Updated comments of TODO
      
      * Supported some special tests
      
      * Change code-format to follow CI std
      
      * Updated gradient_checker.py
      
      * Fix conflicts
      
      * Removed unnecessary printing log
      
      * Change code style to follow CI std
      
      * support batch in jacobian and hessian
      
      * add batch jacobian and batch hessian
      
      * Add batch_jacobian test, draft version
      
      * [New features] Add elementwise_mul triple grad kernel (#37152)
      
      * Add elementwise_mul triple grad kernel
      
      * Removed InplaceInferer and polished code
      
      * Add numerical_batch_jacobian,numerical_batch_hessian and tests
      
      * Support batch_jacobian and batch_numerical
      
      * Use pre-commit to check code format
      
      * Update doc, polish code, add unit test
      
      * Reset the TIMEOUT properties of test_jacobian to pass CI
      Co-authored-by: Nlevi131 <limaolin01@baidu.com>
      Co-authored-by: NJiabin Yang <360788950@qq.com>
      4d24d352
    • B
      fix_InternalStorage (#37568) · d0a89744
      Baibaifan 提交于
      d0a89744