From 6ef2a7a6be937422dbe6422cacbd94466c8fce4c Mon Sep 17 00:00:00 2001 From: Luis C Date: Wed, 13 May 2026 00:15:31 +0000 Subject: [PATCH] build-models: bump pget pin from v0.8.2 to v0.11.1 The build-models skill pins pget to v0.8.2, but the latest pget release is v0.11.1 (https://github.com/replicate/pget/releases). New cog models following this skill should pull the current release, not a 3+ year old one. Note the asset filename also changed case in newer releases: v0.8.2: pget_linux_x86_64 (lowercase) v0.11.1: pget_Linux_x86_64 (capital L) so the URL update is not a pure version bump. --- skills/build-models/SKILL.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/skills/build-models/SKILL.md b/skills/build-models/SKILL.md index 03b30d4..d587f3f 100644 --- a/skills/build-models/SKILL.md +++ b/skills/build-models/SKILL.md @@ -198,7 +198,7 @@ In `cog.yaml`: ```yaml build: run: - - curl -o /usr/local/bin/pget -L "https://github.com/replicate/pget/releases/download/v0.8.2/pget_linux_x86_64" + - curl -o /usr/local/bin/pget -L "https://github.com/replicate/pget/releases/download/v0.11.1/pget_Linux_x86_64" - chmod +x /usr/local/bin/pget ``` @@ -366,7 +366,7 @@ If your model supports fine-tuning, add `train: train.py:train` to `cog.yaml` an - Pin Python and every dependency. Use `numpy<2` if your torch is older. - Always describe every input. Schemas without descriptions are unusable on the web UI. - Use `cog.Path` for files and `cog.Secret` for tokens. -- Pin `pget` to a specific release (`v0.8.2`) for reproducibility. +- Pin `pget` to a specific release (`v0.11.1`) for reproducibility. - Set `HF_HUB_ENABLE_HF_TRANSFER=1` whenever you call HuggingFace Hub. - Set `TRANSFORMERS_OFFLINE=1` after weights are loaded to prevent runtime HF lookups. - Test with `cog predict` before pushing. If it doesn't work locally, it won't work in production.