Skip to content

Commit e900d8d

Browse files
Google-ML-AutomationSurbhiJainUSC
authored andcommitted
adjust copybara rules and remove jax.device assertion
PiperOrigin-RevId: 863427436
1 parent e009264 commit e900d8d

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/maxtext/examples/shardings.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ def simple_timeit(f, tries=5, verbose=True):
123123
devices = jax.devices()
124124
num_devices = len(devices)
125125
print(f"Devices: {devices} (num_devices: {num_devices})")
126-
assert len(devices) > 1, "You must have at least two devices"
127126

128127
# Assert that we have correct inputs of sharding that fit the number of chips
129128
assert (

0 commit comments

Comments
 (0)