cog
caf9ea75 - Move examples from cog-examples to cog (#3055)

Commit
23 days ago
Move examples from cog-examples to cog (#3055) * feat: add examples * format: go and python * fix: lint and format refactoring * fix: code review and update cargo deny * feat: add secret support to coglet * fix: review fixes for examples and test-harness - Document list[Secret] coercion exclusion in coglet input handling - Fix stale 'predict.py' comments in example cog.yaml files - Correct hello-train README to use 'cog predict' - Add trailing newlines to example cog.yaml files - Only pass --setup-timeout for 'cog predict' (not 'cog train') - Re-add train_tests for hello-train * feat: move resnet to experimental * refactor: split out Secret support; address example review comments - Remove coglet Secret coercion (moved to dedicated PR #3057) - Remove hello-replicate example and its test-harness entry (moved to #3057) - Drop Secret usage from the scalar-types fixture - Gate managed-weights harness run behind COG_MANAGED_WEIGHTS_READY - Fix stale predict.py/run.py and max:32/max:4 references in hello-concurrency README - Fix hello-context README to match the text input - Fix resnet README to describe GPU + torchvision setup-time weight fetch - Update resnet-managed-weights README to reference model: instead of image: * refactor(test-harness): base_dir-first model resolution - Resolve local models by base_dir (relative to repo root) instead of requiring 'repo: local'; precedence is base_dir, then repo, then the default fixtures/models dir. - Reject 'repo: local' in manifest.Load with a migration message. - Drop redundant 'repo: local' from all manifest entries; examples use 'base_dir: examples', fixtures use 'base_dir: tools/test-harness/fixtures/models'. - Add Model.Source() for clearer 'list' output when repo is empty. - Add tests for resolution, repo:local rejection, and Source().
Author
Parents
Loading