From 02aea1a8220d6644953bf134be52af787696a9fb Mon Sep 17 00:00:00 2001 From: Paul Date: Tue, 23 Jul 2024 16:28:48 +0000 Subject: [PATCH] Add example 405b workflow --- example_workflows/llama3-405b.json | 566 +++++++++++++++++++++++++++++ 1 file changed, 566 insertions(+) create mode 100644 example_workflows/llama3-405b.json diff --git a/example_workflows/llama3-405b.json b/example_workflows/llama3-405b.json new file mode 100644 index 0000000..0b448af --- /dev/null +++ b/example_workflows/llama3-405b.json @@ -0,0 +1,566 @@ +{ + "last_node_id": 10, + "last_link_id": 13, + "nodes": [ + { + "id": 5, + "type": "CLIPTextEncode", + "pos": [ + 1199, + 389 + ], + "size": [ + 400, + 200 + ], + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 4 + }, + { + "name": "text", + "type": "STRING", + "link": 3, + "widget": { + "name": "text" + } + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 5 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "" + ] + }, + { + "id": 4, + "type": "CLIPTextEncode", + "pos": [ + 1195, + 649 + ], + "size": { + "0": 400, + "1": 200 + }, + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 2 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 6 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "" + ] + }, + { + "id": 6, + "type": "KSampler", + "pos": [ + 1664, + 404 + ], + "size": { + "0": 315, + "1": 262 + }, + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 11 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 5 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 6 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 7 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 8 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "KSampler" + }, + "widgets_values": [ + 690393467025334, + "randomize", + 25, + 7, + "dpmpp_2m_sde_gpu", + "karras", + 1 + ] + }, + { + "id": 8, + "type": "VAEDecode", + "pos": [ + 2061, + 406 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 8 + }, + { + "name": "vae", + "type": "VAE", + "link": 9 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 10 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEDecode" + } + }, + { + "id": 3, + "type": "CheckpointLoaderSimple", + "pos": [ + 735, + 527 + ], + "size": { + "0": 315, + "1": 98 + }, + "flags": {}, + "order": 0, + "mode": 0, + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 11 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 2, + 4 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "VAE", + "type": "VAE", + "links": [ + 9 + ], + "shape": 3, + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "CheckpointLoaderSimple" + }, + "widgets_values": [ + "proteusV0.5.safetensors" + ] + }, + { + "id": 7, + "type": "EmptyLatentImage", + "pos": [ + 1270, + 219 + ], + "size": [ + 315, + 106 + ], + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "width", + "type": "INT", + "link": 12, + "widget": { + "name": "width" + } + }, + { + "name": "height", + "type": "INT", + "link": 13, + "widget": { + "name": "height" + } + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 7 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "EmptyLatentImage" + }, + "widgets_values": [ + 1024, + 1024, + 1 + ] + }, + { + "id": 10, + "type": "Width and height from aspect ratio 🪴", + "pos": [ + 838, + 183 + ], + "size": { + "0": 315, + "1": 126 + }, + "flags": {}, + "order": 1, + "mode": 0, + "outputs": [ + { + "name": "width", + "type": "INT", + "links": [ + 12 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "height", + "type": "INT", + "links": [ + 13 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "Width and height from aspect ratio 🪴" + }, + "widgets_values": [ + "16:9", + 1024, + 8 + ] + }, + { + "id": 9, + "type": "SaveImage", + "pos": [ + 157, + 474 + ], + "size": [ + 500.09607697684555, + 307.000781640146 + ], + "flags": {}, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 10 + } + ], + "properties": {}, + "widgets_values": [ + "ComfyUI" + ] + }, + { + "id": 2, + "type": "ShowText|pysssss", + "pos": [ + 153, + 234 + ], + "size": [ + 450.830078125, + 192.2900390625 + ], + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "text", + "type": "STRING", + "link": 1, + "widget": { + "name": "text" + } + } + ], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": null, + "shape": 6 + } + ], + "properties": { + "Node name for S&R": "ShowText|pysssss" + }, + "widgets_values": [ + "", + "A film still of a sci-fi anime movie, two space explorers in a tense, mystical confrontation on a bizarre, abandoned space station, weird, dreamlike, muted metallic colors, soft, ethereal lighting, unusual, organic architecture, anime style, intricate details, dramatic posing." + ] + }, + { + "id": 1, + "type": "Replicate meta/meta-llama-3.1-405b-instruct", + "pos": [ + -274, + 235 + ], + "size": [ + 398.7880859375, + 447.314453125 + ], + "flags": {}, + "order": 2, + "mode": 0, + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": [ + 1, + 3 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "Replicate meta/meta-llama-3.1-405b-instruct" + }, + "widgets_values": [ + "an awesome scifi anime scene, with some dynamic interaction between two people, don't use neon stuff though, be weird", + "You are a helpful text to image prompt assistant. You enhance prompts using short sentences and comma separated keywords, subject first then style. Return just the prompt. Make sure to keep all details from given prompt (like if it's a photo, etc)\n\nGood prompt example:\nA film still of an anime movie, two space explorers in a tense standoff on a desolate alien planet, surreal, muted color palette, eerie atmospheric lighting, unusual architecture, anime style, detailed textures, dramatic posing.", + 0, + 512, + 0.6, + 0.9, + 50, + 0, + 0, + "", + false + ] + } + ], + "links": [ + [ + 1, + 1, + 0, + 2, + 0, + "STRING" + ], + [ + 2, + 3, + 1, + 4, + 0, + "CLIP" + ], + [ + 3, + 1, + 0, + 5, + 1, + "STRING" + ], + [ + 4, + 3, + 1, + 5, + 0, + "CLIP" + ], + [ + 5, + 5, + 0, + 6, + 1, + "CONDITIONING" + ], + [ + 6, + 4, + 0, + 6, + 2, + "CONDITIONING" + ], + [ + 7, + 7, + 0, + 6, + 3, + "LATENT" + ], + [ + 8, + 6, + 0, + 8, + 0, + "LATENT" + ], + [ + 9, + 3, + 2, + 8, + 1, + "VAE" + ], + [ + 10, + 8, + 0, + 9, + 0, + "IMAGE" + ], + [ + 11, + 3, + 0, + 6, + 0, + "MODEL" + ], + [ + 12, + 10, + 0, + 7, + 0, + "INT" + ], + [ + 13, + 10, + 1, + 7, + 1, + "INT" + ] + ], + "groups": [], + "config": {}, + "extra": { + "ds": { + "scale": 0.6209213230591553, + "offset": [ + 357.0363126973379, + 28.753132988760044 + ] + } + }, + "version": 0.4 +} \ No newline at end of file