{
  "common": {
    "url": "blobs/sha256/04ffd6c81cefe2973d37db743383d839712aac17b843033d3b34daa193623677",
    "sha256": "04ffd6c81cefe2973d37db743383d839712aac17b843033d3b34daa193623677",
    "size": 6367,
    "unpacked_size": 30025
  },
  "configs": {
    "base_plus": {
      "tag": "base_plus",
      "checkpoint": "model.pt",
      "model_cfg": "configs/sam2.1/sam2.1_hiera_b+.yaml"
    },
    "large": {
      "tag": "large",
      "checkpoint": "model.pt",
      "model_cfg": "configs/sam2.1/sam2.1_hiera_l.yaml"
    },
    "small": {
      "tag": "small",
      "checkpoint": "model.pt",
      "model_cfg": "configs/sam2.1/sam2.1_hiera_s.yaml"
    },
    "tiny": {
      "tag": "tiny",
      "checkpoint": "model.pt",
      "model_cfg": "configs/sam2.1/sam2.1_hiera_t.yaml"
    }
  },
  "id": "sam2",
  "manifest": {
    "core_api": 1,
    "core_max_exclusive": "1.0.0",
    "core_min": "0.1.0",
    "default": "sam2:small",
    "display_name": "SAM 2.1",
    "entrypoint": "commons.adapter:Runtime",
    "id": "sam2",
    "license": "Apache-2.0",
    "license_acceptance": {
      "required": false
    },
    "model_type": "common_model",
    "requires_features": [
      "box",
      "point",
      "masks",
      "oriented_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",
          "torchvision",
          "hydra",
          "iopath"
        ],
        "python": "3.11",
        "supported_devices": [
          "cpu"
        ],
        "wheels": []
      },
      "linux-cuda126": {
        "accelerator": "cuda",
        "arch": "amd64",
        "entrypoint": "inference.runtime:Backend",
        "lockfiles": [
          "models/linux-cuda126/runtime/requirements.lock"
        ],
        "os": "linux",
        "path": "models/linux-cuda126",
        "platform": "linux-cuda126",
        "probe_imports": [
          "torch",
          "cv2",
          "torchvision",
          "hydra",
          "iopath"
        ],
        "python": "3.11",
        "supported_devices": [
          "cuda",
          "cpu"
        ],
        "wheels": []
      },
      "linux-cuda128": {
        "accelerator": "cuda",
        "arch": "amd64",
        "entrypoint": "inference.runtime:Backend",
        "lockfiles": [
          "models/linux-cuda128/runtime/requirements.lock"
        ],
        "os": "linux",
        "path": "models/linux-cuda128",
        "platform": "linux-cuda128",
        "probe_imports": [
          "torch",
          "cv2",
          "torchvision",
          "hydra",
          "iopath"
        ],
        "python": "3.11",
        "supported_devices": [
          "cuda",
          "cpu"
        ],
        "wheels": []
      },
      "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",
          "torchvision",
          "hydra",
          "iopath"
        ],
        "python": "3.11",
        "supported_devices": [
          "mps",
          "cpu"
        ],
        "wheels": []
      }
    },
    "schema_version": 2,
    "timeout_seconds": 600,
    "tools": [
      "tools/instance-segmentation_point-prompt.json",
      "tools/semantic-segmentation_point-prompt.json",
      "tools/instance-segmentation_auto-search.json",
      "tools/semantic-segmentation_auto-search.json",
      "tools/oriented-object-detection_auto-search.json"
    ],
    "variants": {
      "base_plus": {
        "config": "configs/base_plus.json",
        "inference_weight_paths": [
          "model.pt"
        ],
        "supported_profiles": [
          "macos-metal",
          "linux-cpu",
          "linux-cuda126",
          "linux-cuda128"
        ],
        "weights": "weights/base_plus/weights.json"
      },
      "large": {
        "config": "configs/large.json",
        "inference_weight_paths": [
          "model.pt"
        ],
        "supported_profiles": [
          "macos-metal",
          "linux-cpu",
          "linux-cuda126",
          "linux-cuda128"
        ],
        "weights": "weights/large/weights.json"
      },
      "small": {
        "config": "configs/small.json",
        "inference_weight_paths": [
          "model.pt"
        ],
        "supported_profiles": [
          "macos-metal",
          "linux-cpu",
          "linux-cuda126",
          "linux-cuda128"
        ],
        "weights": "weights/small/weights.json"
      },
      "tiny": {
        "config": "configs/tiny.json",
        "inference_weight_paths": [
          "model.pt"
        ],
        "supported_profiles": [
          "macos-metal",
          "linux-cpu",
          "linux-cuda126",
          "linux-cuda128"
        ],
        "weights": "weights/tiny/weights.json"
      }
    },
    "version": "0.0.3",
    "worker_protocol": 1
  },
  "overrides": {},
  "profiles": {
    "linux-cpu": {
      "url": "blobs/sha256/06fea77a00cce3e0f27ea992448b3f9e9ab68e3e79bb39b3a1ed1ade51c614be",
      "sha256": "06fea77a00cce3e0f27ea992448b3f9e9ab68e3e79bb39b3a1ed1ade51c614be",
      "size": 64825,
      "unpacked_size": 244187
    },
    "linux-cuda126": {
      "url": "blobs/sha256/1d8b5683f5492d2e0b6007a1886d46618d7375af947933064c4afa5e4ed1c036",
      "sha256": "1d8b5683f5492d2e0b6007a1886d46618d7375af947933064c4afa5e4ed1c036",
      "size": 67365,
      "unpacked_size": 250411
    },
    "linux-cuda128": {
      "url": "blobs/sha256/a61d1d17e31bc1f4deeeea45c0411d2f1a726c1abb9ffaa2b4d23fc503b18ec6",
      "sha256": "a61d1d17e31bc1f4deeeea45c0411d2f1a726c1abb9ffaa2b4d23fc503b18ec6",
      "size": 66880,
      "unpacked_size": 249226
    },
    "macos-metal": {
      "url": "blobs/sha256/5c3c17452f2ce6ca7fb2f7f9533fcab0b22c05edfe12c6fa4b058ac9a885af8a",
      "sha256": "5c3c17452f2ce6ca7fb2f7f9533fcab0b22c05edfe12c6fa4b058ac9a885af8a",
      "size": 66454,
      "unpacked_size": 247752
    }
  },
  "schema_version": 2,
  "version": "0.0.3",
  "weights": {
    "base_plus": [
      {
        "path": "model.pt",
        "size": 323606802,
        "sha256": "a2345aede8715ab1d5d31b4a509fb160c5a4af1970f199d9054ccfb746c004c5",
        "url": "https://models.boat-annotation.com/blobs/sha256/a2345aede8715ab1d5d31b4a509fb160c5a4af1970f199d9054ccfb746c004c5",
        "requires_token": false
      }
    ],
    "large": [
      {
        "path": "model.pt",
        "size": 898083611,
        "sha256": "2647878d5dfa5098f2f8649825738a9345572bae2d4350a2468587ece47dd318",
        "url": "https://models.boat-annotation.com/blobs/sha256/2647878d5dfa5098f2f8649825738a9345572bae2d4350a2468587ece47dd318",
        "requires_token": false
      }
    ],
    "small": [
      {
        "path": "model.pt",
        "size": 184416285,
        "sha256": "6d1aa6f30de5c92224f8172114de081d104bbd23dd9dc5c58996f0cad5dc4d38",
        "url": "https://models.boat-annotation.com/blobs/sha256/6d1aa6f30de5c92224f8172114de081d104bbd23dd9dc5c58996f0cad5dc4d38",
        "requires_token": false
      }
    ],
    "tiny": [
      {
        "path": "model.pt",
        "size": 156008466,
        "sha256": "7402e0d864fa82708a20fbd15bc84245c2f26dff0eb43a4b5b93452deb34be69",
        "url": "https://models.boat-annotation.com/blobs/sha256/7402e0d864fa82708a20fbd15bc84245c2f26dff0eb43a4b5b93452deb34be69",
        "requires_token": false
      }
    ]
  }
}
