Skip to content

griptape-ai/griptape-nodes-library-deadline-cloud

Repository files navigation

Deadline Cloud Nodes Library

This library provides Griptape Nodes for interacting with AWS Deadline Cloud APIs and services.

IMPORTANT: To use these nodes, you will need AWS Credentials with access to submit Jobs to a Deadline Cloud Farm.

Prerequisites

  1. Ensure you have an AWS Deadline Cloud Farm available. Follow the AWS documentation to get started.
  2. Ensure you have AWS Credentials available to submit Jobs to the Farm.
    1. This can be achieved by installing the Deadline Cloud monitor and logging in.

Add your library to your installed Engine

Add to Griptape Nodes

Configuration

To configure your settings within the Griptape Nodes IDE:

  1. Open the Settings menu.
  2. Navigate to the Library Settings panel.
  3. Configure your:
    1. Default Farm ID
    2. Default Queue ID
    3. Monitor URL
    4. Region name
    5. Profile name
    6. Default Storage profile ID (optional)

Usage

After configuring your Deadline Cloud settings and defaults, you can execute Griptape Nodes workflows on Deadline Cloud as Jobs.

Publish Workflow

The first method for executing Griptape Nodes workflows on Deadline Cloud is to utilize the Publish Workflow setup. The steps are as follows:

  1. Author a Workflow in the GUI Editor, using:
    1. A Deadline Cloud Start Flow node to expose the input Parameters to your Workflow
      1. Also specify any Deadline Cloud Job configuration you desire on this node
    2. A Deadline Cloud End Flow node to expose the output Parameters of your Workflow
  2. Click the 'Publish' button in the top right of the Editor (rocket ship icon)
    1. Choose the AWS Deadline Cloud Library target for publishing to
    2. (Optional) Enter a name for the new workflow file which will be generated as a result of publishing
  3. Open the newly generated workflow file in the Editor from the publish operation
  4. Click the Run Workflow button in the Editor to run the published workflow on Deadline Cloud as a Job

Workflow to publish

Publish success

Published executor workflow

This method is useful if you have a reusable workflow to run on Deadline Cloud, where you wish to reinvoke the workflow with varying input.

Deadline Cloud Execution Group

The second method for executing Griptape Nodes workflows on Deadline Cloud is to utilize a Node Group configured for the Deadline Cloud execution environment. The steps are as follows:

  1. Author a Workflow in the GUI Editor:
  2. Select the Nodes of your workflow, and create a Group by:
    1. Right clicking, then select Create Group
    2. OR via the keyboard shortcut Cmd + G (Ctrl + G on Windows)
  3. Click the settings cog icon on the top right of the Group header
  4. Select the execution_environment of AWS Deadline Cloud Library
  5. Configure the settings within the panel as you desire for Deadline Cloud execution (just like the Deadline Cloud Start Flow Node)

Deadline Cloud Execution Group

This method is useful if you have a workflow that would benefit from offloading certain Nodes to execute remotely on Deadline Cloud, and some Nodes that should run local on your machine.

Templates

For some examples on using the AWS Deadline Cloud Library, check out the templates!

Train LoRA Template Prerequisites

The deadline_cloud_train_lora template has additional requirements beyond the standard Deadline Cloud setup:

LoRA Training Library setup:

  1. Install the Griptape Nodes LoRA Training Library in your engine, registered with the griptape-nodes-library-cuda129.json file for Deadline Cloud GPU compatibility. See the LoRA Training Library README for installation instructions.

FLUX.2 model:

The FLUX.2 Klein model is downloaded directly from HuggingFace by the worker during training. The training script calls from_pretrained("black-forest-labs/FLUX.2-klein-base-4B") which downloads the model on first use. No local model download or upload as job attachment is required.

Worker requirements:

  1. Your Deadline Cloud queue must have a worker fleet with GPU-equipped instances (the template requests 1-2 GPUs). Why: LoRA training uses mixed-precision (bf16) and requires CUDA-capable GPUs.

About

Griptape Nodes Library for AWS Deadline Cloud

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors