1. 07 3月, 2023 1 次提交
  2. 06 3月, 2023 4 次提交
    • S
      convert todos to internal tasks (#51174) · 6b393e45
      Sławomir Siwek 提交于
      6b393e45
    • N
      Add multiprecision for adadelta op (#50131) · a8a2b7f4
      niuliling123 提交于
      a8a2b7f4
    • H
      [phi decoupling] decouple dependency to device_context in phi (Part 1) (#50865) · a1006b2b
      Huang Jiyi 提交于
      * move DeviceContextPool to phi
      
      * add EmplaceExternalContextFunc
      
      * update namespace
      
      * update cmake
      
      * fix bugs and create context_pool_impl.h
      
      * replace platform::is_xxx_place
      
      * fix bugs
      
      * update generator
      
      * fix bugs
      
      * fix bugs
      
      * fix bugs
      
      * fix bugs
      
      * fix bugs
      
      * fix bugs
      
      * fix bugs
      
      * fix enforce usage
      
      * Revert "fix enforce usage"
      
      This reverts commit 5f521f08a69713cee506e64a00ec6d9fba709e27.
      
      * fix bugs
      
      * rm XPUDeviceContext and CustomDeviceContext
      
      * fix bugs
      
      * fix fix context init bug
      
      * fix bugs after merge
      
      * fix bugs
      
      * fix name
      
      * fix mutable_data
      
      * update and fix bugs
      
      * fix bugs
      
      * update
      
      * fix bugs
      
      * fix name
      
      * fix bugs
      
      * merge
      
      * fix bugs
      
      * create context_pool in phi/backends
      
      * create context_pool in phi/backends
      
      * fix bugs
      
      * fix xpu bugs
      
      * fix rocm bugs
      
      * fix bugs
      
      * fix bugs
      
      * fix bugs
      
      * fix xpu bugs
      
      * update
      
      * update
      
      * fix bugs
      
      * fix bugs
      a1006b2b
    • S
      oneDNN kernels code cleanup (#50743) · e2054925
      Sławomir Siwek 提交于
      * matmul refactored
      
      * fc
      
      * SetOutMemDescWithLogicalLayoutFusesSupport
      
      * matmul_v2
      
      * alpha support
      
      * group repetetive funcs
      
      * matmul utils
      
      * execute matmul methods
      
      * restore registered kernel names
      
      * split header and impl files
      
      * remove double negatives
      
      * increase coverage
      
      * add onednn tests to ctest
      
      * remove fusion logic from base matmuls
      e2054925
  3. 05 3月, 2023 1 次提交
  4. 03 3月, 2023 2 次提交
  5. 02 3月, 2023 5 次提交
  6. 01 3月, 2023 4 次提交
  7. 28 2月, 2023 6 次提交
    • I
      Fix some typos (#50914) · 5d8fe822
      iLeGend 提交于
      5d8fe822
    • X
      【prim】Matmul double grad composite api (#50452) · a0c473f4
      xiaoguoguo626807 提交于
      * modify name
      
      * merge develop
      
      * original code
      
      * build modify
      
      * success 2*2
      
      * fused dim=1 failed
      
      * success
      
      * modify static
      
      * success for static except dim=1
      
      * delete log
      
      * tmp modify
      
      * success
      
      * success
      
      * add fp1664
      
      * delete fp16 cpu test
      
      * stop windows test
      
      * review modify
      
      * modify tanh test
      
      * modify tanh
      
      * fix_conflixt
      
      * modift static prim
      
      * fix_conflict
      
      * Update test_static_prim.cc
      
      * update
      
      * bug fix
      a0c473f4
    • G
      add cumsum prim backward (#50565) · ca2b6095
      GGBond8488 提交于
      * add cumsum prim backward
      
      * skip aixs=None test case
      
      * fix op generante eror
      
      * fix static test error
      
      * remove unused code
      
      * fix static test error
      
      * skip cpu float16 test case
      
      * skip eager cpu cumsum float16 test case
      
      * add cinn test
      
      * reshape flatten out
      
      * Disable cinn single test
      
      * remove cinn test
      
      * reformat todo
      
      * add prim in cumsum op test
      
      * remove old test
      
      * fix typro
      
      * fix typro
      
      * fix typro
      
      * pass axis=None test case
      
      * remove forward prim test
      
      * remove same name axis
      ca2b6095
    • Y
      fix bug in fused_gemm_epilogue_op.cc (#50980) · 064a5434
      yuehuayingxueluo 提交于
      064a5434
    • [fp16] suppot fp16 on nn.Dropout2D (#50904) · bf05168c
      张春乔 提交于
      * add unittest for nn.DropOut2D
      
      * add fp16
      
      * add fp16 in docs of temporal_shift_op.cc
      
      * Update test_dropout_op.py
      bf05168c
    • J
      【Prim】Reshape, transpose, cast vjp (#50778) · ab1b6303
      Jiabin Yang 提交于
      * support transpose and reshape
      
      * support reshpe, transpose, cast vjp
      
      * merge develop
      
      * recover unused file
      
      * remove prim base
      
      * support problem
      
      * remove additional status settting
      
      * remove additional status settting
      
      * fix ut
      
      * fix ut
      
      * fix ut
      
      * fix no grad branch
      
      * add more test
      
      * disable fp16 in cpu
      
      * fix test
      ab1b6303
  8. 27 2月, 2023 3 次提交
    • 【Hackathon No.68】Remove utils in phi (#50833) · 6c181d1d
      张春乔 提交于
      * remove utils
      
      * remove utils
      
      * remove utils
      
      * remove utils
      
      * Update get_data_from_tensor.h
      
      * Update rnn_functor.h
      
      * Update rnn_grad_kernel.cu.cc
      
      * Update rnn_kernel.cu.cc
      
      * Update rnn_kernel.cc
      
      * Update rnn_grad_kernel.cu.cc
      
      * Update rnn_functor.h
      
      * Update rnn_kernel.cu.cc
      
      * Update rnn_kernel.cc
      
      * remove utils
      
      * Update rnn_functor.h
      
      * remove utils
      
      * remove utils
      
      * remove utils
      
      * remove utils
      
      * remove utils
      
      * Update rnn_functor.h
      
      * Update unsqueeze_op.h
      
      * Update utils.h
      
      * roll back
      
      * Update tensor_utils.h
      
      * Update tensor_utils.h
      
      * Update tensor_utils.h
      
      * Update tensor_utils.h
      
      * Update tensor_utils.h
      
      * use TensorToVector
      
      * use TensorToVector
      
      * use TensorToVector
      
      * use TensorToVector
      
      * use TensorToVector
      
      * Update rnn_kernel.cc
      
      * Update rnn_grad_kernel.cc
      
      * Update rnn_functor.h
      
      * Update rnn_grad_kernel.cu.cc
      
      * Update rnn_kernel.cu.cc
      
      * Update rnn_functor.h
      
      * Update rnn_grad_kernel.cu.cc
      
      * Update rnn_kernel.cu.cc
      
      * Update rnn_functor.h
      
      * Update rnn_grad_kernel.cu.cc
      
      * Update rnn_kernel.cu.cc
      
      * add TensorToVector
      
      * roll back
      
      * Update tensor_utils.h
      
      * Update rnn_functor.h
      
      * Update rnn_grad_kernel.cu.cc
      
      * Update tensor_utils.h
      
      * Update rnn_kernel.cu.cc
      
      * Update rnn_grad_kernel.cc
      
      * Update rnn_kernel.cc
      
      * Update rnn_grad_kernel.cu.cc
      
      * Update rnn_kernel.cu.cc
      
      * Update rnn_grad_kernel.cc
      
      * Update rnn_kernel.cc
      
      * TensorCopySync to phi::Copy
      
      * fix codestyle
      
      * rnn_kernel.cc: add ;
      
      * replace all GetDataFromTensor with phi::GetVectorFromTensor
      
      * delete include of util.h
      6c181d1d
    • zhouweiwei2014's avatar
    • shaojie_wang's avatar
      [Bfloat16]register bfloat16 datatype for squared l2 norm (#50908) · 3c121040
      shaojie_wang 提交于
      * register bfloat16 datatype for squared l2 norm
      
      * register bfloat16 datatype for softmax with upper triangular mask
      
      * register bfloat16 for tril triu cuda kernel
      3c121040
  9. 26 2月, 2023 1 次提交
  10. 24 2月, 2023 4 次提交
    • J
      【Prim】Fix prim amp (#50518) · 6664a232
      Jiabin Yang 提交于
      * change amp with to_prim
      
      * fix prim amp
      
      * fix rules
      
      * fix liear
      
      * add amp test
      
      * add test
      
      * disable this test on cpu
      
      * disable this test on cpu
      
      ---------
      Co-authored-by: Ncyber-pioneer <chenzhuo@tju.edu.cn>
      6664a232
    • C
      fix composite grad maker code gen (#50854) · 07c416c8
      Charles-hit 提交于
      07c416c8
    • HappyHeavyRain's avatar
      support 'backend' in static ops (#50671) · 363825df
      HappyHeavyRain 提交于
      * support 'backend' in static ops
      
      * change bitwise_xx comment in python
      
      * change bitwise_xxx comment in python
      
      * change 'backend' and 'data_type' in GetExpectedKernelType
      363825df
    • X
      【prim】Slice grad (#50771) · f6dea800
      xiaoguoguo626807 提交于
      * 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
      
      * add approve rules
      
      * 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
      
      * add attr
      
      * 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
      
      * temp
      
      * modify op test
      
      * except cinn test
      
      * modify bfp16
      
      * modify pad grad
      
      * add pad_grad dtype
      
      * start cinn part
      
      ---------
      Co-authored-by: NCharles-hit <wanghao107@baidu.com>
      f6dea800
  11. 23 2月, 2023 3 次提交
  12. 22 2月, 2023 3 次提交
  13. 21 2月, 2023 3 次提交