Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Compile CUDA 13 on Nvidia 5090 sm_120#4066

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
DrStone1971 wants to merge3 commits intopytorch:main
base:main
Choose a base branch
Loading
fromDrStone1971:patch-2

Conversation

@DrStone1971
Copy link

CUDA 13 change library and clean code of redundancy. This fix compile on Nvidia 5090 with CUDA 13.0

PLEASE NOTE THAT THE TORCHAUDIO REPOSITORY IS NO LONGER ACTIVELY MONITORED. You may not get a response. For open discussions, visithttps://discuss.pytorch.org/.

oraluben reacted with thumbs up emoji
CUDA 13 change library and clean code of redundancy. This fix compile on Nvidia 5090 with CUDA 13.0
@DrStone1971DrStone1971 requested a review froma team as acode ownerAugust 24, 2025 18:20
@pytorch-bot
Copy link

🔗 Helpful Links

🧪 See artifacts and rendered test results athud.pytorch.org/pr/pytorch/audio/4066

Note: Links to docs will display an error until the docs builds have been completed.

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla
Copy link

Hi @DrStone71!

Thank you for your pull request and welcome to our community.

Action Required

In order to mergeany pull request (code, docs, etc.), werequire contributors to sign ourContributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign athttps://code.facebook.com/cla.If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, thepull request will be tagged withCLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us atcla@meta.com. Thanks!

@meta-cla
Copy link

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks!

DrStone1971and others added2 commitsAugust 26, 2025 17:53
Co-authored-by: Aidyn-A <31858918+Aidyn-A@users.noreply.github.com>
Co-authored-by: Aidyn-A <31858918+Aidyn-A@users.noreply.github.com>
@DrStone1971
Copy link
Author

thanks !!

Use #include <cuda/std/functional> is better !

johnnynunez reacted with thumbs up emoji

@johnnynunez
Copy link

johnnynunez commentedAug 27, 2025
edited
Loading

@DrStone71 did work for you?
i had fix more things for cuda 13

@DrStone1971
Copy link
Author

@johnnynunez

pytorch vision and audio.

When i use cub::Sum,Max and Min i have fix with this@define

#if !defined(USE_ROCM) && defined(CCCL_MAJOR_VERSION) && (CCCL_MAJOR_VERSION >= 3)
#include <cuda/std/functional>
#include <cuda/functional>
using Sum_fix = cuda::std::plus<>;
using Max_fix = cuda::maximum<>;
using Min_fix = cuda::minimum<>;
#else
#include <cub/cub.cuh>
using Sum_fix = cub::Sum;
using Max_fix = cub::Max;
using Min_fix = cub::Min;
#endif

but is a wip :-(

@johnnynunez
Copy link

@johnnynunez

pytorch vision and audio.

When i use cub::Sum,Max and Min i have fix with this@define

#if !defined(USE_ROCM) && defined(CCCL_MAJOR_VERSION) && (CCCL_MAJOR_VERSION >= 3) #include <cuda/std/functional> #include <cuda/functional> using Sum_fix = cuda::std::plus<>; using Max_fix = cuda::maximum<>; using Min_fix = cuda::minimum<>; #else #include <cub/cub.cuh> using Sum_fix = cub::Sum; using Max_fix = cub::Max; using Min_fix = cub::Min; #endif

but is a wip :-(

Yes. It is happening in all repositories.
You can see here an example in sglang:https://github.com/sgl-project/sglang/pull/9495/files

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

1 more reviewer

@Aidyn-AAidyn-AAidyn-A left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@DrStone1971@johnnynunez@Aidyn-A

[8]ページ先頭

©2009-2025 Movatter.jp