Skip to content

Commit ad76dca

Browse files
committed
Add device comment to pytorch text-generator example
1 parent 5ca9f1a commit ad76dca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/pytorch/text-generator/cortex.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
path: predictor.py
88
metadata:
99
num_words: 20
10-
device: cuda
10+
device: cuda # use "cpu" to run on CPUs
1111
compute:
1212
gpu: 1
1313
cpu: 1

0 commit comments

Comments
 (0)