Skip to content
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 API adaptor No.217、256、279、280】 Migrate nn.functional.square_error_cost, nn.GaussianNLLLoss/MultiLabelSoftMarginLoss/MultiMarginLoss into pir #59913

Merged
merged 3 commits into from
Dec 15, 2023

Conversation

MarioLulab
Copy link
Contributor

@MarioLulab MarioLulab commented Dec 11, 2023

PR types

Others

PR changes

Others

Description

任务 issue: #58067

PIR API 推全升级

  1. paddle.nn.functional.square_error_cost 迁移升级至 pir,并更新单测,单测覆盖率(1/2)

  2. paddle.nn.GaussianNLLLoss 迁移升级至 pir,并更新单测,单测覆盖率(0/2)

  3. paddle.nn.MultiLabelSoftMarginLoss 迁移升级至 pir,并更新单测,单测覆盖率(1/1)

  4. paddle.nn.MultiMarginLoss 迁移升级至 pir,并更新单测,单测覆盖率(1/1)

NOTE:

  1. test/legacy_test/test_square_error_cost.py 下的 TestSquareErrorInvalidInput.test_error 单测尚不支持 pir 模式
  2. GaussianNLLLoss 和 gaussian_nll_loss 未迁移,因为涉及 paddle.static.nn.Assert API,该 API 为控制流 API,暂未迁移到 PIR 模式下

Copy link

paddle-bot bot commented Dec 11, 2023

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@paddle-bot paddle-bot bot added the contributor External developers label Dec 11, 2023
@0x45f 0x45f merged commit 4e9ea06 into PaddlePaddle:develop Dec 15, 2023
28 of 29 checks passed
@MarioLulab MarioLulab deleted the luqi/pir_api_loss branch December 26, 2023 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor External developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants