transformers
Device agnostic testing
#25870
Merged

Device agnostic testing #25870

vvvm23
ydshieh ydshieh requested a review from ydshieh ydshieh 2 years ago
ydshieh
ydshieh
vvvm23 adds agnostic decorators and availability fns
1327ab78
vvvm23 renaming decorators and fixing imports
98bb8fc9
vvvm23 updating some representative example tests
9f4c9efa
vvvm23 wip device agnostic functions
d09ea4b0
vvvm23 lru cache to device checking functions
2c9afb4a
vvvm23 adds `TRANSFORMERS_TEST_DEVICE_SPEC`
4d12550f
vvvm23 comments `TRANSFORMERS_TEST_DEVICE_SPEC` code
31c61eda
vvvm23 extra checks on device name
686d8f21
vvvm23 `make style; make quality`
7c9e892a
vvvm23 updates default functions for agnostic calls
c961bd63
vvvm23 vvvm23 force pushed to c961bd63 2 years ago
vvvm23
ydshieh
ydshieh ydshieh assigned ydshieh ydshieh 2 years ago
ydshieh
ydshieh commented on 2023-09-08
ydshieh
ydshieh commented on 2023-09-08
vvvm23 applies suggestions from review
a582f933
vvvm23 adds `is_torch_available` guard
bc65a0e9
vvvm23
ydshieh
ydshieh ydshieh unassigned ydshieh ydshieh 2 years ago
ydshieh ydshieh assigned ydshieh ydshieh 2 years ago
arsalanu
ydshieh
ydshieh
arsalanu Add spec file to docs, rename function dispatch names to backend_*
d0e5443d
arsalanu
arsalanu
ydshieh
ydshieh commented on 2023-10-04
ydshieh
arsalanu add backend import to docs example for spec file
fe2b4981
arsalanu
ydshieh
arsalanu
ydshieh
ji-huazhong
ji-huazhong requested changes on 2023-10-10
ji-huazhong
ydshieh
ji-huazhong
arsalanu change instances of to
8492352b
arsalanu Merge branch 'main' of https://github.com/graphcore/transformers-fork…
dd5ddcbe
arsalanu
ydshieh
ji-huazhong
ydshieh
arsalanu
ydshieh
arsalanu Move register backend to before device check as per @statelesshz changes
7c302ba5
arsalanu
vvvm23 vvvm23 marked this pull request as ready for review 2 years ago
ydshieh
arsalanu make style
a1230d45
arsalanu
HuggingFaceDocBuilderDev
ydshieh ydshieh requested a review from LysandreJik LysandreJik 2 years ago
ydshieh
ji-huazhong
ydshieh
ydshieh approved these changes on 2023-10-24
LysandreJik
LysandreJik commented on 2023-10-24
fxmarty
fxmarty approved these changes on 2023-10-24
LysandreJik
LysandreJik approved these changes on 2023-10-24
arsalanu make opt test require fp16 to run
d696b55c
arsalanu
arsalanu
vvvm23
ydshieh ydshieh merged 9da45171 into main 2 years ago
ydshieh ydshieh changed the title Draft PR for Device agnostic testing. Device agnostic testing 2 years ago
ydshieh
vvvm23
ydshieh

Login to write a write a comment.

Login via GitHub

Assignees
Labels
Milestone