Skip to content

Clarify that the cog Python library is a library, apart from the cog CLI #1261

Open
@zeke

Description

@zeke

I've heard from a couple users that they tried to pip install cog expecting to end up with a cog CLI, but of course that didn't work. We should update our docs to clarify what's going on here.

Here's why:

cog CLI

The cog CLI is written in Golang and is distributed via binaries GitHub Releases (and Homebrew for macOS users):

cog build ...
cog predict ...
cog push ...

cog Python package

The cog package on PyPi is a different thing. It's the Python library you import into your model code when writing a Predictor:

from cog import BasePredictor, Path, Input

Related issues:

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions