From 9d682eaa168f1692398f64a7aad33528d32e5bb8 Mon Sep 17 00:00:00 2001 From: Paul Date: Thu, 27 Jun 2024 16:38:18 +0000 Subject: [PATCH] Change models to include --- import_schemas.py | 5 +- ...ter.json => lucataco_hunyuandit-v1.1.json} | 249 +++----- schemas/lucataco_llama-3-vision-alpha.json | 602 ++++++++++++++++++ schemas/lucataco_paligemma-3b-pt-224.json | 449 +++++++++++++ ...n => lucataco_sdxl-clip-interrogator.json} | 102 ++- 5 files changed, 1193 insertions(+), 214 deletions(-) rename schemas/{fofr_tooncrafter.json => lucataco_hunyuandit-v1.1.json} (53%) create mode 100644 schemas/lucataco_llama-3-vision-alpha.json create mode 100644 schemas/lucataco_paligemma-3b-pt-224.json rename schemas/{fofr_toolkit.json => lucataco_sdxl-clip-interrogator.json} (73%) diff --git a/import_schemas.py b/import_schemas.py index 8a47c2b..5027d08 100644 --- a/import_schemas.py +++ b/import_schemas.py @@ -29,12 +29,15 @@ models_to_import = [ "lucataco/qwen-vl-chat", "omniedgeio/face-swap", "ai-forever/kandinsky-2.2", - "pharmapsychotic/clip-interrogator", + "lucataco/sdxl-clip-interrogator", + "lucataco/paligemma-3b-pt-224", + "lucataco/llama-3-vision-alpha", "cuuupid/idm-vton", "cuuupid/glm-4v-9b", "lucataco/moondream2", "cjwbw/hyper-sdxl-1step-t2i", "cjwbw/pixart-sigma", + "lucataco/hunyuandit-v1.1", ] diff --git a/schemas/fofr_tooncrafter.json b/schemas/lucataco_hunyuandit-v1.1.json similarity index 53% rename from schemas/fofr_tooncrafter.json rename to schemas/lucataco_hunyuandit-v1.1.json index ac5922a..124690c 100644 --- a/schemas/fofr_tooncrafter.json +++ b/schemas/lucataco_hunyuandit-v1.1.json @@ -1,52 +1,47 @@ { - "url": "https://replicate.com/fofr/tooncrafter", - "owner": "fofr", - "name": "tooncrafter", - "description": "Create videos from illustrated input images", + "url": "https://replicate.com/lucataco/hunyuandit-v1.1", + "owner": "lucataco", + "name": "hunyuandit-v1.1", + "description": "A Powerful Multi-Resolution Diffusion Transformer with Fine-Grained Chinese Understanding", "visibility": "public", - "github_url": "https://github.com/fofr/cog-comfyui-tooncrafter", - "paper_url": "https://doubiiu.github.io/projects/ToonCrafter/", - "license_url": "https://github.com/fofr/cog-comfyui-tooncrafter/blob/main/LICENSE", + "github_url": "https://github.com/lucataco/cog-HunyuanDiT-v1.1", + "paper_url": "https://arxiv.org/abs/2403.08857", + "license_url": "https://huggingface.co/Tencent-Hunyuan/HunyuanDiT/blob/main/LICENSE.txt", "run_count": 0, - "cover_image_url": "https://tjzk.replicate.delivery/models_models_cover_image/e3adaa0a-c534-496c-81d1-281f9000fbb4/tooncrafter.gif", + "cover_image_url": "https://replicate.delivery/pbxt/zaIEwnA4yablMNKnI2B20puFnkTZkiJ27geV2Ohk3VtOYRhJA/out.png", "default_example": { - "id": "gw8thp06j1rgp0cfvbtsvrq9vc", - "model": "fofr/tooncrafter", - "version": "51bf654d60d307ab45c4ffe09546a3c9606f8f33861ab28f5bb0e43ad3fa40ed", + "id": "sfncqenqv9rgm0cgarybtpj2nc", + "model": "lucataco/hunyuandit-v1.1", + "version": "6ad5f2571b5892f6c874288b482c0a50d3cc9a2e02338806e9e12b23f14d9810", "status": "succeeded", "input": { - "loop": false, - "prompt": "", - "image_1": "https://replicate.delivery/pbxt/L1pQdyf4fPVRzU5WxhhHAdH2Eo05X3zhirvNzwAKJ80lA7Qh/replicate-prediction-5cvynz9d91rgg0cfsvqschdpww-0.webp", - "image_2": "https://replicate.delivery/pbxt/L1pQeBF582rKH3FFAYJCxdFUurBZ1axNFVwKxEd1wIALydhh/replicate-prediction-5cvynz9d91rgg0cfsvqschdpww-1.webp", - "image_3": "https://replicate.delivery/pbxt/L1pQdTPwSZxnfDkPkM3eArBmHWd5xttTnSkKBhszXJ88pIff/replicate-prediction-5cvynz9d91rgg0cfsvqschdpww-3.webp", - "max_width": 512, - "max_height": 512, - "interpolate": false, + "size": "square", + "prompt": "A clever fox walks in a broadleaf forest next to a stream, realistic details, photography", + "sampler": "ddpm", + "enhance_prompt": false, + "guidance_scale": 6, "negative_prompt": "", - "color_correction": true + "num_inference_steps": 20 }, - "output": [ - "https://replicate.delivery/pbxt/aDDntBsXmmL6DZMIRURYbxjeer1PZxmT9TIl0MOfqcrYqT1lA/ToonCrafter_00001.mp4" - ], - "logs": "Random seed set to: 1500914532\nChecking inputs\n✅ /tmp/inputs/input_1.png\n✅ /tmp/inputs/input_2.png\n✅ /tmp/inputs/input_3.png\n====================================\nChecking weights\n✅ tooncrafter_512_interp-fp16.safetensors\n✅ stable-diffusion-2-1-clip-fp16.safetensors\n✅ CLIP-ViT-H-fp16.safetensors\n====================================\nRunning workflow\ngot prompt\nExecuting node 1, title: Load Image, class type: LoadImage\nDownloading model to: /src/ComfyUI/models/checkpoints/dynamicrafter/tooncrafter_512_interp-fp16.safetensors\nExecuting node 52, title: DownloadAndLoadDynamiCrafterModel, class type: DownloadAndLoadDynamiCrafterModel\nFetching 1 files: 0%| | 0/1 [00:00>> model checkpoint loaded.\nModel using dtype: torch.float16\nExecuting node 61, title: DownloadAndLoadCLIPVisionModel, class type: DownloadAndLoadCLIPVisionModel\nLoading model from: /src/ComfyUI/models/clip_vision/CLIP-ViT-H-fp16.safetensors\nExecuting node 59, title: DownloadAndLoadCLIPModel, class type: DownloadAndLoadCLIPModel\nclip missing: ['text_model.encoder.layers.23.layer_norm1.weight', 'text_model.encoder.layers.23.layer_norm1.bias', 'text_model.encoder.layers.23.self_attn.q_proj.weight', 'text_model.encoder.layers.23.self_attn.q_proj.bias', 'text_model.encoder.layers.23.self_attn.k_proj.weight', 'text_model.encoder.layers.23.self_attn.k_proj.bias', 'text_model.encoder.layers.23.self_attn.v_proj.weight', 'text_model.encoder.layers.23.self_attn.v_proj.bias', 'text_model.encoder.layers.23.self_attn.out_proj.weight', 'text_model.encoder.layers.23.self_attn.out_proj.bias', 'text_model.encoder.layers.23.layer_norm2.weight', 'text_model.encoder.layers.23.layer_norm2.bias', 'text_model.encoder.layers.23.mlp.fc1.weight', 'text_model.encoder.layers.23.mlp.fc1.bias', 'text_model.encoder.layers.23.mlp.fc2.weight', 'text_model.encoder.layers.23.mlp.fc2.bias', 'text_projection.weight']\nLoading model from: /src/ComfyUI/models/clip/stable-diffusion-2-1-clip-fp16.safetensors\nRequested to load SD2ClipModel\nLoading 1 new model\nExecuting node 49, title: CLIP Text Encode (Prompt), class type: CLIPTextEncode\nExecuting node 50, title: CLIP Text Encode (Prompt), class type: CLIPTextEncode\nExecuting node 70, title: 🔧 Image Resize, class type: ImageResize+\nExecuting node 2, title: Load Image, class type: LoadImage\nExecuting node 303, title: Load Image, class type: LoadImage\nExecuting node 28, title: Image Batch Multi, class type: ImageBatchMulti\nExecuting node 6, title: Get Image Size & Count, class type: GetImageSizeAndCount\nExecuting node 65, title: 🔧 Image Resize, class type: ImageResize+\nExecuting node 57, title: ToonCrafterInterpolation, class type: ToonCrafterInterpolation\nVAE using dtype: torch.bfloat16\nRequested to load CLIPVisionModelProjection\nLoading 1 new model\nDDIM Sampler: 0%| | 0/20 [00:00 #0:0 (h264 (native) -> gif (native))\nPress [q] to stop, [?] for help\nIncompatible pixel format 'yuv420p' for codec 'gif', auto-selecting format 'bgr8'\nOutput #0, gif, to '/tmp/outputs/video.gif':\nMetadata:\nmajor_brand : isom\nminor_version : 512\ncompatible_brands: isomiso2avc1mp41\nencoder : Lavf59.27.100\nStream #0:0(eng): Video: gif, bgr8(pc, gbr/bt709/bt709, progressive), 512x288 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 12 fps, 100 tbn (default)\nMetadata:\nhandler_name : Core Media Video\nvendor_id : [0][0][0][0]\nencoder : Lavc59.37.100 gif\nframe= 1 fps=0.0 q=-0.0 size= 0kB time=00:00:00.01 bitrate= 0.0kbits/s speed=0.128x\nframe= 41 fps=0.0 q=-0.0 Lsize= 622kB time=00:00:03.34 bitrate=1525.6kbits/s speed=8.68x\nvideo:622kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.003140%", + "output": "a painting of a turtle swimming in the ocean, high detailed illustration, colored illustration for tattoo, highly detailed illustration.”, watercolor artwork of exotic, watercolor artstyle, watercolor digital painting, watercolor colored painting, detailed watercolor painting, colorful watercolor painting, colored illustration, watercolor illustration style, digital art highly detailed, highly detailed water colour 8 k, highly detailed water colour 8k", + "logs": "0%| | 0/55 [00:00