Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -364,3 +364,21 @@ body:has(.router-quickstart-marker) [data-component-part="card-content"] [data-c
body:has(.router-quickstart-marker) [data-component-part="card-content"] [data-component-part="code-block-root"][style*="height: 190px"] {
height: 86px !important;
}

/*
* Cap article images at 750px. The full-bleed layout above removes Mintlify's
* content width limit, so an uncapped screenshot stretches to the full
* article width on large monitors. Images narrower than 750px keep their
* size, and click-to-zoom still opens the full-size image because the zoom
* overlay renders outside #content. To make one image smaller, set a Tailwind
* width on it, for example className="w-[400px]".
*/
#content img:not([data-component-part="card-image"]) {
max-width: min(100%, 750px);
}

/* Shrink a Frame to its capped image (750px plus the Frame's 0.5rem padding
on each side) so the image does not float inside a full-width box. */
#content .frame:has(img) {
max-width: calc(750px + 1rem);
}
10 changes: 6 additions & 4 deletions development/deploy/cloud-custom-builds.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@

![Comfy Cloud dialog for a Workflow with Custom Nodes Comfy Cloud doesn't have, listing the missing Nodes above the Read the docs link, the Build with your agent button, and the Create on Platform button](/images/development/deploy/run-on-custom-deployment.png)

![Run on menu open next to the Run button, with Comfy Cloud checked, the message This workspace has no deployments yet, and Create a custom deployment below it](/images/development/deploy/run-on.png)

<Tip>
To create a Build without the dialog, click the cloud menu to the left of **Run**. By default, it's set to **Comfy Cloud**.

- If your workspace has no deployments yet, select **Create a custom deployment**, and then click **Create on Platform**.
- If it already has deployments, select **Manage deployments**.

![Run on menu open next to the Run button, with Comfy Cloud checked, the message This workspace has no deployments yet, and Create a custom deployment below it](/images/development/deploy/run-on.png)
</Tip>
</Step>
<Step title="Start a new Build">
Expand Down Expand Up @@ -69,17 +69,19 @@

To change what goes into the Build, click **Customise build** instead and go through the steps. Two steps decide what the Build holds:

- **Which custom nodes does the build need?**: choose the Custom Nodes.
- **Which models ship inside the build?**: choose which models the Build includes. A model the Build doesn't include downloads the first time a job uses it.
- **Which custom nodes does the build need?**
- Select the Custom Nodes.
- **Which models ship inside the build?**
- Choose which models the Build includes. A model the Build doesn't include downloads the first time a job uses it.

### Publish the Build

Publishing turns your Build into a numbered version, such as `v1`, that you can deploy now and later. Publishing is free.

1. In the **Choose build targets** dialog, keep **Serverless build** selected. It's the target that runs on Comfy Cloud.

Check warning on line 81 in development/deploy/cloud-custom-builds.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

development/deploy/cloud-custom-builds.mdx#L81

Did you really mean 'Serverless'?
2. Click **Publish**.

Your Build's page opens with the new version. The **Serverless build** row shows the build's progress. Building usually takes 10 to 15 minutes, and you can leave the page and come back. When the build finishes, the **Serverless build** row shows a **Deploy** button.

Check warning on line 84 in development/deploy/cloud-custom-builds.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

development/deploy/cloud-custom-builds.mdx#L84

Did you really mean 'Serverless'?

Check warning on line 84 in development/deploy/cloud-custom-builds.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

development/deploy/cloud-custom-builds.mdx#L84

Did you really mean 'Serverless'?

To come back to the version later:

Expand All @@ -101,12 +103,12 @@

### Deploy and run your Workflow

A deployment is your Build running on Comfy Cloud GPUs. Deploy the Build, and then switch the Comfy Cloud editor to the deployment to run your Workflow.

Check warning on line 106 in development/deploy/cloud-custom-builds.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

development/deploy/cloud-custom-builds.mdx#L106

Did you really mean 'GPUs'?

1. On the **Serverless build** row, click **Deploy**. The **Deploy v1 of** _your Build's name_ dialog opens.

Check warning on line 108 in development/deploy/cloud-custom-builds.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

development/deploy/cloud-custom-builds.mdx#L108

Did you really mean 'Serverless'?
2. Select a GPU. Each GPU shows its VRAM (GPU memory) and its price per hour.
3. If the dialog shows **Ready for the Cloud editor**, leave it selected. It's on by default.
4. Leave the other settings at their defaults. With **Always-warm workers** at `0`, the deployment turns its GPUs off when no jobs come in. By default, **Keep worker up after a job** keeps a GPU on for 3 minutes after the last job, and that idle time is billed at the GPU rate.

Check warning on line 111 in development/deploy/cloud-custom-builds.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

development/deploy/cloud-custom-builds.mdx#L111

Did you really mean 'GPUs'?
5. Check the **Estimated cost** panel. It shows the GPU time per hour and the model storage per month.
6. Click **Create deployment**. The deployment's page opens. Wait until the status under the deployment's name reads **Ready**.
7. In the Comfy Cloud editor, click the cloud menu to the left of **Run**. Under **Run on**, select your deployment. The editor reloads, and your tabs stay open.
Expand Down Expand Up @@ -140,7 +142,7 @@
2. In the **Left sidebar**, click **Model Library**, and then click **Import**.
3. Click **Choose a file**, or drag a `.safetensors` file into the dialog.
4. Under **What type of model is this?**, keep **LoRA** for a LoRA, or select the type that matches the file.
5. Click **Upload**. When the dialog says _Model successfully imported._, click **Finish**.

Check warning on line 145 in development/deploy/cloud-custom-builds.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

development/deploy/cloud-custom-builds.mdx#L145

Did you really mean '_Model'?

![Import a model dialog with my\_style\_lora\_9e2417.safetensors (97.37 MB) chosen, What type of model is this? set to LoRA, and the Back and Upload buttons](/images/development/serverless/library-models-editor-import.png)

Expand Down Expand Up @@ -241,10 +243,10 @@

<CardGroup cols={2}>
<Card title="Library models in API requests" icon="code" href="/development/serverless/overview#use-workspace-library-models-in-api-requests">
Upload a model from a terminal and pick it per request with `lora_name`.

Check warning on line 246 in development/deploy/cloud-custom-builds.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

development/deploy/cloud-custom-builds.mdx#L246

Did you really mean 'lora_name'?
</Card>
<Card title="Comfy API Quickstart" icon="cloud-arrow-up" href="/development/serverless/quickstart">
Call your deployment from your own code as an autoscaling endpoint.

Check warning on line 249 in development/deploy/cloud-custom-builds.mdx

View check run for this annotation

Mintlify / Mintlify Validation (dripart) - vale-spellcheck

development/deploy/cloud-custom-builds.mdx#L249

Did you really mean 'autoscaling'?
</Card>
<Card title="Usage and Limits" icon="gauge" href="/development/deploy/cloud-usage">
See how Comfy Cloud credits and concurrent job limits work.
Expand Down
Loading