{"id":19815953,"url":"https://github.com/replicate/yolo","last_synced_at":"2025-05-01T10:31:53.275Z","repository":{"id":203618630,"uuid":"700318607","full_name":"replicate/yolo","owner":"replicate","description":"EXPERIMENT - exploring ideas to improve dx for models","archived":false,"fork":false,"pushed_at":"2024-06-25T13:54:33.000Z","size":443,"stargazers_count":13,"open_issues_count":6,"forks_count":0,"subscribers_count":18,"default_branch":"main","last_synced_at":"2025-05-01T04:46:40.838Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/replicate.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-04T11:21:20.000Z","updated_at":"2024-12-15T17:14:31.000Z","dependencies_parsed_at":"2024-01-11T06:47:16.427Z","dependency_job_id":"476fc148-d095-4063-ab26-cec29feab52e","html_url":"https://github.com/replicate/yolo","commit_stats":null,"previous_names":["replicate/yolo"],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/replicate%2Fyolo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/replicate%2Fyolo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/replicate%2Fyolo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/replicate%2Fyolo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/replicate","download_url":"https://codeload.github.com/replicate/yolo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251860021,"owners_count":21655661,"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":[],"created_at":"2024-11-12T10:07:50.522Z","updated_at":"2025-05-01T10:31:52.974Z","avatar_url":"https://github.com/replicate.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# yolo\n\nAn experimental CLI for tweaking existing [Cog](https://github.com/replicate/cog) models and deploying them to Replicate really fast.\n\n- No Docker required\n- No Cog required\n- No GPU required\n\n## DISCLAIMER\n\n⚠️ This is a tool for power users that has many rough edges. ⚠️\n\n## Usage\n\n### Install on mac/linux\n\nFetch the precompiled Go binary from GitHub Releases:\n\n    sudo curl -o /usr/local/bin/yolo -L \"https://github.com/replicate/yolo/releases/latest/download/yolo_$(uname -s)_$(uname -m)\"\n    sudo chmod +x /usr/local/bin/yolo\n\nAlternatively can build from source (Golang required):\n\n    go build \u0026\u0026 sudo cp yolo /usr/local/bin\n\n### Get your Replicate token\n\nYou can use **either** your REPLICATE_API_TOKEN or your COG_TOKEN.\n\nBy using your REPLICATE_API_TOKEN, we can access the API and PUSH models to your account.\n\n#### Replicate API Token\n\nVisit https://replicate.com/account/api-tokens and copy your token.\n\n    export REPLICATE_API_TOKEN=r8_...\n\n#### Cog Token\n\nVisit https://replicate.com/auth/token and copy your token.\n\n    export COG_TOKEN=4b212....\n\n### Modify a model (e.g. SDXL)\n\nGrab the code by cloning the repo\n\n   git clone https://github.com/replicate/cog-sdxl.git\n\n### Find an existing version to modify\n\nVisit https://replicate.com/stability-ai/sdxl/api and find the docker image name:\n\n    r8.im/stability-ai/sdxl@sha256:1bfb924045802467cf8869d96b231a12e6aa994abfe37e337c63a4e49a8c6c41\n\nThis is going to be your \"base\" for your tweaked model.  You can think \nof the process as adding your changes on top of this model, as that is\nwhat happens under the hood.  A new layer is added with whatever files\nyou specify.\n\n### Create a model\n\nThere is no Replicate API for model creation, so you must create a model on the website:\n\n    https://replicate.com/create\n\n### Make and push your changes\n\nIf you are NOT changing the schema (inputs/outputs), you run this:\n\n    yolo push \\\n    --base r8.im/stability-ai/sdxl@sha256:1bfb924045802467cf8869d96b231a12e6aa994abfe37e337c63a4e49a8c6c41 \\\n    --dest r8.im/anotherjesse/my-awesome-changes \\\n    list_of_files_to_send\n\nIf you are changing the schema\n\n    yolo push \\\n    --base r8.im/stability-ai/sdxl@sha256:1bfb924045802467cf8869d96b231a12e6aa994abfe37e337c63a4e49a8c6c41 \\\n    --dest r8.im/anotherjesse/my-awesome-changes \\\n    --ast path_to_predictor.py \\\n    path_to_predictor.py other_files_here.py\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freplicate%2Fyolo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freplicate%2Fyolo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freplicate%2Fyolo/lists"}