Cog

Latest version: v0.13.2

Safety actively analyzes 681844 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 25 of 31

0.3.4

Changes
* When passing the `-i` option to `cog predict` without the name of an input, it now defaults to the first. Previously, it would default to magic input called `input`.

Full changelog
* deb4c04 Add mypy to vscode and lint
* 8fd6c77 Appease mypy gods
* f1ed980 Bump github.com/docker/cli
* 8b3a613 Bump github.com/docker/cli
* 585f8eb Bump github.com/docker/docker
* 9c0b86a Bump github.com/docker/docker
* 2712640 Bump github.com/golangci/golangci-lint from 1.45.2 to 1.46.2
* ab35949 Bump gotest.tools/gotestsum from 1.8.0 to 1.8.1
* 57354dd Fix type for choices
* 04726d5 Fixes 592
* 82a569c Make default input first input
* 96d1a8f Require typing-extensions>=4.1.0
* 25cfd50 Update README.md
* 1323692 Update pkg/cli/init-templates/predict.py
* 765b4a1 Update remote image test to recent Cog model
* 498fe29 Update test-integration/test_integration/test_predict.py
* 747b513 Updates formatting in getting-started, drops --gpus
* 92a70b1 Upgrade to Go 1.18
* 2a725db go mod tidy
* 159cfc7 only catch AttributeError
* 7e96884 return str(t) if there's no __qualname__ in t

0.3.3

Changelog
* ebec624 Does not fail if there are not any nvidia packages to remove (582)

0.3.2

Changelog
* 9204b1c Base version for make install on latest release tag
* 67c5b31 Remove NVIDIA apt sources/key
* c5dde2a Update company name
* 0aee3c9 Upgrade github.com/opencontainers/image-spec

0.3.1

A bug fix release to properly support models that use CUDA via the queueing API. See 573 for details.

Changelog
* 9e6ebe2 Bump pillow from 9.0.0 to 9.0.1
* c88b60c Use multiprocessing spawn method to support CUDA
* 75d0fbe update notebook docs to mention installing jupyterlab (563)

0.3.0

Hightlights

Cog now has an experimental ⚡️ [built-in queue worker](https://github.com/replicate/cog/blob/1cde0ae054f119ea850bf8bce49b3ed64196f691/docs/redis.md) ⚡️ that can process predictions from a Redis queue. See [docs/redis.md](https://github.com/replicate/cog/blob/1cde0ae054f119ea850bf8bce49b3ed64196f691/docs/redis.md).

This release also includes lots of bugfixes and improvements to the documentation.

Breaking changes
* 311ffc0 The `success` status has been change to `succeeded` in the HTTP API and throughout Cog

Changelog
* 1cde0ae Add experimental notice to queue API
* 3e1447b Add logs to queueing API responses
* e010d1e Allow version to be specified with make install
* 5d82ba0 Document that file handling is subject to change
* 0f7128f Document the Redis queue API
* 1ef7bbc Don't expect prediction ID from queueing API request
* 5e265ab Fix curl command and add real image
* 0defd8b Fix enums being passed to predict() when using `choices`
* bacaf22 Fix getting started guide
* 290d987 Include output and logs with failed responses
* 90c78e7 Remove input wrapping for queueing API
* af91725 Remove redis_log_capture
* 9b69a58 Rename inputs to input for queueing API requests
* 4f2271c Rename output key from "value" to "output"
* 311ffc0 Rename success status to succeeded
* 55875b0 Rework predictor subprocess to be long running
* 4d3bff2 Support complex outputs from predictors
* 5e1824e Use an Enum for whether output is a generator
* 5c7201b fix notebook docs

0.2.1

Changelog
* 8af71f6 Bump gotest.tools/gotestsum from 1.7.0 to 1.8.0 (543)
* 684c735 Enable file and numpy encode_json() tests (537)
* 04bd68a Only allow one of python_packages or python_requirements to be set
* 9fdba11 Recursively encode tuple outputs (553)
* 7510bfd Update Discord link (551)
* 2d86d20 Update companies doing this sort of thing

Page 25 of 31

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.