Skip to content

Dont remove name in CppExtension/CUDAExtension #608

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SigureMo
Copy link
Member

@SigureMo SigureMo commented Jul 31, 2025

PR Docs

PaddlePaddle/docs#7372

PR APIs

torch.utils.cpp_extension.CUDAExtension
torch.utils.cpp_extension.CppExtension

CppExtension/CUDAExtension 避免删掉 name 参数,删掉后完全依赖自动推导时无法保证生成的 .so 名字和 torch 对齐,这会影响加载(import)

Important

还有些问题需要看看

Copy link

paddle-bot bot commented Jul 31, 2025

Thanks for your contribution!

@SigureMo SigureMo marked this pull request as draft July 31, 2025 09:22
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.

1 participant