Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
bwohlberg committed Jul 18, 2024
1 parent ecbfca5 commit 28c828c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion scico/flax/examples/data_generation.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,6 @@ def distributed_data_generation(

# Use half of available CPU resources
ar = ray.available_resources()
print(ar)
if "CPU" not in ar:
warnings.warn("No CPU key in ray.available_resources() output.")
nproc = max(int(ar.get("CPU", 1)) // 2, 1)
Expand Down

0 comments on commit 28c828c

Please sign in to comment.