transformers
Replaces calls to `.cuda` with `.to(torch_device)` in tests
#25571
Merged

Replaces calls to `.cuda` with `.to(torch_device)` in tests #25571

vvvm23
vvvm23 Replaces calls to `.cuda` with `.to(torch_device)` in tests
c3a16ec2
ArthurZucker
ArthurZucker commented on 2023-08-17
vvvm23
ArthurZucker
ArthurZucker commented on 2023-08-17
vvvm23
ArthurZucker
ArthurZucker commented on 2023-08-18
vvvm23 addressing review comments
e3451745
vvvm23
ArthurZucker
ArthurZucker commented on 2023-08-18
vvvm23 more formatting changes in Bloom test
f9c1f7ea
vvvm23 `make style`
150b50b2
HuggingFaceDocBuilderDev
ArthurZucker
ArthurZucker commented on 2023-08-18
vvvm23 Update tests/models/bloom/test_modeling_bloom.py
28f9bb72
vvvm23 fixes style failures
e82952e5
vvvm23
ArthurZucker
ArthurZucker approved these changes on 2023-08-18
ArthurZucker ArthurZucker merged 9d7afd25 into main 2 years ago
vvvm23 vvvm23 deleted the testing-remove-dotcuda branch 2 years ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone