1. 19 10月, 2022 6 次提交
  2. 18 10月, 2022 11 次提交
  3. 17 10月, 2022 6 次提交
    • O
      [hidden trouble] Update test_sparse_transpose_op.py to get rid of a hidden trouble. (#47017) · d43c972c
      OccupyMars2025 提交于
      * Update test_sparse_transpose_op.py
      
      * Update test_sparse_transpose_op.py
      d43c972c
    • Y
      【Hackathon No.8】 add gumbel distribution api (#46255) · f1a9f877
      YuRonan 提交于
      * init gumbel api
      
      * commit: update test file
      
      * fix:bug
      
      * update Gumbel API
      
      * upgrade distribution/gumbel.py
      
      * add tests/test_distribution_gumbel.py
      
      * fix:code style
      
      * fix:code style
      
      * fix:code style
      
      * fix:code style
      
      * fix bug
      
      * fix:code style
      
      * fix:code style
      
      * fix:rollback uniform
      
      * fix:delete invalid code
      
      * fix:bug and add static test
      
      * fix:code style
      
      * fix:code style
      
      * fix:delete init transforms
      
      * fix:bug
      
      * fix:bug
      
      * fix:code style
      
      * fix:code style
      
      * fix:add transforms
      
      * fix:code style
      
      * fix:code style
      
      * fix:bug
      
      * fix:bug
      
      * fix:code style
      
      * fix:code style
      
      * fix:bug
      
      * fix:code style
      
      * fix:code style
      
      * fix:bug for gumbel.py / add:judge transforms'len for transformed_distribution.py
      
      * update gumbel.py
      
      * fix:bug for test_distribution_gumbel.py
      
      * fix:bug for test_distribution_gumbel_static.py
      
      * fix:code style
      
      * fix:code style
      
      * fix:coverage
      
      * fix:bug
      
      * fix:bug
      
      * fix:code style
      
      * fix:bug
      
      * delete:no use package for gumbel.py
      
      * add:coverage transforms'len judge for test_distribution_gumbel.py
      
      * fix:code style for test_distribution_gumbel.py
      
      * fix:coverage
      
      * fix:code style
      
      * fix:code style
      
      * fix:code style
      
      * fix:code style
      
      * fix:code style
      
      * fix:en doc
      
      * fix:param
      
      * fix:copyright
      
      * fixSample; test=document_fix
      Co-authored-by: Ndasen <sen15530876201@163.com>
      f1a9f877
    • 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
      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
    • 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
    • N
      [CodeStyle][py2] remove `compat` module (to_bytes) (#47035) · 198c7993
      Nyakku Shigure 提交于
      * [CodeStyle][py2] remove `compat` module (to_bytes)
      
      * remove some unused imports
      
      * clean up to_bytes definition and unittests
      
      * Revert "clean up to_bytes definition and unittests"
      
      This reverts commit e726539e1768172a411ff60e63fab82f164343cf.
      
      * use `b` prefix instead of `encode()`
      198c7993
  4. 14 10月, 2022 4 次提交
  5. 13 10月, 2022 13 次提交