- 
                Notifications
    You must be signed in to change notification settings 
- Fork 31k
device agnostic pipelines testing #27129
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
device agnostic pipelines testing #27129
Conversation
5f90dad    to
    025994f      
    Compare
  
    | cc @ydshieh | 
cc7c4bd    to
    35eff72      
    Compare
  
    35eff72    to
    9f34d7b      
    Compare
  
    | @ydshieh Marking this ready for review :-) | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working on this and improving our tests! ❤️
Happy to merge once @ydshieh approves
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! I would like to run them before merge. Will update here.
| model="hf-internal-testing/tiny-random-distilbert", | ||
| framework="pt", | ||
| device=torch.device("cpu"), | ||
| device=torch_device, | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure why it was hardcoded to cpu previously
| The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. | 
| test run results look good, so merge! Thanks again @statelesshz | 
* device agnostic pipelines testing * pass torch_device



What does this PR do?
Part of #25654 (comment)
Before submitting
Pull Request section?
to it if that's the case.
documentation guidelines, and
here are tips on formatting docstrings.
Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.
cc @ydshieh