1. 29 3月, 2022 11 次提交
    • C
    • R
      [MoE] Moe apis (#40895) · aeade538
      Roc 提交于
      * add random routing op
      
      add _random_routing api in utils
      
      add random routing ut
      
      * # This is a combination of 10 commits.
      # The first commit's message is:
      add expert count op
      
      add ut for expert_count
      
      # This is the 2nd commit message:
      
      update UT only for cuda
      
      # This is the 3rd commit message:
      
      fix for rocm
      
      # This is the 4th commit message:
      
      update ut
      
      # This is the 5th commit message:
      
      add moe module
      
      # This is the 6th commit message:
      
      add expert count op
      
      add ut for expert_count
      
      # This is the 7th commit message:
      
      update UT only for cuda
      
      # This is the 8th commit message:
      
      update ut
      
      # This is the 9th commit message:
      
      add moe module
      
      # This is the 10th commit message:
      
      make expert count private
      
      * add assign pos op
      
      * fix upper num name
      
      * add api _assign pos
      
      * add ut for assign pos op
      
      * update date
      
      * add op about moe gate
      
      update utils
      
      add limit by capacity op
      
      add ut for limit_by_capacity
      
      add ut for prune_gate_by_capacity
      
      add ut for limit_by_capacity
      
      add ut for prune_gate_by_capacity
      
      * fix for win
      
      * fix bugs in test_limit_by_capacity_op
      
      * update ut
      
      * update for test (timeout)
      
      * fix ut
      
      * update
      
      * update(fix) ut for win
      
      * moe apis in incubate
      
      * # This is a combination of 10 commits.
      # The first commit's message is:
      add expert count op
      
      add ut for expert_count
      
      # This is the 2nd commit message:
      
      update UT only for cuda
      
      # This is the 3rd commit message:
      
      fix for rocm
      
      # This is the 4th commit message:
      
      update ut
      
      # This is the 5th commit message:
      
      add moe module
      
      # This is the 6th commit message:
      
      add expert count op
      
      add ut for expert_count
      
      # This is the 7th commit message:
      
      update UT only for cuda
      
      # This is the 8th commit message:
      
      update ut
      
      # This is the 9th commit message:
      
      add moe module
      
      # This is the 10th commit message:
      
      make expert count private
      
      * add assign pos op
      
      * fix upper num name
      
      * add api _assign pos
      
      * add ut for assign pos op
      
      * update date
      
      * fix for win
      
      * update for test (timeout)
      
      * fix ut
      
      * update
      
      * fix ut for number count
      
      * add apis and utils
      
      * add gate apis
      
      * add moe and grad clip apis
      
      * update moe apis
      
      * add ops for moe gate
      
      * fix
      
      * update for base moe layer api
      
      * add random routing op
      
      add _random_routing api in utils
      
      add random routing ut
      
      * fix for dygraph
      
      * update with ranodm routing
      
      * update
      
      * fix ut for limit by capacity
      
      * update
      Co-authored-by: Nhlygit66666 <2570058140@qq.com>
      aeade538
    • T
      Revert "[Phi] trans logsumexp op (#40790)" (#41068) · 054fc997
      tianshuo78520a 提交于
      This reverts commit 9c0eaada.
      054fc997
    • T
      3a6f1135
    • T
      Revert "Move some activation to phi (#40727)" (#41056) · 05f3d48e
      tianshuo78520a 提交于
      This reverts commit e77a947e.
      05f3d48e
    • [Phi] trans logsumexp op (#40790) · 9c0eaada
      提交于
      * [Phi] trans logsumexp op
      
      * fix bugs
      
      * fix bugs
      
      * fix bugs
      
      * fix bugs
      
      * fix bugs
      
      * fix bugs
      
      * add sig
      
      * fix sig bugs
      
      * fix sig bugs
      
      * fix xpu bugs
      
      * fix review bugs
      
      * test=develop
      9c0eaada
    • W
      [Phi] Move elementwise_floordiv and elementwise_pow to phi (#40993) · b532315d
      wuyefeilin 提交于
      * mv floordiv to phi
      
      * mv elementwise_pow to phi
      
      * fix as review
      b532315d
    • Z
    • Z
      [MLU]add reduce op mlu kernel (#41028) · d1c1d731
      zn 提交于
      d1c1d731
    • Z
    • C
      fix assign typo (#41005) · 5728dffb
      Chen Weihang 提交于
      5728dffb
  2. 28 3月, 2022 8 次提交
    • H
      Move meshgrid to phi (#40994) · ca871957
      hong 提交于
      * move momentum, rmsprop to phi; test=develop
      
      * update
      
      * update
      
      * update
      
      * update
      
      * udpate; test=develop
      
      * fix xpu npu bugs; test=develop
      
      * fix npu bug; test=develop
      
      * fix windows compile error; test=develop
      
      * fix windows compile error; test=develop
      
      * polish code; test=develop
      
      * fix conflict; test=develop
      
      * add meshgrid;
      
      * update
      
      * polish code
      
      * polish code;
      
      * fix bug
      
      * format; remove useless code
      
      * fix npu bug
      
      * fix bug
      ca871957
    • H
      Move some activation to phi (#40727) · e77a947e
      hong 提交于
      * update
      
      * add forward case
      
      * update
      
      * update; test=develop
      
      * add some grad kernel; test=develop
      
      * move gpu kernel; test=develop
      
      * update
      
      * update;
      
      * update test;
      
      * fix selected rows bug;
      
      * add mix vector include ;
      
      * add mixed vector depen; test=develop
      
      * add logit grad signature;
      
      * polish code
      
      * fix bug;
      
      * add namespace for abs
      
      * revert code
      
      * not move softsign
      
      * revmove duplate register;
      
      * fix softsign bug
      
      * polish code
      
      * format
      
      * format
      
      * fix bug
      
      * remove cmake dep
      
      * add square sqrt selected rows support
      
      * update
      
      * remove clip norm
      
      * add standalone executor sqrt dep
      
      * standalone exec denp sqrt
      
      * remove sqrt op in cmkaelist
      
      * open some case
      e77a947e
    • K
      Add window computation in stft op. (#40987) · c049a6b4
      KP 提交于
      c049a6b4
    • Y
      b6661d3a
    • D
      add fused_seqpool_cvm op (#37928) · ea5b2f26
      danleifeng 提交于
      * add fused_seqpool_cvm op;test=develop
      ea5b2f26
    • 0
      [Phi] Move warpctc OP to phi (#40023) · cb183762
      0x45f 提交于
      * moving OP
      
      * move forward
      
      * move grad and infershape
      
      * code format
      
      * format code
      
      * fix code
      
      * fix code
      
      * fix CMakerLists.txt
      
      * fix comments
      
      * Refine CMakeLists for rocm ci
      cb183762
    • C
      [Phi] Move assign value op kernel into phi (#40967) · 324b6b71
      Chen Weihang 提交于
      * move assign value op kernel
      
      * remove original op
      
      * fix failed unittests
      
      * remove infershape
      324b6b71
    • Y
      [Phi] Move backward infershape of Reshape Op (#40914) · 27996fd1
      YuanRisheng 提交于
      * perfect reshape kernel
      
      * fix bugs of sig
      
      * add unittest for reshape_sig
      
      * fix bugs when run converage
      27996fd1
  3. 27 3月, 2022 4 次提交
  4. 26 3月, 2022 1 次提交
  5. 25 3月, 2022 10 次提交
  6. 24 3月, 2022 6 次提交
    • C
      [Phi] Move mean op kernel into phi (#40872) · 8df91763
      Chen Weihang 提交于
      * add mean phi kernel
      
      * remove original mean kernel
      
      * add alias name
      8df91763
    • C
      [Phi] Move batch size like infershape into phi (#40847) · 6d3db9c7
      Chen Weihang 提交于
      * move batch size like infershape
      
      * revert other op change
      
      * call infermeta in infershape
      
      * adjust batchsize like pos
      6d3db9c7
    • Z
      p_norm transfer to phi kernels (#40819) · 92afe146
      zhiboniu 提交于
      92afe146
    • R
      [MoE]Assign pos op (#40580) · 305f32d1
      Roc 提交于
      * # This is a combination of 10 commits.
      # The first commit's message is:
      add expert count op
      
      add ut for expert_count
      
      # This is the 2nd commit message:
      
      update UT only for cuda
      
      # This is the 3rd commit message:
      
      fix for rocm
      
      # This is the 4th commit message:
      
      update ut
      
      # This is the 5th commit message:
      
      add moe module
      
      # This is the 6th commit message:
      
      add expert count op
      
      add ut for expert_count
      
      # This is the 7th commit message:
      
      update UT only for cuda
      
      # This is the 8th commit message:
      
      update ut
      
      # This is the 9th commit message:
      
      add moe module
      
      # This is the 10th commit message:
      
      make expert count private
      
      * add assign pos op
      
      * fix upper num name
      
      * add api _assign pos
      
      * add ut for assign pos op
      
      * update date
      
      * fix for win
      
      * update for test (timeout)
      
      * fix ut
      
      * update
      
      * fix ut for number count
      Co-authored-by: Nhlygit66666 <2570058140@qq.com>
      305f32d1
    • C
      [Phi] Migrate InferShape of multiplex, qr, tril_triu (#40102) · 2e736531
      caozhou 提交于
      * migrate infershape
      
      * fix tril_triu infershape error
      
      * fix qr_op infershape
      
      * add parse qr mode func
      
      * move order
      2e736531
    • C
      [Phi] Move mul op kernel into phi (#40833) · 1b491818
      Chen Weihang 提交于
      * add mul phi kernel
      
      * remove mul op kernel
      
      * remove original mul grad op
      
      * fix cinn test
      
      * fix dygraph test failed
      1b491818