instance_id
stringlengths
10
65
repo
stringlengths
5
59
pr_number
int64
1
313k
task_type
stringclasses
1 value
base_commit
stringlengths
40
40
review_commit
stringlengths
40
40
title
stringlengths
2
282
body
stringlengths
7
3k
patch
stringlengths
202
204k
n_defects
int64
1
72
n_supported
int64
1
65
n_major
int64
0
32
defects
stringlengths
140
18.8k
certifier_count
int64
PaddlePaddle__FastDeploy__7412
PaddlePaddle/FastDeploy
7,412
defect
5e54770b2ef659095e8e147294071661d43bcebd
9144f733afaa7aaf5cdec721a649e2a807710552
[PD Disaggregation] Enable PD deployment without Router
<!-- TemplateReference: https://github.com/PaddlePaddle/FastDeploy/blob/develop/.github/pull_request_template.md --> <!-- Thank you for your contribution! Please follow these guidelines to enhance your pull request. If anything is unclear, submit your PR and reach out to maintainers for assistance. --> ## Motivat...
diff --git a/fastdeploy/config.py b/fastdeploy/config.py index b4bf00ceb12..252f12efc52 100644 --- a/fastdeploy/config.py +++ b/fastdeploy/config.py @@ -2010,13 +2010,13 @@ def __init__( and self.router_config and self.router_config.router ): - # For RL scenario: version.ya...
7
2
2
[{"id": "G0", "claim": "Banning scheduler_name==\"splitwise\" whenever splitwise_role != \"mixed\" would break existing v0 splitwise deployments (examples/splitwise/start_v0_tp1.sh still uses --scheduler-name \"splitwise\"); either remove the restriction or limit it to v1 scenarios, or, if v0 is really being retired, u...
null
PaddlePaddle__FastDeploy__7424
PaddlePaddle/FastDeploy
7,424
defect
26674bbbb62726c61787e58c22d85ee71e533093
2f82977a0a352509f53341fd885bd5f48398b9fc
[Cherry-Pick][[PD Disaggregation] Enable PD deployment without Router(#7412)
<!-- TemplateReference: https://github.com/PaddlePaddle/FastDeploy/blob/develop/.github/pull_request_template.md --> <!-- Thank you for your contribution! Please follow these guidelines to enhance your pull request. If anything is unclear, submit your PR and reach out to maintainers for assistance. --> ## Motivat...
diff --git a/examples/splitwise/start_v0_tp1.sh b/examples/splitwise/start_v0_tp1.sh deleted file mode 100644 index 40c20301138..00000000000 --- a/examples/splitwise/start_v0_tp1.sh +++ /dev/null @@ -1,113 +0,0 @@ -#!/bin/bash -set -e - -# Test splitwise deployment -# There are two methods for splitwise deployment: -# ...
6
1
1
[{"id": "G0", "claim": "The new ValueError text \"please use router as scheduler.\" is misleading because router is not a valid value of scheduler_name, so the message should be reworded to state a workable configuration combination (e.g. scheduler_name=local + --router).", "category": "documentation", "verdict": "unce...
null
PaddlePaddle__FastDeploy__7428
PaddlePaddle/FastDeploy
7,428
defect
a498720a7587ae230adad291c9314118afc65837
42c0f635c14842e5d2fdc9e6d2f29cecc7c28647
[Feature] Support MOE Cutlass backend for latent MOE
<!-- TemplateReference: https://github.com/PaddlePaddle/FastDeploy/blob/develop/.github/pull_request_template.md --> <!-- Thank you for your contribution! Please follow these guidelines to enhance your pull request. If anything is unclear, submit your PR and reach out to maintainers for assistance. --> ## Motivat...
diff --git a/fastdeploy/model_executor/layers/moe/fused_moe_backend_base.py b/fastdeploy/model_executor/layers/moe/fused_moe_backend_base.py index c2c61cd53ce..3b38f026fd9 100644 --- a/fastdeploy/model_executor/layers/moe/fused_moe_backend_base.py +++ b/fastdeploy/model_executor/layers/moe/fused_moe_backend_base.py @@ ...
5
3
3
[{"id": "G0", "claim": "The apply_ep_prefill and apply_ep_decode method signatures were not updated for the new fc1_latent_proj/fc2_latent_proj parameters, so in expert-parallel mode the latent projections would be ignored and latent MOE support is incomplete there.", "category": "correctness", "verdict": "uncertain", ...
null
PaddlePaddle__PARL__107
PaddlePaddle/PARL
107
defect
2f11d0c53d7eed7736f8ee8c90858ad5cf447b25
cf53dbc0cf0c041e4298ca39ca360298d7485e58
Save params
### This PR resolves #106 : 1. add `save()` and `restore()` APIs for `parl.Agent` 2. add unit test for the new feature. ##### Usage: ```python >> agent = AtariAgent() >> agent.save('./model.ckpt') >> agent.restore('./model.ckpt') >> another_agent = AtariAgent() >> another_agent.restore('./model.ckpt') ```
diff --git a/examples/QuickStart/cartpole_agent.py b/examples/QuickStart/cartpole_agent.py index 00d7ce6e8..b18faac77 100644 --- a/examples/QuickStart/cartpole_agent.py +++ b/examples/QuickStart/cartpole_agent.py @@ -26,14 +26,14 @@ def __init__(self, algorithm, obs_dim, act_dim): def build_program(self): ...
2
1
0
[{"id": "G0", "claim": "The test could use np.testing.assert_equal instead of the manual numpy equality assert.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "agent.restore() fails with TypeError: program's type should be Program.", "category": "correct...
null
PaddlePaddle__PARL__27
PaddlePaddle/PARL
27
defect
1a1e1f032e2ac8fc0424e08c515bd1dc2fca72be
6ec0f390c25677de43a4e7262b3b16554763787e
add logger module
- support colorful logging - support save log to file - support output thread info
diff --git a/parl/layers/__init__.py b/parl/layers/__init__.py index e2b87030c..a615ae1d9 100644 --- a/parl/layers/__init__.py +++ b/parl/layers/__init__.py @@ -16,4 +16,4 @@ For other layers that don't have parameters, we simply copy them to this namespace. """ from paddle.fluid.layers import * -from layer_wrappers...
2
2
0
[{"id": "G0", "claim": "set_level could accept the same argument type as _logger.setLevel (logging level objects/numbers like _logger.setLevel(logging.WARNING)) instead of only strings.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The logger test code ...
null
PaddlePaddle__PARL__278
PaddlePaddle/PARL
278
defect
bcface6a6d630c84f0c0c44240a4073676e817bb
7422128eda601c921da7f4704796d2039e4b1a87
ping the master before connection
Users may deploy PARL in some environments that have internet issues. To help users to locate the problem, we ping the master before parl.connect. In this way, PARL provides more information for debugging.
diff --git a/parl/algorithms/fluid/impala/vtrace.py b/parl/algorithms/fluid/impala/vtrace.py index 9eb75957b..99840bbe2 100644 --- a/parl/algorithms/fluid/impala/vtrace.py +++ b/parl/algorithms/fluid/impala/vtrace.py @@ -146,7 +146,7 @@ def from_importance_weights(behaviour_actions_log_probs, def recursively_scan(...
2
1
0
[{"id": "G0", "claim": "The docstring of recursively_scan should be a raw string (r\"\"\" instead of \"\"\") so its backslashes render correctly.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new ping helper should reuse the existing _IS_WIND...
null
PaddlePaddle__PARL__28
PaddlePaddle/PARL
28
defect
942c3c5cc07cf40f0edc3cac99e0f75857732901
537d18122ce8ff9ac3bdf47f1eaced29b5e37f1a
sync paras in program, fix deepcopy bug, python3 compatibility
- resolve #22 - sync parameters in program run (won't copy data from gpu to cpu) - fix bug of deepcopy in Network - add get_parameter_names api of Network - python3 compatibility
diff --git a/parl/framework/model_base.py b/parl/framework/model_base.py index 94d9f03d0..c183dab76 100644 --- a/parl/framework/model_base.py +++ b/parl/framework/model_base.py @@ -15,47 +15,115 @@ Base class to define an Algorithm. """ +import paddle.fluid as fluid from abc import ABCMeta, abstractmethod from pa...
3
3
0
[{"id": "G0", "claim": "Comments should be added to the newly added code in model_base.py.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new _fetch_framework_var helper should explain why it is needed or where it could be used.", "category": ...
null
PaddlePaddle__PARL__38
PaddlePaddle/PARL
38
defect
53c9478726c2d1201234f52b3bc96d0b4cd4dc35
ad573d8757dc0b2bbbb67e8634b5f3b94124fe5f
Provide synchronizable create_parameter in PARL
- provide synchronizable create_parameter api - add corresponding unittest
diff --git a/parl/framework/model_base.py b/parl/framework/model_base.py index 6382c63be..37ba59150 100644 --- a/parl/framework/model_base.py +++ b/parl/framework/model_base.py @@ -65,9 +65,9 @@ def sync_params_to(self, target_net, gpu_id=0, decay=0.0): self._cached_sync_params_program = fluid.Program() ...
4
4
1
[{"id": "G0", "claim": "The module import should use an absolute path (e.g. parl.layers.utils) instead of a relative one to stay consistent with other import lines describing the code path.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Users ca...
null
PaddlePaddle__PARL__381
PaddlePaddle/PARL
381
defect
4b646fe055a69c9bfb7dca26132e44041b62b5c7
afc6995d28428446eaf09d21dda2b4438b2078d3
add the function to get and set attributes of remote models
Add the function to get and set attributes of remote models. i.e. we can operate the remote object in the following way, ```python import parl @parl.remote_class class Agent(object): def __init__(self): self.b = 0 parl.connect('localhost:8400') agent = Agent() print(agent.b) # 0 agent.b = 5...
diff --git a/parl/core/fluid/model.py b/parl/core/fluid/model.py index bf7069a68..80f748689 100644 --- a/parl/core/fluid/model.py +++ b/parl/core/fluid/model.py @@ -53,7 +53,7 @@ def policy(self, obs): copied_policy = copy.deepcopy(model) Attributes: - model_id(str): each model instance has its u...
3
3
2
[{"id": "G0", "claim": "The wrapper should not initialize an object (cls()) in __setattr__ to decide where an attribute lives; put this piece of logic in the remote object.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add unittest cases for: (1) an Act...
null
PaddlePaddle__PARL__388
PaddlePaddle/PARL
388
defect
74d4facbb4c381ad4240f12d88e71c1aa35b410b
a4834b1ad5140b22e05199594d15c5b46b8f6608
check remote attributes in local
update a set for remote attributes in the local object every time __setattr__() is called
diff --git a/parl/remote/job.py b/parl/remote/job.py index b13c86828..2d4d6915b 100644 --- a/parl/remote/job.py +++ b/parl/remote/job.py @@ -325,7 +325,10 @@ def wait_for_connection(self, reply_socket): to_byte(error_str + "\ntraceback:\n" + traceback_str) ]) retur...
4
4
1
[{"id": "G0", "claim": "Add unittest cases for (1) getting an attribute after a function call adds a new attribute and (2) getting an attribute after setting an attribute.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "After calling a remote function th...
null
PaddlePaddle__PARL__5
PaddlePaddle/PARL
5
defect
3f82a9bdea96fd3849a6385d1efb54ade82d4cde
d665f667e922cd6216de64cebae4a1309c0f5063
A simple replay buffer
~~Two changes need to be done:~~ ~~1. In `Experience`, we've decided to let `done` correspond to the next state instead of the current state, as discussed in the design doc.~~ ~~2. Pre-specify the shape of each field in `Experience` and pre-allocate space for them in `ReplayBuffer` for efficiency.~~ After discussion...
diff --git a/parl/common/error_handling.py b/parl/common/error_handling.py new file mode 100644 index 000000000..0016aaccb --- /dev/null +++ b/parl/common/error_handling.py @@ -0,0 +1,31 @@ +# Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "Lice...
27
21
3
[{"id": "G0", "claim": "Experience's fields should be named and laid out as inputs (including reward), actions, states and episode_end instead of the vague obs/reward/action/episode_end set.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Sample's two fie...
null
PaddlePaddle__PARL__524
PaddlePaddle/PARL
524
defect
8877d68f87407c438ba079cd8d56303dfae95521
a572fc69d89a99e700168de23be4c7d0e0f7e8a8
Windows unittest CI
- fix windows compatibility - add windows unittest CI
diff --git a/.teamcity/build.sh b/.teamcity/build.sh index 0f7121cb7..22ba125a1 100755 --- a/.teamcity/build.sh +++ b/.teamcity/build.sh @@ -214,12 +214,19 @@ function main() { export LANG=C.UTF-8 xparl stop done + run_test_with_gpu + run_test_with_dygraph_...
3
1
0
[{"id": "G0", "claim": "All the Windows requirements should be put in the single file windows_requirements.txt instead of being split across two requirement files.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The CSV file generated under Python 2 may not...
null
PaddlePaddle__PARL__543
PaddlePaddle/PARL
543
defect
7ffd1d85c0dcf634b5984d252869e844c84c3875
de2c85a2b5bcda74ffc3f5cd988d0f1e9b27bbdf
Modify continuous_wrapper
### add _max_episode_steps,_elapsed_steps to /parl/env/continuous_wrappers.py
diff --git a/parl/env/continuous_wrappers.py b/parl/env/continuous_wrappers.py index 3a9012fa6..853aa93a7 100644 --- a/parl/env/continuous_wrappers.py +++ b/parl/env/continuous_wrappers.py @@ -14,6 +14,7 @@ import gym import numpy as np +from parl.utils import logger class ActionMappingWrapper(gym.Wrapper): @@...
2
2
2
[{"id": "G0", "claim": "Do not display the 'object has no attribute _elspaed_steps' error when the user does not need to use env._elapsed_steps.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Check whether the env has the _max_episode_steps attribut...
null
PaddlePaddle__PARL__56
PaddlePaddle/PARL
56
defect
348db1fbaf6a4fe8c1b0922b303d8b20a8213df7
c1d90c9d8977111daae86394c30d38a49d38982f
add api set_params/get_params in Model
- add api set_params/get_params in Network; - add unittest of api set_params/get_params; - add Interface of Network and LayerFunc to solve circular imports; - refine parameter_names api in Network, which will ensure order consistent between different instance of same Network; - run teamcity unittest in both GPU a...
diff --git a/.copyright.hook b/.copyright.hook index 312b0fa72..3be6d0ae5 100644 --- a/.copyright.hook +++ b/.copyright.hook @@ -103,6 +103,7 @@ def main(argv=None): first_line = fd.readline() second_line = fd.readline() if "COPYRIGHT (C)" in first_line.upper(): continue + if "THIRD PA...
3
2
0
[{"id": "G0", "claim": "The docstring of _get_parameter_pairs should document its Args entries in the 'name(type): description' format used for comments in this codebase.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The 'from parl.plutils import...
null
PaddlePaddle__PARL__745
PaddlePaddle/PARL
745
defect
622e31ae3a5e3f4b031c47feefe15f992a3480f9
916a01bf8f73f17b30b161074c5823d15779745f
add inference
running inference episodes in main function seems to be redundancy. I think it can be annotated.
diff --git a/examples/DDPG/train.py b/examples/DDPG/train.py index 3196a21b3..8d36b19d9 100644 --- a/examples/DDPG/train.py +++ b/examples/DDPG/train.py @@ -15,6 +15,8 @@ import gym import argparse import numpy as np +import paddle +from paddle.static import InputSpec from parl.utils import logger, summary, ReplayM...
6
6
3
[{"id": "G0", "claim": "Remove the `import paddle` line this pull request adds to the example training scripts examples/DDPG/train.py and examples/DQN/train.py.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use the existing run_evaluate_episode...
null
PaddlePaddle__PARL__927
PaddlePaddle/PARL
927
defect
84f363a308e94f69af1e2f69e2da02394a7cc3ad
53e30a13747533c0e111bef532dc626c48fb4998
add agent.train()/eval()
## Add agent.train(), agent.eval() model/alg._train()/_eval() agent.train()/eval()
diff --git a/parl/core/agent_base.py b/parl/core/agent_base.py index ff3b42e64..7cd7e46be 100644 --- a/parl/core/agent_base.py +++ b/parl/core/agent_base.py @@ -77,3 +77,13 @@ def sample(self, *args, **kwargs): 4. Add sampling operation in numpy level. (unnecessary if sampling operation have done in `Algori...
2
2
0
[{"id": "G0", "claim": "The train() docstring should say 'This has any effect only on certain modules, which behave differently in train/evaluation mode, eg. Dropout, BatchNorm, etc.' instead of the copied PyTorch wording in both the paddle and torch agents.", "category": "documentation", "verdict": "supported", "prior...
null
PaddlePaddle__Paddle-Lite__10026
PaddlePaddle/Paddle-Lite
10,026
defect
e79c7513aeae65e3fcea4c3e5ebc67329131ab22
14ee890a1ee872eca107f56c6c18b6eefa6743d6
[Framework] Update set_model_from_buffer api
<!-- Demo: https://github.com/PaddlePaddle/Paddle-Lite/pull/8688 --> ### PR devices <!-- One of [ Framework | Host | Arm | x86 | OpenCL | Metal | XPU | NNadapter | others ] --> Framework ### PR types <!-- One of [ New features | Bug fixes | Performance optimization | Breaking changes | Others ] --> Others ##...
diff --git a/lite/api/light_api.cc b/lite/api/light_api.cc index 6655ef8e34d..b546e997465 100644 --- a/lite/api/light_api.cc +++ b/lite/api/light_api.cc @@ -22,15 +22,25 @@ namespace paddle { namespace lite { -void LightPredictor::Build(const std::string& lite_model_file, - bool model_from...
1
1
0
[{"id": "G0", "claim": "Rename the MobileConfig model-buffer member and getter (lite_model_buffer_ / lite_model_buffer()) to carry a _ptr suffix, as in lite_model_buffer_ptr_ / lite_model_buffer_ptr().", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
PaddlePaddle__Paddle-Lite__10095
PaddlePaddle/Paddle-Lite
10,095
defect
b0a3c984d160a0cdbf099ba38714d59f7511ba52
ecbca38ee63bc9cf6ea74268d4de69cc1c320cab
[ARM] Arm cpu fc performance optimization
<!-- Demo: https://github.com/PaddlePaddle/Paddle-Lite/pull/8688 --> ### PR devices Arm ### PR types Performance optimization ### PR changes Kernels ### Description optimization fc 其他内容(优化 fc sve实现,优化 fc fp16,fp32实现,优化 fc tran_b实现,增加 fc int8 单测, 测试性能数据)在 https://github.com/PaddlePaddle/Paddle-Lite/pull/1...
diff --git a/lite/api/tools/benchmark/benchmark.cc b/lite/api/tools/benchmark/benchmark.cc index f56a79d2a9b..64efc525300 100644 --- a/lite/api/tools/benchmark/benchmark.cc +++ b/lite/api/tools/benchmark/benchmark.cc @@ -151,6 +151,8 @@ void Run(const std::string& model_file, if ((i < input_types.size()) && (i...
3
2
1
[{"id": "G0", "claim": "The SVE gemm path should be updated as well rather than only the non-SVE gemm_s8 interface.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Using a function overload or moving packed_b to the last parameter with a default value wou...
null
PaddlePaddle__Paddle-Lite__10139
PaddlePaddle/Paddle-Lite
10,139
defect
32eb13df24e06963544af51a7cdc8254952531b0
850ec0747f2adec1de67bc13cb69042668f98fd7
[Arm] change elementwise kernel kInt32/kInt64 to kFloat
<!-- Demo: https://github.com/PaddlePaddle/Paddle-Lite/pull/8688 --> ### PR devices <!-- One of [ Framework | Host | Arm | x86 | OpenCL | Metal | XPU | NNadapter | others ] --> Arm ### PR types <!-- One of [ New features | Bug fixes | Performance optimization | Breaking changes | Others ] --> Bug fixes ### PR c...
diff --git a/lite/kernels/arm/elementwise_compute.cc b/lite/kernels/arm/elementwise_compute.cc index 8fd2f6af30b..84e47ae69d8 100644 --- a/lite/kernels/arm/elementwise_compute.cc +++ b/lite/kernels/arm/elementwise_compute.cc @@ -323,7 +323,6 @@ void ElementwiseAddCompute<float16_t, PRECISION(kFP16)>::Run() { using N...
1
1
1
[{"id": "G0", "claim": "The Int32 and Int64 elementwise kernels should be registered with kFloat precision instead of kAny, per the convention that kernel precision only distinguishes kFloat/kFP16/kInt8, because when kFloat and kAny/kInt32/kInt64 kernels coexist the kernel-selection algorithm prefers the heavily weight...
null
PaddlePaddle__Paddle-Lite__10537
PaddlePaddle/Paddle-Lite
10,537
defect
44ebd44c4fece645eb37365abe598cca432ba0eb
bd7c75e5d7408c888928e9d5f79d821b41c5be6a
support search gan model. 1.add pixel_unshuffle support &2.enable fill_constant calc offline on arm and opencl & 3.enable reshape_calc_offline_pass on arm and opencl
### PR devices Arm ### PR types Op Support & Performance optimization ### PR changes OP | PASS | Kernels | ### Description 1.add pixel_unshuffle support 2.enable fill_constant calc offline on arm and opencl 3.enable reshape_calc_offline_pass on arm and opencl
diff --git a/lite/core/optimizer/mir/elimination/fill_constant_calc_offline_pass.cc b/lite/core/optimizer/mir/elimination/fill_constant_calc_offline_pass.cc index 75a15ddf6b8..1b724f2562c 100644 --- a/lite/core/optimizer/mir/elimination/fill_constant_calc_offline_pass.cc +++ b/lite/core/optimizer/mir/elimination/fill_c...
3
3
1
[{"id": "G0", "claim": "The Chinese comments in the new pixel_unshuffle code should be unified into English.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Since the kernel is a naive implementation, it should be placed under the host directory ...
null
PaddlePaddle__Paddle-Lite__1918
PaddlePaddle/Paddle-Lite
1,918
defect
0cfbd26640f07b9e0d1f8ff168c5b139b14723fb
74af7cd92d15369dcd37391a0802322d0b1f4ba4
add the method of loading model from naive buffer for LightPredictor
add the method of loading model from naive buffer for LightPredictor
diff --git a/lite/api/apis_test.cc b/lite/api/apis_test.cc index 3dc02240846..c87ff01f1f2 100644 --- a/lite/api/apis_test.cc +++ b/lite/api/apis_test.cc @@ -67,7 +67,9 @@ TEST(CXXApi_LightApi, optim_model) { TEST(CXXApi_LightApi, save_and_load_model) { lite::Predictor cxx_api; - lite::LightPredictor light_api(FL...
7
6
1
[{"id": "G0", "claim": "Add tests of CreatePaddlePredictor to light_api_impl_test.cc.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Predictor::Build in lite/api/cxx_api.cc has too much functionality and should do less.", "category": "maintainability", ...
null
PaddlePaddle__Paddle-Lite__8400
PaddlePaddle/Paddle-Lite
8,400
defect
0ef252bc0717c12b14f2dcd8cf2c8e1509b4287f
d5704d6f813ee79cd2e3d5d30f0b001dd3a4f765
[OpenCL] Fix box_coder kernel
1, code_type support encode_center_size and decode_center_size 2, axis support 0 and 1 3, prior_box_var support nullptr, add variance attr 4, box_normalized support true and false
diff --git a/lite/backends/opencl/cl_kernel/image/box_coder_kernel.cl b/lite/backends/opencl/cl_kernel/image/box_coder_kernel.cl index dc596820b48..410bf2e89df 100644 --- a/lite/backends/opencl/cl_kernel/image/box_coder_kernel.cl +++ b/lite/backends/opencl/cl_kernel/image/box_coder_kernel.cl @@ -14,12 +14,320 @@ limita...
2
2
0
[{"id": "G0", "claim": "Rename the axis-0 decode branch's kernel function from \"decode_center_size\" to \"decode_center_size_axis0\" so its name reflects the axis condition.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Why was the test abs_er...
null
PaddlePaddle__Paddle-Lite__8423
PaddlePaddle/Paddle-Lite
8,423
defect
707233933da6ca6e982c831a3e16921bdda9ba5d
80b0fd68165e50bc6178f92c8a3a42893d865629
[NNAdapter][HuaweiKirinNPU] Add batch_norm, gather, p_norm and tile
## Ops - Batch norm - Gather - P-Norm - Tile ### Batch Norm use hiai::op::BNInference ### Gather use hiai::op::GatherV2D ### P-Norm use hiai::op::L2Normalize - Huawei Kirin NPU only support L2 norm. - Epsilon >= 1e-4. - It will cause an overflow when the value of the input tensor is too big or the ...
diff --git a/lite/backends/nnadapter/nnadapter/driver/huawei_kirin_npu/converter/all.h b/lite/backends/nnadapter/nnadapter/driver/huawei_kirin_npu/converter/all.h index 606fedf87a1..fb7650ae077 100644 --- a/lite/backends/nnadapter/nnadapter/driver/huawei_kirin_npu/converter/all.h +++ b/lite/backends/nnadapter/nnadapter...
1
1
0
[{"id": "G0", "claim": "The log messages in lp_normalization.cc should drop the redundant \"HuaweiKirin NPU\" prefix since the log already shows the file path (e.g. write \"L1 norm is not supported\").", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
PaddlePaddle__Paddle-Lite__8969
PaddlePaddle/Paddle-Lite
8,969
defect
24b36c58d93921949cbe5c1b4285d4392f37b453
f601bfcb3088f07a013cc16098af91283c8b4958
[NNAdapter][IntelOpenvino] add depthwise_conv2d conv2d_transpose and …
…activations op, test=intel_openvino, test=nvidia_tensorrt
diff --git a/lite/backends/nnadapter/nnadapter/src/driver/intel_openvino/converter/all.h b/lite/backends/nnadapter/nnadapter/src/driver/intel_openvino/converter/all.h index 8da2e502c45..8c9d9a4c05e 100644 --- a/lite/backends/nnadapter/nnadapter/src/driver/intel_openvino/converter/all.h +++ b/lite/backends/nnadapter/nna...
16
11
1
[{"id": "G0", "claim": "The newly added Intel copyright header block is applied inconsistently across the converter files and its format (extra blank line, duplicated license header) needs double-checking.", "category": "style", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "De...
null
PaddlePaddle__Paddle-Lite__9193
PaddlePaddle/Paddle-Lite
9,193
defect
f80063aeefde3bb2e4ad6fd9c1ab5ab293bd2427
30e52580cf9e44e840e5122d888b7c18b8eb48d2
[OpenCL][Buffer]Add reshape buffer opencl
1. 为了解决image2d版本,需要对内存重排导致的性能问题 2. 为了解决部分模型在adreno gpu上超出image2d范围报错问题
diff --git a/lite/kernels/opencl/CMakeLists.txt b/lite/kernels/opencl/CMakeLists.txt index cfa99d32a51..6e799d9f0d9 100644 --- a/lite/kernels/opencl/CMakeLists.txt +++ b/lite/kernels/opencl/CMakeLists.txt @@ -178,6 +178,7 @@ add_kernel(slice_opencl_buffer OPENCL basic SRCS slice_buffer_compute.cc) add_kernel(yolo_box_...
1
1
0
[{"id": "G0", "claim": "The OpenCL unit test added by this PR should reuse the existing kernel tests under lite/tests/kernels instead of standing alone.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
PaddlePaddle__Paddle-Lite__9478
PaddlePaddle/Paddle-Lite
9,478
defect
d42f24a79cffc32825d5a64fe83bdba0d4622f55
db50d8e1436482c3f505b66cbe0e8a9e475b711a
[OpAttr] Add Scalar and IntArray to represent dynamic attribute from lite::Tensor
### What's New ? Add Scalar and IntArray to represent dynamic attribute from lite::Tensor ### Roadmap - [x] Update core/framework.proto ([PR9437](https://github.com/PaddlePaddle/Paddle-Lite/pull/9437)) - [x] Add Scalar, IntArrray structure ([this PR]()) - [ ] Adapt kernels attribute to Scalar, IntArray - [...
diff --git a/lite/core/framework.proto b/lite/core/framework.proto index d4291a1fc5f..9bc2e104331 100644 --- a/lite/core/framework.proto +++ b/lite/core/framework.proto @@ -35,6 +35,10 @@ enum AttrType { LONG = 9; BLOCKS = 10; LONGS = 11; + FLOAT64S = 12; + VAR = 13; + VARS = 14; + FLOAT64 = 15; } // O...
7
7
0
[{"id": "G0", "claim": "The reviewer requested that the new IntArray header be placed under the lite/core directory instead of lite/operators.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer requested that the new Scalar header be placed unde...
null
PaddlePaddle__Paddle-Lite__9930
PaddlePaddle/Paddle-Lite
9,930
defect
bb616f90f2e735cbd9853e982cc3a2b2f3331720
2ed07aba879cdd277b1d9cb14f381c8be767349e
[QualcommQnn] Add More Qnn Ops
<!-- Demo: https://github.com/PaddlePaddle/Paddle-Lite/pull/8688 --> ### PR devices NNadapter ### PR types New features ### PR changes OP ### Description Add QNN OP: logical_and, logical_not, lookup_table, sqrt, square, sum, where, log_softmax
diff --git a/lite/backends/nnadapter/nnadapter/include/nnadapter/optimizer/convert_datalayout_nchw_to_nhwc.h b/lite/backends/nnadapter/nnadapter/include/nnadapter/optimizer/convert_datalayout_nchw_to_nhwc.h index 26840833739..357add5a31b 100644 --- a/lite/backends/nnadapter/nnadapter/include/nnadapter/optimizer/convert...
3
3
1
[{"id": "G0", "claim": "The newly added file's copyright header should use the current year (2023) instead of 2021.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In the padding_idx check, use CHECK_EQ(padding_idx, -1) << \"Only support padding_...
null
PaddlePaddle__PaddleFleetX__609
PaddlePaddle/PaddleFleetX
609
defect
46fe57041d6746b79eaf26d98c108cb3a4bfed01
145498b5c15253840e7495fa2aeca5b63046f8ad
add fleetx/inference and InferenceEngine
**add fleetx/inference and InferenceEngine** - add `fleetx/inference` directory and `fleetx/inference/engine.py` - add `TensorRTConfig` and `InferenceEngine` API **test code:** fleetx/tests/test_inference_engine.py **example code:** examples/gpt/single/run_inference.py, examples/gpt/hybrid_parallel/run_inference....
diff --git a/fleetx/inference/__init__.py b/fleetx/inference/__init__.py new file mode 100644 index 000000000..55add6585 --- /dev/null +++ b/fleetx/inference/__init__.py @@ -0,0 +1,18 @@ +# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved +# +# Licensed under the Apache License, Version 2.0 (the "License");...
1
1
0
[{"id": "G0", "claim": "The main() demo in fleetx/inference/engine.py should be moved to a test file.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
PaddlePaddle__PaddleFleetX__906
PaddlePaddle/PaddleFleetX
906
defect
160acb8913c20a37968580193f5cac40131ce2ff
8ccbc5251cca5923d05ce9fd7fd7871b7af1444b
Optimizing GPT performance in inference
Optimizing GPT performance in inference Remaining problem: 1. Attention_mask's shape 2. Unfinished_flag in the while op when eos_token_id is None, which will cause synchronize.
diff --git a/ppfleetx/configs/nlp/gpt/auto/generation_gpt_345M_mp1.yaml b/ppfleetx/configs/nlp/gpt/auto/generation_gpt_345M_mp1.yaml new file mode 100644 index 000000000..a3728aa8b --- /dev/null +++ b/ppfleetx/configs/nlp/gpt/auto/generation_gpt_345M_mp1.yaml @@ -0,0 +1,47 @@ +_base_: ./pretrain_gpt_base.yaml + + +Engi...
5
5
2
[{"id": "G0", "claim": "The new config file generation_gpt_345M_mp1.yaml should be named generation_gpt_345M_single_card.yaml for naming consistency with the other configs.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Check the new default-tem...
null
PaddlePaddle__PaddleFormers__2633
PaddlePaddle/PaddleFormers
2,633
defect
dc9ac0e62997a0b671439fd7a018777bf418a79e
84533ae73ed9d7f23999230f2e4d128b54a07da2
fix ernie4_5 moe_layer to allgather
<!-- Demo: https://github.com/PaddlePaddle/PaddleFormers/pull/ --> #### Before submitting - [ ] Lint code. If there are lint issues, please format the code first. ```shell # Install and register `pre-commit` in the project folder pip install pre-commit && pre-commit install # Process previous code files sep...
diff --git a/examples/alignment/dpo/dpo_argument.py b/examples/alignment/dpo/dpo_argument.py index df473c54dbf..bcaabfaf848 100644 --- a/examples/alignment/dpo/dpo_argument.py +++ b/examples/alignment/dpo/dpo_argument.py @@ -102,6 +102,8 @@ class DPOConfig: ref_model_update_steps: int = field(default=-1, metadata=...
3
3
1
[{"id": "G0", "claim": "The PR flipped the convert_from_hf and save_to_hf field defaults to False; the defaults can be set back to True.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The try/except ImportError around fused_rms_norm_ext is unnecessary si...
null
PaddlePaddle__PaddleFormers__4309
PaddlePaddle/PaddleFormers
4,309
defect
83c2fb8ab807cde81f8d747c88dcf510e2fdcf44
dfafbdd639a507a284526900351aa68ecc0dc2f6
test ci baseline
<!-- Demo: https://github.com/PaddlePaddle/PaddleFormers/pull/ --> #### Before submitting - [ ] Lint code. If there are lint issues, please format the code first. ```shell # Install and register `pre-commit` in the project folder pip install pre-commit && pre-commit install # Process previous code files sep...
diff --git a/scripts/regression/Readme.md b/scripts/regression/Readme.md index 2638869445a..d6937cbd1d5 100644 --- a/scripts/regression/Readme.md +++ b/scripts/regression/Readme.md @@ -7,7 +7,7 @@ | qwen3moe | PaddleFormers/tiny-random-qwen3moev2 | text | qwen3 | | qwen2_moe | PaddleFormers/tiny-random-qwen2moev2 | t...
4
4
3
[{"id": "G0", "claim": "The default model name hardcoded at ci_model_unittest.sh:151 is still glm_moe while config.yaml has renamed the key to glm4_moe, so when no transformer changes are detected CI falls back to a nonexistent model name and the regression tests fail.", "category": "correctness", "verdict": "supported...
null
PaddlePaddle__PaddleNLP__10146
PaddlePaddle/PaddleNLP
10,146
defect
dd774f1223f87af3bac7b7b0ad6f489a19ec993a
802d5e6e99a93d5e5f0f1c48e28b14fb3d6a67bf
LoRA-Pro Implemention
PR types Others PR changes Others Description 修改了paddlenlp/peft/lora/lora_layers.py,添加了lorapro方法的实现 修改了paddlenlp/peft/lora/lora_model.py,添加了lorapro方法的实现 修改了paddlenlp/peft/lora/lora_config.py,加入了lorapro参数 在paddlenlp/utils/optimizer.py新增优化器AdamWLoRAPro,专门处理lorapro方法下梯度计算问题 在paddlenlp/trainer/trainer.py添加Adam...
diff --git a/llm/docs/finetune.md b/llm/docs/finetune.md index 47cde5ab8219..5cc07822f1b7 100644 --- a/llm/docs/finetune.md +++ b/llm/docs/finetune.md @@ -236,6 +236,7 @@ python ./predict/reft_predictor.py \ - `strategy_type`: 长序列扩展策略的类型,默认为 None。 - `strategy_name`: 长序列扩展策略的具体名称,默认为 None。 - `rope_scaling_factor`: 应用...
7
5
3
[{"id": "G0", "claim": "The LoRA-Pro optimizer does not handle the various distributed-training cases, so the reviewer asks not to write it into the trainer for now and instead pass the optimizer to the trainer at initialization in run_finetune.py (and, as M007 adds, move AdamWLoRAPro out of trainer.py).", "category": ...
null
PaddlePaddle__PaddleNLP__10413
PaddlePaddle/PaddleNLP
10,413
defect
88b7a14ab074bfabc08206d19490cce89c0380b4
2967f58c8c9e2e7878df3027f86262dcc8e5c5dc
【Hackathon 8th No.32】 Adam-mini 精调算法复现
<!-- Demo: https://github.com/PaddlePaddle/PaddleNLP/pull/26 --> #### Before submitting - [x] Lint code. If there are lint issues, please format the code first. ```shell # Install and register `pre-commit` in the project folder pip install pre-commit && pre-commit install # Process previous code files separ...
diff --git a/paddlenlp/utils/optimizer.py b/paddlenlp/utils/optimizer.py index 57727069011c..714179d2725d 100644 --- a/paddlenlp/utils/optimizer.py +++ b/paddlenlp/utils/optimizer.py @@ -13,9 +13,10 @@ # limitations under the License. import re +import warnings import paddle -from paddle import pir +from paddle ...
7
4
3
[{"id": "G0", "claim": "The update formula should use the freshly-updated mom1 as its first parameter instead of the moment1 accumulator as in the original algorithm, i.e. p += (mom1 / denom) * (-(lr / (1.0 - beta1_pow))).", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "pre_existing"}, ...
null
PaddlePaddle__PaddleNLP__10594
PaddlePaddle/PaddleNLP
10,594
defect
6de50e67505928a48cdbb1bb737faf14b55a3229
a1609a7ac50dd22ca4ce327aa344e5d8586bf900
[Integration] add swanlab logger
## Pull Request Description This PR introduces [SwanLab](https://github.com/SwanHubX/SwanLab), a lightweight open-source experiment tracking tool, as a new logging option for the training framework. The integration provides both online and offline tracking capabilities, along with a local dashboard for visualizing r...
diff --git a/paddlenlp/trainer/integrations.py b/paddlenlp/trainer/integrations.py index 2b19e890ce7d..5ba138189fbd 100644 --- a/paddlenlp/trainer/integrations.py +++ b/paddlenlp/trainer/integrations.py @@ -43,6 +43,10 @@ def is_wandb_available(): return importlib.util.find_spec("wandb") is not None +def is_sw...
2
2
1
[{"id": "G0", "claim": "The https://swanlab.com/ URL in the SwanLabCallback docstring appears to be unreachable and should be corrected.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The swanlab_api_key parameter should not be added, since users ...
null
PaddlePaddle__PaddleNLP__10768
PaddlePaddle/PaddleNLP
10,768
defect
06378bb4e591363e14f44e2e8b0b90f39ee5527e
a04da340d4483bb66600e483788dac3af2ebe312
adapt new nccl version
<!-- Demo: https://github.com/PaddlePaddle/PaddleNLP/pull/26 --> #### Before submitting - [x] Lint code. If there are lint issues, please format the code first. ```shell # Install and register `pre-commit` in the project folder pip install pre-commit && pre-commit install # Process previous code files separ...
diff --git a/paddlenlp/trainer/argparser.py b/paddlenlp/trainer/argparser.py index 5d6d337df993..57a824877966 100644 --- a/paddlenlp/trainer/argparser.py +++ b/paddlenlp/trainer/argparser.py @@ -157,7 +157,8 @@ def _parse_dataclass_field(parser: ArgumentParser, field: dataclasses.Field): elif field.default...
2
1
0
[{"id": "G0", "claim": "ZHUI asks why the PR changed the dict-parsing condition in _parse_dataclass_field from `field.type is dict` to `origin_type is dict`.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Move the NCCL communication-config initialization...
null
PaddlePaddle__PaddleNLP__10854
PaddlePaddle/PaddleNLP
10,854
defect
3e9d3518cbecd8357cec14f059776272713d5c62
fcc1b208de83233ed6329349a199cd37ddaeb989
Fix hidden states and quant kv cache
1. 支持量化代码返回 hidden_states 2. 支持针对向量模型进行量化加载,包括 weight_only_int8,weight_only_int4 两种方式 3. 支持向量模型量化加载时仅预分配第一层 kv_cache 并在后续计算时进行复用,从而降低显存占用
diff --git a/llm/predict/predictor.py b/llm/predict/predictor.py index ddac513e4890..b7d6d17590f3 100644 --- a/llm/predict/predictor.py +++ b/llm/predict/predictor.py @@ -196,6 +196,7 @@ class PredictorArgument: ) dynamic_insert: bool = field(default=False, metadata={"help": "whether use dynamic insert"}) ...
2
2
2
[{"id": "G0", "claim": "The code needs to check whether the kv_cache_reuse key exists and fall back to a default value instead of indexing kwargs[\"kv_cache_reuse\"] directly, which raises a KeyError when the key is absent.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {...
null
PaddlePaddle__PaddleNLP__1128
PaddlePaddle/PaddleNLP
1,128
defect
73933974ea9e75471c56998f17d4679d3859798c
4ca81f2857c5f2e265024533ce86ca8d6410076a
PaddlePaddle Hackathon 57 提交
Task: [#1073](https://github.com/PaddlePaddle/PaddleNLP/issues/1073) 权重文件 链接: https://pan.baidu.com/s/1-FJDmtfO8MuPQgq0EEbUhw 提取码: gst6 添加XLNetLMHeadModel、XLNetForMultipleChoice、XLNetForQuestionAnswering。 新增单元测试代码。XLNetLMHeadModel、XLNetForMultipleChoice、XLNetForQuestionAnswering。
diff --git a/community/renmada/distilbert-base-multilingual-cased/README.md b/community/renmada/distilbert-base-multilingual-cased/README.md new file mode 100644 index 000000000000..84b37df5d8dd --- /dev/null +++ b/community/renmada/distilbert-base-multilingual-cased/README.md @@ -0,0 +1,32 @@ +# 模型介绍 +This model is a ...
16
13
9
[{"id": "G0", "claim": "The new weight contribution should follow the contribute-models guide referenced in the comment, i.e. add the community model documentation that guide describes.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The distilbert...
null
PaddlePaddle__PaddleNLP__9562
PaddlePaddle/PaddleNLP
9,562
defect
a5ec6bf623ce8e68ce84e0620d1e195072b25643
e8d72b6f6b6b37afe37ba7fa978df85c515d5fe9
MoRA Implementation
<!-- Demo: https://github.com/PaddlePaddle/PaddleNLP/pull/26 --> ### PR types <!-- One of [ New features | Bug fixes | Function optimization | Performance optimization | Breaking changes | Others ] --> Others ### PR changes <!-- One of [ Models | APIs | Docs | Others ] --> Others ### Description <!-- Descri...
diff --git a/llm/run_finetune.py b/llm/run_finetune.py index e18f25bb6cc2..9eee55f63dc2 100644 --- a/llm/run_finetune.py +++ b/llm/run_finetune.py @@ -511,6 +511,7 @@ def create_peft_model(model_args, reft_args, training_args, dtype, model_config, base_model_name_or_path=model_args.model_name_or_path, ...
14
13
4
[{"id": "G0", "claim": "The code should not use Chinese comments, such as the \"\"\"应用MoRA变换\"\"\" docstring on _apply_mora.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The added `lora_A` case in mark_only_lora_as_trainable's trainable_bias c...
null
PaddlePaddle__PaddleNLP__9579
PaddlePaddle/PaddleNLP
9,579
defect
cfcd079ca16693757a00af250e3e0d76616d7643
6f3abf2554639e335d661b0d74b9402ebac576e9
Add replace_with_parallel_cross_entropy flag
<!-- Demo: https://github.com/PaddlePaddle/PaddleNLP/pull/26 --> ### PR types <!-- One of [ New features | Bug fixes | Function optimization | Performance optimization | Breaking changes | Others ] --> Others ### PR changes <!-- One of [ Models | APIs | Docs | Others ] --> Others ### Description <!-- Describe w...
diff --git a/llm/auto_parallel/gpt-3/run_pretrain_auto_dp2mp2pp2.sh b/llm/auto_parallel/gpt-3/run_pretrain_auto_dp2mp2pp2.sh index 71578bb81532..f283d3f6a252 100755 --- a/llm/auto_parallel/gpt-3/run_pretrain_auto_dp2mp2pp2.sh +++ b/llm/auto_parallel/gpt-3/run_pretrain_auto_dp2mp2pp2.sh @@ -69,4 +69,5 @@ python -u -m pa...
1
1
0
[{"id": "G0", "claim": "The replace_with_parallel_cross_entropy option would be better placed in the tensor_parallel_config configuration instead of being a standalone flag in the auto-training arguments and the run_pretrain_auto.sh launch script.", "category": "design", "verdict": "supported", "priority": "P2", "scope...
null
PaddlePaddle__PaddleNLP__9617
PaddlePaddle/PaddleNLP
9,617
defect
325deb506e07b846fe8bb81a4ce7e2d5b72bef5b
b6429c06b9f370eb00cf10c20bd7c1a9ce163762
remove refined recompute deep copy
<!-- Demo: https://github.com/PaddlePaddle/PaddleNLP/pull/26 --> ### PR types <!-- One of [ New features | Bug fixes | Function optimization | Performance optimization | Breaking changes | Others ] --> Function optimization ### PR changes <!-- One of [ Models | APIs | Docs | Others ] --> APIs ### Description <...
diff --git a/paddlenlp/transformers/llama/modeling.py b/paddlenlp/transformers/llama/modeling.py index 8bf0d5938902..3ee8509382b6 100755 --- a/paddlenlp/transformers/llama/modeling.py +++ b/paddlenlp/transformers/llama/modeling.py @@ -605,7 +605,7 @@ def apply_rotary_pos_emb(q, k, cos, sin, position_ids): class Ll...
2
2
1
[{"id": "G0", "claim": "External callers of QWenBlock are missing the newly required layer_idx argument, so the reviewer asks the author to check the call sites.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G3", "claim": "The refined_recompute string-parsing cod...
null
PaddlePaddle__PaddleNLP__9657
PaddlePaddle/PaddleNLP
9,657
defect
90bc68e1634b6ec760dfd3fd6826a0aac1b2294d
adb12d821ccee70caa4d1c7faf61b580a1ae6229
merge docs
<!-- Demo: https://github.com/PaddlePaddle/PaddleNLP/pull/26 --> ### PR types <!-- One of [ New features | Bug fixes | Function optimization | Performance optimization | Breaking changes | Others ] --> ### PR changes <!-- One of [ Models | APIs | Docs | Others ] --> docs ### Description <!-- Describe what this...
diff --git a/README.md b/README.md index d2e630bf81f2..b626ec71cb8a 100644 --- a/README.md +++ b/README.md @@ -31,8 +31,8 @@ <a href="https://trendshift.io/repositories/2246" target="_blank"><img src="https://trendshift.io/api/badge/repositories/2246" alt="PaddlePaddle%2FPaddleNLP | Trendshift" style="width: 250px; he...
7
7
1
[{"id": "G0", "claim": "Fix the formatting of the model-merging algorithm introduction (the Linear subsection) in the new merge doc.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The inline script-parameter summary block is redundant with the par...
null
PaddlePaddle__PaddleNLP__9702
PaddlePaddle/PaddleNLP
9,702
defect
90bc68e1634b6ec760dfd3fd6826a0aac1b2294d
8e14d8c820644f6f68df3eee1c2c3bbda67ced20
mergekit gpu 1226
<!-- Demo: https://github.com/PaddlePaddle/PaddleNLP/pull/26 --> ### PR types <!-- One of [ New features | Bug fixes | Function optimization | Performance optimization | Breaking changes | Others ] --> ### PR changes <!-- One of [ Models | APIs | Docs | Others ] --> ### Description <!-- Describe what this PR ...
diff --git a/paddlenlp/mergekit/merge_config.py b/paddlenlp/mergekit/merge_config.py index df044d826838..a2bb3f7a6311 100644 --- a/paddlenlp/mergekit/merge_config.py +++ b/paddlenlp/mergekit/merge_config.py @@ -73,12 +73,11 @@ def __post_init__(self): def config_check(self): if self.output_path is not Non...
15
11
2
[{"id": "G0", "claim": "The pull request should not have rewritten all the NotImplementedError messages to a generic \"Unsupported tensor type.\", losing the specific merge_type information.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "An unkn...
null
PaddlePaddle__PaddleNLP__9828
PaddlePaddle/PaddleNLP
9,828
defect
54b8882079b7c0c36cd4953d5afe62dfa61d0978
ba3e97bfc9e6b20c13cd10cfce232c1faa783418
[Inference] Flask server compatible with OpenAI api.
<!-- Demo: https://github.com/PaddlePaddle/PaddleNLP/pull/26 --> #### Before submitting - [ ] Lint code. If there are lint issues, please format the code first. ```shell # Install and register `pre-commit` in the project folder pip install pre-commit && pre-commit install # Process previous code files separ...
diff --git a/llm/predict/flask_server.py b/llm/predict/flask_server.py index d467d6dac688..97a0859b0146 100644 --- a/llm/predict/flask_server.py +++ b/llm/predict/flask_server.py @@ -11,6 +11,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language go...
1
1
1
[{"id": "G0", "claim": "The _preprocess change should keep the original per-sentence apply_chat_template loop so that different input shapes are handled.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
PaddlePaddle__PaddleNLP__9906
PaddlePaddle/PaddleNLP
9,906
defect
08183d7fea73dd5a655771c25a89c5d7670fde8f
31890838ff85135e3574a4e0a5952d9146c27f3f
[Feature] Support float8 dtype storage and deepseek v3 with fp8 inference.
<!-- Demo: https://github.com/PaddlePaddle/PaddleNLP/pull/26 --> #### Before submitting - [ ] Lint code. If there are lint issues, please format the code first. ```shell # Install and register `pre-commit` in the project folder pip install pre-commit && pre-commit install # Process previous code files separ...
diff --git a/paddlenlp/utils/safetensors.py b/paddlenlp/utils/safetensors.py index 54256023db7d..884896547290 100644 --- a/paddlenlp/utils/safetensors.py +++ b/paddlenlp/utils/safetensors.py @@ -17,6 +17,7 @@ import mmap from collections import OrderedDict +import ml_dtypes import numpy as np __all__ = [ @@ -24...
1
1
0
[{"id": "G0", "claim": "The new test class is misspelled 'EextendDtypeNumpySafe' and its name should read 'ExtendDtypeNumpySafe'.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
PaddlePaddle__PaddleOCR__17201
PaddlePaddle/PaddleOCR
17,201
defect
c3ed7869a7bc2cb077763cc0735a135accdfa817
515ea424a52c7377be38879c2a1eeb6897595bbc
fix: support accented characters in word segmentation for return_word…
Fixes #17156 ## Problem The `return_word_box` parameter was splitting words with accented/diacritic characters (ä, ö, ü, é, à, etc.) into separate segments. For example: - `Grüßen` was split into `['Gr', 'üß', 'en']` - Email addresses like `alex.k-93@devmail.io` were also incorrectly segmented ## Root Cause T...
diff --git a/ppocr/postprocess/rec_postprocess.py b/ppocr/postprocess/rec_postprocess.py index 77f30a50a61..1480ccd3b24 100644 --- a/ppocr/postprocess/rec_postprocess.py +++ b/ppocr/postprocess/rec_postprocess.py @@ -95,7 +95,9 @@ def get_word_info(self, text, selection): for c_i, char in enumerate(text): ...
4
4
1
[{"id": "G0", "claim": "Simplify the character-classification regex by omitting the redundant brackets in `[\\w]` and dropping the redundant `re.UNICODE` flag, using `r\"\\w\"` as suggested.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The acc...
null
PaddlePaddle__PaddleOCR__17778
PaddlePaddle/PaddleOCR
17,778
defect
08186054473db2a6f0ac587895b07cade1ab29e2
e2e27e5b8a18dc41f43b70f8bd499b7ae6fa9248
docs(skills): default tmp raw-output persistence in SKILL workflows
## Summary - Make raw JSON persistence to `tmp/.../result.json` the default behavior in both skill workflows - Clarify that `--output` writes JSON to file and stdout no longer carries JSON payload - Require the agent to parse from the saved file and always report saved path + raw result location ## Changes - `skills/...
diff --git a/skills/paddleocr-doc-parsing/SKILL.md b/skills/paddleocr-doc-parsing/SKILL.md index 82a57411937..e7870887efa 100644 --- a/skills/paddleocr-doc-parsing/SKILL.md +++ b/skills/paddleocr-doc-parsing/SKILL.md @@ -43,30 +43,29 @@ If the script execution fails (API not configured, network error, etc.): 1. **Ex...
4
4
3
[{"id": "G0", "claim": "Step 3 of the doc-parsing SKILL.md should say \"using these fields\" instead of \"using stable contract fields\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "If mandatory saving is really intended, restricting it only in...
null
PaddlePaddle__PaddleOCR__17792
PaddlePaddle/PaddleOCR
17,792
defect
17c6375affc26eaad7421088695e1600defc934a
ec14a22d7e03634cd7345bef01ae286cff2d2d14
docs(skills): prefer host-managed environment variables
## Summary - prefer host-managed environment variables in both `SKILL.md` files instead of defaulting to `configure.py` / `skills/.env` - keep `configure.py` and `skills/.env` documented as local debugging and smoke test helpers - align top-level README, caller help text, and smoke test guidance with the env-first flo...
diff --git a/skills/README.ch.md b/skills/README.ch.md index 76ca0449f7e..7f3309dd74d 100644 --- a/skills/README.ch.md +++ b/skills/README.ch.md @@ -7,15 +7,25 @@ - `paddleocr-text-recognition`:图片/PDF 文本识别。 - `paddleocr-doc-parsing`:版面感知文档解析。 +## 所需环境变量 + +- `paddleocr-text-recognition`:`PADDLEOCR_OCR_API_URL`、`PAD...
12
12
1
[{"id": "G0", "claim": "The vague 'local fallback file' / '兜底文件' terminology should be replaced with explicit '.env file' wording across the README and the script help texts.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The configuration guide's...
null
PaddlePaddle__PaddleRS__133
PaddlePaddle/PaddleRS
133
defect
8b08b51b1a18a79e8fd875e4a474572a844efd7d
df302344a41e34fa9b8cb55aa51e98a289c74537
Automatically generate file list
### PR types <!-- One of [ New features | Bug fixes | Code refactoring | Performance optimization | Breaking changes | Others ] --> Others ### PR changes <!-- One of [ Models | Transforms | Tools | Examples | Docs | Tests | Others ] --> Tools ### Description <!-- Describe what this PR does --> Automatically gen...
diff --git a/tools/prepare_dataset/common.py b/tools/prepare_dataset/common.py index 75f9c135..1bfce370 100644 --- a/tools/prepare_dataset/common.py +++ b/tools/prepare_dataset/common.py @@ -343,3 +343,52 @@ def random_split(samples, splits[-1].append(splits[ed_idx:]) return splits + + +def get_file_lis...
2
2
1
[{"id": "G0", "claim": "The file list generation should be provided as a standalone script, modeled on the other scripts in tools/prepare_dataset and reusing common.py's APIs, rather than being added as an API to tools/prepare_dataset/common.py.", "category": "design", "verdict": "supported", "priority": "P1", "scope":...
null
PaddlePaddle__PaddleRS__38
PaddlePaddle/PaddleRS
38
defect
92933a8d4a0160bcbe52dedef54580d946fb2d87
d908d01f075404d28bd5504a0fd176304abbb407
[Feat] Update indices
### PR types <!-- One of [ New features | Bug fixes | Function optimization | Performance optimization | Breaking changes | Others ] --> Function optimization ### PR changes <!-- One of [ Models | APIs | Docs | Others ] --> 1. `n2`在indices的计算中没有使用,故移除了关于`n2`的描述(包括文档)。 2. 增加了关于几种Band name的参考波长范围,避免有些用户无法从描述中知道该波...
diff --git a/docs/intro/indices.md b/docs/intro/indices.md index a7a8ca52..14da60bb 100644 --- a/docs/intro/indices.md +++ b/docs/intro/indices.md @@ -58,17 +58,16 @@ ## 波段名称与描述 -| 波段名称 | 描述 | -|---------------|-------------| -| `'b'` | Blue | -| `'g'` | Green | -| `'r...
6
6
2
[{"id": "G0", "claim": "Add a `# Strip self` comment to clarify the meaning of `[1:]` and eagerly initialize the computed band-name attribute in `__init__()` instead of late-binding it in `__call__()`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim...
null
PaddlePaddle__PaddleRS__45
PaddlePaddle/PaddleRS
45
defect
2f9a187ab5e85b52c3641d1fb138dcda2b6ed119
085c7c8e9dc675f478907a531bf08db7f38300e7
[论文复现赛] FarSeg
### PR types <!-- One of [ New features | Bug fixes | Code refactoring | Performance optimization | Breaking changes | Others ] --> Code refactoring ### PR changes <!-- One of [ Models | Transforms | Tools | Examples | Docs | Tests | Others ] --> Models, Tests ### Description <!-- Describe what this PR does ...
diff --git a/paddlers/rs_models/seg/farseg.py b/paddlers/rs_models/seg/farseg.py index 7a5a62aa..b106666c 100644 --- a/paddlers/rs_models/seg/farseg.py +++ b/paddlers/rs_models/seg/farseg.py @@ -18,27 +18,99 @@ import math +import numpy as np import paddle.nn as nn import paddle.nn.functional as F -from pa...
3
3
2
[{"id": "G0", "claim": "The FarSeg class docstring should not carry the extra block indentation; its lines should align with the triple quotes.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The FarSeg interface rewrite left ChangeStar's FarSeg ...
null
PaddlePaddle__PaddleRS__87
PaddlePaddle/PaddleRS
87
defect
e95dc24736a9b9d3cb7990f8bdaa1f0d933816aa
94e3dd68a98367aa8b1f711b9c4fd7a2bf16d439
[Feat] Add some postprogress functions
### PR types <!-- One of [ New features | Bug fixes | Code refactoring | Performance optimization | Breaking changes | Others ] --> New features ### PR changes <!-- One of [ Models | Transforms | Tools | Examples | Docs | Tests | Others ] --> Others and Tests (Postprogress) ### Description <!-- Describe what...
diff --git a/paddlers/utils/postprocs/__init__.py b/paddlers/utils/postprocs/__init__.py index 36435b06..8b6f99ee 100644 --- a/paddlers/utils/postprocs/__init__.py +++ b/paddlers/utils/postprocs/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. +# Copyright (c) 2023 PaddlePad...
11
11
2
[{"id": "G0", "claim": "The ImportError message should read '. Please' instead of ', please'.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The change_detection_filter docstring should say 'postprocessing method' instead of the non-word 'postprog...
null
PaddlePaddle__PaddleRS__92
PaddlePaddle/PaddleRS
92
defect
8ab8380b96f4e2cb0ea6b06ad885d018d5c07ff1
92f641a366ac8fb74584cdcc5677310666b74dbb
[Feat] Add swelling predict
### PR types <!-- One of [ New features | Bug fixes | Code refactoring | Performance optimization | Breaking changes | Others ] --> New features ### PR changes <!-- One of [ Models | Transforms | Tools | Examples | Docs | Tests | Others ] --> Others ### Description <!-- Describe what this PR does --> 在滑框预测...
diff --git a/paddlers/tasks/utils/slider_predict.py b/paddlers/tasks/utils/slider_predict.py index 744751c0..bf31f253 100644 --- a/paddlers/tasks/utils/slider_predict.py +++ b/paddlers/tasks/utils/slider_predict.py @@ -200,6 +200,18 @@ def process_pred(self, out, xoff, yoff): return pred +class SwellProces...
3
2
1
[{"id": "G0", "claim": "The docstring should say 'keeping only the center part of each block prediction' instead of 'keep center block only'.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The merge_strategy check for updating batch_offsets should...
null
PaddlePaddle__PaddleRec__835
PaddlePaddle/PaddleRec
835
defect
a9bb9918bf13033c187cd03cd086ab32e4f9abbe
9120f0ba4f8847a523351ae2ca0c1cd86832a65f
[TIPC] Add scripts for npu and xpu, test=master
为昇腾和昆仑设备添加 TIPC 脚本: ``` # 准备小数据集 bash test_tipc/prepare.sh test_tipc/configs/aitm/train_infer_python.txt 'lite_train_lite_infer' ``` ``` # NPU上运行单测模型,注意这里的脚本带 _npu.sh 后缀 bash test_tipc/test_train_inference_python_npu.sh \ test_tipc/configs/aitm/train_infer_python.txt 'lite_train_lite_infer' ``` ``...
diff --git a/test_tipc/configs/ensfm/paddle_infer.py b/test_tipc/configs/ensfm/paddle_infer.py index b7ada10c1..8ac64b214 100644 --- a/test_tipc/configs/ensfm/paddle_infer.py +++ b/test_tipc/configs/ensfm/paddle_infer.py @@ -21,8 +21,9 @@ import sys import re from importlib import import_module + __dir__ = os.path....
3
3
2
[{"id": "G0", "claim": "In main(), the new xpu branch checks args.use_gpu instead of args.use_xpu, so the xpu device would be selected under the wrong flag.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "config.enable_xpu(100) sets the xpu device me...
null
PaddlePaddle__PaddleSeg__2810
PaddlePaddle/PaddleSeg
2,810
defect
1da068c83112bb445fe3cd1f922282b4e6f42698
49c0712327badf5edca8871f5c7b77a329d33c1c
[ dy2static ] add dy2static train accuracy monitor in PaddleSeg
### PR types <!-- One of [ New features | Bug fixes | Function optimization | Performance optimization | Breaking changes | Others ] --> Others ### PR changes <!-- One of [ Models | APIs | Docs | Others ] --> Others ### Description <!-- Describe what this PR does --> add dy2static train accuracy monitor in Pa...
diff --git a/test_tipc/configs/deeplabv3p_resnet50/train_dy2static_python.txt b/test_tipc/configs/deeplabv3p_resnet50/train_dy2static_python.txt new file mode 100644 index 0000000000..4a15ad24a9 --- /dev/null +++ b/test_tipc/configs/deeplabv3p_resnet50/train_dy2static_python.txt @@ -0,0 +1,22 @@ +======================...
11
7
2
[{"id": "G0", "claim": "The added config txt file ends with an extra blank line that should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The --reduction-expr argument should use choices=['print', 'sum', 'mean'] to restrict valid va...
null
PaddlePaddle__PaddleSeg__2881
PaddlePaddle/PaddleSeg
2,881
defect
d904b9350076d4bc09572ab05b5b5a6c2ed5733d
100c75ecf7ad2e1161f42ffa8dc71eeb34fe4872
[Refactor] Refactor Deploy Code
### PR types Others ### PR changes APIs ### Description 1. 重构部署部分,将公共数据结构与函数放置在 PaddleSeg 库核心代码中,以便于不同脚本复用。 2. 解决 #2849 导致的量化脚本执行出错问题。 3. 将 UHRNet 和 RTFormer 的 TIPC config 中的 `train.py` 替换为 `tools/train.py`。 4. 为 `ConfigChecker` 类添加 `add_rule` 接口,以便从外部追加规则。 5. 修正 README 中语法和格式错误。
diff --git a/deploy/python/collect_dynamic_shape.py b/deploy/python/collect_dynamic_shape.py index 8b4725935a..276e7c1844 100644 --- a/deploy/python/collect_dynamic_shape.py +++ b/deploy/python/collect_dynamic_shape.py @@ -13,20 +13,14 @@ # limitations under the License. import argparse -import codecs import os -i...
2
1
1
[{"id": "G0", "claim": "The functions and classes in paddleseg/deploy/infer.py that depend on args should be moved into deploy/python, with only independently shared parts kept in this module.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The auto_log b...
null
PaddlePaddle__PaddleSeg__3457
PaddlePaddle/PaddleSeg
3,457
defect
0dd7dc5e066de1980b8461169d28f7ccb65e8a9e
66f59ebac48e79a6dc74a52c0c4fb287e504b2d5
[Feature]Add paddleslim ACT.
### PR types <!-- One of [ New features | Bug fixes | Function optimization | Performance optimization | Breaking changes | Others ] --> New features ### PR changes <!-- One of [ Models | APIs | Docs | Others ] --> Others ### Description <!-- Describe what this PR does --> Add paddleslim ACT function on ppl...
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2f3a39f7f1..301a6ab4fb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,11 +1,11 @@ repos: - repo: https://github.com/PaddlePaddle/mirrors-yapf.git - sha: 0d79c0c469bab64f7229c9aca2b1186ef47f0e37 + rev: 0d79c0c469bab6...
18
15
2
[{"id": "G0", "claim": "Do not invasively modify the shared Config class; implement a separate ACTConfig (subclassing Config) in deploy/slim/act with its own checker instead.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Because each suite has several t...
null
PaddlePaddle__PaddleSeg__3481
PaddlePaddle/PaddleSeg
3,481
defect
88cbff85771989f65fc6cac9053dc0737842d9ca
4a3112e160037fe08b0a511050261dfc719e7aa8
[Feature] Update ACT
### PR types <!-- One of [ New features | Bug fixes | Function optimization | Performance optimization | Breaking changes | Others ] --> ### PR changes <!-- One of [ Models | APIs | Docs | Others ] --> ### Description <!-- Describe what this PR does --> complement https://github.com/PaddlePaddle/PaddleSeg/pul...
diff --git a/deploy/slim/act/configs/datasets/ade_data.yml b/deploy/slim/act/configs/datasets/ade_data.yml new file mode 100644 index 0000000000..09f91fada7 --- /dev/null +++ b/deploy/slim/act/configs/datasets/ade_data.yml @@ -0,0 +1,67 @@ +_base_: '../../../../../configs/_base_/ade20k.yml' + +batch_size: 16 # total b...
5
4
1
[{"id": "G0", "claim": "The model_dir paths are inconsistent across the different models' QAT configs and should be made uniform.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The benchmark table in deploy/slim/act/readme.md has display errors and the d...
null
PaddlePaddle__PaddleSpeech__1413
PaddlePaddle/PaddleSpeech
1,413
defect
35738988b2be45c3e01075ae5e562117611e9091
3222b2c5fc336e80b78c7a540db7a0a4fe54f597
[Server] added asr engine
<!-- Demo: https://github.com/PaddlePaddle/PaddleNLP/pull/26 --> ### PR types New features ### PR changes Models ### Describe added asr engine
diff --git a/speechserving/speechserving/conf/asr/asr.yaml b/speechserving/speechserving/conf/asr/asr.yaml index cfa3a68f382..39df2548771 100644 --- a/speechserving/speechserving/conf/asr/asr.yaml +++ b/speechserving/speechserving/conf/asr/asr.yaml @@ -1,4 +1,7 @@ model: 'conformer_wenetspeech' lang: 'zh' sample_rat...
4
3
2
[{"id": "G0", "claim": "The committed asr.yaml defaults cfg_path/ckpt_path to the author's private home-directory paths, which must not be there; the config should rely on the CLI's default path so the model is downloaded from the cloud instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "sc...
null
PaddlePaddle__PaddleSpeech__1652
PaddlePaddle/PaddleSpeech
1,652
defect
3c8f30c7a4df0ad00959048e8d7028516f783d3b
759a9e61e469bbb45e82c2276bb7f04124bd7d9d
[server] add stream tts server
PR types New features PR changes add stream tts server Describe speech server
diff --git a/paddlespeech/server/bin/paddlespeech_server.py b/paddlespeech/server/bin/paddlespeech_server.py index f6a7f429557..474a8b79f76 100644 --- a/paddlespeech/server/bin/paddlespeech_server.py +++ b/paddlespeech/server/bin/paddlespeech_server.py @@ -23,8 +23,9 @@ from ..util import stats_wrapper from paddlespe...
8
7
1
[{"id": "G0", "claim": "Rename the Ws_Param class (and its instantiation) to WsParam in the online websocket test clients.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asks whether the websocket endpoint sends audio only after all...
null
PaddlePaddle__PaddleSpeech__1772
PaddlePaddle/PaddleSpeech
1,772
defect
87ef68f12757e6f472e83600fb9b62f7feec5fc6
2fa1522bdd25ed83542ee5a71cc0b022b7a55b10
[text][server]add text punc server
<!-- Demo: https://github.com/PaddlePaddle/PaddleNLP/pull/26 --> ### PR types <!-- One of [ New features | Bug fixes | Function optimization | Performance optimization | Breaking changes | Others ] --> ### PR changes <!-- One of [ Models | APIs | Docs | Others ] --> ### Describe <!-- Describe what this PR doe...
diff --git a/paddlespeech/cli/vector/infer.py b/paddlespeech/cli/vector/infer.py index 37e1939190f..1dff6edb42d 100644 --- a/paddlespeech/cli/vector/infer.py +++ b/paddlespeech/cli/vector/infer.py @@ -22,8 +22,6 @@ import paddle import soundfile -from paddleaudio.backends import load as load_audio -from paddleaudio...
2
2
0
[{"id": "G0", "claim": "The text_python config should use the p3 model by default (model_type 'ernie_linear_p3_wudao' instead of 'ernie_linear_p7_wudao').", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The /paddlespeech/text/help endpoint's sample respon...
null
PaddlePaddle__PaddleSpeech__1784
PaddlePaddle/PaddleSpeech
1,784
defect
119143d0f1fb6e444cb7d6e06af69d1a4dac270a
833900a8b4c0b2670ef01408751930359b94424f
[asr][server]asr client add punctuatjion server
<!-- Demo: https://github.com/PaddlePaddle/PaddleNLP/pull/26 --> ### PR types <!-- One of [ New features | Bug fixes | Function optimization | Performance optimization | Breaking changes | Others ] --> ### PR changes <!-- One of [ Models | APIs | Docs | Others ] --> ### Describe <!-- Describe what this PR doe...
diff --git a/paddlespeech/server/bin/paddlespeech_client.py b/paddlespeech/server/bin/paddlespeech_client.py index 1cc0a6ab7d5..8cc384a15fd 100644 --- a/paddlespeech/server/bin/paddlespeech_client.py +++ b/paddlespeech/server/bin/paddlespeech_client.py @@ -16,7 +16,6 @@ import base64 import io import json -import lo...
4
1
0
[{"id": "G0", "claim": "The text (punctuation) handler should call the '/text' endpoint instead of '/paddlespeech/text'.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The ip/port parameters of ASRAudioHandler (and its punctuation server) should def...
null
PaddlePaddle__PaddleSpeech__2164
PaddlePaddle/PaddleSpeech
2,164
defect
a2e8b76a15a6299acb35a781ed1fc18686814f90
38c55e44e822ebe17da025a1244d25e4b692e4b2
[audio] make load _paddleaudio work
<!-- Demo: https://github.com/PaddlePaddle/PaddleNLP/pull/26 --> ### PR types <!-- One of [ New features | Bug fixes | Function optimization | Performance optimization | Breaking changes | Others ] --> [new features] ### PR changes <!-- One of [ Models | APIs | Docs | Others ] --> ### Describe <!-- Describe wh...
diff --git a/paddlespeech/audio/__init__.py b/paddlespeech/audio/__init__.py index 26da1991ff0..8a231ae5bb7 100644 --- a/paddlespeech/audio/__init__.py +++ b/paddlespeech/audio/__init__.py @@ -11,6 +11,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific l...
2
2
2
[{"id": "G0", "claim": "The module-level imports from paddlespeech.audio._paddleaudio in kaldi.py should be moved down into the individual functions so that the module does not fail to import when _paddleaudio cannot be imported.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduce...
null
PaddlePaddle__PaddleSpeech__2415
PaddlePaddle/PaddleSpeech
2,415
defect
0975a332c4652301d659be7adc6184a9236e980f
ecbf324286c55125e5fd2712c16bedc22f1e51c9
[s2t] support bitransformer decoder
<!-- Demo: https://github.com/PaddlePaddle/PaddleNLP/pull/26 --> ### PR types <!-- One of [ New features | Bug fixes | Function optimization | Performance optimization | Breaking changes | Others ] --> New features ### PR changes <!-- One of [ Models | APIs | Docs | Others ] --> Models ### Describe <!-- Describ...
diff --git a/paddlespeech/audio/utils/tensor_utils.py b/paddlespeech/audio/utils/tensor_utils.py index 16f60810e6a..ac86757b5fe 100644 --- a/paddlespeech/audio/utils/tensor_utils.py +++ b/paddlespeech/audio/utils/tensor_utils.py @@ -31,7 +31,6 @@ def has_tensor(val): return True elif isinstance(va...
8
6
4
[{"id": "G0", "claim": "setup_model hard-codes the test output dimension as 5538 instead of using self.test_loader.vocab_size.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The decode call sites read reverse_weight directly from config (self.config...
null
PaddlePaddle__PaddleSpeech__2489
PaddlePaddle/PaddleSpeech
2,489
defect
d3e59375912bfe9f28dd49e52b5a883ac9a6e2fe
5bbe6e9897f7112fec0d06b08714fc26bde20ec5
[ASR] support u2pp based cli and server, optimiz code of u2pp decode (reversed_weight parameter)
<!-- Demo: https://github.com/PaddlePaddle/PaddleNLP/pull/26 --> ### PR types <!-- One of [ New features | Bug fixes | Function optimization | Performance optimization | Breaking changes | Others ] --> Performance optimization ### PR changes <!-- One of [ Models | APIs | Docs | Others ] --> APIs ### Describe <!...
diff --git a/demos/streaming_asr_server/conf/application.yaml b/demos/streaming_asr_server/conf/application.yaml index a89d312abfc..d446e13b6e1 100644 --- a/demos/streaming_asr_server/conf/application.yaml +++ b/demos/streaming_asr_server/conf/application.yaml @@ -21,7 +21,7 @@ engine_list: ['asr_online'] ############...
4
2
1
[{"id": "G0", "claim": "The version key of the new u2pp WenetSpeech entries in pretrained_models.py should be '1.1' rather than '1.0'.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The ASR server config should default device to cpu instead of gpu."...
null
PaddlePaddle__PaddleSpeech__2679
PaddlePaddle/PaddleSpeech
2,679
defect
b71f1428c7849a75d6c72610420db422ce2f7976
eaf4b6009dd32644f63ec3eaba10020616a3b014
[ASR] fix Whisper cli model download path error. test=asr
<!-- Demo: https://github.com/PaddlePaddle/PaddleNLP/pull/26 --> ### PR types <!-- One of [ New features | Bug fixes | Function optimization | Performance optimization | Breaking changes | Others ] --> Bug fixes ### PR changes <!-- One of [ Models | APIs | Docs | Others ] --> APIs ### Describe <!-- Describe...
diff --git a/demos/whisper/README.md b/demos/whisper/README.md index 017eb93effc..9b12554e6e1 100644 --- a/demos/whisper/README.md +++ b/demos/whisper/README.md @@ -61,7 +61,7 @@ Whisper model trained by OpenAI whisper https://github.com/openai/whisper # to recognize text text = whisper_executor( - mod...
2
1
1
[{"id": "G0", "claim": "Whisper resource assets should be downloaded under $HOME/.paddlespeech/ instead of the package source tree.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The README examples should default to the best (largest) Whisper model rath...
null
PaddlePaddle__PaddleSpeech__3779
PaddlePaddle/PaddleSpeech
3,779
defect
bcbb85af7668a17c6498200f4675a6ac41d868f6
024ef29a99062eae60348a0dbfe7e6b554f47b3b
【Fix Speech Issue No.5】issue 3444 transformation import error
<!-- Demo: https://github.com/PaddlePaddle/PaddleNLP/pull/26 --> ### PR types <!-- One of [ New features | Bug fixes | Function optimization | Performance optimization | Breaking changes | Others ] --> Bug fixes ### PR changes <!-- One of [ Models | APIs | Docs | Others ] --> Others ### Describe <!-- Describe w...
diff --git a/utils/compute-cmvn-stats.py b/utils/compute-cmvn-stats.py index 276bcd36e9c..763347ce82c 100755 --- a/utils/compute-cmvn-stats.py +++ b/utils/compute-cmvn-stats.py @@ -5,7 +5,7 @@ import kaldiio import numpy as np -from paddlespeech.s2t.transform.transformation import Transformation +from paddlespeech....
1
1
1
[{"id": "G0", "claim": "The same stale paddlespeech.s2t.transform import that this PR fixes in three utils files still exists in about 51 other files across the project, so the fix should cover them too.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
PaddlePaddle__PaddleSpeech__3878
PaddlePaddle/PaddleSpeech
3,878
defect
5f40262a96f1fac361a8f8869f6fb38ff7647ec1
81c142c25c44aa5d43907e2a0e067e182609bf8b
【Hackathon 7th】Remove parser.add_argument
<!-- Demo: https://github.com/PaddlePaddle/PaddleNLP/pull/26 --> ### PR types <!-- One of [ New features | Bug fixes | Function optimization | Performance optimization | Breaking changes | Others ] --> Bug fixes ### PR changes <!-- One of [ Models | APIs | Docs | Others ] --> Others ### Describe <!-- Describe ...
diff --git a/examples/aishell/asr0/README.md b/examples/aishell/asr0/README.md index 131de36e38e..015b85a9130 100644 --- a/examples/aishell/asr0/README.md +++ b/examples/aishell/asr0/README.md @@ -178,7 +178,7 @@ This stage is to transform dygraph to static graph. If you already have a dynamic graph model, you can run...
3
3
0
[{"id": "G0", "claim": "The Stage 4 export example in the README should reference the avg_10 checkpoint (avg_10 / avg_10.jit) instead of avg_1.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The fallback log line in export()'s except branch should...
null
PaddlePaddle__PaddleSpeech__3913
PaddlePaddle/PaddleSpeech
3,913
defect
afa9466c8924967fd49160f89df7f99f1905d72a
ed4fbd43fc341855f7675b47f697301cd5c94ce0
[Hackathon 7th] 修复 `tal_cs` 测试中 0D tensor to 1D
<!-- Demo: https://github.com/PaddlePaddle/PaddleNLP/pull/26 --> ### PR types <!-- One of [ New features | Bug fixes | Function optimization | Performance optimization | Breaking changes | Others ] --> Bug fixes ### PR changes <!-- One of [ Models | APIs | Docs | Others ] --> Others ### Describe <!-- Descri...
diff --git a/paddlespeech/s2t/exps/u2/bin/test_wav.py b/paddlespeech/s2t/exps/u2/bin/test_wav.py index a6228a128f7..0d1a3b3cc99 100644 --- a/paddlespeech/s2t/exps/u2/bin/test_wav.py +++ b/paddlespeech/s2t/exps/u2/bin/test_wav.py @@ -78,7 +78,7 @@ def run(self): if self.args.debug: np.savet...
1
1
0
[{"id": "G0", "claim": "Similar test_wav.py files under sibling directories likely have the same 0D-tensor problem, and the reviewer asks that they be fixed together in this PR.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}]
null
PaddlePaddle__PaddleSpeech__3941
PaddlePaddle/PaddleSpeech
3,941
defect
a34bf501a5d342b0cfc5e82723c8621ca9f726b7
00eaca59ab9b3a76dd61378c4cb2fef45673eff4
[Hackathon 7th] 修复 `asr5` 的 `test.sh` 脚本路径错误
<!-- Demo: https://github.com/PaddlePaddle/PaddleNLP/pull/26 --> ### PR types <!-- One of [ New features | Bug fixes | Function optimization | Performance optimization | Breaking changes | Others ] --> Bug fixes ### PR changes <!-- One of [ Models | APIs | Docs | Others ] --> Others ### Describe <!-- Descri...
diff --git a/examples/librispeech/asr5/local/test.sh b/examples/librispeech/asr5/local/test.sh index 18158bd5046..3bbe4c18cc1 100644 --- a/examples/librispeech/asr5/local/test.sh +++ b/examples/librispeech/asr5/local/test.sh @@ -23,7 +23,7 @@ source ${MAIN_ROOT}/utils/parse_options.sh || exit 1; # exit 1 #fi -py...
1
1
0
[{"id": "G0", "claim": "The script should use `${MAIN_ROOT}/utils/format_rsl.py` instead of the longer `${MAIN_ROOT}/paddlespeech/dataset/s2t/format_rsl.py`, since the utils copy works for this.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
PaddlePaddle__PaddleSpeech__3947
PaddlePaddle/PaddleSpeech
3,947
defect
2d7cf7f0e66c60a6e24cb59aedfef2abb571a8d9
136f7c5c4cb90b94a86f1e636a4983b85e294e9a
[Hackathon 7th No.55] Add `fft_conv1d` to `PaddleSpeech` -part
<!-- Demo: https://github.com/PaddlePaddle/PaddleNLP/pull/26 --> ### PR types <!-- One of [ New features | Bug fixes | Function optimization | Performance optimization | Breaking changes | Others ] --> New features ### PR changes <!-- One of [ Models | APIs | Docs | Others ] --> APIs ### Describe <!-- Descr...
diff --git a/paddlespeech/t2s/modules/__init__.py b/paddlespeech/t2s/modules/__init__.py index 1e3312002ca..88e74db7a16 100644 --- a/paddlespeech/t2s/modules/__init__.py +++ b/paddlespeech/t2s/modules/__init__.py @@ -12,6 +12,7 @@ # See the License for the specific language governing permissions and # limitations und...
3
3
1
[{"id": "G0", "claim": "Replace `_input` with `x` throughout fftconv1d.py to unify the code style.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The version gate should use the existing helper `paddlespeech.utils.satisfy_paddle_version` instead...
null
PaddlePaddle__PaddleSpeech__3984
PaddlePaddle/PaddleSpeech
3,984
defect
4e5181c949bab59bbbaa11b945165e06fc7689cd
89a1801dbcf5fa51353f6fad731b128b69229d3b
Fix typos
<!-- Demo: https://github.com/PaddlePaddle/PaddleNLP/pull/26 --> ### PR types <!-- One of [ New features | Bug fixes | Function optimization | Performance optimization | Breaking changes | Others ] --> Others ### PR changes <!-- One of [ Models | APIs | Docs | Others ] --> Others ### Describe <!-- Describe wh...
diff --git a/audio/paddleaudio/backends/soundfile_backend.py b/audio/paddleaudio/backends/soundfile_backend.py index dcd2b4b1e97..eff120d02a4 100644 --- a/audio/paddleaudio/backends/soundfile_backend.py +++ b/audio/paddleaudio/backends/soundfile_backend.py @@ -183,7 +183,7 @@ def soundfile_save(y: np.ndarray, sr: int, ...
1
1
0
[{"id": "G0", "claim": "The comment 'the code below token form: ...' has grammar problems and should read 'The code below is taken from: https://github.com/pytorch/audio/blob/main/torchaudio/backend/soundfile_backend.py, with some modifications.'", "category": "documentation", "verdict": "supported", "priority": "P2", ...
null
PaddlePaddle__PaddleSpeech__4000
PaddlePaddle/PaddleSpeech
4,000
defect
9c01a0b980aeca72c87172d0453f3f3b140a6659
4cb071020d688d911885866b42bdf5c33fc0db4b
add docker
<!-- Demo: https://github.com/PaddlePaddle/PaddleNLP/pull/26 --> ### PR types <!-- One of [ New features | Bug fixes | Function optimization | Performance optimization | Breaking changes | Others ] --> ### PR changes <!-- One of [ Models | APIs | Docs | Others ] --> ### Describe <!-- Describe what this PR doe...
diff --git a/docker/ubuntu20-cpu/Dockerfile b/docker/ubuntu20-cpu/Dockerfile new file mode 100644 index 00000000000..193b24ed1db --- /dev/null +++ b/docker/ubuntu20-cpu/Dockerfile @@ -0,0 +1,17 @@ +FROM registry.baidubce.com/paddlepaddle/paddle:3.0.0b1 +LABEL maintainer="paddlesl@baidu.com" + +RUN apt-get update \ + &...
2
1
0
[{"id": "G0", "claim": "The LABEL maintainer email paddlesl@baidu.com looks like an obsolete mail group and should be replaced with ext_paddle_oss@baidu.com.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Now that Paddle 3.0 has been updated to ...
null
PaddlePaddle__PaddleVideo__23
PaddlePaddle/PaddleVideo
23
defect
bf2897bd73cc7d54770f75c05b8c5ee3b31e929c
2791324e87706f2ff3fb6b4a15eac8b2c5d204d9
add metric for recognizer2d
This PR add metric base class and center crop metric - [ ] Need to look back the test_step design, for now test_step is similar to ```forward``` method fix: test.sh should run like: python tools/test.sh
diff --git a/configs/recognition/tsn/tsn.yaml b/configs/recognition/tsn/tsn.yaml index 939283502..c767b546a 100644 --- a/configs/recognition/tsn/tsn.yaml +++ b/configs/recognition/tsn/tsn.yaml @@ -14,7 +14,7 @@ MODEL: #MODEL field DATASET: #DATASET field batch_size: 32 #Mandatory, bacth size - valid_batch_si...
3
1
0
[{"id": "G0", "claim": "Rename the DATASET field `batch_size` in configs/recognition/tsn/tsn.yaml to `train_batch_size`.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Add a dedicated `test_batch_size` config field so the test path does not reuse the t...
null
PaddlePaddle__PaddleVideo__289
PaddlePaddle/PaddleVideo
289
defect
8966b4e689885cf9f45d419f9410bc65c8499e0b
c4aedecd8927ee77afc1e238fbba9641b6f7211e
[NPU] add npu support
添加 NPU 设备支持。在配置文件中新增配置选项 use_gpu: True, use_npu: False。对于之前没有这些选项的配置文件,保持之前的设置,默认跑在 GPU 上。 ![f68891717bec683e3373e82496acc805](https://user-images.githubusercontent.com/34057289/147050053-2599b2e4-c058-4a44-a8c3-ab53026f2a94.png) 下面的测试都是跑的模型训练。 ## 1. CUDA - 配置文件兼容未修改前,即未包含 use_gpu、use_npu 等,默认是使用 gpu,比如 pp-ts...
diff --git a/configs/localization/bmn.yaml b/configs/localization/bmn.yaml index c109fec76..6c61645fa 100644 --- a/configs/localization/bmn.yaml +++ b/configs/localization/bmn.yaml @@ -95,6 +95,8 @@ INFERENCE: model_name: BMN +use_gpu: True +use_npu: False epochs: 9 #Mandatory, total epoch log_level: "INFO" res...
6
6
1
[{"id": "G0", "claim": "Only the use_npu argument should be added to main.py's argument parser; use_gpu should not be added.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The device-selection branch added in test.py, train.py and train_multigrid.py shou...
null
PaddlePaddle__PaddleVideo__54
PaddlePaddle/PaddleVideo
54
defect
1143705305abb49c21ff7751d5e67f9020c158a6
cff138c6848edecb7cb9806532b6811f76fb76b7
fix tools scripts
This PR - fix tools scripts and put all the scripts in the run.sh now - set test_mode to True when testing
diff --git a/configs/recognition/slowfast/slowfast.yaml b/configs/recognition/slowfast/slowfast.yaml index 0983c9cd4..260d18bf9 100644 --- a/configs/recognition/slowfast/slowfast.yaml +++ b/configs/recognition/slowfast/slowfast.yaml @@ -29,8 +29,7 @@ DATASET: #DATASET field file_path: "./data/k400/val.csv" #Mandat...
1
1
0
[{"id": "G0", "claim": "Remove the stray tools/.log.txt log file that the pull request adds to the repository.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
PaddlePaddle__Paddle__77176
PaddlePaddle/Paddle
77,176
defect
bb78d2bfa43171f1980a692486db81c2cb6123e4
7b8793b2c58d383387b40839793f147109292009
[Cpp API Compatibility] add storage API
<!-- TemplateReference: https://github.com/PaddlePaddle/Paddle/wiki/PULL-REQUEST-TEMPLATE--REFERENCE --> <!-- Demo: https://github.com/PaddlePaddle/Paddle/pull/24810 --> ### PR Category Execute Infrastructure ### PR Types New features ### Description 新增 `storage` 相关接口
diff --git a/paddle/phi/api/include/compat/ATen/core/TensorBase.h b/paddle/phi/api/include/compat/ATen/core/TensorBase.h index f314cc19e0992d..d36c09f5eb9302 100644 --- a/paddle/phi/api/include/compat/ATen/core/TensorBase.h +++ b/paddle/phi/api/include/compat/ATen/core/TensorBase.h @@ -16,9 +16,12 @@ #include <ATen/...
15
2
0
[{"id": "G0", "claim": "TensorBase::storage() builds a Storage from dynamic_pointer_cast<phi::DenseTensor>(tensor_.impl())->Holder() without checking that the tensor is defined or that the cast succeeded, which can crash on undefined or non-DenseTensor tensors; add validation before accessing the DenseTensor.", "catego...
null
PaddlePaddle__Paddle__77542
PaddlePaddle/Paddle
77,542
defect
0f87b74c0196abf164eb7e543ef0223eec50b19c
0a1d3cc7cf4d964c8be7dec0df66774c7897b83b
[Cpp API Compatibility] add all & allclose API
### PR Category Execute Infrastructure ### PR Types New features ### Description 新增 all & allclose 兼容接口 ### 是否引起精度变化 否
diff --git a/paddle/phi/api/include/compat/ATen/core/TensorBody.h b/paddle/phi/api/include/compat/ATen/core/TensorBody.h index 4af1610ac9e5ea..69bf3b9c4ecadd 100644 --- a/paddle/phi/api/include/compat/ATen/core/TensorBody.h +++ b/paddle/phi/api/include/compat/ATen/core/TensorBody.h @@ -17,7 +17,7 @@ #include <ATen/cor...
2
1
1
[{"id": "G0", "claim": "The reviewer asks to confirm what tensor paddle::experimental::allclose returns, because if it returned a per-element comparison result instead of a scalar the extraction handling in allclose would be wrong; run a local experiment printing the tensor's type and data and keep the results.", "cate...
null
PaddlePaddle__Paddle__77581
PaddlePaddle/Paddle
77,581
defect
f2de7486a07cbdbb6586771b5943df4bccc6d35c
6fbf484408c14ae7e2740e9c6b423e5d38321b91
[Cpp API Compatibility] add Sparse related APIs
<!-- TemplateReference: https://github.com/PaddlePaddle/Paddle/wiki/PULL-REQUEST-TEMPLATE--REFERENCE --> <!-- Demo: https://github.com/PaddlePaddle/Paddle/pull/24810 --> ### PR Category Execute Infrastructure ### PR Types Bug fixes ### Description 新增 `is_sparse` `is_sparse_csr` 接口,拆分自 https://github.co...
diff --git a/paddle/phi/api/include/compat/ATen/Functions.h b/paddle/phi/api/include/compat/ATen/Functions.h index 2624c089d984bc..480efda8159f0f 100644 --- a/paddle/phi/api/include/compat/ATen/Functions.h +++ b/paddle/phi/api/include/compat/ATen/Functions.h @@ -23,6 +23,8 @@ #include <ATen/ops/full.h> #include <ATen...
5
1
1
[{"id": "G0", "claim": "In TensorBase.h's layout(), kSparseCsr should be mapped through a type mapping to Paddle's corresponding type (per common/layout.h) instead of being returned directly.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The copyri...
null
PaddlePaddle__Paddle__77713
PaddlePaddle/Paddle
77,713
defect
8666d29a4be6b7cd92d8c66fd27d43db9a2834ec
9142f2291ef4a1c092569684752a4c63811196f2
[Cpp API Compatibility] Move Tensor method implementation to ops folder
<!-- TemplateReference: https://github.com/PaddlePaddle/Paddle/wiki/PULL-REQUEST-TEMPLATE--REFERENCE --> <!-- Demo: https://github.com/PaddlePaddle/Paddle/pull/24810 --> ### PR Category Execute Infrastructure ### PR Types Bug fixes ### Description 将实现移至ops目录下 ### 是否引起精度变化 否
diff --git a/paddle/phi/api/include/compat/ATen/Functions.h b/paddle/phi/api/include/compat/ATen/Functions.h index 2624c089d984bc..8dc9c163ffc83c 100644 --- a/paddle/phi/api/include/compat/ATen/Functions.h +++ b/paddle/phi/api/include/compat/ATen/Functions.h @@ -19,10 +19,20 @@ #include <ATen/ops/cat.h> #include <ATe...
9
5
3
[{"id": "G0", "claim": "The new ops headers (view.h, slice.h, unsqueeze.h, permute.h, narrow.h, flatten.h, unflatten.h, squeeze.h, index.h) call paddle::experimental functions without including \"paddle/phi/api/include/api.h\", which the reviewer says is required to provide that namespace, and each suggests adding the ...
null
PaddlePaddle__Paddle__78072
PaddlePaddle/Paddle
78,072
defect
61ed613c166c5cbb94d3acbf4ff5056fcada50bd
aae3d42744d516d361f332c76950083ec83fc309
[Cpp API Compatibility] Add `Philox` related APIs
<!-- TemplateReference: https://github.com/PaddlePaddle/Paddle/wiki/PULL-REQUEST-TEMPLATE--REFERENCE --> <!-- Demo: https://github.com/PaddlePaddle/Paddle/pull/24810 --> ### PR Category Execute Infrastructure ### PR Types New features ### Description 新增 `at::PhiloxCudaState` `at::cuda::philox::unpack` ...
diff --git a/paddle/phi/api/include/compat/ATen/cuda/PhiloxCudaState.h b/paddle/phi/api/include/compat/ATen/cuda/PhiloxCudaState.h new file mode 100644 index 00000000000000..88fb46df5de78a --- /dev/null +++ b/paddle/phi/api/include/compat/ATen/cuda/PhiloxCudaState.h @@ -0,0 +1,56 @@ +// Copyright (c) 2026 PaddlePaddle ...
7
6
4
[{"id": "G0", "claim": "`unpack` is declared with raw `__host__ __device__ __forceinline__`, which will not compile in non-CUDA translation units; switch to portable macros such as `C10_HOST_DEVICE` (and avoid or gate raw `__forceinline__`).", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope"...
null
PaddlePaddle__Paddle__78143
PaddlePaddle/Paddle
78,143
defect
8a4c3f91dbf0c76fb25a763e5f27a2b89778ed0b
a1a8667b0c2fb6b9f12db83d70d62f7b2b630eb7
[Cpp API Compatibility] Complement `record_stream` and related Stream/Event implementation
<!-- TemplateReference: https://github.com/PaddlePaddle/Paddle/wiki/PULL-REQUEST-TEMPLATE--REFERENCE --> <!-- Demo: https://github.com/PaddlePaddle/Paddle/pull/24810 --> ### PR Category Execute Infrastructure ### PR Types New features ### Description 完善 record_stream 接口,并在 https://github.com/PFCCLab/De...
diff --git a/paddle/phi/api/include/compat/ATen/core/TensorBody.h b/paddle/phi/api/include/compat/ATen/core/TensorBody.h index ffadf1980cc1a5..4bb36563c29ea6 100644 --- a/paddle/phi/api/include/compat/ATen/core/TensorBody.h +++ b/paddle/phi/api/include/compat/ATen/core/TensorBody.h @@ -17,7 +17,9 @@ #include <ATen/cor...
5
5
2
[{"id": "G0", "claim": "In CPU-only builds the #else branch of record_stream never references the `s` parameter, which can trigger -Wunused-parameter warnings and potentially fail builds that treat warnings as errors; mark `s` unused in that branch.", "category": "maintainability", "verdict": "supported", "priority": "...
null
PaddlePaddle__Paddle__78182
PaddlePaddle/Paddle
78,182
defect
41bdbe3af5eb29564f5922532ff0d81715bb0b0e
0ef874fcafd4ae808c12af135cf67e92dc334ded
[Cpp API Compatibility] Remove contiguous in `at::Tensor::index`
### PR Category Execute Infrastructure ### PR Types Bug fixes ### Description - remove redundant contiguous() in ATen index compat path - add C++ test to verify slice keeps stride without contiguous copy ### 是否引起精度变化 否 @SigureMo Please review when you have time. Thanks!
diff --git a/paddle/phi/api/include/compat/ATen/ops/index.h b/paddle/phi/api/include/compat/ATen/ops/index.h index c167020df93cff..1afaf881f2a3b7 100644 --- a/paddle/phi/api/include/compat/ATen/ops/index.h +++ b/paddle/phi/api/include/compat/ATen/ops/index.h @@ -30,8 +30,7 @@ inline at::Tensor index(const at::Tensor& s...
2
2
2
[{"id": "G0", "claim": "The new test call transposed.index({Slice(1, 5), Slice(0, 3)}) fails to compile because the brace call is ambiguous between the index overloads, breaking the CI build.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The brace-...
null
PaddlePaddle__Paddle__78521
PaddlePaddle/Paddle
78,521
defect
83095510fcd3ae62766744b02e697b353cf1f60e
fdbc51a5fe65a2adc068662d28966db3d82df90a
[common] Add support for `std::optional` in error messages
<!-- TemplateReference: https://github.com/PaddlePaddle/Paddle/wiki/PULL-REQUEST-TEMPLATE--REFERENCE --> <!-- Demo: https://github.com/PaddlePaddle/Paddle/pull/24810 --> ### PR Category <!-- One of [ User Experience | Execute Infrastructure | Operator Mechanism | CINN | Custom Device | Performance Optimization | D...
diff --git a/paddle/common/exception.h b/paddle/common/exception.h index 5f4dc8fe6c13cf..73a3aed46d2e8a 100644 --- a/paddle/common/exception.h +++ b/paddle/common/exception.h @@ -15,6 +15,7 @@ limitations under the License. */ #pragma once #include <iostream> +#include <optional> #include <sstream> #include <stri...
1
1
1
[{"id": "G0", "claim": "Unconditionally including <optional> and the std::optional build_string overload in the public header paddle/common/exception.h raises it to a C++17 requirement, breaking non-C++17 build chains (Linux-NPU / Test and Linux-IXUCA / Build and Test already failed, affecting downstream/custom-op user...
null
PaddlePaddle__Paddle__78652
PaddlePaddle/Paddle
78,652
defect
8a454b200ece986d184335335be83894b6aba270
1322ea6519990e5b5cbc2ebcdeaf4b8bb19887d8
[Cpp API Compatibility] Sync c10 CUDA stream state with Paddle's GPUContext stream
<!-- TemplateReference: https://github.com/PaddlePaddle/Paddle/wiki/PULL-REQUEST-TEMPLATE--REFERENCE --> <!-- Demo: https://github.com/PaddlePaddle/Paddle/pull/24810 --> ### PR Category Execute Infrastructure ### PR Types Bug fixes ### Description 修复 https://github.com/PaddlePaddle/FastDeploy/pull/73...
diff --git a/paddle/phi/api/include/compat/c10/cuda/CUDAStream.cpp b/paddle/phi/api/include/compat/c10/cuda/CUDAStream.cpp index c7bab19d5bddfa..57bae21b87aabb 100644 --- a/paddle/phi/api/include/compat/c10/cuda/CUDAStream.cpp +++ b/paddle/phi/api/include/compat/c10/cuda/CUDAStream.cpp @@ -19,6 +19,8 @@ #include <mute...
6
4
4
[{"id": "G0", "claim": "Storing the calling thread's TLS-owned phi::CUDAStream wrapper pointer into the shared place-level GPUContext via SetCUDAStream(current_stream.get(), clear=false) both leaks the previously-owned stream object and leaves GPUContext holding a dangling pointer after the thread exits; once getCurren...
null
PaddlePaddle__Serving__17
PaddlePaddle/Serving
17
defect
e7bc7fbcb88586df6eb94f303ca0516e8e6048c8
0e6527387de2c14529d02f49eabeb4cdea93388f
Implement KVDB
implement KVDB (1) add rocksdb, gtest as third library (2) add new serving - echo_kvdb (3) read K,V pairs from list of files
diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..fe34bf0ef --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +build +.baidu* +.bcloud* +output diff --git a/CMakeLists.txt b/CMakeLists.txt index d01be6d74..038e1e2c0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -26,6 +26,7 @@ message(STATUS ...
15
10
1
[{"id": "G0", "claim": "The WITH_GPU build option should not be commented out in the top-level CMakeLists.txt.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The commented-out redis++ lines in CMakeLists.txt (the include and the EXTERNAL_LIBS entry)...
null
PaesslerAG__gval__53
PaesslerAG/gval
53
defect
e86347d79f1845c38f9a8a20f558dffc58bc0829
73dbf830d1cfd22af5985a05d196b63c89ae96e9
Additional features for choosing how to parse input
Hi! We implemented a `kubectl`-like JSONPath template language on top of Gval, which we have been using in our production environment for about a year now with great success. To implement it we needed to add additional features to the base library. For the languages: - `Language.ChainEvaluable(ctx, parser)`: I...
diff --git a/.travis.yml b/.travis.yml index cd654a4..fdacb58 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,8 +5,8 @@ before_install: - go get github.com/mattn/goveralls script: -- go test -bench=. -benchmem -timeout 10m -coverprofile coverage.out +- go test -bench=. -benchmem -timeout 9m -coverprofile coverag...
4
4
2
[{"id": "G0", "claim": "Language.ChainEvaluable should be a method of Parser instead, like p.ParseSublanguage(ctx, l).", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The Language type embedded in Parser is public, and the maintainer has a fast and elegan...
null
Panniantong__Agent-Reach__223
Panniantong/Agent-Reach
223
defect
ca2e85520b6603941e2dffb91973d4360737e76a
a6c16a72970bcf16bb6b58df842140d526a2aeb2
Add English skill locale support
## Summary - add an English `SKILL_en.md` variant for Agent Reach - auto-install the English skill file when the locale is English or `AGENT_REACH_LANG=en` - document the English-skill install path in `docs/README_en.md` - add a test for English locale installs ## Why The repo already has an English README, but instal...
diff --git a/agent_reach/cli.py b/agent_reach/cli.py index 9b18a904f..68c1b13e8 100644 --- a/agent_reach/cli.py +++ b/agent_reach/cli.py @@ -286,6 +286,26 @@ def _install_skill(): import os import importlib.resources + def _skill_resource_name() -> str: + locale_candidates = [ + os.envi...
5
5
3
[{"id": "G0", "claim": "SKILL_en.md contradicts itself on the platform count ('17 platforms' in the description vs '13+ platforms' in the body) and the two numbers should be unified against the Chinese SKILL.md.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1"...
null
PaperMC__Paper__11809
PaperMC/Paper
11,809
defect
17d76ae42bf8a967cf703fc937b05bd351629351
4221937aeac0156ae600bead25664f261de4425d
Updated Kyori-Adventure (4.17.0 -> 4.18.0)
Updated dependencies of Adventure + added test for shadow_color.
diff --git a/paper-api/build.gradle.kts b/paper-api/build.gradle.kts index 9a03c630be98..3ea140477c45 100644 --- a/paper-api/build.gradle.kts +++ b/paper-api/build.gradle.kts @@ -11,7 +11,7 @@ java { val annotationsVersion = "24.1.0" val bungeeCordChatVersion = "1.20-R0.2" -val adventureVersion = "4.17.0" +val adve...
4
3
1
[{"id": "G0", "claim": "SHADOW_COLOR_CODEC should be built on ExtraCodecs.ARGB_COLOR_CODEC instead of Codec.INT, so serialization mirrors what vanilla supports for shadow colors.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The comapFlatMap with a...
null
PaperMC__Paper__12024
PaperMC/Paper
12,024
defect
7e21cb818132116efc5305777eb6d72f07431294
27b89a7fb965f447e3c44f3d1989020bbcd05be6
Deprecate Server#setSpawnRadius
This method doesn't works for a while, previously bukkit had a migration path that was removed at some point and i don't think it's worth to restore it.
diff --git a/paper-api/src/main/java/org/bukkit/Bukkit.java b/paper-api/src/main/java/org/bukkit/Bukkit.java index 9196b1e62b328..d3ce337d4ad94 100644 --- a/paper-api/src/main/java/org/bukkit/Bukkit.java +++ b/paper-api/src/main/java/org/bukkit/Bukkit.java @@ -1373,7 +1373,10 @@ public static int getSpawnRadius() { ...
3
3
0
[{"id": "G0", "claim": "The deprecation javadoc should specify that a protection-handling plugin should be used, since a reader of the javadoc is already writing a plugin and the bare \"use a plugin\" mention is redundant.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, ...
null
PaperMC__Paper__12117
PaperMC/Paper
12,117
defect
9b9de827065e63eb6262bd6c6ef905246df2811a
bacf62d11815edcb3c1ce9de09f462c181d87da5
Add Point Of Interest API
The goal of this Pull Request is to add a basic level of support for Point of Interest in the API. This more used within entity AI, however, there can be exposed a useful detect Point of interests in the world. I want to flesh this out if possible, however I also want testing to be done on the current API to make sure ...
diff --git a/paper-api-generator/src/main/java/io/papermc/generator/Generators.java b/paper-api-generator/src/main/java/io/papermc/generator/Generators.java index 677a1d449ea2..f4c2990b920e 100644 --- a/paper-api-generator/src/main/java/io/papermc/generator/Generators.java +++ b/paper-api-generator/src/main/java/io/pap...
8
8
3
[{"id": "G0", "claim": "PaperPoiSearchResult should be a record (and null-marked) rather than a handwritten class.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Occupancy.occupancy() should create the instance via InternalAPIBridge instead of Bukkit.get...
null
PaperMC__Paper__12690
PaperMC/Paper
12,690
defect
5613ed6dfbb0211326a3f6b2f7f18edcadc9f3e0
7a4956ddf023603d1a93d52213cb04905fd6f5ad
Adventure 4.23.0
This PR does the following: * Updates to Adventure 4.23 * Includes #12572 (use pointers supplier instead of pointers instance, kinda lower memory usage not really but w/e) * Implements the new UI sound source * Applies a nesting limit to the component flattener * Includes a working version of #12571 (stop hardcodi...
diff --git a/paper-api/build.gradle.kts b/paper-api/build.gradle.kts index 0766f4324633..d8cf730a90e0 100644 --- a/paper-api/build.gradle.kts +++ b/paper-api/build.gradle.kts @@ -11,7 +11,7 @@ java { val annotationsVersion = "26.0.2" // Keep in sync with paper-server adventure-text-serializer-ansi dep -val adventur...
1
1
0
[{"id": "G0", "claim": "Remove the stray space in the CallbackManager field declaration, using Map<UUID, StoredCallback> instead of Map<UUID , StoredCallback>.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
PaperMC__Paper__13824
PaperMC/Paper
13,824
defect
a8c05a35c20408c83e63475d02e56644980b5a90
312de96b54a1737febb302ad3aa14056b049d07e
Finish world key initial migration
This is a small fixup for https://github.com/PaperMC/Paper/pull/13760
diff --git a/paper-api/src/main/java/co/aikar/timings/TimingHistory.java b/paper-api/src/main/java/co/aikar/timings/TimingHistory.java index 19bb744a4d894..89bd9555d0c96 100644 --- a/paper-api/src/main/java/co/aikar/timings/TimingHistory.java +++ b/paper-api/src/main/java/co/aikar/timings/TimingHistory.java @@ -134,7 +...
1
1
0
[{"id": "G0", "claim": "The null branch of the ternary inside the spawn-point exception message should be written as the literal string \"null\" instead of a bare null, which makes the resulting type of the expression a plain object shared by the branches.", "category": "maintainability", "verdict": "supported", "prior...
null
PaperMC__adventure__1005
PaperMC/adventure
1,005
defect
ec7b52467ac0c315c422a496d06b99deeed2d3cb
c24e93200289efba721c576376801a9f46c7bc76
feat(api): Expand the supported resource pack operations for 1.20.3
This PR makes it easy to handle multiple resource packs, and adds a callback system to track pack application. (note, this does change some API used in snapshots so it'd be a binary break for any current testers)
diff --git a/api/src/main/java/net/kyori/adventure/audience/Audience.java b/api/src/main/java/net/kyori/adventure/audience/Audience.java index 3c54022b6..7e33685c7 100644 --- a/api/src/main/java/net/kyori/adventure/audience/Audience.java +++ b/api/src/main/java/net/kyori/adventure/audience/Audience.java @@ -25,6 +25,7 ...
4
3
0
[{"id": "G0", "claim": "The computeHashAndBuild builder method should optionally accept a user-provided executor for the hash computation instead of always using a fixed pool.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Having a 'setResourcePack' meth...
null
PaperMC__adventure__1182
PaperMC/adventure
1,182
defect
5415714bd7e86be90788591d7739b4ae4fc184e3
0926546a3d5da505068d1cfccce2943df66fb626
feature(api, minimessage): Replace TranslationRegistry with a generic TranslationStore
This PR deprecates for removal the entire TranslationRegistry system in favour of a more generic TranslationStore system. Having a generic system allows us to easily implement a TranslationStore for Component or MiniMessage translation (which this PR does). Additionally, an abstract implementation of Translation...
diff --git a/api/src/main/java/net/kyori/adventure/translation/AbstractTranslationStore.java b/api/src/main/java/net/kyori/adventure/translation/AbstractTranslationStore.java new file mode 100644 index 000000000..b8aa583d1 --- /dev/null +++ b/api/src/main/java/net/kyori/adventure/translation/AbstractTranslationStore.ja...
1
1
1
[{"id": "G0", "claim": "Removing the default implementations of the registerAll methods from TranslationRegistry is technically a breaking change for existing implementers.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
PaperMC__adventure__1239
PaperMC/adventure
1,239
defect
92a5a6eab440cbca53f593660e963bff2dc22dda
fdbb30dc7d92b49437c95b4d2f636e81284914a4
feat(nbt): TagStringIO Enhancements
## Motivation Since adventure release 4.21.0, users can now write any BinaryTag to a String; that left a gap in reading them. There is also another case where it may be useful to capture the rest of the string, for example, in a command argument. (Otherwise, users would have to group count) ### So this commit: * Ad...
diff --git a/nbt/src/main/java/net/kyori/adventure/nbt/CharBuffer.java b/nbt/src/main/java/net/kyori/adventure/nbt/CharBuffer.java index 3e2e2b2c4..29feeff06 100644 --- a/nbt/src/main/java/net/kyori/adventure/nbt/CharBuffer.java +++ b/nbt/src/main/java/net/kyori/adventure/nbt/CharBuffer.java @@ -96,6 +96,18 @@ public C...
5
5
0
[{"id": "G0", "claim": "The new asTag(String) method should declare @NotNull on its return type and on its input parameter, matching the nullability convention used elsewhere in the file.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new asCompound(...
null
PaperMC__adventure__1290
PaperMC/adventure
1,290
defect
fcbe3f87006e93ab41cf388a68263344d03cbbb5
941b547dba685565e672c1c3031fea184313f4d1
feat(json): add option to prepend https to click event urls
Related PaperMC/Velocity#1630; [discord discussion](https://discord.com/channels/289587909051416579/1342377788266512415/1406240907937972328) Since 1.21.5 URIs without a `http://` or `https://` in a `open_url` click event are no longer silently ignored but fail parsing and disconnect. Developers still seem to expect ...
diff --git a/api/src/main/java/net/kyori/adventure/text/event/ClickEvent.java b/api/src/main/java/net/kyori/adventure/text/event/ClickEvent.java index 656e39c49..cdd984557 100644 --- a/api/src/main/java/net/kyori/adventure/text/event/ClickEvent.java +++ b/api/src/main/java/net/kyori/adventure/text/event/ClickEvent.java...
1
1
0
[{"id": "G0", "claim": "The https-prepend check should test for a http(s):// prefix instead of a substring '://' check, and the protocol strings should be extracted into a constant.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
PaperMC__adventure__1292
PaperMC/adventure
1,292
defect
ff3b13f71d8b65b150501e57f56569c4271e54bc
0950bac9e74d763cad209b7272d2117f13be0498
feat(minimessage): add sprite tag
Adds a `<sprite:[atlas]:key>` tag for inserting sprite objects via MiniMessage.
diff --git a/text-minimessage/src/main/java/net/kyori/adventure/text/minimessage/tag/standard/SpriteTag.java b/text-minimessage/src/main/java/net/kyori/adventure/text/minimessage/tag/standard/SpriteTag.java new file mode 100644 index 000000000..ec9f645ac --- /dev/null +++ b/text-minimessage/src/main/java/net/kyori/adve...
8
7
0
[{"id": "G0", "claim": "The class javadoc's first line should read \"A sprite object tag.\" instead of \"An object sprite tag.\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The popOr error message should say \"An atlas id and or a sprite id is...
null
PaperMC__adventure__131
PaperMC/adventure
131
defect
820bb9fc054b4cbd000cd55f79fb326aeee74831
8b007fb95325a4343edd6422f7046c6ca3abb7eb
Fix empty compound parsing
Previously, parsing would fail for compounds like `{}` or `{a: \"hello\", empty: {}}`
diff --git a/nbt/src/main/java/net/kyori/adventure/nbt/TagStringReader.java b/nbt/src/main/java/net/kyori/adventure/nbt/TagStringReader.java index 343bf9a3a..ac06c9507 100644 --- a/nbt/src/main/java/net/kyori/adventure/nbt/TagStringReader.java +++ b/nbt/src/main/java/net/kyori/adventure/nbt/TagStringReader.java @@ -24,...
5
3
0
[{"id": "G0", "claim": "Use JUnit's assertTrue(...) in testEmptyCompoundTag instead of a bare assert statement.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Return CompoundBinaryTag.empty() instead of constructing a new CompoundBinaryTagImpl wrapping ...
null
PaperMC__adventure__1390
PaperMC/adventure
1,390
defect
c6e2b48d0dffabde3f08876d962aae055d6c8208
bdc017ced617edc32bcfb204c617ff04e52f9174
26.1 update
Includes the following changes: - Addition of `plain` property to NBT components, mutually exclusive with `interpret` - Addition of `fallback` property to object components
diff --git a/api/src/main/java/net/kyori/adventure/text/AbstractNBTComponentBuilder.java b/api/src/main/java/net/kyori/adventure/text/AbstractNBTComponentBuilder.java index 187d0a2fa..4a005b790 100644 --- a/api/src/main/java/net/kyori/adventure/text/AbstractNBTComponentBuilder.java +++ b/api/src/main/java/net/kyori/adv...
4
2
0
[{"id": "G0", "claim": "Fix the \"componet\" typo in the javadoc of the new fallback-copy method in ObjectComponent.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add an object(ObjectContents, ComponentLike) overload for creating an ObjectCompone...
null
PaperMC__adventure__144
PaperMC/adventure
144
defect
b4e64ab760a869bb162e82da2b67d7b97a29dca2
e6f492064a21a9f080999091e781e6f883535cc0
Revise text component replacement
This now properly handles non-`TextComponent` children, plus traverses `TranslatableComponent`s and hover events. At some point the logic in this and in `TranslatableComponentRenderer` should be abstracted out into a common component visitor. There's also potential to expand the exposed replacement api -- this PR do...
diff --git a/api/src/main/java/net/kyori/adventure/text/TextComponent.java b/api/src/main/java/net/kyori/adventure/text/TextComponent.java index 10d8ba20b..463dcae27 100644 --- a/api/src/main/java/net/kyori/adventure/text/TextComponent.java +++ b/api/src/main/java/net/kyori/adventure/text/TextComponent.java @@ -583,7 +...
4
4
0
[{"id": "G0", "claim": "The redundant '@NonNull' annotations on the Replacer class's own final fields should be dropped.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The identity short-circuit 'if(count == this.count) return this;' should be a...
null