Skip to content

Commit

Permalink
bad commit for jax devices
Browse files Browse the repository at this point in the history
  • Loading branch information
youliangtan authored Nov 1, 2023
1 parent fccc37d commit b6d7460
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/async_learner_actor.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def stats_callback(type: str, payload: dict) -> dict:


def main(_):
devices = jax.local_devices()[:1]
devices = jax.local_devices()
num_devices = len(devices)
sharding = jax.sharding.PositionalSharding(devices)
assert FLAGS.batch_size % num_devices == 0
Expand Down

0 comments on commit b6d7460

Please sign in to comment.