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

【Hackathon 7th No.40】为 Paddle 代码转换工具新增 API 转换规则(第 7 组)-Part #6920

Closed
wants to merge 3 commits into from

Conversation

MikhayEeer
Copy link

为 Paddle 代码转换工具新增 API 转换规则(第 7 组)- Part1

PaddlePaddle/Paddle#68244

Copy link

paddle-bot bot commented Oct 22, 2024

感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-6920.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html
预览工具的更多说明,请参考:飞桨文档预览工具

@luotao1 luotao1 added the PaddlePaddle Hackathon 飞桨黑客松活动issue与PR label Oct 23, 2024
@luotao1 luotao1 changed the title 【Hackathon 7th No.40】为 Paddle 代码转换工具新增 API 转换规则(第 7 组)- Part1 【Hackathon 7th No.40】为 Paddle 代码转换工具新增 API 转换规则(第 7 组)-Part Oct 23, 2024
torch.cuda.device_of(obj)
```

获取张量所在的设备,Paddle 无此 api,需要组合实现
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://pytorch.org/docs/stable/generated/torch.cuda.device_of.html#torch.cuda.device_of 这个好像不是这个功能,开发Matcher并测试一下吧

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

好的


将多个设备的张量集中起来,Paddle 无此 API,需要组合替代实现。

### 转写示例
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

同步提交Matcher并且测试一下吧


将张量分散到多个设备上,Paddle 无此 API,需要组合替代实现

### 转写示例
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

同步提交Matcher并且测试一下吧

@zhwesky2010
Copy link
Collaborator

@MikhayEeer 请根据comment进行修改

@MikhayEeer
Copy link
Author

@MikhayEeer 请根据comment进行修改

您好,近期安排变化,可能没有机会继续开发了,我将会关闭该PR

@MikhayEeer MikhayEeer closed this Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor PaddlePaddle Hackathon 飞桨黑客松活动issue与PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants