Skip to content

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

@paddle-bot
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
@luotao1 luotao1 closed this Sep 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.

3 participants