1. 17 4月, 2023 1 次提交
    • S
      Add output defs for some kernelsPhi register (#52941) · 23f87442
      Sonder 提交于
      * add register info for eigh and eig_gard
      
      * add sync_batch_norm_op.cu register info
      
      * add lamb output register info
      
      * add unique register info
      
      * change type name
      
      * change type name
      
      * add output register info for check_finite_and_unscale
      
      * update cmake and config file
      
      * add register info for adagrad
      
      * fix build error
      
      * add sync to run_unittests.sh
      
      * add register info for unique_consecutive
      
      * fix build error
      
      * add eigh to STATIC_BUILD_TESTS
      
      * update eig_kernel.cc
      
      * update eig_kernel.cc
      
      * fix infer mate error
      
      * fix unique register error
      
      * fix lamb register info error
      
      * fix lamb register info
      
      * update lamb register info
      
      * fix lamb
      
      * remove one Output Register
      
      * update static build file
      
      * add eigh op to disable_wingpu_test
      
      * update run_unittests
      23f87442
  2. 14 4月, 2023 11 次提交
  3. 13 4月, 2023 12 次提交
  4. 12 4月, 2023 4 次提交
    • Z
      Optimize performance of unique kernel (#52736) · 8cbeefea
      Zhang Zheng 提交于
      * Optimize performance of unique kernel
      
      * fix ci
      8cbeefea
    • W
      [AMP OP&Test] add fp16/bf16 unittest for pool2d op (#52288) · f9b155f9
      Wei Shengyu 提交于
      * add bf16 support and bf16/fp16 unittest for pool2d
      
      * add include files
      
      * dbg
      
      * reformat
      
      * reformat
      
      * modify code according to review comment
      
      * remove duplicate code
      
      * remove dup code
      
      * remove useless include
      
      * dbg
      f9b155f9
    • W
      Patch del (#52754) · 189e0d44
      wangzhen38 提交于
      * [DO NOT MERGE] adadelta lr support
      
      * [DO NOT MERGE] gpu support
      
      * [test] follow torch
      
      * fix acc update order
      
      * for ci
      
      * [bug fix] update master para
      
      * [bug fix] update test
      
      * [bug fix] for ci test
      
      * for ci
      
      * fix xpu
      
      * [adadelta fix] del fluid head file
      
      * for ci
      
      * del notes
      189e0d44
    • G
      [AMP OP&Test] support bf16 for batch norm (#52407) · 523f8a26
      Guoxia Wang 提交于
      * [AMP OP&Test] support bf16 for batchnorm
      
      * codestyle
      
      * Update batch_norm_grad_kernel.cu
      
      * Update batch_norm_kernel.cu
      
      * fix codestyle
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * Update batch_norm_kernel.cc
      523f8a26
  5. 11 4月, 2023 7 次提交
  6. 10 4月, 2023 5 次提交
    • D
      【Hackathon No57】 add fp16 & bf16 for flip, fp16 for gaussian (#52380) · 2b0fffc2
      Difer 提交于
      * add_fp_bf_for_flip_gaussian_random
      
      * forget convert uint
      
      * fix some error
      
      * fix some error
      2b0fffc2
    • C
      3ee2b237
    • H
      [enforce.h Decouple gflags.h] Move gflags.h from enforce.h to enforce.cc (#52573) · 3c0b1795
      HongyuJia 提交于
      * [enforce.h Decouple gflags.h] Move gflags.h from enforce.h to enforce.cc
      
      * Add gflags.h for other files
      
      * Add gflags.h for other files
      
      * Add gflags.h for blas_impl.hip.h
      
      * Add gflags.h for miopen_helper.h
      3c0b1795
    • V
      [AMP OP&Test] Add fp16 and bf16 test to activation (#52521) · 6bd5fd75
      Vvsmile 提交于
      * adjust defalut tolerance of output and grad
      
      * fix a bug in the grad of OpTest
      
      * fix the type of setting defalut value in optest, both forward and
      backward
      
      * add defalut
      
      * fix test_sum_op
      
      * adjust tolerance
      
      * fix the tolerance of eager
      
      * add bf16 and fp16 to the activation tests
      
      * remove some fixs
      
      * fix activation
      
      * fix fp16
      
      * fix gelu
      
      * fix the activation tests
      
      * add bfloat16 specialization to singrad and cosgrad
      
      * fix bugs
      
      * fix bugs
      
      * add unittest
      
      * add skip
      
      * add fp/bf to rrelu/rrelu_grad
      
      * git add rrelu
      
      * fix bugs
      6bd5fd75
    • Q
      【AMP OP&Test】instance_norm fp16 and bf16 support. (#52241) · 7c98abd9
      qizhaoaoe 提交于
      * add fp16 and bf16 support for instance_norm
      
      * fix /= operator which not support bf16
      
      * fix instance_norm_grad kernel and unittests.
      
      * fix fp32 unittests.
      
      * fix instance_norm_kernel and unittests.
      
      * fix instance_norm_grad_kernel and unittest threshold.
      
      * add fp16/bf16 for instance_norm_grad_grad op.
      
      * add bf16 dtype check.
      
      * fix conflicts.
      
      * fix cpu support for fp32 op and fix type in instance_norm_grad_kernel.
      
      * fix type in instance_norm_kernel.
      
      * fix bf16 outputs in unittests and refine codes.
      
      * fix dx computation.
      
      * delete unuseful params and head including.
      
      * add fp16/bf16 for static graph.
      
      * fix device condiction for instance_norm op.
      
      * fix instance_norm_grad_grad and bf16 op tests.
      
      * fix op_test to support grad of bf16 can be compared with fp32.
      
      * remove updates.
      
      * add self-defined grad.
      7c98abd9