Skip to content

Dask

You've got existing Dask code and you want to see it run on Frisky?

Sure! Sounds fun.

Hijack

The easiest thing to do is to use whatever script/notebook sets up your Dask environment hijack your Dask client object.

client = ...  # your dask code that creates a client

import frisky

client = frisky.hijack(client)

This will replace your Dask cluster with a Frisky cluster and your Dask Client with a Frisky Client. Everything should just work after that.

That's it. Sorry for the short section.

Performance

If you were bottlenecked on Dask scheduling then you should notice a nice speedup. Probably you were bottlenecked on something else though, and so all you'll get is a nicer dashboard and better AI integration. That's cool too though.