evaluate
evaluate copied to clipboard
Add custom device selection such as 'cuda:1' for perplexity
Current device
of perplexity can only be one of gpu
, cpu
or cuda
. This PR enables users to run perplexity on devices such as cuda:1
.