.all-contributorsrc
.envrc
.git_archival.txt
.gitattributes
.gitignore
.golangci.yaml
.goreleaser.yaml
.python-version
.tool-versions
CONTRIBUTING.md
LICENSE
Makefile
README.md
go.mod
go.sum
mkdocs.yml
pyproject.toml
tools.go
tox.ini
uv.lock
.github/dependabot.yml
.github/workflows/ci.yaml
.github/workflows/codeql.yml
.github/workflows/docs.yaml
.github/workflows/llm-docs.yml
.github/workflows/pypi-package.yaml
.vscode/extensions.json
.vscode/settings.json
cmd/base-image/baseimage.go
cmd/cog/cog.go
docs/CNAME
docs/cog.png
docs/deploy.md
docs/environment.md
docs/getting-started-own-model.md
docs/getting-started.md
docs/http.md
docs/llms.txt
docs/notebooks.md
docs/private-package-registry.md
docs/python.md
docs/redis.md
docs/training.md
docs/yaml.md
docs/stylesheets/extra.css
docs/wsl2/wsl2.md
docs/wsl2/images/cog_model_output.png
docs/wsl2/images/enable_feature_success.png
docs/wsl2/images/glide_out.png
docs/wsl2/images/memory-usage.png
docs/wsl2/images/nvidia_driver_select.png
docs/wsl2/images/wsl2-enable.png
pkg/cli/baseimage.go
pkg/cli/build.go
pkg/cli/debug.go
pkg/cli/init.go
pkg/cli/init_test.go
pkg/cli/login.go
pkg/cli/predict.go
pkg/cli/push.go
pkg/cli/root.go
pkg/cli/run.go
pkg/cli/serve.go
pkg/cli/train.go
pkg/cli/init-templates/.dockerignore
pkg/cli/init-templates/cog.yaml
pkg/cli/init-templates/predict.py
pkg/cli/init-templates/requirements.txt
pkg/cli/init-templates/.github/workflows/push.yaml
pkg/config/compatibility.go
pkg/config/compatibility_test.go
pkg/config/config.go
pkg/config/config_test.go
pkg/config/cuda_base_images.json
pkg/config/image_name.go
pkg/config/image_name_test.go
pkg/config/load.go
pkg/config/load_test.go
pkg/config/requirements.go
pkg/config/requirements_test.go
pkg/config/tf_compatibility_matrix.json
pkg/config/torch_compatibility_matrix.json
pkg/config/validator.go
pkg/config/validator_test.go
pkg/config/version.go
pkg/config/data/config_schema_v1.0.json
pkg/docker/apt.go
pkg/docker/apt_test.go
pkg/docker/build.go
pkg/docker/container_inspect.go
pkg/docker/credential_helper_input.go
pkg/docker/docker_command.go
pkg/docker/docker_command_test.go
pkg/docker/env.go
pkg/docker/fast_push.go
pkg/docker/fast_push_test.go
pkg/docker/image_exists.go
pkg/docker/image_inspect.go
pkg/docker/login.go
pkg/docker/logs.go
pkg/docker/manifest_inspect.go
pkg/docker/pull.go
pkg/docker/push.go
pkg/docker/push_test.go
pkg/docker/run.go
pkg/docker/standard_push.go
pkg/docker/standard_push_test.go
pkg/docker/stop.go
pkg/docker/command/command.go
pkg/docker/command/manifest.go
pkg/docker/command/user_info.go
pkg/docker/dockertest/mock_command.go
pkg/dockercontext/build_tempdir.go
pkg/dockercontext/build_tempdir_test.go
pkg/dockercontext/directories.go
pkg/dockerfile/base.go
pkg/dockerfile/base_test.go
pkg/dockerfile/cog_embed.go
pkg/dockerfile/fast_generator.go
pkg/dockerfile/fast_generator_test.go
pkg/dockerfile/generator.go
pkg/dockerfile/generator_factory.go
pkg/dockerfile/generator_factory_test.go
pkg/dockerfile/monobase_matrix.go
pkg/dockerfile/standard_generator.go
pkg/dockerfile/standard_generator_test.go
pkg/dockerfile/version_check.go
pkg/dockerignore/dockerignore.go
pkg/env/env.go
pkg/env/env_test.go
pkg/errors/errors.go
pkg/global/global.go
pkg/http/client.go
pkg/http/client_test.go
pkg/http/transport.go
pkg/http/transport_test.go
pkg/http/user_agent.go
pkg/http/user_agent_test.go
pkg/image/build.go
pkg/image/build_test.go
pkg/image/config.go
pkg/image/openapi_schema.go
pkg/image/pip_freeze.go
pkg/monobeam/client.go
pkg/monobeam/client_test.go
pkg/monobeam/env.go
pkg/monobeam/env_test.go
pkg/predict/api.go
pkg/predict/input.go
pkg/predict/predictor.go
pkg/requirements/requirements.go
pkg/requirements/requirements_test.go
pkg/update/state.go
pkg/update/update.go
pkg/util/env.go
pkg/util/errors.go
pkg/util/hash.go
pkg/util/hash_test.go
pkg/util/platform.go
pkg/util/console/console.go
pkg/util/console/formatting.go
pkg/util/console/global.go
pkg/util/console/interactive.go
pkg/util/console/levels.go
pkg/util/console/term.go
pkg/util/files/files.go
pkg/util/files/files_test.go
pkg/util/mime/mime.go
pkg/util/mime/mime_test.go
pkg/util/shell/net.go
pkg/util/shell/pipes.go
pkg/util/slices/slices.go
pkg/util/version/version.go
pkg/util/version/version_test.go
pkg/web/client.go
pkg/web/client_test.go
pkg/web/env.go
pkg/web/env_test.go
pkg/weights/fast_weights.go
pkg/weights/fast_weights_manifest.go
pkg/weights/fast_weights_test.go
pkg/weights/manifest.go
pkg/weights/weights.go
pkg/weights/weights_test.go
python/cog/.gitignore
python/cog/__init__.py
python/cog/_version.py
python/cog/base_input.py
python/cog/base_predictor.py
python/cog/code_xforms.py
python/cog/config.py
python/cog/env_property.py
python/cog/errors.py
python/cog/files.py
python/cog/json.py
python/cog/logging.py
python/cog/mimetypes_ext.py
python/cog/mode.py
python/cog/predictor.py
python/cog/schema.py
python/cog/suppress_output.py
python/cog/types.py
python/cog/wait.py
python/cog.egg-info/PKG-INFO
python/cog.egg-info/SOURCES.txt
python/cog.egg-info/dependency_links.txt
python/cog.egg-info/requires.txt
python/cog.egg-info/top_level.txt
python/cog/command/__init__.py
python/cog/command/ast_openapi_schema.py
python/cog/command/openapi_schema.py
python/cog/ext/__init__.py
python/cog/server/__init__.py
python/cog/server/connection.py
python/cog/server/errors.py
python/cog/server/eventtypes.py
python/cog/server/exceptions.py
python/cog/server/helpers.py
python/cog/server/http.py
python/cog/server/probes.py
python/cog/server/response_throttler.py
python/cog/server/runner.py
python/cog/server/scope.py
python/cog/server/telemetry.py
python/cog/server/useragent.py
python/cog/server/webhook.py
python/cog/server/worker.py
python/tests/conftest.py
python/tests/test_code_xforms.py
python/tests/test_config.py
python/tests/test_json.py
python/tests/test_mimetypes_ext.py
python/tests/test_predictor.py
python/tests/test_types.py
python/tests/test_wait.py
python/tests/cog/test_files.py
python/tests/fixtures/argv_override.py
python/tests/server/__init__.py
python/tests/server/conftest.py
python/tests/server/test_helpers.py
python/tests/server/test_http.py
python/tests/server/test_http_input.py
python/tests/server/test_http_output.py
python/tests/server/test_predictor.py
python/tests/server/test_probes.py
python/tests/server/test_response_throttler.py
python/tests/server/test_runner.py
python/tests/server/test_webhook.py
python/tests/server/test_worker.py
python/tests/server/fixtures/async_setup_uses_same_loop_as_predict.py
python/tests/server/fixtures/catch_in_predict.py
python/tests/server/fixtures/complex_output.py
python/tests/server/fixtures/count_up.py
python/tests/server/fixtures/exc_in_predict.py
python/tests/server/fixtures/exc_in_setup.py
python/tests/server/fixtures/exc_in_setup_and_predict.py
python/tests/server/fixtures/exc_on_import.py
python/tests/server/fixtures/exit_in_predict.py
python/tests/server/fixtures/exit_in_setup.py
python/tests/server/fixtures/exit_on_import.py
python/tests/server/fixtures/function.py
python/tests/server/fixtures/hello_world.py
python/tests/server/fixtures/hello_world_async.py
python/tests/server/fixtures/import_err.py
python/tests/server/fixtures/input_choices.py
python/tests/server/fixtures/input_choices_integer.py
python/tests/server/fixtures/input_choices_iterable.py
python/tests/server/fixtures/input_file.py
python/tests/server/fixtures/input_ge_le.py
python/tests/server/fixtures/input_integer.py
python/tests/server/fixtures/input_integer_default.py
python/tests/server/fixtures/input_literal.py
python/tests/server/fixtures/input_literal_integer.py
python/tests/server/fixtures/input_multiple.py
python/tests/server/fixtures/input_none.py
python/tests/server/fixtures/input_path.py
python/tests/server/fixtures/input_path_2.py
python/tests/server/fixtures/input_path_or_none.py
python/tests/server/fixtures/input_secret.py
python/tests/server/fixtures/input_string.py
python/tests/server/fixtures/input_union_integer_or_list_of_integers.py
python/tests/server/fixtures/input_union_string_or_list_of_strings.py
python/tests/server/fixtures/input_unsupported_type.py
python/tests/server/fixtures/input_untyped.py
python/tests/server/fixtures/killed_in_predict.py
python/tests/server/fixtures/logging.py
python/tests/server/fixtures/logging_async.py
python/tests/server/fixtures/missing_predict.py
python/tests/server/fixtures/missing_predictor.py
python/tests/server/fixtures/openapi_complex_input.py
python/tests/server/fixtures/openapi_custom_output_type.py
python/tests/server/fixtures/openapi_input_int_choices.py
python/tests/server/fixtures/openapi_output_list.py
python/tests/server/fixtures/openapi_output_type.py
python/tests/server/fixtures/openapi_output_yield.py
python/tests/server/fixtures/output_complex.py
python/tests/server/fixtures/output_file.py
python/tests/server/fixtures/output_file_named.py
python/tests/server/fixtures/output_iterator_complex.py
python/tests/server/fixtures/output_numpy.py
python/tests/server/fixtures/output_path_image.py
python/tests/server/fixtures/output_path_text.py
python/tests/server/fixtures/output_wrong_type.py
python/tests/server/fixtures/record_metric.py
python/tests/server/fixtures/record_metric_async.py
python/tests/server/fixtures/setup.py
python/tests/server/fixtures/setup_async.py
python/tests/server/fixtures/setup_async_with_sync_predict.py
python/tests/server/fixtures/setup_uses_async.py
python/tests/server/fixtures/setup_weights.py
python/tests/server/fixtures/simple.py
python/tests/server/fixtures/simple_async.py
python/tests/server/fixtures/sleep.py
python/tests/server/fixtures/sleep_async.py
python/tests/server/fixtures/slow_predict.py
python/tests/server/fixtures/slow_setup.py
python/tests/server/fixtures/steps.py
python/tests/server/fixtures/stream_redirector_race_condition.py
python/tests/server/fixtures/train.py
python/tests/server/fixtures/yield_concatenate_iterator.py
python/tests/server/fixtures/yield_files.py
python/tests/server/fixtures/yield_strings.py
python/tests/server/fixtures/yield_strings_file_input.py
scripts/setup
test-integration/test_integration/__init__.py
test-integration/test_integration/conftest.py
test-integration/test_integration/test_build.py
test-integration/test_integration/test_config.py
test-integration/test_integration/test_predict.py
test-integration/test_integration/test_run.py
test-integration/test_integration/test_train.py
test-integration/test_integration/util.py
test-integration/test_integration/fixtures/apt-packages/cog.yaml
test-integration/test_integration/fixtures/apt-packages/predict.py
test-integration/test_integration/fixtures/async-sleep-project/cog.yaml
test-integration/test_integration/fixtures/async-sleep-project/predict.py
test-integration/test_integration/fixtures/async-string-project/cog.yaml
test-integration/test_integration/fixtures/async-string-project/predict.py
test-integration/test_integration/fixtures/bad-dockerignore/.dockerignore
test-integration/test_integration/fixtures/bad-dockerignore/cog.yaml
test-integration/test_integration/fixtures/bad-dockerignore/predict.py
test-integration/test_integration/fixtures/complex-types/cog.yaml
test-integration/test_integration/fixtures/complex-types/predict.py
test-integration/test_integration/fixtures/complex-types/requirements.txt
test-integration/test_integration/fixtures/complex_output_project/cog.yaml
test-integration/test_integration/fixtures/complex_output_project/predict.py
test-integration/test_integration/fixtures/fast-build/cog.yaml
test-integration/test_integration/fixtures/fast-build/predict.py
test-integration/test_integration/fixtures/fast-build/requirements.txt
test-integration/test_integration/fixtures/ffmpeg-package/cog.yaml
test-integration/test_integration/fixtures/ffmpeg-package/predict.py
test-integration/test_integration/fixtures/file-input-project/cog.yaml
test-integration/test_integration/fixtures/file-input-project/predict.py
test-integration/test_integration/fixtures/file-input-project/test.txt
test-integration/test_integration/fixtures/file-list-input-project/cog.yaml
test-integration/test_integration/fixtures/file-list-input-project/predict.py
test-integration/test_integration/fixtures/future-annotations-project/cog.yaml
test-integration/test_integration/fixtures/int-none-output-project/cog.yaml
test-integration/test_integration/fixtures/int-none-output-project/predict.py
test-integration/test_integration/fixtures/int-project/cog.yaml
test-integration/test_integration/fixtures/int-project/predict.py
test-integration/test_integration/fixtures/invalid-int-project/cog.yaml
test-integration/test_integration/fixtures/invalid-int-project/predict.py
test-integration/test_integration/fixtures/local-whl-install/cog.yaml
test-integration/test_integration/fixtures/local-whl-install/my_package-0.1-py2.py3-none-any.whl
test-integration/test_integration/fixtures/local-whl-install/predict.py
test-integration/test_integration/fixtures/local-whl-install/requirements.txt
test-integration/test_integration/fixtures/many-inputs-project/cog.yaml
test-integration/test_integration/fixtures/many-inputs-project/predict.py
test-integration/test_integration/fixtures/new-union-project/cog.yaml
test-integration/test_integration/fixtures/new-union-project/predict.py
test-integration/test_integration/fixtures/no-predictor-project/cog.yaml
test-integration/test_integration/fixtures/optional-project/cog.yaml
test-integration/test_integration/fixtures/optional-project/predict.py
test-integration/test_integration/fixtures/overrides-project/cog.yaml
test-integration/test_integration/fixtures/overrides-project/overrides.txt
test-integration/test_integration/fixtures/overrides-project/predict.py
test-integration/test_integration/fixtures/overrides-project/requirements.txt
test-integration/test_integration/fixtures/path-input-project/cog.yaml
test-integration/test_integration/fixtures/path-input-project/predict.py
test-integration/test_integration/fixtures/path-list-input-project/cog.yaml
test-integration/test_integration/fixtures/path-list-input-project/predict.py
test-integration/test_integration/fixtures/path-list-output-project/cog.yaml
test-integration/test_integration/fixtures/path-list-output-project/predict.py
test-integration/test_integration/fixtures/path-output-project/cog.yaml
test-integration/test_integration/fixtures/path-output-project/predict.py
test-integration/test_integration/fixtures/path-project/cog.yaml
test-integration/test_integration/fixtures/path-project/predict.py
test-integration/test_integration/fixtures/pydantic1-none/cog.yaml
test-integration/test_integration/fixtures/pydantic1-none/predict.py
test-integration/test_integration/fixtures/pydantic2/cog.yaml
test-integration/test_integration/fixtures/pydantic2/predict.py
test-integration/test_integration/fixtures/pydantic2-output/cog.yaml
test-integration/test_integration/fixtures/pydantic2-output/predict.py
test-integration/test_integration/fixtures/pydantic2-output/train.py
test-integration/test_integration/fixtures/python_37/cog.yaml
test-integration/test_integration/fixtures/python_37/predict.py
test-integration/test_integration/fixtures/setup-subprocess-double-fork-http-project/cog.yaml
test-integration/test_integration/fixtures/setup-subprocess-double-fork-http-project/pong.py
test-integration/test_integration/fixtures/setup-subprocess-double-fork-http-project/predict.py
test-integration/test_integration/fixtures/setup-subprocess-double-fork-http-project/run-pong.sh
test-integration/test_integration/fixtures/setup-subprocess-double-fork-project/.gitignore
test-integration/test_integration/fixtures/setup-subprocess-double-fork-project/cog.yaml
test-integration/test_integration/fixtures/setup-subprocess-double-fork-project/forker.py
test-integration/test_integration/fixtures/setup-subprocess-double-fork-project/predict.py
test-integration/test_integration/fixtures/setup-subprocess-double-fork-project/run-forker.sh
test-integration/test_integration/fixtures/setup-subprocess-multiprocessing-project/.gitignore
test-integration/test_integration/fixtures/setup-subprocess-multiprocessing-project/bg.py
test-integration/test_integration/fixtures/setup-subprocess-multiprocessing-project/cog.yaml
test-integration/test_integration/fixtures/setup-subprocess-multiprocessing-project/predict.py
test-integration/test_integration/fixtures/setup-subprocess-simple-project/child.sh
test-integration/test_integration/fixtures/setup-subprocess-simple-project/cog.yaml
test-integration/test_integration/fixtures/setup-subprocess-simple-project/predict.py
test-integration/test_integration/fixtures/string-none-output-project/cog.yaml
test-integration/test_integration/fixtures/string-none-output-project/predict.py
test-integration/test_integration/fixtures/string-project/cog.yaml
test-integration/test_integration/fixtures/string-project/predict.py
test-integration/test_integration/fixtures/subdirectory-project/cog.yaml
test-integration/test_integration/fixtures/subdirectory-project/mylib.py
test-integration/test_integration/fixtures/subdirectory-project/my-subdir/predict.py
test-integration/test_integration/fixtures/torch-baseimage-project/cog.yaml
test-integration/test_integration/fixtures/torch-baseimage-project/openapi.json
test-integration/test_integration/fixtures/torch-baseimage-project/predict.py
test-integration/test_integration/fixtures/torch-cuda-baseimage-project/cog.yaml
test-integration/test_integration/fixtures/torch-cuda-baseimage-project/predict.py
test-integration/test_integration/fixtures/train-project/cog.yaml
test-integration/test_integration/fixtures/train-project/predict.py
test-integration/test_integration/fixtures/train-project/train.py
test-integration/test_integration/fixtures/zsh-package/cog.yaml
test-integration/test_integration/fixtures/zsh-package/predict.py
test-integration/test_integration/fixtures/zsh-package/requirements.txt
tools/install.sh
tools/compatgen/main.go
tools/compatgen/internal/cuda.go
tools/compatgen/internal/tensorflow.go
tools/compatgen/internal/torch.go
tools/compatgen/internal/util.go
tools/uploader/iface.go
tools/uploader/s3.go