{"id":28384467,"url":"https://github.com/runpod-workers/worker-sdxl-tuner","last_synced_at":"2025-06-25T23:31:08.618Z","repository":{"id":203342860,"uuid":"709374882","full_name":"runpod-workers/worker-sdxl-tuner","owner":"runpod-workers","description":"RunPod worker to fine tune SDXL model from user provided images. ","archived":false,"fork":false,"pushed_at":"2023-10-30T15:53:40.000Z","size":95,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-05-30T09:27:51.435Z","etag":null,"topics":["sdxl","sdxl-docker"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/runpod-workers.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-10-24T15:33:59.000Z","updated_at":"2025-05-05T00:05:46.000Z","dependencies_parsed_at":"2023-10-27T21:22:47.510Z","dependency_job_id":null,"html_url":"https://github.com/runpod-workers/worker-sdxl-tuner","commit_stats":null,"previous_names":["runpod-workers/worker-sdxl-tuner"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/runpod-workers/worker-sdxl-tuner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runpod-workers%2Fworker-sdxl-tuner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runpod-workers%2Fworker-sdxl-tuner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runpod-workers%2Fworker-sdxl-tuner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runpod-workers%2Fworker-sdxl-tuner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/runpod-workers","download_url":"https://codeload.github.com/runpod-workers/worker-sdxl-tuner/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runpod-workers%2Fworker-sdxl-tuner/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261972578,"owners_count":23238537,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["sdxl","sdxl-docker"],"created_at":"2025-05-30T08:38:46.198Z","updated_at":"2025-06-25T23:31:08.606Z","avatar_url":"https://github.com/runpod-workers.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n\u003ch1\u003eSDXL Fine Tuning | Worker\u003c/h1\u003e\n\n[![CI | Test Handler](https://github.com/runpod-workers/worker-sdxl-tuner/actions/workflows/CI-test_handler.yml/badge.svg)](https://github.com/runpod-workers/worker-sdxl-tuner/actions/workflows/CI-test_handler.yml)\n\u0026nbsp;\n[![CD | Build-Test-Release](https://github.com/runpod-workers/worker-sdxl-tuner/actions/workflows/build-test-release.yml/badge.svg)](https://github.com/runpod-workers/worker-sdxl-tuner/actions/workflows/build-test-release.yml)\n\n🚀 | This serverless worker is used for fine tuning SDXL. It supports dynamic auto-scaling using the built-in RunPod autoscaling feature.\n\n\u003c/div\u003e\n\n#### Docker Arguments:\n\n1. `HUGGING_FACE_HUB_WRITE_TOKEN`: Your private Hugging Face token. This token is required for pushing models to the hub.\n\n#### Build an Image:\n\n`docker build -t \u003cyour_dockerhub_directory\u003e/image_name:tag --build-arg HUGGING_FACE_HUB_WRITE_TOKEN=\u003cyour_token_value\u003e .`\n\nPlease make sure to replace your_hugging_face_token_here with your actual Hugging Face token to enable model downloads that require it.\n\nEnsure that you have Docker installed and properly set up before running the docker build commands. Once built, you can deploy this serverless worker in your desired environment with confidence that it will automatically scale based on demand.\n\n## Test Inputs\n\nThe following inputs can be used for testing the model:\n\n```json\n{\n  \"input\": {\n    \"dataset_url\": \"https://github.com/runpod-workers/sample-inputs/raw/main/images/runpod_dog2.zip\",\n    \"output_directory\": \"/workspace/output\",\n    \"instance_prompt\": \"a photo of \u003csubject\u003e\",\n    \"batch_size\": 32,\n    \"training_steps\": 1000\n  }\n}\n```\n\nNOTE: This SDXL fine-tuning worker requires you to provide a folder containing the images of the new instance you'd like to include in the SDXL model. Additionally, we need to ensure that you provide an instance prompt with the following syntax: 'a photo of _subject_' where \"subject\" is the name of the item you want to use for fine-tuning the SDXL model (e.g., the images inside the dataset directory).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frunpod-workers%2Fworker-sdxl-tuner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frunpod-workers%2Fworker-sdxl-tuner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frunpod-workers%2Fworker-sdxl-tuner/lists"}