-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PIR] Adaptation of test_zero_dim_*.py
- step: 2
#62652
Labels
HappyOpenSource
快乐开源活动issue与PR
PFCC
Paddle Framework Contributor Club,https://github.com/PaddlePaddle/community/tree/master/pfcc
status/close
已关闭
Comments
paddle-bot
bot
added
the
PFCC
Paddle Framework Contributor Club,https://github.com/PaddlePaddle/community/tree/master/pfcc
label
Mar 12, 2024
Closed
luotao1
added
HappyOpenSource
快乐开源活动issue与PR
and removed
status/new-issue
新建
type/others
其他问题
labels
Mar 15, 2024
This was referenced Mar 17, 2024
认领 6 |
可以换一题,这个反向有问题,已经找反向的研发看了 |
好的,认领 2 |
|
github-project-automation
bot
moved this from In Progress
to Done
in Call for Contributions
Apr 8, 2024
This was referenced May 6, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
HappyOpenSource
快乐开源活动issue与PR
PFCC
Paddle Framework Contributor Club,https://github.com/PaddlePaddle/community/tree/master/pfcc
status/close
已关闭
UPDATE 20240311: 为了方便单测执行,
test/legacy_test/test_zero_dim_tensor.py
文件已拆分为前缀名是test_zero_dim_*
的多个文件,其他没有变化UPDATE 20240219:
test/legacy_test/test_zero_dim_tensor.py
文件中, 大部分单测由 #61575, #61577, #61582 覆盖,本issue记录的单测需要单独适配一、BackGround 📚
随着近期 PIR 底层 IR 的开发,为了能够同时跑两种 IR 模式,在
python/paddle/pir_utils.py
添加了相关的装饰器,用于追加运行 PIR 模式。为了确保 PIR 的准确性,我们需要尽快将新机制推全~
更多任务背景、任务修改内容、提交样例可参考前期已发布过的任务:#61413
二、Task 📚
test/legacy_test/test_zero_dim_binary_api.py
AttributeError: 'paddle.base.libpaddle.pir.Program' object has no attribute 'current_block'
test/legacy_test/test_zero_dim_sundry_static_api_part1.py
create_parameter
已适配,create_global_var
不适配,未来如果框架内遇到可以考虑是否能直接换成paddle.full
✅4TestSundryAPIStatic.test_setitemtest/legacy_test/test_zero_dim_sundry_static_api_part3.py
可以简化一下单测AttributeError: 'paddle.base.libpaddle.pir.Value' object has no attribute 'grad_name'
反向 API 返回的是输入,等后续研发确认✅7TestSundryAPIStatic.test_sequence_pad静态图专用 API,已确认废弃TypeError: Cannot interpret '<VarType.INT64: 3>' as a data type
Exception: Found fetch_target[0] is type(str) and doesn't have fetch op.
✅9TestSundryAPIStatic.test_static_nn_prelu静态图专用 API,已确认废弃TypeError: Cannot interpret '<DataType.FLOAT32: 10>' as a data type
test/legacy_test/test_zero_dim_sundry_static_api_part4.py
test/legacy_test/test_zero_dim_no_backward_api.py
TypeError: float(Value) is not supported in static graph mode. If you are using @to_static, you can try this:
TypeError: (InvalidType) full(): argument (position 2) must be double, but got Variable
TypeError: too many positional arguments
TypeError: too many positional arguments
TypeError: (InvalidType) full(): argument (position 2) must be double, but got Variable
TypeError: too many positional arguments
TypeError: (InvalidType) full(): argument (position 2) must be double, but got Variable
TypeError: (InvalidType) full(): argument (position 2) must be double, but got Variable
TypeError: (InvalidType) full(): argument (position 2) must be double, but got Variable
TypeError: Cannot interpret '<VarType.FP32: 5>' as a data type
✅23TestNoBackwardAPIStatic.test_static_embeddingTypeError: bool(Value) is not supported in static graph mode. If you are using @to_static, you can try this
TypeError: bool(Value) is not supported in static graph mode. If you are using @to_static, you can try this
test/legacy_test/test_zero_dim_reduce_api.py
任务统计
The text was updated successfully, but these errors were encountered: