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 5th No.45】convert torch.cuda.comm.broadcast, torch.cuda.device -part #359

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

longranger2
Copy link
Contributor

@longranger2 longranger2 commented Jan 15, 2024

PR Docs

PaddlePaddle/docs#6217

PR APIs

  • convert torch.cuda.comm.broadcast
  • convert torch.cuda.device

Copy link

paddle-bot bot commented Jan 15, 2024

Thanks for your contribution!

@paddle-bot paddle-bot bot added the contributor External developers label Jan 15, 2024
@longranger2
Copy link
Contributor Author

longranger2 commented Jan 18, 2024

@zhwesky2010 没有找到这个耶:torch.nn.modules.batchnorm._NormBase

image

obj = APIBase("torch.cuda.comm.broadcast")


def test_case_1():
Copy link
Collaborator

Choose a reason for hiding this comment

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

@longranger2 你可能需要本地测试一下,因为目前CI上是CPU的torch

Copy link
Contributor Author

Choose a reason for hiding this comment

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

很奇怪,本地GPU环境也是报错
image

@zhwesky2010
Copy link
Collaborator

@zhwesky2010 没有找到这个耶:torch.nn.modules.batchnorm._NormBase

image

以实际代码运行为判断标准,不要以文档为准

@longranger2 longranger2 changed the title 【Hackathon 5th No.45】convert torch.cuda.comm.broadcast, torch.cuda.device, torch.distributions.constraints.Constraint 【Hackathon 5th No.45】convert torch.cuda.comm.broadcast, torch.cuda.device Jan 20, 2024
@luotao1
Copy link
Collaborator

luotao1 commented Jan 22, 2024

@longranger2 单侧还没有过

@luotao1 luotao1 changed the title 【Hackathon 5th No.45】convert torch.cuda.comm.broadcast, torch.cuda.device 【Hackathon 5th No.45】convert torch.cuda.comm.broadcast, torch.cuda.device -part Jan 29, 2024
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

3 participants