1. 17 10月, 2022 10 次提交
    • O
      [Hackathon 3rd No.22 ] add paddle.incubate.sparse.reshape (#46694) · abb38136
      OccupyMars2025 提交于
      * add sparse reshape
      
      * change the dtype in all test cases to int64
      
      * just one test case
      
      * modify comments
      
      * Update test_sparse_reshape_op.py
      
      * chang the type of "shape"  from  vector<int64_t>  to  IntArray
      
      * check whether sp_out.to_dense() is the cause  of error
      
      * print sp_out
      
      * Update reshape_kernel.cc
      
      * use numpy to generate the equal paddle tensor
      
      * just check dense_tensor.numpy()
      
      * check cpu and cuda versions
      
      * Update test_sparse_reshape_op.py
      
      * supply all test cases for cpu forward coo kernel
      
      * test forward coo cuda kernel
      
      * change configuration of cuda kernel
      
      * keep only one test case
      
      * test coo cpu kernel (forward and backward)
      
      * row major or column major ???
      
      * test cuda coo forward kernel
      
      * complete declaration and registration
      
      * Update __init__.py
      
      * rebuild
      
      * retrigger CI
      
      * add cudaMalloc and cudaMemcpy  in  ReshapeCooKernel  and change back to row major order in a cuda dense tensor
      
      * midify minor error
      
      * test only cpu coo forward kernel
      
      * add all test cases for coo forward kernel  (both cpu and gpu)
      
      * test all forward kernels (coo, csr; cpu, gpu)
      
      * add all test cases for all kinds of kernels
      
      * just retrigger CI
      
      * Update sparse_ops.yaml
      
      * Update sparse_ops.yaml
      
      * Update sparse_ops.yaml
      
      * resolve conflicts
      
      * Update sparse_ops.yaml
      
      * don't specify tensor place
      
      * new shape has -1 or 0 in it
      
      * Update unary_grad_kernel.h
      
      * correct lvalue error
      
      * code style
      
      * Update sparse_backward.yaml
      
      * Update sparse_ops.yaml
      
      * Update unary_kernel.h
      
      * Update unary.py
      
      * Update sparse_backward.yaml
      
      * Update unary.py
      
      * code style
      
      * code style
      
      * code style
      
      * Update unary.py
      
      * specify tensor place explicitly
      
      * do not use numpy array
      
      * use numpy array in unit test again
      
      * modify example code in docstring
      abb38136
    • W
      support __floordiv__ (#47060) · 64307903
      Weilong Wu 提交于
      64307903
    • W
      Layernorm shift partition enhance (#46816) · 9e08633c
      Wang Bojun 提交于
      * first version of ln_s_p with s>0
      
      * refine and UT
      
      * pass opt draft
      
      * pass opt
      
      * code refine
      
      * code-style
      
      * bug fix
      
      * fix ci test
      
      * code style
      9e08633c
    • J
      fix for conv_bias_mkldnn_pass (#47037) · acbda3e4
      jakpiase 提交于
      acbda3e4
    • P
      skip ReplaceAllReduceOp in GraphtoBlock when nccl_ctxs_ is nullptr (#46911) · 2e7dc666
      pangyoki 提交于
      * skip ReplaceAllReduceOp in GraphtoBlock when nccl_ctxs_ is nullptr
      
      * update ut
      
      * test_dist_allreduce_op failed
      
      * fix test_dist_allreduce_op
      
      * add ut
      
      * fix nccl cpu compile
      
      * fix
      2e7dc666
    • L
      f9c1cdc1
    • J
      add shape info into eager log (#46934) · 74938395
      Jiabin Yang 提交于
      74938395
    • H
      fix typo error in operator.cc (#46995) · 328236d2
      HongyuJia 提交于
      328236d2
    • W
      b4a1f43f
    • D
      [Custom Device] Add singleton to custom device (#46963) · 73196e5a
      duanyanhui 提交于
      * add singleton to custom device
      
      * Update custom_device.cc
      
      Init device_init_flag_ in default
      73196e5a
  2. 16 10月, 2022 1 次提交
  3. 15 10月, 2022 1 次提交
  4. 14 10月, 2022 7 次提交
  5. 13 10月, 2022 19 次提交
  6. 12 10月, 2022 2 次提交