Data loading and model checkpointing are crucial to deep learning (especially distributed DL) workloads. Azure Databricks recommends that you use a FUSE mount to a shared storage location accessible from each worker for loading, checkpointing, and logging.
In Databricks Runtime 5.3 ML and above, Azure Databricks provides
dbfs:/ml, a special folder that offers high-performance I/O for deep learning workloads, that maps to
file:/dbfs/ml on driver and worker nodes. Azure Databricks recommends using Databricks Runtime 5.3 ML (or above) and saving data under
This FUSE mount also alleviates the local file I/O API limitation of supporting only files smaller than 2GB.
If you use a Databricks Runtime version lower than 5.3 ML or you want to use your own storage, Azure Databricks recommends that you use the blobfuse client, an open source project to provide a virtual filesystem backed by Azure Blob Storage. To mount an Azure Blob Storage container as a file system with blobfuse, you can use an init script. The following notebook explains how to generate an init script and configure a cluster to run the script.