{
  "common": {
    "url": "blobs/sha256/4bb8c9ba3efbbba06a3380738ed5d7aaefc4141b1fb6b929f0d259ee7f0be697",
    "sha256": "4bb8c9ba3efbbba06a3380738ed5d7aaefc4141b1fb6b929f0d259ee7f0be697",
    "size": 6118,
    "unpacked_size": 27227
  },
  "configs": {
    "swin-t": {
      "tag": "swin-t",
      "checkpoint": "model.pth",
      "text_encoder_dir": "text_encoder"
    }
  },
  "id": "pet-dino",
  "manifest": {
    "core_api": 1,
    "core_max_exclusive": "1.0.0",
    "core_min": "0.1.0",
    "default": "pet-dino:swin-t",
    "display_name": "PET-DINO",
    "entrypoint": "commons.adapter:Runtime",
    "id": "pet-dino",
    "license": "Apache-2.0",
    "license_acceptance": {
      "required": false
    },
    "model_type": "common_model",
    "requires_features": [
      "box",
      "boxes"
    ],
    "runtimes": {
      "linux-cpu": {
        "accelerator": "cpu",
        "arch": "amd64",
        "entrypoint": "inference.runtime:Backend",
        "lockfiles": [
          "models/linux-cpu/runtime/requirements.lock"
        ],
        "os": "linux",
        "path": "models/linux-cpu",
        "platform": "linux-cpu",
        "probe_imports": [
          "torch",
          "cv2",
          "transformers",
          "mmcv",
          "mmengine"
        ],
        "python": "3.11",
        "supported_devices": [
          "cpu"
        ],
        "wheels": [
          "https://files.pythonhosted.org/packages/98/8e/f98332248aad102511bea4ae19c0ddacd2f0a994f3ca4c82b7a369e0af8b/mmengine-0.10.7-py3-none-any.whl#sha256=262ac976a925562f78cd5fd14dd1bc9b680ed0aa81f0d85b723ef782f99c54ee",
          "https://files.pythonhosted.org/packages/59/bd/5d468c171f201d6169bec848d1116e95736854eec72307299bc68939fe45/mmcv_lite-2.2.0-py2.py3-none-any.whl#sha256=a24ee8dd3df7556dfced282dbfe8c3f87df6de2d4dcaf1207e83e9a2d58455a6"
        ]
      },
      "macos-metal": {
        "accelerator": "mps",
        "arch": "arm64",
        "entrypoint": "inference.runtime:Backend",
        "lockfiles": [
          "models/macos-metal/runtime/requirements.lock"
        ],
        "os": "darwin",
        "path": "models/macos-metal",
        "platform": "macos-metal",
        "probe_imports": [
          "torch",
          "cv2",
          "transformers",
          "mmcv",
          "mmengine"
        ],
        "python": "3.11",
        "supported_devices": [
          "mps",
          "cpu"
        ],
        "wheels": [
          "https://files.pythonhosted.org/packages/98/8e/f98332248aad102511bea4ae19c0ddacd2f0a994f3ca4c82b7a369e0af8b/mmengine-0.10.7-py3-none-any.whl#sha256=262ac976a925562f78cd5fd14dd1bc9b680ed0aa81f0d85b723ef782f99c54ee",
          "https://files.pythonhosted.org/packages/59/bd/5d468c171f201d6169bec848d1116e95736854eec72307299bc68939fe45/mmcv_lite-2.2.0-py2.py3-none-any.whl#sha256=a24ee8dd3df7556dfced282dbfe8c3f87df6de2d4dcaf1207e83e9a2d58455a6"
        ]
      }
    },
    "schema_version": 2,
    "timeout_seconds": 600,
    "tools": [
      "tools/object-detection_box-prompt.json",
      "tools/object-detection_cascading.json"
    ],
    "variants": {
      "swin-t": {
        "config": "configs/swin-t.json",
        "inference_weight_paths": [
          "model.pth",
          "text_encoder/model.safetensors"
        ],
        "supported_profiles": [
          "linux-cpu",
          "macos-metal"
        ],
        "weights": "weights/swin-t/weights.json"
      }
    },
    "version": "0.0.3",
    "worker_protocol": 1
  },
  "overrides": {},
  "profiles": {
    "linux-cpu": {
      "url": "blobs/sha256/36290e0f12b623352627b3a05c01cb5d0b4f997bd00dfd71f6c7751d447b2df1",
      "sha256": "36290e0f12b623352627b3a05c01cb5d0b4f997bd00dfd71f6c7751d447b2df1",
      "size": 1035756,
      "unpacked_size": 5408250
    },
    "macos-metal": {
      "url": "blobs/sha256/bdbefa1627710c7c8307ec9448a5ff656c8aa6f18c985c278013915fdab1722a",
      "sha256": "bdbefa1627710c7c8307ec9448a5ff656c8aa6f18c985c278013915fdab1722a",
      "size": 1037760,
      "unpacked_size": 5411851
    }
  },
  "schema_version": 2,
  "version": "0.0.3",
  "weights": {
    "swin-t": [
      {
        "path": "model.pth",
        "size": 2309043797,
        "sha256": "beff20e86a46008b637edf6f519f100cb69981d1c116a03959663d276adc1736",
        "url": "https://models.boat-annotation.com/blobs/sha256/beff20e86a46008b637edf6f519f100cb69981d1c116a03959663d276adc1736",
        "requires_token": false
      },
      {
        "path": "text_encoder/config.json",
        "size": 570,
        "sha256": "7160e1553ad2ca51d8c1cb066be533db31826e12d173824c1bb0cb1a4f187d20",
        "url": "https://models.boat-annotation.com/blobs/sha256/7160e1553ad2ca51d8c1cb066be533db31826e12d173824c1bb0cb1a4f187d20",
        "requires_token": false
      },
      {
        "path": "text_encoder/model.safetensors",
        "size": 440449768,
        "sha256": "68d45e234eb4a928074dfd868cead0219ab85354cc53d20e772753c6bb9169d3",
        "url": "https://models.boat-annotation.com/blobs/sha256/68d45e234eb4a928074dfd868cead0219ab85354cc53d20e772753c6bb9169d3",
        "requires_token": false
      },
      {
        "path": "text_encoder/tokenizer.json",
        "size": 466062,
        "sha256": "ce64fce797c24f68df90b40a3f74f579b336a493db14bd583fd520ea0d8c9a98",
        "url": "https://models.boat-annotation.com/blobs/sha256/ce64fce797c24f68df90b40a3f74f579b336a493db14bd583fd520ea0d8c9a98",
        "requires_token": false
      },
      {
        "path": "text_encoder/tokenizer_config.json",
        "size": 48,
        "sha256": "a025160ef0431f1a392f6f050c1310f4c5d9fb6f275932dbccba73c4d214bf10",
        "url": "https://models.boat-annotation.com/blobs/sha256/a025160ef0431f1a392f6f050c1310f4c5d9fb6f275932dbccba73c4d214bf10",
        "requires_token": false
      },
      {
        "path": "text_encoder/vocab.txt",
        "size": 231508,
        "sha256": "07eced375cec144d27c900241f3e339478dec958f92fddbc551f295c992038a3",
        "url": "https://models.boat-annotation.com/blobs/sha256/07eced375cec144d27c900241f3e339478dec958f92fddbc551f295c992038a3",
        "requires_token": false
      }
    ]
  }
}
