diff --git a/replicate/client.py b/replicate/client.py index 6768aefd..b490f3b1 100644 --- a/replicate/client.py +++ b/replicate/client.py @@ -20,6 +20,7 @@ from .model import ModelCollection from .prediction import PredictionCollection from .training import TrainingCollection +from .version import Version class Client: @@ -100,26 +101,41 @@ def run(self, model_version: str, **kwargs) -> Union[Any, Iterator[Any]]: The output of the model """ # Split model_version into owner, name, version in format owner/name:version - m = re.match(r"^(?P[^/]+/[^:]+):(?P.+)$", model_version) - if not m: + match = re.match( + r"^(?P[^/]+)/(?P[^:]+):(?P.+)$", model_version + ) + if not match: raise ReplicateError( f"Invalid model_version: {model_version}. Expected format: owner/name:version" ) - model = self.models.get(m.group("model")) - version = model.versions.get(m.group("version")) - prediction = self.predictions.create(version=version, **kwargs) - # Return an iterator of the output - schema = version.get_transformed_schema() - output = schema["components"]["schemas"]["Output"] - if ( - output.get("type") == "array" - and output.get("x-cog-array-type") == "iterator" - ): - return prediction.output_iterator() + + owner = match.group("owner") + name = match.group("name") + version_id = match.group("version") + + prediction = self.predictions.create(version=version_id, **kwargs) + + if owner and name: + # FIXME: There should be a method for fetching a version without first fetching its model + resp = self._request( + "GET", f"/v1/models/{owner}/{name}/versions/{version_id}" + ) + version = Version(**resp.json()) + + # Return an iterator of the output + schema = version.get_transformed_schema() + output = schema["components"]["schemas"]["Output"] + if ( + output.get("type") == "array" + and output.get("x-cog-array-type") == "iterator" + ): + return prediction.output_iterator() prediction.wait() + if prediction.status == "failed": raise ModelError(prediction.error) + return prediction.output diff --git a/replicate/model.py b/replicate/model.py index 081386c4..cb69d347 100644 --- a/replicate/model.py +++ b/replicate/model.py @@ -1,9 +1,12 @@ -from typing import Dict, List, Union +from typing import Dict, List, Optional, Union + +from typing_extensions import deprecated from replicate.base_model import BaseModel from replicate.collection import Collection from replicate.exceptions import ReplicateException -from replicate.version import VersionCollection +from replicate.prediction import Prediction +from replicate.version import Version, VersionCollection class Model(BaseModel): @@ -11,9 +14,14 @@ class Model(BaseModel): A machine learning model hosted on Replicate. """ - username: str + url: str + """ + The URL of the model. + """ + + owner: str """ - The name of the user or organization that owns the model. + The owner of the model. """ name: str @@ -21,6 +29,65 @@ class Model(BaseModel): The name of the model. """ + description: Optional[str] + """ + The description of the model. + """ + + visibility: str + """ + The visibility of the model. Can be 'public' or 'private'. + """ + + github_url: Optional[str] + """ + The GitHub URL of the model. + """ + + paper_url: Optional[str] + """ + The URL of the paper related to the model. + """ + + license_url: Optional[str] + """ + The URL of the license for the model. + """ + + run_count: int + """ + The number of runs of the model. + """ + + cover_image_url: Optional[str] + """ + The URL of the cover image for the model. + """ + + default_example: Optional[Prediction] + """ + The default example of the model. + """ + + latest_version: Optional[Version] + """ + The latest version of the model. + """ + + @property + @deprecated("Use `model.owner` instead.") + def username(self) -> str: + """ + The name of the user or organization that owns the model. + This attribute is deprecated and will be removed in future versions. + """ + return self.owner + + @username.setter + @deprecated("Use `model.owner` instead.") + def username(self, value: str) -> None: + self.owner = value + def predict(self, *args, **kwargs) -> None: """ DEPRECATED: Use `replicate.run()` instead. @@ -43,29 +110,47 @@ class ModelCollection(Collection): model = Model def list(self) -> List[Model]: - raise NotImplementedError() + """ + List all public models. - def get(self, name: str) -> Model: + Returns: + A list of models. + """ + + resp = self._client._request("GET", "/v1/models") + # TODO: paginate + models = resp.json()["results"] + return [self.prepare_model(obj) for obj in models] + + def get(self, key: str) -> Model: """ Get a model by name. Args: - name: The name of the model, in the format `owner/model-name`. + key: The qualified name of the model, in the format `owner/model-name`. Returns: The model. """ - # TODO: fetch model from server - # TODO: support permanent IDs - username, name = name.split("/") - return self.prepare_model({"username": username, "name": name}) + resp = self._client._request("GET", f"/v1/models/{key}") + return self.prepare_model(resp.json()) def create(self, **kwargs) -> Model: raise NotImplementedError() def prepare_model(self, attrs: Union[Model, Dict]) -> Model: if isinstance(attrs, BaseModel): - attrs.id = f"{attrs.username}/{attrs.name}" + attrs.id = f"{attrs.owner}/{attrs.name}" elif isinstance(attrs, dict): - attrs["id"] = f"{attrs['username']}/{attrs['name']}" - return super().prepare_model(attrs) + attrs["id"] = f"{attrs['owner']}/{attrs['name']}" + attrs.get("default_example", {}).pop("version", None) + + model = super().prepare_model(attrs) + + if model.default_example is not None: + model.default_example._client = self._client + + if model.latest_version is not None: + model.latest_version._client = self._client + + return model diff --git a/replicate/prediction.py b/replicate/prediction.py index f40a587a..cccfeb29 100644 --- a/replicate/prediction.py +++ b/replicate/prediction.py @@ -1,7 +1,7 @@ import re import time from dataclasses import dataclass -from typing import Any, Dict, Iterator, List, Optional +from typing import Any, Dict, Iterator, List, Optional, Union from replicate.base_model import BaseModel from replicate.collection import Collection @@ -169,7 +169,7 @@ def get(self, id: str) -> Prediction: def create( # type: ignore self, - version: Version, + version: Union[Version, str], input: Dict[str, Any], webhook: Optional[str] = None, webhook_completed: Optional[str] = None, @@ -195,7 +195,7 @@ def create( # type: ignore input = encode_json(input, upload_file=upload_file) body = { - "version": version.id, + "version": version if isinstance(version, str) else version.id, "input": input, } if webhook is not None: @@ -213,5 +213,9 @@ def create( # type: ignore json=body, ) obj = resp.json() - obj["version"] = version + if isinstance(version, Version): + obj["version"] = version + else: + del obj["version"] + return self.prepare_model(obj) diff --git a/replicate/version.py b/replicate/version.py index 2f68f20f..6630d67f 100644 --- a/replicate/version.py +++ b/replicate/version.py @@ -87,7 +87,7 @@ def get(self, id: str) -> Version: The model version. """ resp = self._client._request( - "GET", f"/v1/models/{self._model.username}/{self._model.name}/versions/{id}" + "GET", f"/v1/models/{self._model.owner}/{self._model.name}/versions/{id}" ) return self.prepare_model(resp.json()) @@ -102,6 +102,6 @@ def list(self) -> List[Version]: List[Version]: A list of version objects. """ resp = self._client._request( - "GET", f"/v1/models/{self._model.username}/{self._model.name}/versions" + "GET", f"/v1/models/{self._model.owner}/{self._model.name}/versions" ) return [self.prepare_model(obj) for obj in resp.json()["results"]] diff --git a/tests/cassettes/test_models_get.yaml b/tests/cassettes/test_models_get.yaml new file mode 100644 index 00000000..31d4d99c --- /dev/null +++ b/tests/cassettes/test_models_get.yaml @@ -0,0 +1,180 @@ +interactions: +- request: + body: '' + headers: + accept: + - '*/*' + accept-encoding: + - gzip, deflate + connection: + - keep-alive + host: + - api.replicate.com + user-agent: + - replicate-python/0.13.0 + method: GET + uri: https://api.replicate.com/v1/models/stability-ai/sdxl + response: + content: "{\"url\":\"https://replicate.com/stability-ai/sdxl\",\"owner\":\"stability-ai\",\"name\":\"sdxl\",\"description\":\"A + text-to-image generative AI model that creates beautiful 1024x1024 images\",\"visibility\":\"public\",\"github_url\":\"https://github.com/replicate/cog-sdxl\",\"paper_url\":\"https://arxiv.org/abs/2307.01952\",\"license_url\":\"https://github.com/Stability-AI/generative-models/blob/main/model_licenses/LICENSE-SDXL1.0\",\"run_count\":6465507,\"cover_image_url\":\"https://tjzk.replicate.delivery/models_models_cover_image/61004930-fb88-4e09-9bd4-74fd8b4aa677/sdxl_cover.png\",\"default_example\":{\"completed_at\":\"2023-07-26T21:04:37.933562Z\",\"created_at\":\"2023-07-26T21:04:23.762683Z\",\"error\":null,\"id\":\"vu42q7dbkm6iicbpal4v6uvbqm\",\"input\":{\"width\":1024,\"height\":1024,\"prompt\":\"An + astronaut riding a rainbow unicorn, cinematic, dramatic\",\"refine\":\"expert_ensemble_refiner\",\"scheduler\":\"DDIM\",\"num_outputs\":1,\"guidance_scale\":7.5,\"high_noise_frac\":0.8,\"prompt_strength\":0.8,\"num_inference_steps\":50},\"logs\":\"Using + seed: 12103\\ntxt2img mode\\n 0%| | 0/40 [00:00\",\"started_at\":\"2023-10-04T03:22:20.400317Z\",\"status\":\"succeeded\",\"urls\":{\"get\":\"https://api.replicate.com/v1/predictions/k72t7a3bp3nju43tfsv2zdhxqq\",\"cancel\":\"https://api.replicate.com/v1/predictions/k72t7a3bp3nju43tfsv2zdhxqq/cancel\"},\"version\":\"992ccec19c0f8673d24cffbd27756f02010ab9cc453803b7b2da9e890dd87b41\",\"webhook_completed\":null},\"latest_version\":{\"id\":\"992ccec19c0f8673d24cffbd27756f02010ab9cc453803b7b2da9e890dd87b41\",\"created_at\":\"2023-10-04T03:17:02.047728Z\",\"cog_version\":\"0.8.5\",\"openapi_schema\":{\"info\":{\"title\":\"Cog\",\"version\":\"0.1.0\"},\"paths\":{\"/\":{\"get\":{\"summary\":\"Root\",\"responses\":{\"200\":{\"content\":{\"application/json\":{\"schema\":{\"title\":\"Response + Root Get\"}}},\"description\":\"Successful Response\"}},\"operationId\":\"root__get\"}},\"/shutdown\":{\"post\":{\"summary\":\"Start + Shutdown\",\"responses\":{\"200\":{\"content\":{\"application/json\":{\"schema\":{\"title\":\"Response + Start Shutdown Shutdown Post\"}}},\"description\":\"Successful Response\"}},\"operationId\":\"start_shutdown_shutdown_post\"}},\"/predictions\":{\"post\":{\"summary\":\"Predict\",\"responses\":{\"200\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/PredictionResponse\"}}},\"description\":\"Successful + Response\"},\"422\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/HTTPValidationError\"}}},\"description\":\"Validation + Error\"}},\"parameters\":[{\"in\":\"header\",\"name\":\"prefer\",\"schema\":{\"type\":\"string\",\"title\":\"Prefer\"},\"required\":false}],\"description\":\"Run + a single prediction on the model\",\"operationId\":\"predict_predictions_post\",\"requestBody\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/PredictionRequest\"}}}}}},\"/health-check\":{\"get\":{\"summary\":\"Healthcheck\",\"responses\":{\"200\":{\"content\":{\"application/json\":{\"schema\":{\"title\":\"Response + Healthcheck Health Check Get\"}}},\"description\":\"Successful Response\"}},\"operationId\":\"healthcheck_health_check_get\"}},\"/predictions/{prediction_id}\":{\"put\":{\"summary\":\"Predict + Idempotent\",\"responses\":{\"200\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/PredictionResponse\"}}},\"description\":\"Successful + Response\"},\"422\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/HTTPValidationError\"}}},\"description\":\"Validation + Error\"}},\"parameters\":[{\"in\":\"path\",\"name\":\"prediction_id\",\"schema\":{\"type\":\"string\",\"title\":\"Prediction + ID\"},\"required\":true},{\"in\":\"header\",\"name\":\"prefer\",\"schema\":{\"type\":\"string\",\"title\":\"Prefer\"},\"required\":false}],\"description\":\"Run + a single prediction on the model (idempotent creation).\",\"operationId\":\"predict_idempotent_predictions__prediction_id__put\",\"requestBody\":{\"content\":{\"application/json\":{\"schema\":{\"allOf\":[{\"$ref\":\"#/components/schemas/PredictionRequest\"}],\"title\":\"Prediction + Request\"}}},\"required\":true}}},\"/predictions/{prediction_id}/cancel\":{\"post\":{\"summary\":\"Cancel\",\"responses\":{\"200\":{\"content\":{\"application/json\":{\"schema\":{\"title\":\"Response + Cancel Predictions Prediction Id Cancel Post\"}}},\"description\":\"Successful + Response\"},\"422\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/HTTPValidationError\"}}},\"description\":\"Validation + Error\"}},\"parameters\":[{\"in\":\"path\",\"name\":\"prediction_id\",\"schema\":{\"type\":\"string\",\"title\":\"Prediction + ID\"},\"required\":true}],\"description\":\"Cancel a running prediction\",\"operationId\":\"cancel_predictions__prediction_id__cancel_post\"}}},\"openapi\":\"3.0.2\",\"components\":{\"schemas\":{\"Input\":{\"type\":\"object\",\"title\":\"Input\",\"required\":[\"prompt\"],\"properties\":{\"prompt\":{\"type\":\"string\",\"title\":\"Prompt\",\"x-order\":0,\"description\":\"Input + prompt\"},\"max_new_tokens\":{\"type\":\"integer\",\"title\":\"Max New Tokens\",\"default\":512,\"maximum\":2048,\"minimum\":0,\"x-order\":1,\"description\":\"Max + new tokens\"}}},\"Output\":{\"type\":\"string\",\"title\":\"Output\"},\"Status\":{\"enum\":[\"starting\",\"processing\",\"succeeded\",\"canceled\",\"failed\"],\"type\":\"string\",\"title\":\"Status\",\"description\":\"An + enumeration.\"},\"WebhookEvent\":{\"enum\":[\"start\",\"output\",\"logs\",\"completed\"],\"type\":\"string\",\"title\":\"WebhookEvent\",\"description\":\"An + enumeration.\"},\"ValidationError\":{\"type\":\"object\",\"title\":\"ValidationError\",\"required\":[\"loc\",\"msg\",\"type\"],\"properties\":{\"loc\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"integer\"}]},\"title\":\"Location\"},\"msg\":{\"type\":\"string\",\"title\":\"Message\"},\"type\":{\"type\":\"string\",\"title\":\"Error + Type\"}}},\"PredictionRequest\":{\"type\":\"object\",\"title\":\"PredictionRequest\",\"properties\":{\"id\":{\"type\":\"string\",\"title\":\"Id\"},\"input\":{\"$ref\":\"#/components/schemas/Input\"},\"webhook\":{\"type\":\"string\",\"title\":\"Webhook\",\"format\":\"uri\",\"maxLength\":65536,\"minLength\":1},\"created_at\":{\"type\":\"string\",\"title\":\"Created + At\",\"format\":\"date-time\"},\"output_file_prefix\":{\"type\":\"string\",\"title\":\"Output + File Prefix\"},\"webhook_events_filter\":{\"type\":\"array\",\"items\":{\"$ref\":\"#/components/schemas/WebhookEvent\"},\"default\":[\"logs\",\"start\",\"output\",\"completed\"],\"uniqueItems\":true}}},\"PredictionResponse\":{\"type\":\"object\",\"title\":\"PredictionResponse\",\"properties\":{\"id\":{\"type\":\"string\",\"title\":\"Id\"},\"logs\":{\"type\":\"string\",\"title\":\"Logs\",\"default\":\"\"},\"error\":{\"type\":\"string\",\"title\":\"Error\"},\"input\":{\"$ref\":\"#/components/schemas/Input\"},\"output\":{\"$ref\":\"#/components/schemas/Output\"},\"status\":{\"$ref\":\"#/components/schemas/Status\"},\"metrics\":{\"type\":\"object\",\"title\":\"Metrics\"},\"version\":{\"type\":\"string\",\"title\":\"Version\"},\"created_at\":{\"type\":\"string\",\"title\":\"Created + At\",\"format\":\"date-time\"},\"started_at\":{\"type\":\"string\",\"title\":\"Started + At\",\"format\":\"date-time\"},\"completed_at\":{\"type\":\"string\",\"title\":\"Completed + At\",\"format\":\"date-time\"}}},\"HTTPValidationError\":{\"type\":\"object\",\"title\":\"HTTPValidationError\",\"properties\":{\"detail\":{\"type\":\"array\",\"items\":{\"$ref\":\"#/components/schemas/ValidationError\"},\"title\":\"Detail\"}}}}}}}},{\"url\":\"https://replicate.com/pnickolas1/sdxl-dreambooth-loras-dev\",\"owner\":\"pnickolas1\",\"name\":\"sdxl-dreambooth-loras-dev\",\"description\":null,\"visibility\":\"public\",\"github_url\":null,\"paper_url\":null,\"license_url\":null,\"run_count\":1201,\"cover_image_url\":\"https://replicate.delivery/pbxt/ADg1vUiCNIbIBhvxfhEcIfrfdmfpNwZ6bzuEeyvsbK9glCbMC/out-0.png\",\"default_example\":{\"completed_at\":\"2023-09-12T02:55:41.165126Z\",\"created_at\":\"2023-09-12T02:55:25.854689Z\",\"error\":null,\"id\":\"4gtfwxlb5tclrc4oafynjvc5vu\",\"input\":{\"width\":1024,\"height\":1024,\"prompt\":\"line + art of TOK man as a policeman with muscles, coloring book style, 8k, white background, + vector graphic, \",\"refine\":\"no_refiner\",\"scheduler\":\"K_EULER\",\"lora_scale\":0.6,\"num_outputs\":1,\"guidance_scale\":7.55,\"apply_watermark\":true,\"high_noise_frac\":0.8,\"negative_prompt\":\"anime, + photorealistic, 35mm film, deformed, glitch, blurry, noisy, off-center, deformed, + cross-eyed, closed eyes, bad anatomy, ugly, disfigured, mutated, realism, realistic, + impressionism, expressionism, oil, acrylic, shading\",\"prompt_strength\":0.8,\"num_inference_steps\":50},\"logs\":\"Using + seed: 21027\\nskipping loading .. weights already loaded\\nPrompt: line art + of man as a policeman with muscles, coloring book style, 8k, white + background, vector graphic,\\ntxt2img mode\\n 0%| | 0/50 [00:00'], ignore_eos=False, max_tokens=128, logprobs=None), + prompt token ids: None.\\nINFO 09-25 18:32:09 llm_engine.py:623] Avg prompt + throughput: 0.0 tokens/s, Avg generation throughput: 0.0 tokens/s, Running: + 1 reqs, Swapped: 0 reqs, Pending: 0 reqs, GPU KV cache usage: 0.4%, CPU KV cache + usage: 0.0%\\nINFO 09-25 18:32:09 async_llm_engine.py:111] Finished request + 0.\\nGenerated text: SELECT COUNT(decile) FROM table_name_34 WHERE name = \\\"redwood + school\\\"\\nGenerated 22 tokens in 0.416 seconds (52.948 tokens per second)\",\"metrics\":{\"predict_time\":3.738469},\"output\":[\"SELECT\",\" + COUNT\",\"(\",\"de\",\"cile\",\")\",\" FROM\",\" table\",\"_\",\"name\",\"_\",\"3\",\"4\",\" + WHERE\",\" name\",\" =\",\" \\\"\",\"red\",\"wood\",\" school\",\"\\\"\",\"\"],\"started_at\":\"2023-09-25T18:32:05.877057Z\",\"status\":\"succeeded\",\"urls\":{\"get\":\"https://api.replicate.com/v1/predictions/3mgmzkrb6shggxewdohflfh3i4\",\"cancel\":\"https://api.replicate.com/v1/predictions/3mgmzkrb6shggxewdohflfh3i4/cancel\"},\"version\":\"559ff8c30789d100c13f9bd0f831210f6f9c6f1c81dab06ff16dc61dbfa94b03\",\"webhook_completed\":null},\"latest_version\":{\"id\":\"049b7726f19e862f1654523a3e8567931124effd98db7f1854bf517deeac3033\",\"created_at\":\"2023-10-04T00:16:47.469684Z\",\"cog_version\":\"0.8.6\",\"openapi_schema\":{\"info\":{\"title\":\"Cog\",\"version\":\"0.1.0\"},\"paths\":{\"/\":{\"get\":{\"summary\":\"Root\",\"responses\":{\"200\":{\"content\":{\"application/json\":{\"schema\":{\"title\":\"Response + Root Get\"}}},\"description\":\"Successful Response\"}},\"operationId\":\"root__get\"}},\"/shutdown\":{\"post\":{\"summary\":\"Start + Shutdown\",\"responses\":{\"200\":{\"content\":{\"application/json\":{\"schema\":{\"title\":\"Response + Start Shutdown Shutdown Post\"}}},\"description\":\"Successful Response\"}},\"operationId\":\"start_shutdown_shutdown_post\"}},\"/predictions\":{\"post\":{\"summary\":\"Predict\",\"responses\":{\"200\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/PredictionResponse\"}}},\"description\":\"Successful + Response\"},\"422\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/HTTPValidationError\"}}},\"description\":\"Validation + Error\"}},\"parameters\":[{\"in\":\"header\",\"name\":\"prefer\",\"schema\":{\"type\":\"string\",\"title\":\"Prefer\"},\"required\":false}],\"description\":\"Run + a single prediction on the model\",\"operationId\":\"predict_predictions_post\",\"requestBody\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/PredictionRequest\"}}}}}},\"/health-check\":{\"get\":{\"summary\":\"Healthcheck\",\"responses\":{\"200\":{\"content\":{\"application/json\":{\"schema\":{\"title\":\"Response + Healthcheck Health Check Get\"}}},\"description\":\"Successful Response\"}},\"operationId\":\"healthcheck_health_check_get\"}},\"/predictions/{prediction_id}\":{\"put\":{\"summary\":\"Predict + Idempotent\",\"responses\":{\"200\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/PredictionResponse\"}}},\"description\":\"Successful + Response\"},\"422\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/HTTPValidationError\"}}},\"description\":\"Validation + Error\"}},\"parameters\":[{\"in\":\"path\",\"name\":\"prediction_id\",\"schema\":{\"type\":\"string\",\"title\":\"Prediction + ID\"},\"required\":true},{\"in\":\"header\",\"name\":\"prefer\",\"schema\":{\"type\":\"string\",\"title\":\"Prefer\"},\"required\":false}],\"description\":\"Run + a single prediction on the model (idempotent creation).\",\"operationId\":\"predict_idempotent_predictions__prediction_id__put\",\"requestBody\":{\"content\":{\"application/json\":{\"schema\":{\"allOf\":[{\"$ref\":\"#/components/schemas/PredictionRequest\"}],\"title\":\"Prediction + Request\"}}},\"required\":true}}},\"/predictions/{prediction_id}/cancel\":{\"post\":{\"summary\":\"Cancel\",\"responses\":{\"200\":{\"content\":{\"application/json\":{\"schema\":{\"title\":\"Response + Cancel Predictions Prediction Id Cancel Post\"}}},\"description\":\"Successful + Response\"},\"422\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/HTTPValidationError\"}}},\"description\":\"Validation + Error\"}},\"parameters\":[{\"in\":\"path\",\"name\":\"prediction_id\",\"schema\":{\"type\":\"string\",\"title\":\"Prediction + ID\"},\"required\":true}],\"description\":\"Cancel a running prediction\",\"operationId\":\"cancel_predictions__prediction_id__cancel_post\"}}},\"openapi\":\"3.0.2\",\"components\":{\"schemas\":{\"Input\":{\"type\":\"object\",\"title\":\"Input\",\"required\":[\"prompt\"],\"properties\":{\"seed\":{\"type\":\"integer\",\"title\":\"Seed\",\"x-order\":7,\"description\":\"Random + seed. Leave blank to randomize the seed\"},\"debug\":{\"type\":\"boolean\",\"title\":\"Debug\",\"default\":false,\"x-order\":8,\"description\":\"provide + debugging output in logs\"},\"top_k\":{\"type\":\"integer\",\"title\":\"Top + K\",\"default\":50,\"minimum\":0,\"x-order\":5,\"description\":\"When decoding + text, samples from the top k most likely tokens; lower to ignore less likely + tokens\"},\"top_p\":{\"type\":\"number\",\"title\":\"Top P\",\"default\":0.9,\"maximum\":1,\"minimum\":0,\"x-order\":4,\"description\":\"When + decoding text, samples from the top p percentage of most likely tokens; lower + to ignore less likely tokens\"},\"prompt\":{\"type\":\"string\",\"title\":\"Prompt\",\"x-order\":0,\"description\":\"Prompt + to send to the model.\"},\"temperature\":{\"type\":\"number\",\"title\":\"Temperature\",\"default\":0.75,\"maximum\":5,\"minimum\":0.01,\"x-order\":3,\"description\":\"Adjusts + randomness of outputs, greater than 1 is random and 0 is deterministic, 0.75 + is a good starting value.\"},\"max_new_tokens\":{\"type\":\"integer\",\"title\":\"Max + New Tokens\",\"default\":128,\"minimum\":1,\"x-order\":1,\"description\":\"Maximum + number of tokens to generate. A word is generally 2-3 tokens\"},\"min_new_tokens\":{\"type\":\"integer\",\"title\":\"Min + New Tokens\",\"default\":-1,\"minimum\":-1,\"x-order\":2,\"description\":\"Minimum + number of tokens to generate. To disable, set to -1. A word is generally 2-3 + tokens.\"},\"stop_sequences\":{\"type\":\"string\",\"title\":\"Stop Sequences\",\"x-order\":6,\"description\":\"A + comma-separated list of sequences to stop generation at. For example, ',' + will stop generation at the first instance of 'end' or ''.\"},\"replicate_weights\":{\"type\":\"string\",\"title\":\"Replicate + Weights\",\"x-order\":9,\"description\":\"Path to fine-tuned weights produced + by a Replicate fine-tune job.\"}}},\"Output\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"title\":\"Output\",\"x-cog-array-type\":\"iterator\",\"x-cog-array-display\":\"concatenate\"},\"Status\":{\"enum\":[\"starting\",\"processing\",\"succeeded\",\"canceled\",\"failed\"],\"type\":\"string\",\"title\":\"Status\",\"description\":\"An + enumeration.\"},\"WebhookEvent\":{\"enum\":[\"start\",\"output\",\"logs\",\"completed\"],\"type\":\"string\",\"title\":\"WebhookEvent\",\"description\":\"An + enumeration.\"},\"ValidationError\":{\"type\":\"object\",\"title\":\"ValidationError\",\"required\":[\"loc\",\"msg\",\"type\"],\"properties\":{\"loc\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"integer\"}]},\"title\":\"Location\"},\"msg\":{\"type\":\"string\",\"title\":\"Message\"},\"type\":{\"type\":\"string\",\"title\":\"Error + Type\"}}},\"PredictionRequest\":{\"type\":\"object\",\"title\":\"PredictionRequest\",\"properties\":{\"id\":{\"type\":\"string\",\"title\":\"Id\"},\"input\":{\"$ref\":\"#/components/schemas/Input\"},\"webhook\":{\"type\":\"string\",\"title\":\"Webhook\",\"format\":\"uri\",\"maxLength\":65536,\"minLength\":1},\"created_at\":{\"type\":\"string\",\"title\":\"Created + At\",\"format\":\"date-time\"},\"output_file_prefix\":{\"type\":\"string\",\"title\":\"Output + File Prefix\"},\"webhook_events_filter\":{\"type\":\"array\",\"items\":{\"$ref\":\"#/components/schemas/WebhookEvent\"},\"default\":[\"start\",\"output\",\"logs\",\"completed\"]}}},\"PredictionResponse\":{\"type\":\"object\",\"title\":\"PredictionResponse\",\"properties\":{\"id\":{\"type\":\"string\",\"title\":\"Id\"},\"logs\":{\"type\":\"string\",\"title\":\"Logs\",\"default\":\"\"},\"error\":{\"type\":\"string\",\"title\":\"Error\"},\"input\":{\"$ref\":\"#/components/schemas/Input\"},\"output\":{\"$ref\":\"#/components/schemas/Output\"},\"status\":{\"$ref\":\"#/components/schemas/Status\"},\"metrics\":{\"type\":\"object\",\"title\":\"Metrics\"},\"version\":{\"type\":\"string\",\"title\":\"Version\"},\"created_at\":{\"type\":\"string\",\"title\":\"Created + At\",\"format\":\"date-time\"},\"started_at\":{\"type\":\"string\",\"title\":\"Started + At\",\"format\":\"date-time\"},\"completed_at\":{\"type\":\"string\",\"title\":\"Completed + At\",\"format\":\"date-time\"}}},\"HTTPValidationError\":{\"type\":\"object\",\"title\":\"HTTPValidationError\",\"properties\":{\"detail\":{\"type\":\"array\",\"items\":{\"$ref\":\"#/components/schemas/ValidationError\"},\"title\":\"Detail\"}}}}}}}},{\"url\":\"https://replicate.com/qr2ai/advanced_ai_qr_code_art\",\"owner\":\"qr2ai\",\"name\":\"advanced_ai_qr_code_art\",\"description\":\"QR + Code AI Art Generator\",\"visibility\":\"public\",\"github_url\":null,\"paper_url\":null,\"license_url\":null,\"run_count\":5,\"cover_image_url\":\"https://pbxt.replicate.delivery/uMf6Vd8SfLo6MUvcCOeDfY3lXofTYDQlvRkxYfEuW3brqpoaE/output-0.png\",\"default_example\":{\"completed_at\":\"2023-10-03T20:20:59.487110Z\",\"created_at\":\"2023-10-03T20:20:37.059721Z\",\"error\":null,\"id\":\"guxugezb6k5yirharynnfd756i\",\"input\":{\"seed\":130264517,\"prompt\":\"fairy-tale + town, quaint village, charming, picturesque, idyllic, cobblestone streets, storybook, + fable, folklore, enchanting\",\"strength\":0.95,\"batch_size\":1,\"guidance_scale\":11.15,\"negative_prompt\":\"ugly, + disfigured, low quality, blurry, nsfw\",\"qr_code_content\":\"https://qr2ai.com\",\"num_inference_steps\":40,\"controlnet_conditioning_scale\":1.25},\"logs\":\"Generating + QR Code from content\\n 0%| | 0/38 [00:00 #0:0 (mpeg4 (native) -> h264 (libx264))\\nPress [q] + to stop, [?] for help\\n[libx264 @ 0x5562cda6ce80] using SAR=1/1\\n[libx264 + @ 0x5562cda6ce80] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 + BMI2 AVX2\\n[libx264 @ 0x5562cda6ce80] profile High, level 3.0, 4:2:0, 8-bit\\n[libx264 + @ 0x5562cda6ce80] 264 - core 163 r3060 5db6aa6 - H.264/MPEG-4 AVC codec - Copyleft + 2003-2021 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 + analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 + chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 + threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 + bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 + direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=15 scenecut=40 + intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 + qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00\\nOutput #0, mp4, to 'tmpao8iu3bfa_handheld_shot_of_a_colorful__zoom_out_motion_strength_20231003T130605245Z_0.mp4':\\nMetadata:\\nsoftware + \ : Lavf59.27.100\\nencoder : Lavf58.76.100\\nStream #0:0: Video: + h264 (avc1 / 0x31637661), yuv420p(progressive), 768x512 [SAR 1:1 DAR 3:2], q=2-31, + 15.50 fps, 15872 tbn\\nMetadata:\\nencoder : Lavc58.134.100 libx264\\nSide + data:\\ncpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A\\nframe= + \ 1 fps=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x\\nframe= + \ 31 fps=0.0 q=-1.0 Lsize= 476kB time=00:00:01.80 bitrate=2160.6kbits/s + speed=4.84x\\nvideo:475kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB + muxing overhead: 0.225142%\\n[libx264 @ 0x5562cda6ce80] frame I:1 Avg QP:22.88 + \ size: 35425\\n[libx264 @ 0x5562cda6ce80] frame P:25 Avg QP:23.74 size: + 16633\\n[libx264 @ 0x5562cda6ce80] frame B:5 Avg QP:25.86 size: 6974\\n[libx264 + @ 0x5562cda6ce80] consecutive B-frames: 71.0% 19.4% 9.7% 0.0%\\n[libx264 @ + 0x5562cda6ce80] mb I I16..4: 1.2% 98.4% 0.3%\\n[libx264 @ 0x5562cda6ce80] + mb P I16..4: 0.2% 7.3% 0.3% P16..4: 51.9% 22.8% 12.5% 0.0% 0.0% skip: + 5.1%\\n[libx264 @ 0x5562cda6ce80] mb B I16..4: 0.1% 1.7% 0.0% B16..8: 31.6% + \ 5.6% 1.5% direct: 8.3% skip:51.2% L0:25.1% L1:62.6% BI:12.4%\\n[libx264 + @ 0x5562cda6ce80] 8x8 transform intra:95.7% inter:79.7%\\n[libx264 @ 0x5562cda6ce80] + coded y,uvDC,uvAC intra: 93.4% 69.7% 7.1% inter: 55.6% 26.0% 0.1%\\n[libx264 + @ 0x5562cda6ce80] i16 v,h,dc,p: 8% 29% 42% 21%\\n[libx264 @ 0x5562cda6ce80] + i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 6% 26% 32% 4% 6% 3% 11% 3% 9%\\n[libx264 + @ 0x5562cda6ce80] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 4% 32% 18% 5% 8% 4% 16% + \ 3% 11%\\n[libx264 @ 0x5562cda6ce80] i8c dc,h,v,p: 48% 38% 10% 4%\\n[libx264 + @ 0x5562cda6ce80] Weighted P-Frames: Y:8.0% UV:0.0%\\n[libx264 @ 0x5562cda6ce80] + ref P L0: 74.1% 21.7% 3.1% 1.1% 0.0%\\n[libx264 @ 0x5562cda6ce80] ref B L0: + 94.2% 3.8% 2.0%\\n[libx264 @ 0x5562cda6ce80] kb/s:1944.46\\nVideo Name: tmpao8iu3bfa_handheld_shot_of_a_colorful__zoom_out_motion_strength_20231003T130605245Z_0.mp4\\nOriginal + Frame Rate (FPS): 15.5\\nOriginal Total Number of Frames: 31\\nEnhancing iterations: + \ 33%|\u2588\u2588\u2588\u258E | 1/3 [00:06<00:12, 6.50s/it]\\nProcessing + frames: 0%| | 0/28 [00:00 #0:0 (mpeg4 (native) -> h264 (libx264))\\nPress [q] + to stop, [?] for help\\n[libx264 @ 0x555d3a300c40] using SAR=1/1\\n[libx264 + @ 0x555d3a300c40] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 + BMI2 AVX2\\n[libx264 @ 0x555d3a300c40] profile High, level 3.1, 4:2:0, 8-bit\\n[libx264 + @ 0x555d3a300c40] 264 - core 163 r3060 5db6aa6 - H.264/MPEG-4 AVC codec - Copyleft + 2003-2021 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 + analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 + chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 + threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 + bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 + direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 + intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 + qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00\\nOutput #0, mp4, to 'tmpao8iu3bfa_handheld_shot_of_a_colorful__zoom_out_motion_strength_20231003T130605245Z_0_1.mp4':\\nMetadata:\\nsoftware + \ : Lavf59.27.100\\nencoder : Lavf58.76.100\\nStream #0:0: Video: + h264 (avc1 / 0x31637661), yuv420p(progressive), 768x512 [SAR 1:1 DAR 3:2], q=2-31, + 30.50 fps, 15616 tbn\\nMetadata:\\nencoder : Lavc58.134.100 libx264\\nSide + data:\\ncpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A\\nframe= + \ 1 fps=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x\\nframe= + \ 61 fps=0.0 q=-1.0 Lsize= 392kB time=00:00:01.90 bitrate=1688.4kbits/s + speed=3.76x\\nvideo:391kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB + muxing overhead: 0.311909%\\n[libx264 @ 0x555d3a300c40] frame I:1 Avg QP:23.48 + \ size: 31903\\n[libx264 @ 0x555d3a300c40] frame P:55 Avg QP:24.68 size: + \ 6575\\n[libx264 @ 0x555d3a300c40] frame B:5 Avg QP:27.17 size: 1182\\n[libx264 + @ 0x555d3a300c40] consecutive B-frames: 83.6% 16.4% 0.0% 0.0%\\n[libx264 @ + 0x555d3a300c40] mb I I16..4: 2.5% 96.9% 0.5%\\n[libx264 @ 0x555d3a300c40] + mb P I16..4: 0.2% 2.3% 0.0% P16..4: 52.7% 12.5% 6.6% 0.0% 0.0% skip:25.6%\\n[libx264 + @ 0x555d3a300c40] mb B I16..4: 0.4% 0.8% 0.0% B16..8: 30.5% 0.4% 0.1% + \ direct: 0.5% skip:67.3% L0: 3.3% L1:95.8% BI: 0.9%\\n[libx264 @ 0x555d3a300c40] + 8x8 transform intra:92.8% inter:83.3%\\n[libx264 @ 0x555d3a300c40] coded y,uvDC,uvAC + intra: 83.0% 65.9% 3.0% inter: 29.0% 16.6% 0.0%\\n[libx264 @ 0x555d3a300c40] + i16 v,h,dc,p: 9% 36% 38% 17%\\n[libx264 @ 0x555d3a300c40] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: + \ 7% 28% 36% 4% 5% 2% 8% 3% 8%\\n[libx264 @ 0x555d3a300c40] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: + 10% 33% 16% 7% 10% 5% 10% 3% 7%\\n[libx264 @ 0x555d3a300c40] i8c dc,h,v,p: + 47% 37% 12% 4%\\n[libx264 @ 0x555d3a300c40] Weighted P-Frames: Y:0.0% UV:0.0%\\n[libx264 + @ 0x555d3a300c40] ref P L0: 73.3% 20.5% 5.3% 1.0%\\n[libx264 @ 0x555d3a300c40] + ref B L0: 83.8% 16.2%\\n[libx264 @ 0x555d3a300c40] kb/s:1597.71\\nVideo Name: + tmpao8iu3bfa_handheld_shot_of_a_colorful__zoom_out_motion_strength_20231003T130605245Z_0_1.mp4\\nOriginal + Frame Rate (FPS): 30.5\\nOriginal Total Number of Frames: 61\\nEnhancing iterations: + \ 67%|\u2588\u2588\u2588\u2588\u2588\u2588\u258B | 2/3 [00:15<00:07, 7.79s/it]\\nProcessing + frames: 0%| | 0/58 [00:00 #0:0 (mpeg4 (native) -> h264 (libx264))\\nPress [q] + to stop, [?] for help\\n[libx264 @ 0x55a8408d5580] using SAR=1/1\\n[libx264 + @ 0x55a8408d5580] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 + BMI2 AVX2\\n[libx264 @ 0x55a8408d5580] profile High, level 3.1, 4:2:0, 8-bit\\n[libx264 + @ 0x55a8408d5580] 264 - core 163 r3060 5db6aa6 - H.264/MPEG-4 AVC codec - Copyleft + 2003-2021 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 + analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 + chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 + threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 + bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 + direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 + intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 + qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00\\nOutput #0, mp4, to 'tmpao8iu3bfa_handheld_shot_of_a_colorful__zoom_out_motion_strength_20231003T130605245Z_0_1_2.mp4':\\nMetadata:\\nsoftware + \ : Lavf59.27.100\\nencoder : Lavf58.76.100\\nStream #0:0: Video: + h264 (avc1 / 0x31637661), yuv420p(progressive), 768x512 [SAR 1:1 DAR 3:2], q=2-31, + 60 fps, 15360 tbn\\nMetadata:\\nencoder : Lavc58.134.100 libx264\\nSide + data:\\ncpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A\\nframe= + \ 1 fps=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x\\nframe= + \ 121 fps=0.0 q=31.0 size= 0kB time=00:00:01.13 bitrate= 0.3kbits/s + speed=2.15x\\nframe= 121 fps=0.0 q=-1.0 Lsize= 308kB time=00:00:01.96 bitrate=1281.4kbits/s + speed=2.67x\\nvideo:305kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB + muxing overhead: 0.708410%\\n[libx264 @ 0x55a8408d5580] frame I:1 Avg QP:24.24 + \ size: 28703\\n[libx264 @ 0x55a8408d5580] frame P:60 Avg QP:25.63 size: + \ 4208\\n[libx264 @ 0x55a8408d5580] frame B:60 Avg QP:28.35 size: 516\\n[libx264 + @ 0x55a8408d5580] consecutive B-frames: 18.2% 46.3% 2.5% 33.1%\\n[libx264 @ + 0x55a8408d5580] mb I I16..4: 2.4% 96.3% 1.3%\\n[libx264 @ 0x55a8408d5580] + mb P I16..4: 0.3% 2.5% 0.0% P16..4: 51.3% 8.2% 3.6% 0.0% 0.0% skip:34.1%\\n[libx264 + @ 0x55a8408d5580] mb B I16..4: 0.1% 0.1% 0.0% B16..8: 30.3% 0.1% 0.0% + \ direct: 0.0% skip:69.4% L0:34.5% L1:64.2% BI: 1.3%\\n[libx264 @ 0x55a8408d5580] + 8x8 transform intra:88.4% inter:87.2%\\n[libx264 @ 0x55a8408d5580] coded y,uvDC,uvAC + intra: 75.2% 63.0% 1.7% inter: 10.6% 8.0% 0.0%\\n[libx264 @ 0x55a8408d5580] + i16 v,h,dc,p: 9% 41% 31% 19%\\n[libx264 @ 0x55a8408d5580] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: + \ 9% 30% 35% 3% 4% 2% 7% 3% 7%\\n[libx264 @ 0x55a8408d5580] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: + \ 4% 39% 20% 3% 9% 3% 12% 2% 8%\\n[libx264 @ 0x55a8408d5580] i8c dc,h,v,p: + 47% 38% 12% 3%\\n[libx264 @ 0x55a8408d5580] Weighted P-Frames: Y:0.0% UV:0.0%\\n[libx264 + @ 0x55a8408d5580] ref P L0: 68.6% 19.1% 10.3% 2.0%\\n[libx264 @ 0x55a8408d5580] + ref B L0: 96.0% 3.7% 0.4%\\n[libx264 @ 0x55a8408d5580] ref B L1: 99.2% 0.8%\\n[libx264 + @ 0x55a8408d5580] kb/s:1238.18\\nEnhancing iterations: 100%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| + 3/3 [00:32<00:00, 12.28s/it]\\nEnhancing iterations: 100%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| + 3/3 [00:32<00:00, 10.94s/it]\",\"metrics\":{\"predict_time\":34.512861},\"output\":[\"https://pbxt.replicate.delivery/lBRXA0rSNkZMPdXR4n3sokiWsywXlxNFbUDypmsmxez6IO1IA/tmpao8iu3bfa_handheld_shot_of_a_colorful__zoom_out_motion_strength_20231003T130605245Z_0.mp4\",\"https://pbxt.replicate.delivery/mvq7RecOmehiXUV1F6DXEWEaXnn3fbkeQsKZ7ZdZi3P5HxpGB/tmpao8iu3bfa_handheld_shot_of_a_colorful__zoom_out_motion_strength_20231003T130605245Z_0_1.mp4\",\"https://pbxt.replicate.delivery/YBivp9ZY0Ap7EJZG3LG9rlG2NhnQJfpfwEazveelAzdeRiTNC/tmpao8iu3bfa_handheld_shot_of_a_colorful__zoom_out_motion_strength_20231003T130605245Z_0_1_2.mp4\"],\"started_at\":\"2023-10-03T13:09:01.927672Z\",\"status\":\"succeeded\",\"urls\":{\"get\":\"https://api.replicate.com/v1/predictions/zaxdvzlb6mjb6ymd4edo2a7pra\",\"cancel\":\"https://api.replicate.com/v1/predictions/zaxdvzlb6mjb6ymd4edo2a7pra/cancel\"},\"version\":\"497fd042485acee69204ac69db98c118eb3c3b66952aba6956b0aeca4fbb6fe0\",\"webhook_completed\":null},\"latest_version\":{\"id\":\"e10e8cee773acea33c0e8b9a2509dde0214552b91a38dadb25b4baf454a46a9b\",\"created_at\":\"2023-10-03T14:40:11.845295Z\",\"cog_version\":\"0.8.6\",\"openapi_schema\":{\"info\":{\"title\":\"Cog\",\"version\":\"0.1.0\"},\"paths\":{\"/\":{\"get\":{\"summary\":\"Root\",\"responses\":{\"200\":{\"content\":{\"application/json\":{\"schema\":{\"title\":\"Response + Root Get\"}}},\"description\":\"Successful Response\"}},\"operationId\":\"root__get\"}},\"/shutdown\":{\"post\":{\"summary\":\"Start + Shutdown\",\"responses\":{\"200\":{\"content\":{\"application/json\":{\"schema\":{\"title\":\"Response + Start Shutdown Shutdown Post\"}}},\"description\":\"Successful Response\"}},\"operationId\":\"start_shutdown_shutdown_post\"}},\"/predictions\":{\"post\":{\"summary\":\"Predict\",\"responses\":{\"200\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/PredictionResponse\"}}},\"description\":\"Successful + Response\"},\"422\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/HTTPValidationError\"}}},\"description\":\"Validation + Error\"}},\"parameters\":[{\"in\":\"header\",\"name\":\"prefer\",\"schema\":{\"type\":\"string\",\"title\":\"Prefer\"},\"required\":false}],\"description\":\"Run + a single prediction on the model\",\"operationId\":\"predict_predictions_post\",\"requestBody\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/PredictionRequest\"}}}}}},\"/health-check\":{\"get\":{\"summary\":\"Healthcheck\",\"responses\":{\"200\":{\"content\":{\"application/json\":{\"schema\":{\"title\":\"Response + Healthcheck Health Check Get\"}}},\"description\":\"Successful Response\"}},\"operationId\":\"healthcheck_health_check_get\"}},\"/predictions/{prediction_id}\":{\"put\":{\"summary\":\"Predict + Idempotent\",\"responses\":{\"200\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/PredictionResponse\"}}},\"description\":\"Successful + Response\"},\"422\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/HTTPValidationError\"}}},\"description\":\"Validation + Error\"}},\"parameters\":[{\"in\":\"path\",\"name\":\"prediction_id\",\"schema\":{\"type\":\"string\",\"title\":\"Prediction + ID\"},\"required\":true},{\"in\":\"header\",\"name\":\"prefer\",\"schema\":{\"type\":\"string\",\"title\":\"Prefer\"},\"required\":false}],\"description\":\"Run + a single prediction on the model (idempotent creation).\",\"operationId\":\"predict_idempotent_predictions__prediction_id__put\",\"requestBody\":{\"content\":{\"application/json\":{\"schema\":{\"allOf\":[{\"$ref\":\"#/components/schemas/PredictionRequest\"}],\"title\":\"Prediction + Request\"}}},\"required\":true}}},\"/predictions/{prediction_id}/cancel\":{\"post\":{\"summary\":\"Cancel\",\"responses\":{\"200\":{\"content\":{\"application/json\":{\"schema\":{\"title\":\"Response + Cancel Predictions Prediction Id Cancel Post\"}}},\"description\":\"Successful + Response\"},\"422\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/HTTPValidationError\"}}},\"description\":\"Validation + Error\"}},\"parameters\":[{\"in\":\"path\",\"name\":\"prediction_id\",\"schema\":{\"type\":\"string\",\"title\":\"Prediction + ID\"},\"required\":true}],\"description\":\"Cancel a running prediction\",\"operationId\":\"cancel_predictions__prediction_id__cancel_post\"}}},\"openapi\":\"3.0.2\",\"components\":{\"schemas\":{\"Input\":{\"type\":\"object\",\"title\":\"Input\",\"required\":[\"mp4\"],\"properties\":{\"mp4\":{\"type\":\"string\",\"title\":\"Mp4\",\"format\":\"uri\",\"x-order\":0,\"description\":\"Upload + an mp4 video file.\"},\"custom_fps\":{\"type\":\"number\",\"title\":\"Custom + Fps\",\"maximum\":240,\"minimum\":1,\"x-order\":2,\"description\":\"Set `keep_original_duration` + to `False` to use this! Desired frame rate (fps) for the enhanced video. This + will only be considered if `keep_original_duration` is set to `False`.\"},\"framerate_multiplier\":{\"allOf\":[{\"$ref\":\"#/components/schemas/framerate_multiplier\"}],\"default\":2,\"x-order\":3,\"description\":\"Determines + how many intermediate frames to generate between original frames. E.g., a value + of 2 will double the frame rate, and 4 will quadruple it, etc.\"},\"keep_original_duration\":{\"type\":\"boolean\",\"title\":\"Keep + Original Duration\",\"default\":true,\"x-order\":1,\"description\":\"Should + the enhanced video retain the original duration? If set to `True`, the model + will adjust the frame rate to maintain the video's original duration after adding + interpolated frames. If set to `False`, the frame rate will be set based on + `custom_fps`.\"}}},\"Output\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"format\":\"uri\"},\"title\":\"Output\"},\"Status\":{\"enum\":[\"starting\",\"processing\",\"succeeded\",\"canceled\",\"failed\"],\"type\":\"string\",\"title\":\"Status\",\"description\":\"An + enumeration.\"},\"WebhookEvent\":{\"enum\":[\"start\",\"output\",\"logs\",\"completed\"],\"type\":\"string\",\"title\":\"WebhookEvent\",\"description\":\"An + enumeration.\"},\"ValidationError\":{\"type\":\"object\",\"title\":\"ValidationError\",\"required\":[\"loc\",\"msg\",\"type\"],\"properties\":{\"loc\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"integer\"}]},\"title\":\"Location\"},\"msg\":{\"type\":\"string\",\"title\":\"Message\"},\"type\":{\"type\":\"string\",\"title\":\"Error + Type\"}}},\"PredictionRequest\":{\"type\":\"object\",\"title\":\"PredictionRequest\",\"properties\":{\"id\":{\"type\":\"string\",\"title\":\"Id\"},\"input\":{\"$ref\":\"#/components/schemas/Input\"},\"webhook\":{\"type\":\"string\",\"title\":\"Webhook\",\"format\":\"uri\",\"maxLength\":65536,\"minLength\":1},\"created_at\":{\"type\":\"string\",\"title\":\"Created + At\",\"format\":\"date-time\"},\"output_file_prefix\":{\"type\":\"string\",\"title\":\"Output + File Prefix\"},\"webhook_events_filter\":{\"type\":\"array\",\"items\":{\"$ref\":\"#/components/schemas/WebhookEvent\"},\"default\":[\"start\",\"output\",\"logs\",\"completed\"]}}},\"PredictionResponse\":{\"type\":\"object\",\"title\":\"PredictionResponse\",\"properties\":{\"id\":{\"type\":\"string\",\"title\":\"Id\"},\"logs\":{\"type\":\"string\",\"title\":\"Logs\",\"default\":\"\"},\"error\":{\"type\":\"string\",\"title\":\"Error\"},\"input\":{\"$ref\":\"#/components/schemas/Input\"},\"output\":{\"$ref\":\"#/components/schemas/Output\"},\"status\":{\"$ref\":\"#/components/schemas/Status\"},\"metrics\":{\"type\":\"object\",\"title\":\"Metrics\"},\"version\":{\"type\":\"string\",\"title\":\"Version\"},\"created_at\":{\"type\":\"string\",\"title\":\"Created + At\",\"format\":\"date-time\"},\"started_at\":{\"type\":\"string\",\"title\":\"Started + At\",\"format\":\"date-time\"},\"completed_at\":{\"type\":\"string\",\"title\":\"Completed + At\",\"format\":\"date-time\"}}},\"HTTPValidationError\":{\"type\":\"object\",\"title\":\"HTTPValidationError\",\"properties\":{\"detail\":{\"type\":\"array\",\"items\":{\"$ref\":\"#/components/schemas/ValidationError\"},\"title\":\"Detail\"}}},\"framerate_multiplier\":{\"enum\":[2,4,8,16,32],\"type\":\"integer\",\"title\":\"framerate_multiplier\",\"description\":\"An + enumeration.\"}}}}}},{\"url\":\"https://replicate.com/nelsonjchen/op-replay-clipper\",\"owner\":\"nelsonjchen\",\"name\":\"op-replay-clipper\",\"description\":\"(Alpha) + GPU accelerated replay renderer for comma.ai connect's openpilot route data\",\"visibility\":\"public\",\"github_url\":\"https://github.com/nelsonjchen/op-replay-clipper\",\"paper_url\":null,\"license_url\":\"https://github.com/nelsonjchen/op-replay-clipper/blob/master/LICENSE.md\",\"run_count\":221,\"cover_image_url\":\"https://replicate.comNone\",\"default_example\":{\"completed_at\":\"2023-09-25T15:09:55.532347Z\",\"created_at\":\"2023-09-25T15:07:02.910753Z\",\"error\":null,\"id\":\"zjop44zbc3u4yvj5klabxyuaau\",\"input\":{\"notes\":\"\",\"route\":\"a2a0ccea32023010|2023-07-27--13-01-19\",\"fileSize\":50,\"smearAmount\":5,\"startSeconds\":50,\"lengthSeconds\":20,\"speedhackRatio\":1},\"logs\":\"Downloading + file list from https://api.commadotai.com/v1/route/a2a0ccea32023010%7C2023-07-27--13-01-19/files\\nFiles + Downloaded: 0%| | 0/6 [00:00=12.1 + brand=tesla,driver>=450,driver<451 brand=tesla,driver>=470,driver<471 brand=unknown,driver>=470,driver<471 + brand=nvidia,driver>=470,driver<471 brand=nvidiartx,driver>=470,driver<471 brand=geforce,driver>=470,driver<471 + brand=geforcertx,driver>=470,driver<471 brand=quadro,driver>=470,driver<471 + brand=quadrortx,driver>=470,driver<471 brand=titan,driver>=470,driver<471 brand=titanrtx,driver>=470,driver<471 + brand=tesla,driver>=510,driver<511 brand=unknown,driver>=510,driver<511 brand=nvidia,driver>=510,driver<511 + brand=nvidiartx,driver>=510,driver<511 brand=geforce,driver>=510,driver<511 + brand=geforcertx,driver>=510,driver<511 brand=quadro,driver>=510,driver<511 + brand=quadrortx,driver>=510,driver<511 brand=titan,driver>=510,driver<511 brand=titanrtx,driver>=510,driver<511 + brand=tesla,driver>=515,driver<516 brand=unknown,driver>=515,driver<516 brand=nvidia,driver>=515,driver<516 + brand=nvidiartx,driver>=515,driver<516 brand=geforce,driver>=515,driver<516 + brand=geforcertx,driver>=515,driver<516 brand=quadro,driver>=515,driver<516 + brand=quadrortx,driver>=515,driver<516 brand=titan,driver>=515,driver<516 brand=titanrtx,driver>=515,driver<516 + brand=tesla,driver>=525,driver<526 brand=unknown,driver>=525,driver<526 brand=nvidia,driver>=525,driver<526 + brand=nvidiartx,driver>=525,driver<526 brand=geforce,driver>=525,driver<526 + brand=geforcertx,driver>=525,driver<526 brand=quadro,driver>=525,driver<526 + brand=quadrortx,driver>=525,driver<526 brand=titan,driver>=525,driver<526 brand=titanrtx,driver>=525,driver<526\\nNV_LIBCUBLAS_DEV_PACKAGE=libcublas-dev-12-1=12.1.3.1-1\\nNV_NVTX_VERSION=12.1.105-1\\nNV_CUDA_CUDART_DEV_VERSION=12.1.105-1\\nNV_LIBCUSPARSE_VERSION=12.1.0.106-1\\nNV_LIBNPP_VERSION=12.1.0.40-1\\nNCCL_VERSION=2.17.1-1\\nPYENV_VERSION=3.11.5\\nPWD=/src\\nNV_CUDNN_PACKAGE=libcudnn8=8.9.0.131-1+cuda12.1\\nNVIDIA_DRIVER_CAPABILITIES=all\\nNV_NVPROF_DEV_PACKAGE=cuda-nvprof-12-1=12.1.105-1\\nNV_LIBNPP_PACKAGE=libnpp-12-1=12.1.0.40-1\\nNV_LIBNCCL_DEV_PACKAGE_NAME=libnccl-dev\\nNV_LIBCUBLAS_DEV_VERSION=12.1.3.1-1\\nNVIDIA_PRODUCT_NAME=CUDA\\nNV_LIBCUBLAS_DEV_PACKAGE_NAME=libcublas-dev-12-1\\nNV_CUDA_CUDART_VERSION=12.1.105-1\\nHOME=/root\\nKUBERNETES_PORT_443_TCP=tcp://10.8.0.1:443\\nCUDA_VERSION=12.1.1\\nNV_LIBCUBLAS_PACKAGE=libcublas-12-1=12.1.3.1-1\\nNV_CUDA_NSIGHT_COMPUTE_DEV_PACKAGE=cuda-nsight-compute-12-1=12.1.1-1\\nNV_LIBNPP_DEV_PACKAGE=libnpp-dev-12-1=12.1.0.40-1\\nNV_LIBCUBLAS_PACKAGE_NAME=libcublas-12-1\\nPYENV_DIR=/src\\nNV_LIBNPP_DEV_VERSION=12.1.0.40-1\\nNV_LIBCUSPARSE_DEV_VERSION=12.1.0.106-1\\nLIBRARY_PATH=/usr/local/cuda/lib64/stubs\\nNV_CUDNN_VERSION=8.9.0.131\\nSCALE=1\\nDISPLAY=:0\\nSHLVL=0\\nNV_CUDA_LIB_VERSION=12.1.1-1\\nNVARCH=x86_64\\nKUBERNETES_PORT_443_TCP_PROTO=tcp\\nNV_CUDNN_PACKAGE_DEV=libcudnn8-dev=8.9.0.131-1+cuda12.1\\nKUBERNETES_PORT_443_TCP_ADDR=10.8.0.1\\nNV_CUDA_COMPAT_PACKAGE=cuda-compat-12-1\\nNV_LIBNCCL_PACKAGE=libnccl2=2.17.1-1+cuda12.1\\nLD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64:/usr/lib/x86_64-linux-gnu:/usr/local/nvidia/lib64:/usr/local/nvidia/bin\\nLC_CTYPE=C.UTF-8\\nPYENV_ROOT=/root/.pyenv\\nNV_CUDA_NSIGHT_COMPUTE_VERSION=12.1.1-1\\nKUBERNETES_SERVICE_HOST=10.8.0.1\\nNV_NVPROF_VERSION=12.1.105-1\\nKUBERNETES_PORT=tcp://10.8.0.1:443\\nKUBERNETES_PORT_443_TCP_PORT=443\\nPATH=/root/.pyenv/versions/3.11.5/bin:/root/.pyenv/libexec:/root/.pyenv/plugins/python-build/bin:/root/.pyenv/plugins/pyenv-virtualenv/bin:/root/.pyenv/plugins/pyenv-update/bin:/root/.pyenv/plugins/pyenv-install-latest/bin:/root/.pyenv/plugins/pyenv-doctor/bin:/root/.pyenv/shims:/root/.pyenv/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\\nNV_LIBNCCL_PACKAGE_NAME=libnccl2\\nNV_LIBNCCL_PACKAGE_VERSION=2.17.1-1\\nDEBIAN_FRONTEND=noninteractive\\n_=/usr/bin/env'\\n++ + find /usr/ -name 'libcuda.so.*'\\nb'overlay on / type overlay (rw,relatime,lowerdir=/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/1330/fs:/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/1329/fs:/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/1328/fs:/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/1327/fs:/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/1326/fs:/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/1325/fs:/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/1324/fs:/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/1323/fs:/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/1322/fs:/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/1321/fs:/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/1320/fs:/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/1319/fs:/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/1318/fs:/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/1317/fs:/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/1316/fs:/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/1315/fs:/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/1314/fs:/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/1313/fs:/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/1312/fs:/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/1311/fs:/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/1310/fs:/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/46/fs,upperdir=/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/1331/fs,workdir=/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/1331/work)\\\\n'\\nb'proc + on /proc type proc (rw,nosuid,nodev,noexec,relatime)\\\\n'\\nb'tmpfs on /dev + type tmpfs (rw,nosuid,size=65536k,mode=755)\\\\n'\\nb'devpts on /dev/pts type + devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=666)\\\\n'\\nb'mqueue + on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)\\\\n'\\nb'sysfs + on /sys type sysfs (ro,nosuid,nodev,noexec,relatime)\\\\n'\\nb'tmpfs on /sys/fs/cgroup + type tmpfs (rw,nosuid,nodev,noexec,relatime,mode=755)\\\\n'\\nb'cgroup on /sys/fs/cgroup/systemd + type cgroup (ro,nosuid,nodev,noexec,relatime,xattr,name=systemd)\\\\n'\\nb'cgroup + on /sys/fs/cgroup/cpu,cpuacct type cgroup (ro,nosuid,nodev,noexec,relatime,cpu,cpuacct)\\\\n'\\nb'cgroup + on /sys/fs/cgroup/freezer type cgroup (ro,nosuid,nodev,noexec,relatime,freezer)\\\\n'\\nb'cgroup + on /sys/fs/cgroup/memory type cgroup (ro,nosuid,nodev,noexec,relatime,memory)\\\\n'\\nb'cgroup + on /sys/fs/cgroup/net_cls,net_prio type cgroup (ro,nosuid,nodev,noexec,relatime,net_cls,net_prio)\\\\n'\\nb'cgroup + on /sys/fs/cgroup/perf_event type cgroup (ro,nosuid,nodev,noexec,relatime,perf_event)\\\\n'\\nb'cgroup + on /sys/fs/cgroup/blkio type cgroup (ro,nosuid,nodev,noexec,relatime,blkio)\\\\n'\\nb'cgroup + on /sys/fs/cgroup/cpuset type cgroup (ro,nosuid,nodev,noexec,relatime,cpuset)\\\\n'\\nb'cgroup + on /sys/fs/cgroup/devices type cgroup (ro,nosuid,nodev,noexec,relatime,devices)\\\\n'\\nb'cgroup + on /sys/fs/cgroup/rdma type cgroup (ro,nosuid,nodev,noexec,relatime,rdma)\\\\n'\\nb'cgroup + on /sys/fs/cgroup/pids type cgroup (ro,nosuid,nodev,noexec,relatime,pids)\\\\n'\\nb'cgroup + on /sys/fs/cgroup/hugetlb type cgroup (ro,nosuid,nodev,noexec,relatime,hugetlb)\\\\n'\\nb'/dev/nvme0n1 + on /etc/hosts type ext4 (rw,relatime,discard)\\\\n'\\nb'/dev/nvme0n1 on /dev/termination-log + type ext4 (rw,relatime,discard)\\\\n'\\nb'/dev/nvme0n1 on /etc/hostname type + ext4 (rw,relatime,discard)\\\\n'\\nb'/dev/nvme0n1 on /etc/resolv.conf type ext4 + (rw,relatime,discard)\\\\n'\\nb'shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=65536k)\\\\n'\\nb'/dev/sda1 + on /usr/local/nvidia type ext4 (ro,relatime,commit=30)\\\\n'\\nb'/dev/sda1 on + /etc/vulkan/icd.d type ext4 (ro,relatime,commit=30)\\\\n'\\nb'proc on /proc/bus + type proc (ro,nosuid,nodev,noexec,relatime)\\\\n'\\nb'proc on /proc/fs type + proc (ro,nosuid,nodev,noexec,relatime)\\\\n'\\nb'proc on /proc/irq type proc + (ro,nosuid,nodev,noexec,relatime)\\\\n'\\nb'proc on /proc/sys type proc (ro,nosuid,nodev,noexec,relatime)\\\\n'\\nb'proc + on /proc/sysrq-trigger type proc (ro,nosuid,nodev,noexec,relatime)\\\\n'\\nb'tmpfs + on /proc/acpi type tmpfs (ro,relatime)\\\\n'\\nb'tmpfs on /proc/kcore type tmpfs + (rw,nosuid,size=65536k,mode=755)\\\\n'\\nb'tmpfs on /proc/keys type tmpfs (rw,nosuid,size=65536k,mode=755)\\\\n'\\nb'tmpfs + on /proc/timer_list type tmpfs (rw,nosuid,size=65536k,mode=755)\\\\n'\\nb'tmpfs + on /proc/scsi type tmpfs (ro,relatime)\\\\n'\\nb'tmpfs on /sys/firmware type + tmpfs (ro,relatime)\\\\n'\\nb'NV_LIBCUBLAS_VERSION=12.1.3.1-1\\\\n'\\nb'KUBERNETES_SERVICE_PORT_HTTPS=443\\\\n'\\nb'NVIDIA_VISIBLE_DEVICES=all\\\\n'\\nb'PYENV_HOOK_PATH=/root/.pyenv/pyenv.d:/usr/local/etc/pyenv.d:/etc/pyenv.d:/usr/lib/pyenv/hooks:/root/.pyenv/plugins/pyenv-virtualenv/etc/pyenv.d\\\\n'\\nb'NV_NVML_DEV_VERSION=12.1.105-1\\\\n'\\nb'NV_CUDNN_PACKAGE_NAME=libcudnn8\\\\n'\\nb'KUBERNETES_SERVICE_PORT=443\\\\n'\\nb'PYTHONUNBUFFERED=1\\\\n'\\nb'NV_LIBNCCL_DEV_PACKAGE=libnccl-dev=2.17.1-1+cuda12.1\\\\n'\\nb'NV_LIBNCCL_DEV_PACKAGE_VERSION=2.17.1-1\\\\n'\\nb'HOSTNAME=model-a12dfdb8-e96cdbb04a86a16c-gpu-t4-69864557c6-5g7lp\\\\n'\\nb'NVIDIA_REQUIRE_CUDA=cuda>=12.1 + brand=tesla,driver>=450,driver<451 brand=tesla,driver>=470,driver<471 brand=unknown,driver>=470,driver<471 + brand=nvidia,driver>=470,driver<471 brand=nvidiartx,driver>=470,driver<471 brand=geforce,driver>=470,driver<471 + brand=geforcertx,driver>=470,driver<471 brand=quadro,driver>=470,driver<471 + brand=quadrortx,driver>=470,driver<471 brand=titan,driver>=470,driver<471 brand=titanrtx,driver>=470,driver<471 + brand=tesla,driver>=510,driver<511 brand=unknown,driver>=510,driver<511 brand=nvidia,driver>=510,driver<511 + brand=nvidiartx,driver>=510,driver<511 brand=geforce,driver>=510,driver<511 + brand=geforcertx,driver>=510,driver<511 brand=quadro,driver>=510,driver<511 + brand=quadrortx,driver>=510,driver<511 brand=titan,driver>=510,driver<511 brand=titanrtx,driver>=510,driver<511 + brand=tesla,driver>=515,driver<516 brand=unknown,driver>=515,driver<516 brand=nvidia,driver>=515,driver<516 + brand=nvidiartx,driver>=515,driver<516 brand=geforce,driver>=515,driver<516 + brand=geforcertx,driver>=515,driver<516 brand=quadro,driver>=515,driver<516 + brand=quadrortx,driver>=515,driver<516 brand=titan,driver>=515,driver<516 brand=titanrtx,driver>=515,driver<516 + brand=tesla,driver>=525,driver<526 brand=unknown,driver>=525,driver<526 brand=nvidia,driver>=525,driver<526 + brand=nvidiartx,driver>=525,driver<526 brand=geforce,driver>=525,driver<526 + brand=geforcertx,driver>=525,driver<526 brand=quadro,driver>=525,driver<526 + brand=quadrortx,driver>=525,driver<526 brand=titan,driver>=525,driver<526 brand=titanrtx,driver>=525,driver<526\\\\n'\\nb'NV_LIBCUBLAS_DEV_PACKAGE=libcublas-dev-12-1=12.1.3.1-1\\\\n'\\nb'NV_NVTX_VERSION=12.1.105-1\\\\n'\\nb'NV_CUDA_CUDART_DEV_VERSION=12.1.105-1\\\\n'\\nb'NV_LIBCUSPARSE_VERSION=12.1.0.106-1\\\\n'\\nb'NV_LIBNPP_VERSION=12.1.0.40-1\\\\n'\\nb'NCCL_VERSION=2.17.1-1\\\\n'\\nb'PYENV_VERSION=3.11.5\\\\n'\\nb'PWD=/src\\\\n'\\nb'NV_CUDNN_PACKAGE=libcudnn8=8.9.0.131-1+cuda12.1\\\\n'\\nb'NVIDIA_DRIVER_CAPABILITIES=all\\\\n'\\nb'NV_NVPROF_DEV_PACKAGE=cuda-nvprof-12-1=12.1.105-1\\\\n'\\nb'NV_LIBNPP_PACKAGE=libnpp-12-1=12.1.0.40-1\\\\n'\\nb'NV_LIBNCCL_DEV_PACKAGE_NAME=libnccl-dev\\\\n'\\nb'NV_LIBCUBLAS_DEV_VERSION=12.1.3.1-1\\\\n'\\nb'NVIDIA_PRODUCT_NAME=CUDA\\\\n'\\nb'NV_LIBCUBLAS_DEV_PACKAGE_NAME=libcublas-dev-12-1\\\\n'\\nb'NV_CUDA_CUDART_VERSION=12.1.105-1\\\\n'\\nb'HOME=/root\\\\n'\\nb'KUBERNETES_PORT_443_TCP=tcp://10.8.0.1:443\\\\n'\\nb'CUDA_VERSION=12.1.1\\\\n'\\nb'NV_LIBCUBLAS_PACKAGE=libcublas-12-1=12.1.3.1-1\\\\n'\\nb'NV_CUDA_NSIGHT_COMPUTE_DEV_PACKAGE=cuda-nsight-compute-12-1=12.1.1-1\\\\n'\\nb'NV_LIBNPP_DEV_PACKAGE=libnpp-dev-12-1=12.1.0.40-1\\\\n'\\nb'NV_LIBCUBLAS_PACKAGE_NAME=libcublas-12-1\\\\n'\\nb'PYENV_DIR=/src\\\\n'\\nb'NV_LIBNPP_DEV_VERSION=12.1.0.40-1\\\\n'\\nb'NV_LIBCUSPARSE_DEV_VERSION=12.1.0.106-1\\\\n'\\nb'LIBRARY_PATH=/usr/local/cuda/lib64/stubs\\\\n'\\nb'NV_CUDNN_VERSION=8.9.0.131\\\\n'\\nb'SCALE=1\\\\n'\\nb'DISPLAY=:0\\\\n'\\nb'SHLVL=0\\\\n'\\nb'NV_CUDA_LIB_VERSION=12.1.1-1\\\\n'\\nb'NVARCH=x86_64\\\\n'\\nb'KUBERNETES_PORT_443_TCP_PROTO=tcp\\\\n'\\nb'NV_CUDNN_PACKAGE_DEV=libcudnn8-dev=8.9.0.131-1+cuda12.1\\\\n'\\nb'KUBERNETES_PORT_443_TCP_ADDR=10.8.0.1\\\\n'\\nb'NV_CUDA_COMPAT_PACKAGE=cuda-compat-12-1\\\\n'\\nb'NV_LIBNCCL_PACKAGE=libnccl2=2.17.1-1+cuda12.1\\\\n'\\nb'LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64:/usr/lib/x86_64-linux-gnu:/usr/local/nvidia/lib64:/usr/local/nvidia/bin\\\\n'\\nb'LC_CTYPE=C.UTF-8\\\\n'\\nb'PYENV_ROOT=/root/.pyenv\\\\n'\\nb'NV_CUDA_NSIGHT_COMPUTE_VERSION=12.1.1-1\\\\n'\\nb'KUBERNETES_SERVICE_HOST=10.8.0.1\\\\n'\\nb'NV_NVPROF_VERSION=12.1.105-1\\\\n'\\nb'KUBERNETES_PORT=tcp://10.8.0.1:443\\\\n'\\nb'KUBERNETES_PORT_443_TCP_PORT=443\\\\n'\\nb'PATH=/root/.pyenv/versions/3.11.5/bin:/root/.pyenv/libexec:/root/.pyenv/plugins/python-build/bin:/root/.pyenv/plugins/pyenv-virtualenv/bin:/root/.pyenv/plugins/pyenv-update/bin:/root/.pyenv/plugins/pyenv-install-latest/bin:/root/.pyenv/plugins/pyenv-doctor/bin:/root/.pyenv/shims:/root/.pyenv/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\\\\n'\\nb'NV_LIBNCCL_PACKAGE_NAME=libnccl2\\\\n'\\nb'NV_LIBNCCL_PACKAGE_VERSION=2.17.1-1\\\\n'\\nb'DEBIAN_FRONTEND=noninteractive\\\\n'\\nb'_=/usr/bin/env\\\\n'\\n+ + echo '/usr/local/nvidia/lib64/libcuda.so.525.105.17\\n/usr/local/nvidia/lib64/libcuda.so.1\\n/usr/local/cuda-12.1/compat/libcuda.so.1\\n/usr/local/cuda-12.1/compat/libcuda.so.530.30.02'\\nb'/usr/local/nvidia/lib64/libcuda.so.525.105.17\\\\n'\\nb'/usr/local/nvidia/lib64/libcuda.so.1\\\\n'\\nb'/usr/local/cuda-12.1/compat/libcuda.so.1\\\\n'\\nb'/usr/local/cuda-12.1/compat/libcuda.so.530.30.02\\\\n'\\n++ + nvidia-smi -q\\n+ echo '\\n==============NVSMI LOG==============\\nTimestamp + \ : Mon Sep 25 15:09:27 2023\\nDriver Version + \ : 525.105.17\\nCUDA Version : + 12.0\\nAttached GPUs : 1\\nGPU 00000000:00:05.0\\nProduct + Name : Tesla T4\\nProduct Brand : + NVIDIA\\nProduct Architecture : Turing\\nDisplay Mode : + Disabled\\nDisplay Active : Disabled\\nPersistence Mode + \ : Disabled\\nMIG Mode\\nCurrent : + N/A\\nPending : N/A\\nAccounting Mode : + Disabled\\nAccounting Mode Buffer Size : 4000\\nDriver Model\\nCurrent + \ : N/A\\nPending : N/A\\nSerial + Number : 1562521014820\\nGPU UUID : + GPU-8da14d8a-fe61-a7bc-ccd6-9589e1bf5a64\\nMinor Number : + 0\\nVBIOS Version : 90.04.A7.00.01\\nMultiGPU Board + \ : No\\nBoard ID : 0x5\\nBoard + Part Number : 900-2G183-6300-T00\\nGPU Part Number : + 1EB8-895-A1\\nModule ID : 1\\nInforom Version\\nImage + Version : G183.0200.00.02\\nOEM Object : + 1.1\\nECC Object : 5.0\\nPower Management Object : + N/A\\nGPU Operation Mode\\nCurrent : N/A\\nPending + \ : N/A\\nGSP Firmware Version : 525.105.17\\nGPU + Virtualization Mode\\nVirtualization Mode : Pass-Through\\nHost + VGPU Mode : N/A\\nIBMNPU\\nRelaxed Ordering Mode : + N/A\\nPCI\\nBus : 0x00\\nDevice : + 0x05\\nDomain : 0x0000\\nDevice Id : + 0x1EB810DE\\nBus Id : 00000000:00:05.0\\nSub System + Id : 0x12A210DE\\nGPU Link Info\\nPCIe Generation\\nMax + \ : 3\\nCurrent : 1\\nDevice Current + \ : 1\\nDevice Max : 3\\nHost Max : + N/A\\nLink Width\\nMax : 16x\\nCurrent : + 16x\\nBridge Chip\\nType : N/A\\nFirmware : + N/A\\nReplays Since Reset : 0\\nReplay Number Rollovers : + 0\\nTx Throughput : 0 KB/s\\nRx Throughput : + 0 KB/s\\nAtomic Caps Inbound : N/A\\nAtomic Caps Outbound : + N/A\\nFan Speed : N/A\\nPerformance State : + P8\\nClocks Throttle Reasons\\nIdle : Active\\nApplications + Clocks Setting : Not Active\\nSW Power Cap : Not + Active\\nHW Slowdown : Not Active\\nHW Thermal Slowdown + \ : Not Active\\nHW Power Brake Slowdown : Not Active\\nSync + Boost : Not Active\\nSW Thermal Slowdown : + Not Active\\nDisplay Clock Setting : Not Active\\nFB Memory Usage\\nTotal + \ : 15360 MiB\\nReserved : + 431 MiB\\nUsed : 2 MiB\\nFree : + 14926 MiB\\nBAR1 Memory Usage\\nTotal : 256 MiB\\nUsed + \ : 2 MiB\\nFree : + 254 MiB\\nCompute Mode : Default\\nUtilization\\nGpu + \ : 0 %\\nMemory : 0 + %\\nEncoder : 0 %\\nDecoder : + 0 %\\nEncoder Stats\\nActive Sessions : 0\\nAverage FPS : + 0\\nAverage Latency : 0\\nFBC Stats\\nActive Sessions : + 0\\nAverage FPS : 0\\nAverage Latency : + 0\\nEcc Mode\\nCurrent : Enabled\\nPending : + Enabled\\nECC Errors\\nVolatile\\nSRAM Correctable : 0\\nSRAM Uncorrectable + \ : 0\\nDRAM Correctable : 0\\nDRAM Uncorrectable : + 0\\nAggregate\\nSRAM Correctable : 0\\nSRAM Uncorrectable : + 0\\nDRAM Correctable : 0\\nDRAM Uncorrectable : 0\\nRetired + Pages\\nSingle Bit ECC : 0\\nDouble Bit ECC : + 0\\nPending Page Blacklist : No\\nRemapped Rows : + N/A\\nTemperature\\nGPU Current Temp : 35 C\\nGPU T.Limit Temp + \ : N/A\\nGPU Shutdown Temp : 96 C\\nGPU Slowdown + Temp : 93 C\\nGPU Max Operating Temp : 85 C\\nGPU + Target Temperature : N/A\\nMemory Current Temp : N/A\\nMemory + Max Operating Temp : N/A\\nPower Readings\\nPower Management : + Supported\\nPower Draw : 10.54 W\\nPower Limit : + 70.00 W\\nDefault Power Limit : 70.00 W\\nEnforced Power Limit + \ : 70.00 W\\nMin Power Limit : 60.00 W\\nMax + Power Limit : 70.00 W\\nClocks\\nGraphics : + 300 MHz\\nSM : 300 MHz\\nMemory : + 405 MHz\\nVideo : 540 MHz\\nApplications Clocks\\nGraphics + \ : 585 MHz\\nMemory : 5001 + MHz\\nDefault Applications Clocks\\nGraphics : 585 + MHz\\nMemory : 5001 MHz\\nDeferred Clocks\\nMemory + \ : N/A\\nMax Clocks\\nGraphics : + 1590 MHz\\nSM : 1590 MHz\\nMemory : + 5001 MHz\\nVideo : 1470 MHz\\nMax Customer Boost + Clocks\\nGraphics : 1590 MHz\\nClock Policy\\nAuto + Boost : N/A\\nAuto Boost Default : N/A\\nVoltage\\nGraphics + \ : N/A\\nFabric\\nState : + N/A\\nStatus : N/A\\nProcesses : + None'\\n+ trap ctrl_c INT\\n+ trap ctrl_c ERR\\n+ cleanup\\n+ tmux list-panes + -s -t clipper -F '#{pane_pid} #{pane_current_command}'\\n+ grep -v tmux\\n+ + xargs kill -9\\n+ awk '{print $1}'\\nerror connecting to /tmp/tmux-0/default + (No such file or directory)\\nUsage:\\nkill [options] [...]\\nOptions:\\n + [...] send signal to every listed\\n-, -s, --signal + \\nspecify the to be sent\\n-q, --queue integer + value to be sent with the signal\\n-l, --list=[] list all signal names, + or convert one to a name\\n-L, --table list all signal names in a + nice table\\n-h, --help display this help and exit\\n-V, --version output + version information and exit\\nFor more details see kill(1).\\n+ true\\n+ STARTING_SEC=50\\n+ + SMEAR_AMOUNT=5\\n+ SMEARED_STARTING_SEC=45\\n+ '[' 45 -lt 0 ']'\\n+ RECORDING_LENGTH=20\\n+ + RECORDING_LENGTH_PLUS_SMEAR=25\\nb'\\\\n'\\nb'==============NVSMI LOG==============\\\\n'\\nb'\\\\n'\\nb'Timestamp + \ : Mon Sep 25 15:09:27 2023\\\\n'\\nb'Driver + Version : 525.105.17\\\\n'\\nb'CUDA Version : + 12.0\\\\n'\\nb'\\\\n'\\nb'Attached GPUs : 1\\\\n'\\nb'GPU + 00000000:00:05.0\\\\n'\\nb' Product Name : Tesla + T4\\\\n'\\nb' Product Brand : NVIDIA\\\\n'\\nb' Product + Architecture : Turing\\\\n'\\nb' Display Mode : + Disabled\\\\n'\\nb' Display Active : Disabled\\\\n'\\nb' + \ Persistence Mode : Disabled\\\\n'\\nb' MIG Mode\\\\n'\\nb' + \ Current : N/A\\\\n'\\nb' Pending : + N/A\\\\n'\\nb' Accounting Mode : Disabled\\\\n'\\nb' + \ Accounting Mode Buffer Size : 4000\\\\n'\\nb' Driver Model\\\\n'\\nb' + \ Current : N/A\\\\n'\\nb' Pending : + N/A\\\\n'\\nb' Serial Number : 1562521014820\\\\n'\\nb' + \ GPU UUID : GPU-8da14d8a-fe61-a7bc-ccd6-9589e1bf5a64\\\\n'\\nb' + \ Minor Number : 0\\\\n'\\nb' VBIOS Version : + 90.04.A7.00.01\\\\n'\\nb' MultiGPU Board : No\\\\n'\\nb' + \ Board ID : 0x5\\\\n'\\nb' Board Part Number + \ : 900-2G183-6300-T00\\\\n'\\nb' GPU Part Number : + 1EB8-895-A1\\\\n'\\nb' Module ID : 1\\\\n'\\nb' + \ Inforom Version\\\\n'\\nb' Image Version : G183.0200.00.02\\\\n'\\nb' + \ OEM Object : 1.1\\\\n'\\nb' ECC Object + \ : 5.0\\\\n'\\nb' Power Management Object : + N/A\\\\n'\\nb' GPU Operation Mode\\\\n'\\nb' Current : + N/A\\\\n'\\nb' Pending : N/A\\\\n'\\nb' GSP + Firmware Version : 525.105.17\\\\n'\\nb' GPU Virtualization + Mode\\\\n'\\nb' Virtualization Mode : Pass-Through\\\\n'\\nb' + \ Host VGPU Mode : N/A\\\\n'\\nb' IBMNPU\\\\n'\\nb' + \ Relaxed Ordering Mode : N/A\\\\n'\\nb' PCI\\\\n'\\nb' + \ Bus : 0x00\\\\n'\\nb' Device : + 0x05\\\\n'\\nb' Domain : 0x0000\\\\n'\\nb' + \ Device Id : 0x1EB810DE\\\\n'\\nb' Bus + Id : 00000000:00:05.0\\\\n'\\nb' Sub System + Id : 0x12A210DE\\\\n'\\nb' GPU Link Info\\\\n'\\nb' + \ PCIe Generation\\\\n'\\nb' Max : + 3\\\\n'\\nb' Current : 1\\\\n'\\nb' Device + Current : 1\\\\n'\\nb' Device Max : + 3\\\\n'\\nb' Host Max : N/A\\\\n'\\nb' Link + Width\\\\n'\\nb' Max : 16x\\\\n'\\nb' Current + \ : 16x\\\\n'\\nb' Bridge Chip\\\\n'\\nb' Type + \ : N/A\\\\n'\\nb' Firmware : + N/A\\\\n'\\nb' Replays Since Reset : 0\\\\n'\\nb' Replay + Number Rollovers : 0\\\\n'\\nb' Tx Throughput : + 0 KB/s\\\\n'\\nb' Rx Throughput : 0 KB/s\\\\n'\\nb' + \ Atomic Caps Inbound : N/A\\\\n'\\nb' Atomic Caps + Outbound : N/A\\\\n'\\nb' Fan Speed : + N/A\\\\n'\\nb' Performance State : P8\\\\n'\\nb' Clocks + Throttle Reasons\\\\n'\\nb' Idle : Active\\\\n'\\nb' + \ Applications Clocks Setting : Not Active\\\\n'\\nb' SW + Power Cap : Not Active\\\\n'\\nb' HW Slowdown : + Not Active\\\\n'\\nb' HW Thermal Slowdown : Not Active\\\\n'\\nb' + \ HW Power Brake Slowdown : Not Active\\\\n'\\nb' Sync + Boost : Not Active\\\\n'\\nb' SW Thermal Slowdown + \ : Not Active\\\\n'\\nb' Display Clock Setting : + Not Active\\\\n'\\nb' FB Memory Usage\\\\n'\\nb' Total : + 15360 MiB\\\\n'\\nb' Reserved : 431 MiB\\\\n'\\nb' + \ Used : 2 MiB\\\\n'\\nb' Free : + 14926 MiB\\\\n'\\nb' BAR1 Memory Usage\\\\n'\\nb' Total : + 256 MiB\\\\n'\\nb' Used : 2 MiB\\\\n'\\nb' + \ Free : 254 MiB\\\\n'\\nb' Compute Mode + \ : Default\\\\n'\\nb' Utilization\\\\n'\\nb' Gpu + \ : 0 %\\\\n'\\nb' Memory : + 0 %\\\\n'\\nb' Encoder : 0 %\\\\n'\\nb' Decoder + \ : 0 %\\\\n'\\nb' Encoder Stats\\\\n'\\nb' Active + Sessions : 0\\\\n'\\nb' Average FPS : + 0\\\\n'\\nb' Average Latency : 0\\\\n'\\nb' FBC + Stats\\\\n'\\nb' Active Sessions : 0\\\\n'\\nb' Average + FPS : 0\\\\n'\\nb' Average Latency : + 0\\\\n'\\nb' Ecc Mode\\\\n'\\nb' Current : + Enabled\\\\n'\\nb' Pending : Enabled\\\\n'\\nb' + \ ECC Errors\\\\n'\\nb' Volatile\\\\n'\\nb' SRAM Correctable + \ : 0\\\\n'\\nb' SRAM Uncorrectable : 0\\\\n'\\nb' + \ DRAM Correctable : 0\\\\n'\\nb' DRAM Uncorrectable + \ : 0\\\\n'\\nb' Aggregate\\\\n'\\nb' SRAM Correctable + \ : 0\\\\n'\\nb' SRAM Uncorrectable : 0\\\\n'\\nb' + \ DRAM Correctable : 0\\\\n'\\nb' DRAM Uncorrectable + \ : 0\\\\n'\\nb' Retired Pages\\\\n'\\nb' Single Bit ECC + \ : 0\\\\n'\\nb' Double Bit ECC : + 0\\\\n'\\nb' Pending Page Blacklist : No\\\\n'\\nb' Remapped + Rows : N/A\\\\n'\\nb' Temperature\\\\n'\\nb' GPU + Current Temp : 35 C\\\\n'\\nb' GPU T.Limit Temp : + N/A\\\\n'\\nb' GPU Shutdown Temp : 96 C\\\\n'\\nb' GPU + Slowdown Temp : 93 C\\\\n'\\nb' GPU Max Operating Temp + \ : 85 C\\\\n'\\nb' GPU Target Temperature : N/A\\\\n'\\nb' + \ Memory Current Temp : N/A\\\\n'\\nb' Memory Max + Operating Temp : N/A\\\\n'\\nb' Power Readings\\\\n'\\nb' Power + Management : Supported\\\\n'\\nb' Power Draw : + 10.54 W\\\\n'\\nb' Power Limit : 70.00 W\\\\n'\\nb' + \ Default Power Limit : 70.00 W\\\\n'\\nb' Enforced + Power Limit : 70.00 W\\\\n'\\nb' Min Power Limit : + 60.00 W\\\\n'\\nb' Max Power Limit : 70.00 W\\\\n'\\nb' + \ Clocks\\\\n'\\nb' Graphics : 300 MHz\\\\n'\\nb' + \ SM : 300 MHz\\\\n'\\nb' Memory + \ : 405 MHz\\\\n'\\nb' Video : + 540 MHz\\\\n'\\nb' Applications Clocks\\\\n'\\nb' Graphics : + 585 MHz\\\\n'\\nb' Memory : 5001 MHz\\\\n'\\nb' + \ Default Applications Clocks\\\\n'\\nb' Graphics : + 585 MHz\\\\n'\\nb' Memory : 5001 MHz\\\\n'\\nb' + \ Deferred Clocks\\\\n'\\nb' Memory : N/A\\\\n'\\nb' + \ Max Clocks\\\\n'\\nb' Graphics : 1590 MHz\\\\n'\\nb' + \ SM : 1590 MHz\\\\n'\\nb' Memory + \ : 5001 MHz\\\\n'\\nb' Video : + 1470 MHz\\\\n'\\nb' Max Customer Boost Clocks\\\\n'\\nb' Graphics + \ : 1590 MHz\\\\n'\\nb' Clock Policy\\\\n'\\nb' Auto + Boost : N/A\\\\n'\\nb' Auto Boost Default : + N/A\\\\n'\\nb' Voltage\\\\n'\\nb' Graphics : + N/A\\\\n'\\nb' Fabric\\\\n'\\nb' State : + N/A\\\\n'\\nb' Status : N/A\\\\n'\\nb' Processes + \ : None\\\\n'\\n++ echo 'a2a0ccea32023010|2023-07-27--13-01-19'\\n++ + sed -E 's/--[0-9]+$//g'\\n+ ROUTE='a2a0ccea32023010|2023-07-27--13-01-19'\\n+ + SEGMENT_NUM=0\\n+ SEGMENT_ID='a2a0ccea32023010|2023-07-27--13-01-19--0'\\n+ + RENDER_METRIC_SYSTEM=off\\n+ NVIDIA_HARDWARE_RENDERING=on\\n+ NVIDIA_DIRECT_ENCODING=off\\n+ + NVIDIA_HYBRID_ENCODING=on\\n+ NVIDIA_FAST_ENCODING=off\\n+ JWT_AUTH=\\n+ VIDEO_CWD=./shared\\n+ + VIDEO_RAW_OUTPUT=clip_raw.mkv\\n+ VIDEO_OUTPUT=cog-clip.mp4\\n+ TARGET_MB=50\\n+ + TARGET_BYTES=47185920\\n+ TARGET_BITRATE=18874368\\n+ TARGET_BITRATE_PLUS_SMEAR=15099494\\n+ + VNC_PORT=0\\n+ DATA_DIR=/src/shared/data_dir\\n++ echo 'a2a0ccea32023010|2023-07-27--13-01-19'\\n++ + sed 's/|/%7C/g'\\n+ URL_ROUTE=a2a0ccea32023010%7C2023-07-27--13-01-19\\n+ '[' + -n '' ']'\\n++ curl --fail https://api.commadotai.com/v1/route/a2a0ccea32023010%7C2023-07-27--13-01-19/\\n% + Total % Received % Xferd Average Speed Time Time Time Current\\nDload + \ Upload Total Spent Left Speed\\n 0 0 0 0 0 0 0 + \ 0 --:--:-- --:--:-- --:--:-- 0\\n100 1361 100 1361 0 0 4797 + \ 0 --:--:-- --:--:-- --:--:-- 4809\\n+ ROUTE_INFO='{\\\"can\\\":true,\\\"create_time\\\":1690488146,\\\"devicetype\\\":7,\\\"dongle_id\\\":\\\"a2a0ccea32023010\\\",\\\"end_lat\\\":32.7252,\\\"end_lng\\\":-117.162,\\\"fullname\\\":\\\"a2a0ccea32023010|2023-07-27--13-01-19\\\",\\\"git_branch\\\":\\\"release3-staging\\\",\\\"git_commit\\\":\\\"1f77acdc68d28fa5c91fe93af8aab956b7da782b\\\",\\\"git_dirty\\\":false,\\\"git_remote\\\":\\\"https://github.com/commaai/openpilot.git\\\",\\\"hpgps\\\":true,\\\"init_logmonotime\\\":36629898787,\\\"is_public\\\":true,\\\"length\\\":8.02241,\\\"maxcamera\\\":-1,\\\"maxdcamera\\\":-1,\\\"maxecamera\\\":-1,\\\"maxlog\\\":-1,\\\"maxqcamera\\\":12,\\\"maxqlog\\\":12,\\\"passive\\\":false,\\\"platform\\\":\\\"TOYOTA + COROLLA TSS2 2019\\\",\\\"proccamera\\\":-1,\\\"proclog\\\":-1,\\\"procqcamera\\\":12,\\\"procqlog\\\":12,\\\"radar\\\":true,\\\"rating\\\":null,\\\"segment_end_times\\\":[1690488142995,1690488203050,1690488263032,1690488322998,1690488383009,1690488443000,1690488503010,1690488563006,1690488623013,1690488683016,1690488743014,1690488803019,1690488851596],\\\"segment_numbers\\\":[0,1,2,3,4,5,6,7,8,9,10,11,12],\\\"segment_start_times\\\":[1690488081496,1690488143038,1690488203035,1690488263028,1690488323037,1690488383025,1690488443035,1690488503030,1690488563038,1690488623040,1690488683035,1690488743039,1690488803035],\\\"start_lat\\\":32.7363,\\\"start_lng\\\":-117.176,\\\"url\\\":\\\"https://chffrprivate.blob.core.windows.net/chffrprivate3/v2/a2a0ccea32023010/e8d8f1d92f2945750e031414a701cca9_2023-07-27--13-01-19\\\",\\\"user_id\\\":\\\"bd3bc34dbea550c8\\\",\\\"version\\\":\\\"0.9.4-release\\\",\\\"vin\\\":\\\"5YFT4RCE1LP005733\\\"}'\\n++ + echo '{\\\"can\\\":true,\\\"create_time\\\":1690488146,\\\"devicetype\\\":7,\\\"dongle_id\\\":\\\"a2a0ccea32023010\\\",\\\"end_lat\\\":32.7252,\\\"end_lng\\\":-117.162,\\\"fullname\\\":\\\"a2a0ccea32023010|2023-07-27--13-01-19\\\",\\\"git_branch\\\":\\\"release3-staging\\\",\\\"git_commit\\\":\\\"1f77acdc68d28fa5c91fe93af8aab956b7da782b\\\",\\\"git_dirty\\\":false,\\\"git_remote\\\":\\\"https://github.com/commaai/openpilot.git\\\",\\\"hpgps\\\":true,\\\"init_logmonotime\\\":36629898787,\\\"is_public\\\":true,\\\"length\\\":8.02241,\\\"maxcamera\\\":-1,\\\"maxdcamera\\\":-1,\\\"maxecamera\\\":-1,\\\"maxlog\\\":-1,\\\"maxqcamera\\\":12,\\\"maxqlog\\\":12,\\\"passive\\\":false,\\\"platform\\\":\\\"TOYOTA + COROLLA TSS2 2019\\\",\\\"proccamera\\\":-1,\\\"proclog\\\":-1,\\\"procqcamera\\\":12,\\\"procqlog\\\":12,\\\"radar\\\":true,\\\"rating\\\":null,\\\"segment_end_times\\\":[1690488142995,1690488203050,1690488263032,1690488322998,1690488383009,1690488443000,1690488503010,1690488563006,1690488623013,1690488683016,1690488743014,1690488803019,1690488851596],\\\"segment_numbers\\\":[0,1,2,3,4,5,6,7,8,9,10,11,12],\\\"segment_start_times\\\":[1690488081496,1690488143038,1690488203035,1690488263028,1690488323037,1690488383025,1690488443035,1690488503030,1690488563038,1690488623040,1690488683035,1690488743039,1690488803035],\\\"start_lat\\\":32.7363,\\\"start_lng\\\":-117.176,\\\"url\\\":\\\"https://chffrprivate.blob.core.windows.net/chffrprivate3/v2/a2a0ccea32023010/e8d8f1d92f2945750e031414a701cca9_2023-07-27--13-01-19\\\",\\\"user_id\\\":\\\"bd3bc34dbea550c8\\\",\\\"version\\\":\\\"0.9.4-release\\\",\\\"vin\\\":\\\"5YFT4RCE1LP005733\\\"}'\\n++ + jq -r .git_remote\\n+ ROUTE_INFO_GIT_REMOTE=https://github.com/commaai/openpilot.git\\n++ + echo '{\\\"can\\\":true,\\\"create_time\\\":1690488146,\\\"devicetype\\\":7,\\\"dongle_id\\\":\\\"a2a0ccea32023010\\\",\\\"end_lat\\\":32.7252,\\\"end_lng\\\":-117.162,\\\"fullname\\\":\\\"a2a0ccea32023010|2023-07-27--13-01-19\\\",\\\"git_branch\\\":\\\"release3-staging\\\",\\\"git_commit\\\":\\\"1f77acdc68d28fa5c91fe93af8aab956b7da782b\\\",\\\"git_dirty\\\":false,\\\"git_remote\\\":\\\"https://github.com/commaai/openpilot.git\\\",\\\"hpgps\\\":true,\\\"init_logmonotime\\\":36629898787,\\\"is_public\\\":true,\\\"length\\\":8.02241,\\\"maxcamera\\\":-1,\\\"maxdcamera\\\":-1,\\\"maxecamera\\\":-1,\\\"maxlog\\\":-1,\\\"maxqcamera\\\":12,\\\"maxqlog\\\":12,\\\"passive\\\":false,\\\"platform\\\":\\\"TOYOTA + COROLLA TSS2 2019\\\",\\\"proccamera\\\":-1,\\\"proclog\\\":-1,\\\"procqcamera\\\":12,\\\"procqlog\\\":12,\\\"radar\\\":true,\\\"rating\\\":null,\\\"segment_end_times\\\":[1690488142995,1690488203050,1690488263032,1690488322998,1690488383009,1690488443000,1690488503010,1690488563006,1690488623013,1690488683016,1690488743014,1690488803019,1690488851596],\\\"segment_numbers\\\":[0,1,2,3,4,5,6,7,8,9,10,11,12],\\\"segment_start_times\\\":[1690488081496,1690488143038,1690488203035,1690488263028,1690488323037,1690488383025,1690488443035,1690488503030,1690488563038,1690488623040,1690488683035,1690488743039,1690488803035],\\\"start_lat\\\":32.7363,\\\"start_lng\\\":-117.176,\\\"url\\\":\\\"https://chffrprivate.blob.core.windows.net/chffrprivate3/v2/a2a0ccea32023010/e8d8f1d92f2945750e031414a701cca9_2023-07-27--13-01-19\\\",\\\"user_id\\\":\\\"bd3bc34dbea550c8\\\",\\\"version\\\":\\\"0.9.4-release\\\",\\\"vin\\\":\\\"5YFT4RCE1LP005733\\\"}'\\n++ + jq -r .git_branch\\n+ ROUTE_INFO_GIT_BRANCH=release3-staging\\n++ echo '{\\\"can\\\":true,\\\"create_time\\\":1690488146,\\\"devicetype\\\":7,\\\"dongle_id\\\":\\\"a2a0ccea32023010\\\",\\\"end_lat\\\":32.7252,\\\"end_lng\\\":-117.162,\\\"fullname\\\":\\\"a2a0ccea32023010|2023-07-27--13-01-19\\\",\\\"git_branch\\\":\\\"release3-staging\\\",\\\"git_commit\\\":\\\"1f77acdc68d28fa5c91fe93af8aab956b7da782b\\\",\\\"git_dirty\\\":false,\\\"git_remote\\\":\\\"https://github.com/commaai/openpilot.git\\\",\\\"hpgps\\\":true,\\\"init_logmonotime\\\":36629898787,\\\"is_public\\\":true,\\\"length\\\":8.02241,\\\"maxcamera\\\":-1,\\\"maxdcamera\\\":-1,\\\"maxecamera\\\":-1,\\\"maxlog\\\":-1,\\\"maxqcamera\\\":12,\\\"maxqlog\\\":12,\\\"passive\\\":false,\\\"platform\\\":\\\"TOYOTA + COROLLA TSS2 2019\\\",\\\"proccamera\\\":-1,\\\"proclog\\\":-1,\\\"procqcamera\\\":12,\\\"procqlog\\\":12,\\\"radar\\\":true,\\\"rating\\\":null,\\\"segment_end_times\\\":[1690488142995,1690488203050,1690488263032,1690488322998,1690488383009,1690488443000,1690488503010,1690488563006,1690488623013,1690488683016,1690488743014,1690488803019,1690488851596],\\\"segment_numbers\\\":[0,1,2,3,4,5,6,7,8,9,10,11,12],\\\"segment_start_times\\\":[1690488081496,1690488143038,1690488203035,1690488263028,1690488323037,1690488383025,1690488443035,1690488503030,1690488563038,1690488623040,1690488683035,1690488743039,1690488803035],\\\"start_lat\\\":32.7363,\\\"start_lng\\\":-117.176,\\\"url\\\":\\\"https://chffrprivate.blob.core.windows.net/chffrprivate3/v2/a2a0ccea32023010/e8d8f1d92f2945750e031414a701cca9_2023-07-27--13-01-19\\\",\\\"user_id\\\":\\\"bd3bc34dbea550c8\\\",\\\"version\\\":\\\"0.9.4-release\\\",\\\"vin\\\":\\\"5YFT4RCE1LP005733\\\"}'\\n++ + jq -r .git_commit\\n++ cut -c1-8\\n+ ROUTE_INFO_GIT_COMMIT=1f77acdc\\n++ echo + '{\\\"can\\\":true,\\\"create_time\\\":1690488146,\\\"devicetype\\\":7,\\\"dongle_id\\\":\\\"a2a0ccea32023010\\\",\\\"end_lat\\\":32.7252,\\\"end_lng\\\":-117.162,\\\"fullname\\\":\\\"a2a0ccea32023010|2023-07-27--13-01-19\\\",\\\"git_branch\\\":\\\"release3-staging\\\",\\\"git_commit\\\":\\\"1f77acdc68d28fa5c91fe93af8aab956b7da782b\\\",\\\"git_dirty\\\":false,\\\"git_remote\\\":\\\"https://github.com/commaai/openpilot.git\\\",\\\"hpgps\\\":true,\\\"init_logmonotime\\\":36629898787,\\\"is_public\\\":true,\\\"length\\\":8.02241,\\\"maxcamera\\\":-1,\\\"maxdcamera\\\":-1,\\\"maxecamera\\\":-1,\\\"maxlog\\\":-1,\\\"maxqcamera\\\":12,\\\"maxqlog\\\":12,\\\"passive\\\":false,\\\"platform\\\":\\\"TOYOTA + COROLLA TSS2 2019\\\",\\\"proccamera\\\":-1,\\\"proclog\\\":-1,\\\"procqcamera\\\":12,\\\"procqlog\\\":12,\\\"radar\\\":true,\\\"rating\\\":null,\\\"segment_end_times\\\":[1690488142995,1690488203050,1690488263032,1690488322998,1690488383009,1690488443000,1690488503010,1690488563006,1690488623013,1690488683016,1690488743014,1690488803019,1690488851596],\\\"segment_numbers\\\":[0,1,2,3,4,5,6,7,8,9,10,11,12],\\\"segment_start_times\\\":[1690488081496,1690488143038,1690488203035,1690488263028,1690488323037,1690488383025,1690488443035,1690488503030,1690488563038,1690488623040,1690488683035,1690488743039,1690488803035],\\\"start_lat\\\":32.7363,\\\"start_lng\\\":-117.176,\\\"url\\\":\\\"https://chffrprivate.blob.core.windows.net/chffrprivate3/v2/a2a0ccea32023010/e8d8f1d92f2945750e031414a701cca9_2023-07-27--13-01-19\\\",\\\"user_id\\\":\\\"bd3bc34dbea550c8\\\",\\\"version\\\":\\\"0.9.4-release\\\",\\\"vin\\\":\\\"5YFT4RCE1LP005733\\\"}'\\n++ + jq -r .git_dirty\\n+ ROUTE_INFO_GIT_DIRTY=false\\n++ echo '{\\\"can\\\":true,\\\"create_time\\\":1690488146,\\\"devicetype\\\":7,\\\"dongle_id\\\":\\\"a2a0ccea32023010\\\",\\\"end_lat\\\":32.7252,\\\"end_lng\\\":-117.162,\\\"fullname\\\":\\\"a2a0ccea32023010|2023-07-27--13-01-19\\\",\\\"git_branch\\\":\\\"release3-staging\\\",\\\"git_commit\\\":\\\"1f77acdc68d28fa5c91fe93af8aab956b7da782b\\\",\\\"git_dirty\\\":false,\\\"git_remote\\\":\\\"https://github.com/commaai/openpilot.git\\\",\\\"hpgps\\\":true,\\\"init_logmonotime\\\":36629898787,\\\"is_public\\\":true,\\\"length\\\":8.02241,\\\"maxcamera\\\":-1,\\\"maxdcamera\\\":-1,\\\"maxecamera\\\":-1,\\\"maxlog\\\":-1,\\\"maxqcamera\\\":12,\\\"maxqlog\\\":12,\\\"passive\\\":false,\\\"platform\\\":\\\"TOYOTA + COROLLA TSS2 2019\\\",\\\"proccamera\\\":-1,\\\"proclog\\\":-1,\\\"procqcamera\\\":12,\\\"procqlog\\\":12,\\\"radar\\\":true,\\\"rating\\\":null,\\\"segment_end_times\\\":[1690488142995,1690488203050,1690488263032,1690488322998,1690488383009,1690488443000,1690488503010,1690488563006,1690488623013,1690488683016,1690488743014,1690488803019,1690488851596],\\\"segment_numbers\\\":[0,1,2,3,4,5,6,7,8,9,10,11,12],\\\"segment_start_times\\\":[1690488081496,1690488143038,1690488203035,1690488263028,1690488323037,1690488383025,1690488443035,1690488503030,1690488563038,1690488623040,1690488683035,1690488743039,1690488803035],\\\"start_lat\\\":32.7363,\\\"start_lng\\\":-117.176,\\\"url\\\":\\\"https://chffrprivate.blob.core.windows.net/chffrprivate3/v2/a2a0ccea32023010/e8d8f1d92f2945750e031414a701cca9_2023-07-27--13-01-19\\\",\\\"user_id\\\":\\\"bd3bc34dbea550c8\\\",\\\"version\\\":\\\"0.9.4-release\\\",\\\"vin\\\":\\\"5YFT4RCE1LP005733\\\"}'\\n++ + jq -r .platform\\n+ ROUTE_INFO_PLATFORM='TOYOTA COROLLA TSS2 2019'\\n+ SPEEDHACK_AMOUNT=1.0\\n++ + echo '(1.0 * 20)/1'\\n++ bc\\n+ RECORD_FRAMERATE=20\\n+ pushd /home/batman/openpilot\\nb'/home/batman/openpilot + /src\\\\n'\\n+ '[' -n '' ']'\\n+ UI_SERVICES=modelV2,controlsState,liveCalibration,radarState,deviceState,roadCameraState,pandaStates,carParams,driverMonitoringState,carState,liveLocationKalman,driverStateV2,wideRoadCameraState,managerState,navInstruction,navRoute,uiPlan\\n+ + HIGH_FREQ_SERVICES=modelV2,controlsState,carState,uiPlan\\n+ pushd /var/tmp\\n+ + rm -rf '/dev/shm/op/*'\\nb'/var/tmp /home/batman/openpilot /src\\\\n'\\n+ mkdir + -p /dev/shm/op\\n+ ln -s /dev/shm/op/visionipc_camerad_0 visionipc_camerad_0\\n+ + ln -s /dev/shm/op/visionipc_camerad_2 visionipc_camerad_2\\n+ for service in + ${HIGH_FREQ_SERVICES//,/ }\\n+ ln -s /dev/shm/op/modelV2 modelV2\\n+ for service + in ${HIGH_FREQ_SERVICES//,/ }\\n+ ln -s /dev/shm/op/controlsState controlsState\\n+ + for service in ${HIGH_FREQ_SERVICES//,/ }\\n+ ln -s /dev/shm/op/carState carState\\n+ + for service in ${HIGH_FREQ_SERVICES//,/ }\\n+ ln -s /dev/shm/op/uiPlan uiPlan\\n+ + popd\\n+ '[' on = on ']'\\nb'/home/batman/openpilot /src\\\\n'\\n++ nvidia-xconfig + --query-gpu-info\\n++ grep -i Name\\n++ awk -F ': ' '{print $2}'\\n+ GPU_BOARD='Tesla + T4'\\n++ nvidia-xconfig --query-gpu-info\\n++ grep BusID\\n++ awk '{print $4}'\\n+ + GPU_PCI=PCI:0:5:0\\n+ mkdir -p /etc/X11\\n+ cat\\n+ tmux new-session -d -s clipper + -n x11 'Xorg -noreset +extension GLX +extension RANDR +extension RENDER -logfile + /tmp/xserver.log -logverbose 0 vt1 :0'\\n+ '[' -n /src/shared/data_dir ']'\\n+ + REPLAY_CMD='./tools/replay/replay --ecam --start \\\"45\\\" --data_dir \\\"/src/shared/data_dir\\\" + \\\"a2a0ccea32023010|2023-07-27--13-01-19\\\"'\\n+ tmux new-window -n replay + -t clipper: 'TERM=xterm-256color eatmydata faketime -m -f \\\"+0 x1.0\\\" ./tools/replay/replay + --ecam --start \\\"45\\\" --data_dir \\\"/src/shared/data_dir\\\" \\\"a2a0ccea32023010|2023-07-27--13-01-19\\\"'\\n+ + tmux new-window -n ui -t clipper: 'eatmydata faketime -m -f \\\"+0 x1.0\\\" + ./selfdrive/ui/ui'\\n+ '[' -z /src/shared/data_dir ']'\\n+ tmux send-keys -t + clipper:replay Enter 45 Enter\\n+ tmux send-keys -t clipper:replay Space\\n+ + sleep 1\\n+ tmux send-keys -t clipper:replay Space\\n+ popd\\n+ '[' off = on + ']'\\n+ DISPLAYED_SEGMENT_ID='a2a0ccea32023010|2023-07-27--13-01-19--0'\\n+ + CLIP_DESC='Segment ID: a2a0ccea32023010|2023-07-27--13-01-19--0, Starting Second: + 50, Clip Length: 20, https://github.com/commaai/openpilot.git, release3-staging, + 1f77acdc, Dirty: false, TOYOTA COROLLA TSS2 2019'\\n+ echo -n 'Segment ID: a2a0ccea32023010|2023-07-27--13-01-19--0, + Starting Second: 50, Clip Length: 20, https://github.com/commaai/openpilot.git, + release3-staging, 1f77acdc, Dirty: false, TOYOTA COROLLA TSS2 2019'\\n+ mkdir + -p ./shared\\nb'/src\\\\n'\\n+ pushd ./shared\\nb'/src/shared /src\\\\n'\\n+ + mkdir -p /root/.comma/params/d/\\n+ '[' off = on ']'\\n+ echo -n 0\\n+ DRAW_TEXT_FILTER='drawtext=textfile=/tmp/overlay.txt:reload=1:fontcolor=white:fontsize=14:box=1:boxcolor=black@0.5:boxborderw=5:x=(w-text_w)/2:y=10'\\n+ + '[' off = on ']'\\n+ '[' on = on ']'\\n+ eatmydata ffmpeg -framerate 20 -video_size + 1920x1080 -f x11grab -draw_mouse 0 -i :0.0 -vcodec h264_nvenc -preset llhp -b:v + 18874368 -maxrate 18874368 -g 20 -r 20 -filter:v 'setpts=1.0*PTS,scale=1920:1080,drawtext=textfile=/tmp/overlay.txt:reload=1:fontcolor=white:fontsize=14:box=1:boxcolor=black@0.5:boxborderw=5:x=(w-text_w)/2:y=10' + -y -t 25 clip_raw.mkv\\nffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) + 2000-2021 the FFmpeg developers\\nbuilt with gcc 11 (Ubuntu 11.2.0-19ubuntu1)\\nconfiguration: + --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu + --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping + --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray + --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d + --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi + --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa + --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse + --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy + --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora + --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp + --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq + --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl + --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 + --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 + --enable-shared\\nlibavutil 56. 70.100 / 56. 70.100\\nlibavcodec 58.134.100 + / 58.134.100\\nlibavformat 58. 76.100 / 58. 76.100\\nlibavdevice 58. 13.100 + / 58. 13.100\\nlibavfilter 7.110.100 / 7.110.100\\nlibswscale 5. 9.100 + / 5. 9.100\\nlibswresample 3. 9.100 / 3. 9.100\\nlibpostproc 55. 9.100 + / 55. 9.100\\n[x11grab @ 0x57b31586e080] Stream #0: not enough frames to estimate + rate; consider increasing probesize\\nInput #0, x11grab, from ':0.0':\\nDuration: + N/A, start: 1695654569.047985, bitrate: 1327104 kb/s\\nStream #0:0: Video: rawvideo + (BGR[0] / 0x524742), bgr0, 1920x1080, 1327104 kb/s, 20 fps, 1000k tbr, 1000k + tbn, 1000k tbc\\nStream mapping:\\nStream #0:0 -> #0:0 (rawvideo (native) -> + h264 (h264_nvenc))\\nPress [q] to stop, [?] for help\\n[Parsed_drawtext_2 @ + 0x57b31589afc0] Using \\\"/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf\\\"\\n[h264_nvenc + @ 0x57b31587a000] The selected preset is deprecated. Use p1 to p7 + -tune or + fast/medium/slow.\\nOutput #0, matroska, to 'clip_raw.mkv':\\nMetadata:\\nencoder + \ : Lavf58.76.100\\nStream #0:0: Video: h264 (Main) (H264 / 0x34363248), + bgr0(progressive), 1920x1080, q=2-31, 18874 kb/s, 20 fps, 1k tbn\\nMetadata:\\nencoder + \ : Lavc58.134.100 h264_nvenc\\nSide data:\\ncpb: bitrate max/min/avg: + 18874368/0/18874368 buffer size: 37748736 vbv_delay: N/A\\nframe= 1 fps=0.0 + q=0.0 size= 1kB time=00:00:00.00 bitrate=N/A speed=N/A\\nframe= 2 fps=0.0 + q=0.0 size= 1kB time=00:00:00.00 bitrate=N/A speed= 0x\\nframe= 14 + fps= 11 q=9.0 size= 1kB time=00:00:01.20 bitrate= 4.1kbits/s dup=0 drop=12 + speed=0.929x\\nframe= 26 fps= 14 q=9.0 size= 512kB time=00:00:01.80 bitrate=2328.9kbits/s + dup=0 drop=12 speed= 1x\\nframe= 37 fps= 16 q=11.0 size= 512kB time=00:00:02.35 + bitrate=1784.1kbits/s dup=0 drop=12 speed= 1x\\nframe= 48 fps= 17 q=11.0 + size= 2816kB time=00:00:02.90 bitrate=7952.0kbits/s dup=0 drop=12 speed= + \ 1x\\nframe= 59 fps= 17 q=11.0 size= 2816kB time=00:00:03.45 bitrate=6684.6kbits/s + dup=0 drop=12 speed= 1x\\nframe= 70 fps= 18 q=10.0 size= 4864kB time=00:00:04.00 + bitrate=9959.0kbits/s dup=0 drop=12 speed= 1x\\nframe= 81 fps= 18 q=10.0 + size= 4864kB time=00:00:04.55 bitrate=8755.4kbits/s dup=0 drop=12 speed= + \ 1x\\nframe= 92 fps= 18 q=10.0 size= 6400kB time=00:00:05.10 bitrate=10278.1kbits/s + dup=0 drop=12 speed= 1x\\nframe= 103 fps= 18 q=10.0 size= 8192kB time=00:00:05.65 + bitrate=11875.6kbits/s dup=0 drop=12 speed= 1x\\nframe= 113 fps= 18 q=10.0 + size= 8192kB time=00:00:06.15 bitrate=10910.2kbits/s dup=0 drop=12 speed= + \ 1x\\nframe= 123 fps= 19 q=10.0 size= 10240kB time=00:00:06.65 bitrate=12612.6kbits/s + dup=0 drop=12 speed= 1x\\nframe= 134 fps= 19 q=10.0 size= 10240kB time=00:00:07.20 + bitrate=11649.2kbits/s dup=0 drop=12 speed= 1x\\nframe= 144 fps= 19 q=10.0 + size= 11776kB time=00:00:07.70 bitrate=12526.8kbits/s dup=0 drop=12 speed= + \ 1x\\nframe= 155 fps= 19 q=10.0 size= 11776kB time=00:00:08.25 bitrate=11691.8kbits/s + dup=0 drop=12 speed= 1x\\nframe= 165 fps= 19 q=10.0 size= 13568kB time=00:00:08.75 + bitrate=12701.3kbits/s dup=0 drop=12 speed= 1x\\nframe= 175 fps= 19 q=10.0 + size= 13568kB time=00:00:09.25 bitrate=12014.8kbits/s dup=0 drop=12 speed= + \ 1x\\nframe= 186 fps= 19 q=10.0 size= 15616kB time=00:00:09.80 bitrate=13052.4kbits/s + dup=0 drop=12 speed= 1x\\nframe= 196 fps= 19 q=11.0 size= 15616kB time=00:00:10.30 + bitrate=12418.8kbits/s dup=0 drop=12 speed= 1x\\nframe= 206 fps= 19 q=11.0 + size= 17408kB time=00:00:10.80 bitrate=13203.1kbits/s dup=0 drop=12 speed= + \ 1x\\nframe= 217 fps= 19 q=11.0 size= 17408kB time=00:00:11.35 bitrate=12563.3kbits/s + dup=0 drop=12 speed= 1x\\nframe= 228 fps= 19 q=11.0 size= 19712kB time=00:00:11.90 + bitrate=13568.7kbits/s dup=0 drop=12 speed= 1x\\nframe= 239 fps= 19 q=11.0 + size= 19712kB time=00:00:12.45 bitrate=12969.3kbits/s dup=0 drop=12 speed= + \ 1x\\nframe= 249 fps= 19 q=11.0 size= 21760kB time=00:00:12.95 bitrate=13764.0kbits/s + dup=0 drop=12 speed= 1x\\nframe= 259 fps= 19 q=11.0 size= 21760kB time=00:00:13.45 + bitrate=13252.4kbits/s dup=0 drop=12 speed= 1x\\nframe= 269 fps= 19 q=11.0 + size= 23808kB time=00:00:13.95 bitrate=13980.0kbits/s dup=0 drop=12 speed= + \ 1x\\nframe= 279 fps= 19 q=11.0 size= 23808kB time=00:00:14.45 bitrate=13496.3kbits/s + dup=0 drop=12 speed= 1x\\nframe= 290 fps= 19 q=11.0 size= 26112kB time=00:00:15.00 + bitrate=14259.7kbits/s dup=0 drop=12 speed= 1x\\nframe= 300 fps= 19 q=11.0 + size= 26112kB time=00:00:15.50 bitrate=13799.7kbits/s dup=0 drop=12 speed= + \ 1x\\nframe= 310 fps= 19 q=11.0 size= 28160kB time=00:00:16.00 bitrate=14417.0kbits/s + dup=0 drop=12 speed= 1x\\nframe= 321 fps= 19 q=11.0 size= 28160kB time=00:00:16.55 + bitrate=13937.9kbits/s dup=0 drop=12 speed= 1x\\nframe= 331 fps= 19 q=11.0 + size= 30208kB time=00:00:17.05 bitrate=14513.2kbits/s dup=0 drop=12 speed= + \ 1x\\nframe= 341 fps= 19 q=11.0 size= 30208kB time=00:00:17.55 bitrate=14099.7kbits/s + dup=0 drop=12 speed= 1x\\nframe= 352 fps= 19 q=11.0 size= 32000kB time=00:00:18.10 + bitrate=14482.3kbits/s dup=0 drop=12 speed= 1x\\nframe= 362 fps= 19 q=11.0 + size= 32000kB time=00:00:18.60 bitrate=14093.0kbits/s dup=0 drop=12 speed= + \ 1x\\nframe= 372 fps= 19 q=11.0 size= 34048kB time=00:00:19.10 bitrate=14602.4kbits/s + dup=0 drop=12 speed= 1x\\nframe= 383 fps= 19 q=10.0 size= 36096kB time=00:00:19.65 + bitrate=15047.5kbits/s dup=0 drop=12 speed= 1x\\nframe= 393 fps= 20 q=11.0 + size= 36096kB time=00:00:20.15 bitrate=14674.1kbits/s dup=0 drop=12 speed= + \ 1x\\nframe= 404 fps= 20 q=12.0 size= 38144kB time=00:00:20.70 bitrate=15094.7kbits/s + dup=0 drop=12 speed= 1x\\nframe= 415 fps= 20 q=11.0 size= 38144kB time=00:00:21.25 + bitrate=14704.0kbits/s dup=0 drop=12 speed= 1x\\nframe= 425 fps= 20 q=11.0 + size= 40192kB time=00:00:21.75 bitrate=15137.4kbits/s dup=0 drop=12 speed= + \ 1x\\nframe= 436 fps= 20 q=11.0 size= 40192kB time=00:00:22.30 bitrate=14764.0kbits/s + dup=0 drop=12 speed= 1x\\nframe= 447 fps= 20 q=11.0 size= 42240kB time=00:00:22.85 + bitrate=15142.9kbits/s dup=0 drop=12 speed= 1x\\nframe= 457 fps= 20 q=11.0 + size= 42240kB time=00:00:23.35 bitrate=14818.6kbits/s dup=0 drop=12 speed= + \ 1x\\nframe= 468 fps= 20 q=11.0 size= 44288kB time=00:00:23.90 bitrate=15179.6kbits/s + dup=0 drop=12 speed= 1x\\nframe= 479 fps= 20 q=11.0 size= 44288kB time=00:00:24.45 + bitrate=14838.1kbits/s dup=0 drop=12 speed= 1x\\nframe= 487 fps= 20 q=11.0 + Lsize= 47284kB time=00:00:24.95 bitrate=15524.5kbits/s dup=0 drop=12 speed= + \ 1x\\nvideo:47279kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB + muxing overhead: 0.011206%\\n+ cleanup\\n+ tmux list-panes -s -t clipper -F + '#{pane_pid} #{pane_current_command}'\\n+ grep -v tmux\\n+ awk '{print $1}'\\n+ + xargs kill -9\\n+ ffmpeg -y -ss 5 -i clip_raw.mkv -vcodec copy -movflags +faststart + -f MP4 cog-clip.mp4\\nffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 + the FFmpeg developers\\nbuilt with gcc 11 (Ubuntu 11.2.0-19ubuntu1)\\nconfiguration: + --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu + --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping + --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray + --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d + --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi + --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa + --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse + --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy + --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora + --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp + --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq + --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl + --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 + --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 + --enable-shared\\nlibavutil 56. 70.100 / 56. 70.100\\nlibavcodec 58.134.100 + / 58.134.100\\nlibavformat 58. 76.100 / 58. 76.100\\nlibavdevice 58. 13.100 + / 58. 13.100\\nlibavfilter 7.110.100 / 7.110.100\\nlibswscale 5. 9.100 + / 5. 9.100\\nlibswresample 3. 9.100 / 3. 9.100\\nlibpostproc 55. 9.100 + / 55. 9.100\\nInput #0, matroska,webm, from 'clip_raw.mkv':\\nMetadata:\\nENCODER + \ : Lavf58.76.100\\nDuration: 00:00:25.00, start: 0.000000, bitrate: + 15494 kb/s\\nStream #0:0: Video: h264 (Main), yuv420p(progressive), 1920x1080 + [SAR 1:1 DAR 16:9], 20 fps, 20 tbr, 1k tbn, 40 tbc (default)\\nMetadata:\\nENCODER + \ : Lavc58.134.100 h264_nvenc\\nDURATION : 00:00:25.000000000\\nOutput + #0, mp4, to 'cog-clip.mp4':\\nMetadata:\\nencoder : Lavf58.76.100\\nStream + #0:0: Video: h264 (Main) (avc1 / 0x31637661), yuv420p(progressive), 1920x1080 + [SAR 1:1 DAR 16:9], q=2-31, 20 fps, 20 tbr, 16k tbn, 1k tbc (default)\\nMetadata:\\nENCODER + \ : Lavc58.134.100 h264_nvenc\\nDURATION : 00:00:25.000000000\\nStream + mapping:\\nStream #0:0 -> #0:0 (copy)\\nPress [q] to stop, [?] for help\\nframe= + \ 1 fps=0.0 q=-1.0 size= 0kB time=-00:00:00.34 bitrate=N/A speed=N/A\\n[mp4 + @ 0x57851bb6ba00] Starting second pass: moving the moov atom to the beginning + of the file\\nframe= 407 fps=0.0 q=-1.0 Lsize= 40665kB time=00:00:19.95 bitrate=16698.2kbits/s + speed= 245x\\nvideo:40662kB audio:0kB subtitle:0kB other streams:0kB global + headers:0kB muxing overhead: 0.007640%\\n+ ctrl_c\\n+ cleanup\\n+ tmux list-panes + -s -t clipper -F '#{pane_pid} #{pane_current_command}'\\n+ grep -v tmux\\n+ + awk '{print $1}'\\n+ xargs kill -9\\nno server running on /tmp/tmux-0/default\\nUsage:\\nkill + [options] [...]\\nOptions:\\n [...] send signal to every + listed\\n-, -s, --signal \\nspecify the to be + sent\\n-q, --queue integer value to be sent with the signal\\n-l, + --list=[] list all signal names, or convert one to a name\\n-L, --table + \ list all signal names in a nice table\\n-h, --help display this + help and exit\\n-V, --version output version information and exit\\nFor more + details see kill(1).\\n+ true\\n+ pkill -P 303\\n+ true\\n+ RENDER_COMPLETE_MESSAGE='Finished + rendering a2a0ccea32023010|2023-07-27--13-01-19--0 to cog-clip.mp4.'\\n+ '[' + '!' -z '' ']'\\n+ echo -e 'Finished rendering a2a0ccea32023010|2023-07-27--13-01-19--0 + to cog-clip.mp4.\\\\n' 'Please remember to include the segment ID if posting + for comma to look at!\\\\n' '`a2a0ccea32023010|2023-07-27--13-01-19--0`'\\nb'Finished + rendering a2a0ccea32023010|2023-07-27--13-01-19--0 to cog-clip.mp4.\\\\n'\\nb' + Please remember to include the segment ID if posting for comma to look at!\\\\n'\\nb' + `a2a0ccea32023010|2023-07-27--13-01-19--0`\\\\n'\",\"metrics\":{\"predict_time\":37.942858},\"output\":\"https://replicate.delivery/pbxt/hvHx11hdiZZwGJqgeJ2ooi5PmgByf2hhpjI6iAv947fEmqPjA/cog-clip.mp4\",\"started_at\":\"2023-09-25T15:09:17.589489Z\",\"status\":\"succeeded\",\"urls\":{\"get\":\"https://api.replicate.com/v1/predictions/zjop44zbc3u4yvj5klabxyuaau\",\"cancel\":\"https://api.replicate.com/v1/predictions/zjop44zbc3u4yvj5klabxyuaau/cancel\"},\"version\":\"a12dfdb89c9cdb3f88de90467fe55f48bb5a284a624feaccd261c5d0045dabf8\",\"webhook_completed\":null},\"latest_version\":{\"id\":\"d60970d8bbc6c4b3248850b76b3afdcf82512201ca0daf8cb98c2e91e067a5f1\",\"created_at\":\"2023-10-03T00:44:24.673323Z\",\"cog_version\":\"v0.8.6+dev\",\"openapi_schema\":{\"info\":{\"title\":\"Cog\",\"version\":\"0.1.0\"},\"paths\":{\"/\":{\"get\":{\"summary\":\"Root\",\"responses\":{\"200\":{\"content\":{\"application/json\":{\"schema\":{\"title\":\"Response + Root Get\"}}},\"description\":\"Successful Response\"}},\"operationId\":\"root__get\"}},\"/shutdown\":{\"post\":{\"summary\":\"Start + Shutdown\",\"responses\":{\"200\":{\"content\":{\"application/json\":{\"schema\":{\"title\":\"Response + Start Shutdown Shutdown Post\"}}},\"description\":\"Successful Response\"}},\"operationId\":\"start_shutdown_shutdown_post\"}},\"/predictions\":{\"post\":{\"summary\":\"Predict\",\"responses\":{\"200\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/PredictionResponse\"}}},\"description\":\"Successful + Response\"},\"422\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/HTTPValidationError\"}}},\"description\":\"Validation + Error\"}},\"parameters\":[{\"in\":\"header\",\"name\":\"prefer\",\"schema\":{\"type\":\"string\",\"title\":\"Prefer\"},\"required\":false}],\"description\":\"Run + a single prediction on the model\",\"operationId\":\"predict_predictions_post\",\"requestBody\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/PredictionRequest\"}}}}}},\"/health-check\":{\"get\":{\"summary\":\"Healthcheck\",\"responses\":{\"200\":{\"content\":{\"application/json\":{\"schema\":{\"title\":\"Response + Healthcheck Health Check Get\"}}},\"description\":\"Successful Response\"}},\"operationId\":\"healthcheck_health_check_get\"}},\"/predictions/{prediction_id}\":{\"put\":{\"summary\":\"Predict + Idempotent\",\"responses\":{\"200\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/PredictionResponse\"}}},\"description\":\"Successful + Response\"},\"422\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/HTTPValidationError\"}}},\"description\":\"Validation + Error\"}},\"parameters\":[{\"in\":\"path\",\"name\":\"prediction_id\",\"schema\":{\"type\":\"string\",\"title\":\"Prediction + ID\"},\"required\":true},{\"in\":\"header\",\"name\":\"prefer\",\"schema\":{\"type\":\"string\",\"title\":\"Prefer\"},\"required\":false}],\"description\":\"Run + a single prediction on the model (idempotent creation).\",\"operationId\":\"predict_idempotent_predictions__prediction_id__put\",\"requestBody\":{\"content\":{\"application/json\":{\"schema\":{\"allOf\":[{\"$ref\":\"#/components/schemas/PredictionRequest\"}],\"title\":\"Prediction + Request\"}}},\"required\":true}}},\"/predictions/{prediction_id}/cancel\":{\"post\":{\"summary\":\"Cancel\",\"responses\":{\"200\":{\"content\":{\"application/json\":{\"schema\":{\"title\":\"Response + Cancel Predictions Prediction Id Cancel Post\"}}},\"description\":\"Successful + Response\"},\"422\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/HTTPValidationError\"}}},\"description\":\"Validation + Error\"}},\"parameters\":[{\"in\":\"path\",\"name\":\"prediction_id\",\"schema\":{\"type\":\"string\",\"title\":\"Prediction + ID\"},\"required\":true}],\"description\":\"Cancel a running prediction\",\"operationId\":\"cancel_predictions__prediction_id__cancel_post\"}}},\"openapi\":\"3.0.2\",\"components\":{\"schemas\":{\"Input\":{\"type\":\"object\",\"title\":\"Input\",\"properties\":{\"notes\":{\"type\":\"string\",\"title\":\"Notes\",\"default\":\"\",\"x-order\":7,\"description\":\"Notes + Text field. Doesn't affect output. For your own reference.\"},\"route\":{\"type\":\"string\",\"title\":\"Route\",\"default\":\"a2a0ccea32023010|2023-07-27--13-01-19\",\"x-order\":0,\"description\":\"Route + ID (w/ Segment Number OK but the segment number will be ignored in favor of + start seconds) (\u26A0\uFE0F ROUTE MUST BE PUBLIC! You can set this temporarily + in Connect.) (\u26A0\uFE0F Ensure all data from forward and wide cameras and + \\\"Logs\\\" to be rendered have been uploaded; See README for more info)\"},\"metric\":{\"type\":\"boolean\",\"title\":\"Metric\",\"default\":false,\"x-order\":6,\"description\":\"Render + in metric units (km/h)\"},\"fileSize\":{\"type\":\"integer\",\"title\":\"Filesize\",\"default\":50,\"maximum\":50,\"minimum\":25,\"x-order\":5,\"description\":\"Rough + size of clip in MB.\"},\"smearAmount\":{\"type\":\"integer\",\"title\":\"Smearamount\",\"default\":5,\"maximum\":40,\"minimum\":5,\"x-order\":3,\"description\":\"Smear + amount (Let the video start this time before beginning recording, useful for + making sure the radar \u25B3, if present, is rendered at the start if necessary)\"},\"startSeconds\":{\"type\":\"integer\",\"title\":\"Startseconds\",\"default\":50,\"minimum\":0,\"x-order\":1,\"description\":\"Start + time in seconds\"},\"lengthSeconds\":{\"type\":\"integer\",\"title\":\"Lengthseconds\",\"default\":20,\"maximum\":60,\"minimum\":5,\"x-order\":2,\"description\":\"Length + of clip in seconds\"},\"speedhackRatio\":{\"type\":\"number\",\"title\":\"Speedhackratio\",\"default\":1,\"maximum\":7,\"minimum\":0.3,\"x-order\":4,\"description\":\"Speedhack + ratio (Higher ratio renders faster but renders may be more unstable and have + artifacts) (Suggestion: 0.3-0.5 for jitter-free, 1-3 for fast renders, 4+ for + buggy territory)\"}}},\"Output\":{\"type\":\"string\",\"title\":\"Output\",\"format\":\"uri\"},\"Status\":{\"enum\":[\"starting\",\"processing\",\"succeeded\",\"canceled\",\"failed\"],\"type\":\"string\",\"title\":\"Status\",\"description\":\"An + enumeration.\"},\"WebhookEvent\":{\"enum\":[\"start\",\"output\",\"logs\",\"completed\"],\"type\":\"string\",\"title\":\"WebhookEvent\",\"description\":\"An + enumeration.\"},\"ValidationError\":{\"type\":\"object\",\"title\":\"ValidationError\",\"required\":[\"loc\",\"msg\",\"type\"],\"properties\":{\"loc\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"integer\"}]},\"title\":\"Location\"},\"msg\":{\"type\":\"string\",\"title\":\"Message\"},\"type\":{\"type\":\"string\",\"title\":\"Error + Type\"}}},\"PredictionRequest\":{\"type\":\"object\",\"title\":\"PredictionRequest\",\"properties\":{\"id\":{\"type\":\"string\",\"title\":\"Id\"},\"input\":{\"$ref\":\"#/components/schemas/Input\"},\"webhook\":{\"type\":\"string\",\"title\":\"Webhook\",\"format\":\"uri\",\"maxLength\":65536,\"minLength\":1},\"created_at\":{\"type\":\"string\",\"title\":\"Created + At\",\"format\":\"date-time\"},\"output_file_prefix\":{\"type\":\"string\",\"title\":\"Output + File Prefix\"},\"webhook_events_filter\":{\"type\":\"array\",\"items\":{\"$ref\":\"#/components/schemas/WebhookEvent\"},\"default\":[\"start\",\"output\",\"logs\",\"completed\"]}}},\"PredictionResponse\":{\"type\":\"object\",\"title\":\"PredictionResponse\",\"properties\":{\"id\":{\"type\":\"string\",\"title\":\"Id\"},\"logs\":{\"type\":\"string\",\"title\":\"Logs\",\"default\":\"\"},\"error\":{\"type\":\"string\",\"title\":\"Error\"},\"input\":{\"$ref\":\"#/components/schemas/Input\"},\"output\":{\"$ref\":\"#/components/schemas/Output\"},\"status\":{\"$ref\":\"#/components/schemas/Status\"},\"metrics\":{\"type\":\"object\",\"title\":\"Metrics\"},\"version\":{\"type\":\"string\",\"title\":\"Version\"},\"created_at\":{\"type\":\"string\",\"title\":\"Created + At\",\"format\":\"date-time\"},\"started_at\":{\"type\":\"string\",\"title\":\"Started + At\",\"format\":\"date-time\"},\"completed_at\":{\"type\":\"string\",\"title\":\"Completed + At\",\"format\":\"date-time\"}}},\"HTTPValidationError\":{\"type\":\"object\",\"title\":\"HTTPValidationError\",\"properties\":{\"detail\":{\"type\":\"array\",\"items\":{\"$ref\":\"#/components/schemas/ValidationError\"},\"title\":\"Detail\"}}}}}}}},{\"url\":\"https://replicate.com/andreasjansson/blip-2\",\"owner\":\"andreasjansson\",\"name\":\"blip-2\",\"description\":\"Answers + questions about images\",\"visibility\":\"public\",\"github_url\":\"https://github.com/daanelson/cog-blip-2\",\"paper_url\":\"https://arxiv.org/abs/2301.12597\",\"license_url\":null,\"run_count\":9251652,\"cover_image_url\":\"https://replicate.delivery/pbxt/IJEPmgAlL2zNBNDoRRKFegTEcxnlRhoQxlNjPHSZEy0pSIKn/gg_bridge.jpeg\",\"default_example\":{\"completed_at\":\"2023-02-13T22:26:49.396028Z\",\"created_at\":\"2023-02-13T22:26:48.385476Z\",\"error\":null,\"id\":\"uhd4lhedtvdlbnm2cyhzx65zpe\",\"input\":{\"image\":\"https://replicate.delivery/pbxt/IJEPmgAlL2zNBNDoRRKFegTEcxnlRhoQxlNjPHSZEy0pSIKn/gg_bridge.jpeg\",\"caption\":false,\"question\":\"what + body of water does this bridge cross?\",\"temperature\":1},\"logs\":\"input + for question answering: Question: what body of water does this bridge cross? + Answer:\",\"metrics\":{\"predict_time\":0.949567},\"output\":\"san francisco + bay\",\"started_at\":\"2023-02-13T22:26:48.446461Z\",\"status\":\"succeeded\",\"urls\":{\"get\":\"https://api.replicate.com/v1/predictions/uhd4lhedtvdlbnm2cyhzx65zpe\",\"cancel\":\"https://api.replicate.com/v1/predictions/uhd4lhedtvdlbnm2cyhzx65zpe/cancel\"},\"version\":\"4b32258c42e9efd4288bb9910bc532a69727f9acd26aa08e175713a0a857a608\",\"webhook_completed\":null},\"latest_version\":{\"id\":\"9109553e37d266369f2750e407ab95649c63eb8e13f13b1f3983ff0feb2f9ef7\",\"created_at\":\"2023-10-02T19:11:38.354691Z\",\"cog_version\":\"0.8.3\",\"openapi_schema\":{\"info\":{\"title\":\"Cog\",\"version\":\"0.1.0\"},\"paths\":{\"/\":{\"get\":{\"summary\":\"Root\",\"responses\":{\"200\":{\"content\":{\"application/json\":{\"schema\":{\"title\":\"Response + Root Get\"}}},\"description\":\"Successful Response\"}},\"operationId\":\"root__get\"}},\"/shutdown\":{\"post\":{\"summary\":\"Start + Shutdown\",\"responses\":{\"200\":{\"content\":{\"application/json\":{\"schema\":{\"title\":\"Response + Start Shutdown Shutdown Post\"}}},\"description\":\"Successful Response\"}},\"operationId\":\"start_shutdown_shutdown_post\"}},\"/predictions\":{\"post\":{\"summary\":\"Predict\",\"responses\":{\"200\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/PredictionResponse\"}}},\"description\":\"Successful + Response\"},\"422\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/HTTPValidationError\"}}},\"description\":\"Validation + Error\"}},\"parameters\":[{\"in\":\"header\",\"name\":\"prefer\",\"schema\":{\"type\":\"string\",\"title\":\"Prefer\"},\"required\":false}],\"description\":\"Run + a single prediction on the model\",\"operationId\":\"predict_predictions_post\",\"requestBody\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/PredictionRequest\"}}}}}},\"/health-check\":{\"get\":{\"summary\":\"Healthcheck\",\"responses\":{\"200\":{\"content\":{\"application/json\":{\"schema\":{\"title\":\"Response + Healthcheck Health Check Get\"}}},\"description\":\"Successful Response\"}},\"operationId\":\"healthcheck_health_check_get\"}},\"/predictions/{prediction_id}\":{\"put\":{\"summary\":\"Predict + Idempotent\",\"responses\":{\"200\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/PredictionResponse\"}}},\"description\":\"Successful + Response\"},\"422\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/HTTPValidationError\"}}},\"description\":\"Validation + Error\"}},\"parameters\":[{\"in\":\"path\",\"name\":\"prediction_id\",\"schema\":{\"type\":\"string\",\"title\":\"Prediction + ID\"},\"required\":true},{\"in\":\"header\",\"name\":\"prefer\",\"schema\":{\"type\":\"string\",\"title\":\"Prefer\"},\"required\":false}],\"description\":\"Run + a single prediction on the model (idempotent creation).\",\"operationId\":\"predict_idempotent_predictions__prediction_id__put\",\"requestBody\":{\"content\":{\"application/json\":{\"schema\":{\"allOf\":[{\"$ref\":\"#/components/schemas/PredictionRequest\"}],\"title\":\"Prediction + Request\"}}},\"required\":true}}},\"/predictions/{prediction_id}/cancel\":{\"post\":{\"summary\":\"Cancel\",\"responses\":{\"200\":{\"content\":{\"application/json\":{\"schema\":{\"title\":\"Response + Cancel Predictions Prediction Id Cancel Post\"}}},\"description\":\"Successful + Response\"},\"422\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/HTTPValidationError\"}}},\"description\":\"Validation + Error\"}},\"parameters\":[{\"in\":\"path\",\"name\":\"prediction_id\",\"schema\":{\"type\":\"string\",\"title\":\"Prediction + ID\"},\"required\":true}],\"description\":\"Cancel a running prediction\",\"operationId\":\"cancel_predictions__prediction_id__cancel_post\"}}},\"openapi\":\"3.0.2\",\"components\":{\"schemas\":{\"Input\":{\"type\":\"object\",\"title\":\"Input\",\"required\":[\"image\"],\"properties\":{\"image\":{\"type\":\"string\",\"title\":\"Image\",\"format\":\"uri\",\"x-order\":0,\"description\":\"Input + image to query or caption\"},\"caption\":{\"type\":\"boolean\",\"title\":\"Caption\",\"default\":false,\"x-order\":1,\"description\":\"Select + if you want to generate image captions instead of asking questions\"},\"context\":{\"type\":\"string\",\"title\":\"Context\",\"x-order\":3,\"description\":\"Optional + - previous questions and answers to be used as context for answering current + question\"},\"question\":{\"type\":\"string\",\"title\":\"Question\",\"default\":\"What + is this a picture of?\",\"x-order\":2,\"description\":\"Question to ask about + this image. Leave blank for captioning\"},\"temperature\":{\"type\":\"number\",\"title\":\"Temperature\",\"default\":1,\"maximum\":1,\"minimum\":0.5,\"x-order\":5,\"description\":\"Temperature + for use with nucleus sampling\"},\"use_nucleus_sampling\":{\"type\":\"boolean\",\"title\":\"Use + Nucleus Sampling\",\"default\":false,\"x-order\":4,\"description\":\"Toggles + the model using nucleus sampling to generate responses\"}}},\"Output\":{\"type\":\"string\",\"title\":\"Output\"},\"Status\":{\"enum\":[\"starting\",\"processing\",\"succeeded\",\"canceled\",\"failed\"],\"type\":\"string\",\"title\":\"Status\",\"description\":\"An + enumeration.\"},\"WebhookEvent\":{\"enum\":[\"start\",\"output\",\"logs\",\"completed\"],\"type\":\"string\",\"title\":\"WebhookEvent\",\"description\":\"An + enumeration.\"},\"ValidationError\":{\"type\":\"object\",\"title\":\"ValidationError\",\"required\":[\"loc\",\"msg\",\"type\"],\"properties\":{\"loc\":{\"type\":\"array\",\"items\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"integer\"}]},\"title\":\"Location\"},\"msg\":{\"type\":\"string\",\"title\":\"Message\"},\"type\":{\"type\":\"string\",\"title\":\"Error + Type\"}}},\"PredictionRequest\":{\"type\":\"object\",\"title\":\"PredictionRequest\",\"properties\":{\"id\":{\"type\":\"string\",\"title\":\"Id\"},\"input\":{\"$ref\":\"#/components/schemas/Input\"},\"webhook\":{\"type\":\"string\",\"title\":\"Webhook\",\"format\":\"uri\",\"maxLength\":65536,\"minLength\":1},\"created_at\":{\"type\":\"string\",\"title\":\"Created + At\",\"format\":\"date-time\"},\"output_file_prefix\":{\"type\":\"string\",\"title\":\"Output + File Prefix\"},\"webhook_events_filter\":{\"type\":\"array\",\"items\":{\"$ref\":\"#/components/schemas/WebhookEvent\"},\"default\":[\"start\",\"output\",\"logs\",\"completed\"],\"uniqueItems\":true}}},\"PredictionResponse\":{\"type\":\"object\",\"title\":\"PredictionResponse\",\"properties\":{\"id\":{\"type\":\"string\",\"title\":\"Id\"},\"logs\":{\"type\":\"string\",\"title\":\"Logs\",\"default\":\"\"},\"error\":{\"type\":\"string\",\"title\":\"Error\"},\"input\":{\"$ref\":\"#/components/schemas/Input\"},\"output\":{\"$ref\":\"#/components/schemas/Output\"},\"status\":{\"$ref\":\"#/components/schemas/Status\"},\"metrics\":{\"type\":\"object\",\"title\":\"Metrics\"},\"version\":{\"type\":\"string\",\"title\":\"Version\"},\"created_at\":{\"type\":\"string\",\"title\":\"Created + At\",\"format\":\"date-time\"},\"started_at\":{\"type\":\"string\",\"title\":\"Started + At\",\"format\":\"date-time\"},\"completed_at\":{\"type\":\"string\",\"title\":\"Completed + At\",\"format\":\"date-time\"}}},\"HTTPValidationError\":{\"type\":\"object\",\"title\":\"HTTPValidationError\",\"properties\":{\"detail\":{\"type\":\"array\",\"items\":{\"$ref\":\"#/components/schemas/ValidationError\"},\"title\":\"Detail\"}}}}}}}},{\"url\":\"https://replicate.com/stability-ai/sdxl\",\"owner\":\"stability-ai\",\"name\":\"sdxl\",\"description\":\"A + text-to-image generative AI model that creates beautiful 1024x1024 images\",\"visibility\":\"public\",\"github_url\":\"https://github.com/replicate/cog-sdxl\",\"paper_url\":\"https://arxiv.org/abs/2307.01952\",\"license_url\":\"https://github.com/Stability-AI/generative-models/blob/main/model_licenses/LICENSE-SDXL1.0\",\"run_count\":6463655,\"cover_image_url\":\"https://tjzk.replicate.delivery/models_models_cover_image/61004930-fb88-4e09-9bd4-74fd8b4aa677/sdxl_cover.png\",\"default_example\":{\"completed_at\":\"2023-07-26T21:04:37.933562Z\",\"created_at\":\"2023-07-26T21:04:23.762683Z\",\"error\":null,\"id\":\"vu42q7dbkm6iicbpal4v6uvbqm\",\"input\":{\"width\":1024,\"height\":1024,\"prompt\":\"An + astronaut riding a rainbow unicorn, cinematic, dramatic\",\"refine\":\"expert_ensemble_refiner\",\"scheduler\":\"DDIM\",\"num_outputs\":1,\"guidance_scale\":7.5,\"high_noise_frac\":0.8,\"prompt_strength\":0.8,\"num_inference_steps\":50},\"logs\":\"Using + seed: 12103\\ntxt2img mode\\n 0%| | 0/40 [00:00 77). Running this sequence through + the model will result in indexing errors\\nThe following part of your input + was truncated because CLIP can only handle sequences up to 77 tokens: ['ish + and wlop']\\n 0%| | 0/36 [00:00 0 + assert models[0].owner is not None + assert models[0].name is not None + assert models[0].visibility == "public"