LLM Model Uploads 50x Faster at Databricks

Diagram of faster LLM model uploads across regions at Databricks

Databricks has made its LLM model uploads about 50 times faster, and replication of those models across regions about 20 times faster. The company’s Unity Gateway team moved a 1.56 TB model from a projected day of uploading and a week of copying to roughly 32 minutes and a few hours.

For teams shipping large models, faster LLM model uploads mean new checkpoints and fixes reach users the same day. The cause turned out to be a single shared network connection, not a lack of bandwidth. Fixing that took a small change in the client and a new way of copying files.

Why big models were slow to ship

Unity Gateway provides capacity for frontier open models such as Kimi, GLM and Qwen, which Databricks runs on its own inference services and GPUs. The platform serves more than 125 trillion tokens a year across its models.

To offer a new model on the day it is released, the weights have to be uploaded and copied to every serving region within a few hours. As models passed the terabyte mark, that stopped being realistic.

Kimi-K2.7, a 600 GB model, spent over half a day just getting uploaded. Spreading it to all regions took roughly three days, since the long transfers between regions sometimes broke off and restarted. Kimi-K3 at 1.56 TB looked set to need about a day for the upload and a week to reach every region.

Every launch and update passes through this pipeline. When it is slow and prone to failing, even small jobs like rolling out a fix become multi-day chores that need an engineer watching. Newer frontier models keep getting bigger, so the pain grew each time.

image1.png
Image: Databricks

Where the time was going

A model passes through three stages before it serves traffic. Its weights are first uploaded once to a central leader region of the Artifact Registry. The registry then copies them to each serving region. Finally, a serving node downloads the model and loads it. Databricks had already sped up the last stage with its image-acceleration technology and a tuned “fast puller”, so this work covered the first two.

Upload ran at about 15 MB/s, far below what the network could carry. The team had AI agents benchmark each stage and run comparisons. They checked the network between regions first and found spare capacity. The destination object storage could take data far faster than it was receiving it. CPU, memory and disks were all lightly loaded.

One test pointed to the cause. Starting more parallel HTTP/2 transfers left speed stuck at about 15 MB/s. Measuring each connection and then trying HTTP/1.1 sent speeds into the hundreds of MB/s. One connection maxed out near 17 to 18 MB/s, while spreading transfers over several connections scaled almost in a straight line beyond 200 MB/s.

image2.png
Image: Databricks

The flow-control window was the ceiling

HTTP/2 packs many requests onto one long-lived connection, a good fit for web pages that fire off lots of small requests. Each connection has one flow-control window, a cap on unacknowledged data in flight. On long round trips between distant regions, that cap decides the speed, not the network.

The uploader’s parallel transfers and the replication job’s file copies all squeezed through the same connection and window, so extra transfers brought no extra speed.

Replication had another flaw. A single job handled each model and moved its files one after another over that connection. Kimi-K3 meant over a hundred large files in a row, and a brief error could force a file to begin again.

image3.png
Image: Databricks

What Databricks changed

The main fix gave every transfer a connection of its own. Because HTTP/1.1 doesn’t multiplex, the client opens separate connections with separate windows for simultaneous transfers. For copying between regions, the team added a pool of workers, each moving one file over its own connection so a model’s files travel side by side.

Two smaller changes helped as well:

  • Bigger chunks per transfer, to reduce the overhead of each request to cloud storage
  • A wider flow-control window on the server, letting each connection hold more data in flight

The combined effect took speed from roughly 15 MB/s to roughly 800 MB/s, and the retries and failures partway through disappeared.

The numbers after the fix

Faster LLM model uploads also made the pipeline more dependable, not just quicker.

Upload throughput rose from about 15 MB/s to between 600 and 800 MB/s. Replication went from 18 MB/s to between 340 and 420 MB/s. Gains of about 50x for upload and 20x for replication held across models from several hundred gigabytes to more than a terabyte.

Kimi-K3 now uploads in 32 minutes and reaches all regions in about three hours, so a new model can be serving worldwide the same day. The connection resets that used to stretch runs over days are gone.

What’s still slowing LLM model uploads

Throughput is still well below the available network bandwidth. The remaining limit is structural. An OCI registry is content-addressed, meaning each object is identified by the digest of its bytes, so every object’s bytes must pass through the registry server in order for it to compute that digest. Extra connections can’t move the registry out of the data path.

Databricks is looking at two ways around it. In the first, clients would write files straight to object storage through short-lived, checksum-locked URLs. Storage would verify each file’s digest, and the registry would record only metadata. In the second, replication between regions of the same cloud would use the object store’s own server-side copy instead of streaming files through Databricks services.

For anyone moving very large model weights, the lesson is concrete: if parallel transfers don’t speed anything up, check whether they are all sharing one connection.

Source: Databricks

Written by

Saksham Bhargava

Saksham Bhargava runs Alteroid and has been writing about consumer technology for over five years, covering iPhone, Android, Windows, AI tools and gaming. With an MCA and six years of hands-on web development experience, he tests the features he writes about on his own devices and focuses on clear, practical guides that solve real problems. Away from the screen, he enjoys travelling to places most tourists skip.