Note: This repository hosts management scripts/tools only. No model weights are included.
Tools for:
๐ผ๏ธ waveshaker/loras_gallery
๐ง waveshaker/loras
๐ waveshaker/dataset_collections
๐ง waveshaker/universal-lora-studio
models_manager_v*.pyis used for centralized local management ofwaveshaker/loras_gallery|waveshaker/loras|waveshaker/dataset_collection: (Click to expand)Features:
- JSON Management: Pull/upload
waveshaker/loras_gallery/models.json, maintain card metadata (Title, Trigger, Dataset URL, Showcase URL, Update Time in Unix timestamp), and globally manage custom KV fields. Supports both full-prefix JSON (for local editing) and clean relative-path JSON (for minimal cloud uploads). - Model Upload: Auto-clean local images and convert them to WebP, then upload the
.safetensorsand.webpfiles to thewaveshaker/lorasModel repo. Automatically appends new model entries with anupdate_timetimestamp and updates the minimal cloudwaveshaker/loras_gallery/models.json. - Dataset Upload: Automated pipeline (TXT cleanup, PNG to JPG, Parquet packaging) and push to the
waveshaker/dataset_collectionsDataset repo. - Showcase Upload: Process local PNGs (extract metadata, convert to WebP), generate/update
gallery.json, and push to thewaveshaker/loras/comfyui_showcasefolder in the Models repo. Supports both local-only generation and incremental upload.
- JSON Management: Pull/upload
base_model_uploader_gui.pyis a GUI tool for batch uploading base models and cloning remote repos towaveshaker/comfy_models(Click to expand)Features:
- Streamlines batch uploading of large
.safetensorsfiles. It supports multi-threaded transfers, auto-resumption, and status tracking to skip completed files. - Enables instant server-side duplication of remote HuggingFace models via URL without downloading.
- Streamlines batch uploading of large
comfy_dataset_prep_wf_v**.json: A ComfyUI workflow for LoRA dataset prep. (Click to expand)Integrates Krea2, Qwen Image 2.1, Flux 2 Klein 9B, and SQVLM for high-res(1-1.56MP) upscaling and auto-captioning of faces and bodies.
my LLM settings in
system_prompts_user.jsoninComfyUI\custom_nodes\ComfyUI_Simple_Qwen3-VL-gguf(aka SQVLM):"๐๐ผ๏ธ๐ฌQwen3.8-27B-Uncensored-HauhauCS-Aggressive.IQ3_XS": { "model_path": "G:\\StableDiffusion\\MODELS\\LLM\\GGUF\\Qwen3.8-27B-Uncensored-HauhauCS-Aggressive.IQ3_XS.gguf", "mmproj_path": "G:\\StableDiffusion\\MODELS\\LLM\\GGUF\\Qwen3.8-27B-Uncensored-HauhauCS-Aggressive.mmproj-BF16.gguf", "max_tokens": 4096, "max_frames": 81, "image_min_tokens": 128, "image_max_tokens": 1024, "n_ctx": 102400, "n_batch": 2048, "n_ubatch": 512, "enable_thinking": false, "n_keep": 512, "n_gpu_layers": -1, "n_threads": 8, "use_mmap": true, "split_mode": 0, "temperature": 0.8, "top_p": 0.95, "min_p": 0.05, "repeat_penalty": 1.1, "presence_penalty": 0.0, "top_k": 40, "chat_handler": "qwen35", "script": "qwen3vl_run.py", "debug": true, "verbose": false },showcase_tempalte_v**.json: A ComfyUI workflow designed to generate PNG images with embedded workflow metadata. (Click to expand)The accompanying Python tool
models_manager_v*.pyparses these images to extract the exact Prompt, generation parameters, and LoRA stacks, automatically compiling them into a structuredgallery.jsonfor the web gallery's "ComfyUI Showcase" viewer.Wildcards used in workflow:
filter_nsfw.py: A script for rough NSFW filtering(based on NudeNet). It provides a quick initial screen, but manual review is still necessary for accurate results.batch_preview_generator/: A 5-steps batch pipeline for auto-generating and deploying showcase preview images. (Click to expand)It follows a structured 5-step workflow:
- Uses
0_batch_template_*.jsonto batch generate random preview images. - Runs
1_batch_regroup.pyto automatically reorganize all output images into their respective subfolders. - Runs
2_batch_process_meta.pyto extract themetadata from thepngfiles and convert the images intowebpformat. - Runs
3_batch_upload_showcase.pyto batch upload the processed showcase folders to Hugging Face. - Runs
4_batch_modify_json.pyto automatically update themodels.jsondata by regex-matching theshowcaseitems for each entry, leaving you ready for a final manual upload.
The
batch_preview_generator/is primarily designed for adapting older models like Pony and FLUX.1 - Dev, with the main goal of rapid batch generation. For newer models, useshowcase_tempalte_v**.jsonto generate images, and then upload them usingmodels_manager_v*.py.- Uses
hf_space_cap_checker.py: Compares and calculates the total storage size of models defined inwaveshaker/comfy_models/studio_config.jsonandwaveshaker/universal-lora-studio/model_config.py. Filters duplicates via the HF API to ensure the total size does not exceed Hugging Face's 150 GB capacity limit.checkpoint_splitter/: Utilities to split AIO checkpoints into VAE, TE, and UNET, including UNET int8 quantization and checkpoint re-merging. (Click to expand)check_keys.py: Inspects the keys of split safetensors files to verify and adjust split logic.checkpoint_int8_convrot.py: Uses Kijai'squant_int8_convrot.pyto quantize the UNET of an AIO checkpoint to int8 convrot, without altering the Text Encoder (TE) or VAE.split_checkpoint_Illustrious.py: Extracts the VAE, TE, and UNET from Illustrious checkpoints.split_checkpoint_pony.py: Extracts the VAE, TE, and UNET from Pony checkpoints.split_checkpoint_sd15.py: Extracts the VAE, TE, and UNET from SD 1.5 checkpoints.split_checkpoint_sdxl.py: Extracts the VAE, TE, and UNET from SDXL checkpoints.
- Downloads last month
- 283