Skip to content

Commit f8b6687

Browse files
authored
Update tpu-test.py
1 parent b146cb7 commit f8b6687

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

applications/ray/kuberay-tpu-webhook/tests/tpu-test.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import ray
22

3-
@ray.remote(resources={"google.com/tpu": 4})
3+
@ray.remote(resources={"TPU": 4})
44
def tpu_cores():
55
import jax
66

@@ -23,4 +23,4 @@ def tpu_cores():
2323

2424
num_workers = 4
2525
result = [tpu_cores.remote() for _ in range(num_workers)]
26-
print(ray.get(result))
26+
print(ray.get(result))

0 commit comments

Comments
 (0)