Skip to content

Releases: replicate/cog

v0.10.0-alpha8

22 May 19:39
0731446
Compare
Choose a tag to compare
v0.10.0-alpha8 Pre-release
Pre-release

What's Changed

Full Changelog: v0.10.0-alpha7...v0.10.0-alpha8

v0.9.9-alpha

20 May 15:23
36c7ece
Compare
Choose a tag to compare
v0.9.9-alpha Pre-release
Pre-release

Changelog

v0.10.0-alpha7

17 May 22:18
e32f5cc
Compare
Choose a tag to compare
v0.10.0-alpha7 Pre-release
Pre-release

This release adds cog.emit_metric, a predict_time_share metric, and provisional support for setting target concurrency. It also properly records the changes that were already in prod.

What's Changed

Full Changelog: v0.10.0-alpha6...v0.10.0-alpha7

v0.9.8

17 May 17:09
Compare
Choose a tag to compare

This release fixes an issue No output specified with docker-container driver for users of Docker buildx.

Thanks to @mattt and @EduarteXD for the fixes.

Changelog

  • 2d0fe2a Run go generate ./... (#1657)
  • 5308966 document pinning python package installations to commit SHAs

v0.9.8-alpha

10 May 17:12
Compare
Choose a tag to compare
v0.9.8-alpha Pre-release
Pre-release

What's Changed

  • Bump github.com/docker/docker from 26.0.2+incompatible to 26.1.1+incompatible by @dependabot in #1646
  • Bump golang.org/x/tools from 0.20.0 to 0.21.0 by @dependabot in #1644
  • Fix Getting Started Link returns 404 by @tempusfrangit in #1639
  • Bump github.com/docker/cli from 26.0.0+incompatible to 26.1.1+incompatible by @dependabot in #1645
  • fix: 🐛 Failed to Load Docker Image Metadata in Github Action by @EduarteXD in #1638

New Contributors

Full Changelog: v0.9.7...v0.9.8-alpha

v0.9.7

06 May 20:02
bf5bf3c
Compare
Choose a tag to compare

The main changes in this release is the Secret type and always passing the --load flag to docker buildx build. Enjoy!

What's Changed

Full Changelog: v0.9.6...v0.9.7

v0.9.6

19 Apr 20:25
v0.9.6
fae2ac3
Compare
Choose a tag to compare

The main highlight in this release is revised schema validation that should improve boot times. We also add support for torch 2.2, drop support for 3.7, add support for list in inputs, and fix some other bugs.

What's Changed

Changelog

  • 1999f43 Fix go-runtime setup for base-build workflow
  • 175e3e5 Implement base-building workflow
  • c138db2 feat: deprecate python 3.7 #2 (#1582)
  • fae2ac3 feat: new approach for fast validation - fast cold boot (#1553)
  • 1289b6f feat: support for list in inputs (#1561)
  • d1d3fc4 fix: invalid components: schema "Output": extra sibling fields: [title] (#1579)
  • cffd61b update compatibility matrices: support torch 2.2 (#1580)

v0.9.5

14 Mar 21:01
f1c4162
Compare
Choose a tag to compare

What's Changed

Highlights in this release are deprecating python 3.7 and allowing a str in addition to Path and File for setup() weights argument. If you download weights with pget, we highly recommend switching to str instead of Path so that cog doesn't also try to download your weights.

New Contributors

Full Changelog: v0.9.4...v0.9.5

v0.10.0-alpha5

21 Feb 21:24
335f67b
Compare
Choose a tag to compare
v0.10.0-alpha5 Pre-release
Pre-release

Full Changelog: v0.10.0-alpha3...v0.10.0-alpha4

Scary temporary commit for a hemorrhaging-edge release. This adds concurrency to the config and significantly changes the behavior of cog.Path, does something unsavory to upload very large files, and actually enables concurrency.

  • add concurrency to config
  • this basically works!
  • more descriptive names for predict functions
  • maybe pass through prediction id and try to make cancelation do both?
  • don't cancel from signal handler if a loop is running. expose worker busy state to runner
  • move handle_event_stream to PredictionEventHandler
  • make setup and canceling work
  • drop some checks around cancelation
  • try out eager_predict_state_change
  • keep track of multiple runner prediction tasks to make idempotent endpoint return the same result and fix tests somewhat
  • fix idempotent tests
  • fix remaining errors?
  • worker predict_generator shouldn't be eager
  • wip: make the stuff that handles events and sends webhooks etc async
  • drop Runner._result
  • drop comments
  • inline client code
  • get started
  • inline webhooks
  • move clients into runner, switch to httpx, move create_event_handler into runner
  • add some comments
  • more notes
  • rip out webhooks and most of files and put them in a new ClientManager that handles most of everything. inline upload_files for that
  • move create_event_handler into PredictionEventHandler.init
  • fix one test
  • break out Path.validate into value_to_path and inline get_filename and File.validate
  • split out URLPath into BackwardsCompatibleDataURLTempFilePath and URLThatCanBeConvertedToPath with the download part of URLFile inlined
  • let's make DataURLTempFilePath also use convert and move value_to_path back to Path.validate
  • use httpx for downloading input urls and follow redirects
  • take get_filename back out for tests
  • don't upload in http and delete cog/files.py
  • drop should_cancel
  • prediction->request
  • split up predict/inner/prediction_ctx into enter_predict/exit_predict/prediction_ctx/inner_async_predict/predict/good_predict as one way to do it. however, exposing all of those for runner predict enter/coro exit still sucks, but this is still an improvement
  • bigish change: inline predict_and_handle_errors
  • inline make_error_handler into setup
  • move runner.setup into runner.Runner.setup
  • add concurrency to config in go
  • try explicitly using prediction_ctx enter and exit
  • make runner setup more correct and marginally better
  • fix a few tests
  • notes
  • wip ClientManager.convert
  • relax setup argument requirement to str
  • glom worker into runner
  • add logging message
  • fix prediction retry and improve logging
  • split out handle_event
  • use CURL_CA_BUNDLE for file upload
  • clean up comments
  • dubious upload fix
  • small fixes
  • attempt to add context logging?
  • tweak names
  • fix error for predictionOutputType(multi=False)
  • improve comments
  • fix lints
  • add a note about this release

v0.10.0-alpha4

19 Feb 18:39
03659b2
Compare
Choose a tag to compare
v0.10.0-alpha4 Pre-release
Pre-release

Full Changelog: v0.10.0-alpha3...v0.10.0-alpha4

Scary temporary commit for a hemorrhaging-edge release. This adds concurrency to the config and significantly changes the behavior of cog.Path, does something unsavory to upload very large files, and actually enables concurrency.

  • add concurrency to config
  • this basically works!
  • more descriptive names for predict functions
  • maybe pass through prediction id and try to make cancelation do both?
  • don't cancel from signal handler if a loop is running. expose worker busy state to runner
  • move handle_event_stream to PredictionEventHandler
  • make setup and canceling work
  • drop some checks around cancelation
  • try out eager_predict_state_change
  • keep track of multiple runner prediction tasks to make idempotent endpoint return the same result and fix tests somewhat
  • fix idempotent tests
  • fix remaining errors?
  • worker predict_generator shouldn't be eager
  • wip: make the stuff that handles events and sends webhooks etc async
  • drop Runner._result
  • drop comments
  • inline client code
  • get started
  • inline webhooks
  • move clients into runner, switch to httpx, move create_event_handler into runner
  • add some comments
  • more notes
  • rip out webhooks and most of files and put them in a new ClientManager that handles most of everything. inline upload_files for that
  • move create_event_handler into PredictionEventHandler.init
  • fix one test
  • break out Path.validate into value_to_path and inline get_filename and File.validate
  • split out URLPath into BackwardsCompatibleDataURLTempFilePath and URLThatCanBeConvertedToPath with the download part of URLFile inlined
  • let's make DataURLTempFilePath also use convert and move value_to_path back to Path.validate
  • use httpx for downloading input urls and follow redirects
  • take get_filename back out for tests
  • don't upload in http and delete cog/files.py
  • drop should_cancel
  • prediction->request
  • split up predict/inner/prediction_ctx into enter_predict/exit_predict/prediction_ctx/inner_async_predict/predict/good_predict as one way to do it. however, exposing all of those for runner predict enter/coro exit still sucks, but this is still an improvement
  • bigish change: inline predict_and_handle_errors
  • inline make_error_handler into setup
  • move runner.setup into runner.Runner.setup
  • add concurrency to config in go
  • try explicitly using prediction_ctx enter and exit
  • make runner setup more correct and marginally better
  • fix a few tests
  • notes
  • wip ClientManager.convert
  • relax setup argument requirement to str
  • glom worker into runner
  • add logging message
  • fix prediction retry and improve logging
  • split out handle_event
  • use CURL_CA_BUNDLE for file upload
  • clean up comments
  • dubious upload fix
  • small fixes
  • attempt to add context logging?
  • tweak names
  • fix error for predictionOutputType(multi=False)
  • improve comments
  • fix lints
  • add a note about this release