Fundamentals of Dask Transcripts
Chapter: Dask Schedulers
Lecture: Selecting a scheduler
Login or
purchase this course
to watch this video and the rest of the course contents.
0:00
Now it's time to have even more fun and see how to select the scheduler is
0:05
So to recap, we've learned about the different available schedule is so now it's time to see how to select them.
0:12
The first way to do it is you can do it in line if you want to use it for just a single compute call, for example, as you see here while debugging,
0:22
you may want to compute one value without Parallelism. Next, you can set it to be the default scheduler, just within a block, as shown here.
0:32
In this case we're using a context manager. Using "with" essentially. You can also set it globally with the code here.
0:41
Up next, we'll be jumping into a Jupyter Notebook to get practicing with everything we've just learn.