-
-
Notifications
You must be signed in to change notification settings - Fork 666
adds available device to nlp tests #3335 #3385
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
Merged
vfdev-5
merged 20 commits into
pytorch:master
from
BanzaiTokyo:nlp_tests_available_device
Apr 24, 2025
+63
−43
Merged
Changes from 5 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
6d91f91
adds available device to nlp tests #3335
BanzaiTokyo c1dcffc
avoiding float64
BanzaiTokyo bc70649
Merge branch 'master' into nlp_tests_available_device
BanzaiTokyo 6dd44ce
converts candidates and references float32 on MPS
BanzaiTokyo d1d949f
more conversions to float32 on MPS
BanzaiTokyo fabc322
rolls back some unnecessary conversions to float32
BanzaiTokyo e2e1562
trying to make tests pass
BanzaiTokyo 6c8e750
Merge branch 'master' into nlp_tests_available_device
BanzaiTokyo 9681a0b
rollback to previously passing tests
BanzaiTokyo 1d6dd7d
rollback _n_gram_counter parameter type change
BanzaiTokyo 908ec77
in bleu.py do not use torch.double
BanzaiTokyo bb5f23a
Merge branch 'master' into nlp_tests_available_device
BanzaiTokyo 3ad6b5e
clean up
BanzaiTokyo ed54722
sets dtype in bleu.py
BanzaiTokyo 2c84193
adds return type to Bleu.compute
BanzaiTokyo 59806b4
removes unnecessary conversion
BanzaiTokyo 385fb27
typing
BanzaiTokyo 0ed7c3a
typing
BanzaiTokyo 0736051
transfer tensors in tests to cpu
BanzaiTokyo 27cd230
Merge branch 'master' into nlp_tests_available_device
vfdev-5 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.