File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -207,10 +207,10 @@ def test_device_attributes(self):
207
207
208
208
@staticmethod
209
209
def _global_device_attributes ():
210
- return pjrt .global_device_attributes ()
210
+ return xr .global_device_attributes ()
211
211
212
212
def test_global_device_attributes (self ):
213
- results = pjrt ._run_multiprocess (self ._global_device_attributes )
213
+ results = pjrt .run_multiprocess (self ._global_device_attributes )
214
214
for result in results .values ():
215
215
for device in result :
216
216
self .assertCountEqual (['coords' , 'core_on_chip' ], list (device .keys ()))
Original file line number Diff line number Diff line change 9
9
runtime .addressable_device_count ,
10
10
runtime .device_attributes ,
11
11
runtime .device_type ,
12
+ runtime .global_device_attributes ,
12
13
runtime .global_device_count ,
13
14
runtime .global_ordinal ,
14
15
runtime .local_device_count ,
You can’t perform that action at this time.
0 commit comments