1. 16 5月, 2023 1 次提交
  2. 11 5月, 2023 1 次提交
  3. 08 5月, 2023 1 次提交
  4. 27 4月, 2023 1 次提交
  5. 25 4月, 2023 2 次提交
    • Z
      Fix some problems in Paddle english instruction doc files. (#53145) · 6c152472
      Zenghui Yuan 提交于
      * Fix some problems in Paddle english instruction doc files.
      
      * fix some new questions
      
      * fix cn doc problems, test=document_fix
      6c152472
    • M
      rename monkey_patch_{math_}varbase as monkey_patch_{math_}tensor (#53191) · 5ca3bc6d
      Meteor Liu 提交于
      * rename monkey_patch_varbase as monkey_patch_tensor & monkey_patch_math_varbase as monkey_patch_math_tensor
      
      * rename monkey_patch_varbase as monkey_patch_tensor & monkey_patch_math_varbase as monkey_patch_math_tensor
      
      * rename monkey_patch_varbase as monkey_patch_tensor & monkey_patch_math_varbase as monkey_patch_math_tensor v2
      
      * rename monkey_patch_varbase as monkey_patch_tensor & monkey_patch_math_varbase as monkey_patch_math_tensor fixed bug
      5ca3bc6d
  6. 19 4月, 2023 1 次提交
  7. 18 4月, 2023 1 次提交
  8. 14 4月, 2023 3 次提交
    • F
      1. modify set_value op, use Scalars to represent attr `values`, instead of a... · dd2a749a
      Feiyu Chan 提交于
      1. modify set_value op, use Scalars to represent attr `values`, instead of a bunch of attributs of various types; (#52408)
      
      2. add program converter and set_value op as an example, which provides the functionality to convert `paddle::framework::ProgramDesc` between old and new formats(the differences are mainly some operators with incompatible updates in the definition);
      3. program version and operator version map now are always saved when serializing `paddle::framework::ProgramDesc` to identify the version;
      3. provide an option `legacy_format=false` in  serialization of `paddle::framework::ProgramDesc`, it decided whether to convert ProgramDesc back to a legacy format, which is compatible for paddle 2.4.2 or earlier versions to load and execute;
      4. deserialization of `paddle::framework::ProgramDesc` is now automatically detecting whether the bytes it receives is in legacy format(contains any of the operators that has been incompatibly updated and have any attribute of type `Scalar`) and convert it to new format. But if you want a faithful deserialization without the automatic conversion, you can use protobuf's deserialization instead. Though it is not recommended, it can be used for the purpose of testing.
      dd2a749a
    • D
      add npu to device_guard (#52774) · 64b4aaba
      duanyanhui 提交于
      64b4aaba
    • K
      rem cncl (#52434) · 25bd5ed8
      Kim Yann 提交于
      25bd5ed8
  9. 12 4月, 2023 1 次提交
  10. 11 4月, 2023 1 次提交
  11. 10 4月, 2023 1 次提交
  12. 07 4月, 2023 1 次提交
  13. 06 4月, 2023 1 次提交
    • K
      rem is_compiled_with_npu (#52385) · 7976e2a3
      Kim Yann 提交于
      * rem is_compiled_with_npu
      
      * rem nup related code
      
      * make lint happy
      
      * rem test
      
      * remove some tests
      
      * Update grad_scaler.py
      
      * fix an error
      7976e2a3
  14. 04 4月, 2023 2 次提交
  15. 03 4月, 2023 1 次提交
  16. 30 3月, 2023 1 次提交
  17. 28 3月, 2023 2 次提交
    • F
      Add basic functionalities to support Scalar & Scalars in op attr (#51984) · 2e9fd5e4
      Feiyu Chan 提交于
      Add basic functionalities to support Scalar & Scalars in operator attribute.
      
      1. extend allowed types in operator's attribute type, add `paddle::experimental::Scalar`, add corresponding protobuf Message types;
      2. Scalar enhancement, add formatting, equality;
      3. add code to handle Scalar & Scalars in opmaker, conversion from  paddle operator to phi kernel, opdesc construction and manipulation,  tensorrt converter, tracer, operator construction, etc;
      4. bind `paddle::experimental::Scalar` to python, as `libpaddle.Scalar`;
      5. add functionality to canonicalize attribute map according to OpProto(if the op the attribute map used for has an OpProto);
      6. add code to manipulate Scalar proto message via protobuffer python API;
      
      Add unittests.
      
      1. add test cases for formatting, equality for Scalars, and WrapAsScalars;
      2. add test cases for 'casting' between different morphs of attributes;
      3. add test cases for extracting scalar & scalars from attribute;
      4. add test cases for CanonicalizeScalarAttrs(and fix a bug in type index offset);
      5. fix gmock's library filename on windows platform.
      6. clean code: use canonicalize_attrs instead of inlining the function;
      7. add test cases for libpaddle.Scalar in python code.
      8. add test cases for `make_scalar_proto`, which manipulate proto message `Scalar` via protobuffer python API.
      2e9fd5e4
    • N
      fix a typo, `sheduler` -> `scheduler` (#52149) · e492ee24
      Nyakku Shigure 提交于
      e492ee24
  18. 21 3月, 2023 1 次提交
    • G
      【fluid clean】remove fluid.data (#50699) · 72c711bb
      GGBond8488 提交于
      * remove fluid.data
      
      * fix typro
      
      * fix somme unitest error
      
      * fix conflicts
      
      * fix sample code error
      
      * fxi sample coder error
      
      * fxi sample code error
      
      * fxi sample code error
      
      * fix xpu test error
      
      * fix xpu test error
      
      * Delete ps_pb2.py
      
      * fix test error
      
      * fix typro
      
      * fix sample code error
      
      * fix comments
      
      * fix test norm op data
      
      * fix sample code error
      
      * fix conflicts
      72c711bb
  19. 20 3月, 2023 2 次提交
    • zhouweiwei2014's avatar
    • G
      【fluid clean】Move out layers and layers helper (#49415) · 1d5cad23
      GGBond8488 提交于
      * remove no used fluid beam_search_decoder
      
      * move Layer and related helper to paddle.nn.common
      
      * modify Layer references from dygraph.layers.Layer to paddle.nn.common.layers
      
      * stash changge
      
      * remove fluid layer_object_helper, layers.py
      
      * remove fluid layers init
      
      * add setip
      
      * fix unitest
      
      * delete layers in fluid.dygraph
      
      * merge paddle.tensor.stat,py
      
      * fix circle import
      
      * fix curcle import
      
      * remove redundant in_dygraph_mode import
      
      * revoce paddle.nn.common.* in fluid.__init__
      
      * recovery nn.rnn
      
      * paddle.frame use lazy import import paddle.jit to avoid circle import
      
      * remove left dygraph.layers ref
      
      * merge develop
      
      * fix import error
      
      * fix test error
      
      * fxi merge error
      
      * fix test fluid.Layer
      
      * fix test error
      
      * fix test error
      
      * fix import error
      
      * fix import error
      
      * fix comments
      
      * fix circle import
      
      * fix rnn import error
      
      * fix circle import
      1d5cad23
  20. 14 3月, 2023 1 次提交
  21. 10 3月, 2023 2 次提交
  22. 03 3月, 2023 1 次提交
  23. 28 2月, 2023 1 次提交
  24. 24 2月, 2023 3 次提交
  25. 22 2月, 2023 1 次提交
  26. 14 2月, 2023 1 次提交
  27. 13 2月, 2023 1 次提交
    • R
      Upgrade protobuf to 4.21.x (#49168) · 15d93394
      risemeup1 提交于
      * upgrade protobuf to 3.19.0 in cmake
      
      * recover protobuf python version
      
      * fix distribute compile
      
      * fix
      
      * fix framework.data_feed_pb2
      
      * fix macos ifdef
      
      * fix lite
      
      * test
      
      * update protoc from 3.19.0 t0 3.20.0
      
      * test
      
      * debug
      
      * test
      
      * test
      
      * debug
      
      * debug
      
      * debug
      
      * debug
      
      * test
      
      * debug
      
      * update protocol from 3.20.0 to 4.21.12
      
      * modify graph_brpc_client.h
      
      * modify graph_brpc_client.h
      
      * test
      
      * test
      
      * test
      
      * fix third_party cache problem on build ci
      
      * updata proto
      
      * test
      
      * test
      
      * test
      
      * test
      
      * test
      
      * test
      
      * fix coverage failed test
      
      * try to fix test_exe_fleet_model_run
      
      * fix cinn bug
      
      * fix windows compile problem
      
      * fix python/requirements
      
      ---------
      Co-authored-by: Npangyoki <pangyoki@126.com>
      15d93394
  28. 20 1月, 2023 1 次提交
    • G
      Fluid clean remove io data (#49301) · 5670644c
      GGBond8488 提交于
      * replace paddle.fluid.layers.data and remove io.data
      
      * partial commit
      
      * partial commit
      
      * partial commit
      
      * partial commit
      
      * partial commit
      
      * partial commit
      
      * remove data in fluid.layers.io.__all__
      
      * fix errors
      
      * fix unitests
      
      * fix unitest
      
      * fix unitests
      
      * fix unitest
      
      * fix unitest
      
      * fix unitests
      
      * fix unitest
      
      * fix test_layers unitests
      
      * fix typro
      
      * fix unitest
      
      * fix unitest
      
      * fix unitest
      
      * fix typro
      
      * fix unitest test_model_cast_to_bf16
      
      * fix test_reducescatter
      
      * fix collective unitest
      
      * fix collective unitests
      
      * fix collective unitests
      
      * add coverage
      
      * fix add layers.data
      
      * re run ci
      
      * fix some typro
      
      * fix samplecode error
      
      * fix samplecode error
      5670644c
  29. 17 1月, 2023 2 次提交
  30. 13 1月, 2023 1 次提交