Cog has a debug command that outputs the Dockerfile for the current cog model, but it's not documented.
It's not available in help:
$ cog --help
Containers for machine learning.
...
Available Commands:
build Build an image from cog.yaml
completion Generate the autocompletion script for the specified shell
help Help about any command
init Configure your project for use with Cog
login Log in to Replicate Docker registry
predict Run a prediction
push Build and push model in current directory to a Docker registry
run Run a command inside a Docker environment
This command is mentioned in passing in the getting started guide, but is not present in any reference documentation.
See also:
Cog has a
debugcommand that outputs the Dockerfile for the current cog model, but it's not documented.It's not available in help:
This command is mentioned in passing in the getting started guide, but is not present in any reference documentation.
See also: