Skip to content

Conversation

@ooooo-create
Copy link
Contributor

@ooooo-create ooooo-create commented Aug 31, 2025

share_external_data

@paddle-bot
Copy link

paddle-bot bot commented Aug 31, 2025

Thanks for your contribution!

@luotao1
Copy link
Collaborator

luotao1 commented Sep 2, 2025

请讲22和56题分开两个PR

@luotao1 luotao1 self-assigned this Sep 2, 2025
@ooooo-create ooooo-create force-pushed the test/add_unit_tests_for_share_external_data branch from a21986c to 2d8b07a Compare September 4, 2025 01:51
@ooooo-create ooooo-create changed the title 【Hackathon 9th No.22、56】add unit tests for share_external_data 【Hackathon 9th No.22】add unit tests for share_external_data Sep 4, 2025
@ming1753
Copy link
Collaborator

ming1753 commented Sep 5, 2025

验证方法是ok的,但是逻辑稍微有点复杂了,直接连续调用set_data_ipc和share_external_data验证结果有什么问题吗

@luotao1 luotao1 merged commit 0c46318 into PaddlePaddle:develop Sep 8, 2025
35 of 42 checks passed
@luotao1
Copy link
Collaborator

luotao1 commented Sep 8, 2025

直接连续调用set_data_ipc和share_external_data验证结果有什么问题吗

@ooooo-create 后续可以优化下?

@ooooo-create
Copy link
Contributor Author

验证方法是ok的,但是逻辑稍微有点复杂了,直接连续调用set_data_ipc和share_external_data验证结果有什么问题吗

抱歉这么晚回复,直接调用应该是可以的,我本来想本地测试一下再回复的,后来一直没有时间本地测试,忘记回复了。当时这么做是因为这个 api 应该是用来跨进程通信的,为了模拟这个场景,我就是一个进程set_data_ipc,另一个进程进行 share_external_data ,如果不需要这样子做,我后面有时间改一下~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants