Skip to content

Conversation

Enigmatisms
Copy link
Contributor

PR Docs

PR APIs

本 PR 测试 GPU 下某些单测是否能正确运行。本地环境为 A100 + CUDA 11.8 无问题。
torch 版本:torch2.8.0+cu128

torch.gather
toch.scatter
torch.Tensor.gather
torch.Tensor.scatter
torch.Tensor.scatter_

Copy link

paddle-bot bot commented Sep 11, 2025

Thanks for your contribution!

@Enigmatisms
Copy link
Contributor Author

确认GPU单测问题由 CI环境 torch 版本低引起:torch2.7.1 会报错,2.8.0与2.9.0(local编译)不会报错。

@Enigmatisms Enigmatisms changed the title [Test] Test GPU Unittests for scatter/gather [API-Compat] Recover GPU Unittests for scatter/gather Sep 11, 2025
@PaddlePaddle PaddlePaddle locked and limited conversation to collaborators Sep 25, 2025
@PaddlePaddle PaddlePaddle unlocked this conversation Sep 25, 2025
@zhwesky2010
Copy link
Collaborator

zhwesky2010 commented Sep 26, 2025

该功能需要使用torch2.8.0+才可运行通过。
但由于CI上使用的是CUDA11.8,只能安装到torch2.7.1版本,因此无法通过。

@PaddlePaddle PaddlePaddle locked and limited conversation to collaborators Oct 10, 2025
@PaddlePaddle PaddlePaddle unlocked this conversation Oct 10, 2025
@PaddlePaddle PaddlePaddle locked and limited conversation to collaborators Oct 11, 2025
@PaddlePaddle PaddlePaddle unlocked this conversation Oct 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants