ray logo ray: rerun

1 2 3 4 5
Notes

When you rerun this cell, it's super fast!

%%time
results = ray.get(futures)

But that's because the computation doesn't rerun. If you re-initialize the futures then it will.

futures = [birthday_experiment.remote(class_size=size, n_sim=10_000) for size in range(2, 10)]