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

Build wheels for torch 2.1.2 #1265

Merged
merged 2 commits into from
Dec 21, 2023
Merged

Conversation

csukuangfj
Copy link
Collaborator

No description provided.

std::random_shuffle(permutation.begin(), permutation.end());
std::random_device rd;
std::mt19937 g(rd());
std::shuffle(permutation.begin(), permutation.end(), g);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

random_shuffle is removed from c++17.

@csukuangfj
Copy link
Collaborator Author

You can find pre-built wheels for CPU and CUDA at

Screenshot 2023-12-21 at 10 34 45

@csukuangfj csukuangfj merged commit 415fe1f into k2-fsa:master Dec 21, 2023
1 check passed
@csukuangfj csukuangfj deleted the torch-2.1.2 branch December 21, 2023 02:39
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