You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When ACCELERATE_TORCH_DEVICE=privateuseone:0 python test.py is executed, I expect privateuseone:0 privateuseone:0 will be displayed. However, I saw cpu cpu.
With TPU, I got xla:0 xla:0. With NVIDIA GPU, I got cuda:0 cuda:0. With only CPU, I got cpu cpu.
The text was updated successfully, but these errors were encountered:
System Info
transformers
version: 4.43.0Who can help?
@muellerzr @SunMarc
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
Execute the following script
test.py
with accelerators(TPU
,CUDA
,CPU
,privateuseone:0
) withaccelerate
.Expected behavior
When
ACCELERATE_TORCH_DEVICE=privateuseone:0 python test.py
is executed, I expectprivateuseone:0 privateuseone:0
will be displayed. However, I sawcpu cpu
.With
TPU
, I gotxla:0 xla:0
. With NVIDIA GPU, I gotcuda:0 cuda:0
. With only CPU, I gotcpu cpu
.The text was updated successfully, but these errors were encountered: