{
  "common": {
    "url": "blobs/sha256/25c931cbd37de8c83d83960e778af53646ff348f5d6ca8bb8cdf3b6af8ccda06",
    "sha256": "25c931cbd37de8c83d83960e778af53646ff348f5d6ca8bb8cdf3b6af8ccda06",
    "size": 11776,
    "unpacked_size": 47548
  },
  "configs": {
    "vit-h": {
      "tag": "vit-h",
      "checkpoint": "model.pt"
    }
  },
  "id": "sam3",
  "manifest": {
    "core_api": 1,
    "core_max_exclusive": "1.0.0",
    "core_min": "0.1.0",
    "default": "sam3:vit-h",
    "display_name": "SAM3",
    "entrypoint": "commons.adapter:Runtime",
    "id": "sam3",
    "license": "Custom",
    "license_acceptance": {
      "required": true,
      "prompt": "SAM3 is provided under Meta’s SAM License.\n\nBy continuing, you acknowledge that your use of SAM3 must comply with all applicable laws, regulations, and Trade Controls. You confirm that you are not the target of Trade Controls and that you will not use, or permit others to use, SAM3 for:\n\n- activities subject to the International Traffic in Arms Regulations (ITAR);\n- military or warfare purposes;\n- nuclear industries or applications;\n- espionage; or\n- the development or use of guns or illegal weapons."
    },
    "model_type": "common_model",
    "requires_features": [
      "box",
      "point",
      "text",
      "class_texts",
      "masks",
      "boxes",
      "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",
          "transformers",
          "skimage"
        ],
        "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",
          "transformers",
          "skimage"
        ],
        "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",
          "transformers",
          "skimage"
        ],
        "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",
          "transformers",
          "skimage"
        ],
        "python": "3.11",
        "supported_devices": [
          "mps",
          "cpu"
        ],
        "wheels": []
      }
    },
    "schema_version": 2,
    "timeout_seconds": 600,
    "tools": [
      "tools/instance-segmentation_text-prompt.json",
      "tools/semantic-segmentation_text-prompt.json",
      "tools/object-detection_text-prompt.json",
      "tools/instance-segmentation_box-prompt.json",
      "tools/semantic-segmentation_box-prompt.json",
      "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",
      "tools/oriented-object-detection_text-prompt.json",
      "tools/oriented-object-detection_cascading.json",
      "tools/oriented-object-detection_box-prompt.json",
      "tools/object-detection_box-prompt.json",
      "tools/object-detection_cascading.json",
      "tools/open-vocabulary-object-detection_text-prompt.json",
      "tools/open-vocabulary-object-detection_box-prompt.json",
      "tools/open-vocabulary-object-detection_cascading.json",
      "tools/open-vocabulary-instance-segmentation_text-prompt.json",
      "tools/open-vocabulary-instance-segmentation_box-prompt.json",
      "tools/open-vocabulary-instance-segmentation_point-prompt.json",
      "tools/open-vocabulary-instance-segmentation_auto-search.json",
      "tools/instance-segmentation_batch-text-prompt.json",
      "tools/semantic-segmentation_batch-text-prompt.json",
      "tools/object-detection_batch-text-prompt.json",
      "tools/oriented-object-detection_batch-text-prompt.json"
    ],
    "variants": {
      "vit-h": {
        "config": "configs/vit-h.json",
        "inference_weight_paths": [
          "model.pt"
        ],
        "languages": [
          "English"
        ],
        "supported_profiles": [
          "linux-cpu",
          "linux-cuda126",
          "linux-cuda128",
          "macos-metal"
        ],
        "weights": "weights/vit-h/weights.json"
      }
    },
    "version": "0.0.5",
    "worker_protocol": 1
  },
  "overrides": {},
  "profiles": {
    "linux-cpu": {
      "url": "blobs/sha256/599386bc3220d402f93d16edb01a4d319c7fe170cc88b6831e149ff9620fbedb",
      "sha256": "599386bc3220d402f93d16edb01a4d319c7fe170cc88b6831e149ff9620fbedb",
      "size": 1762052,
      "unpacked_size": 3096827
    },
    "linux-cuda126": {
      "url": "blobs/sha256/36bfb65db260a681b72565a52386eb7590bdfea45aee19fb60c16aa8b79f72a9",
      "sha256": "36bfb65db260a681b72565a52386eb7590bdfea45aee19fb60c16aa8b79f72a9",
      "size": 1770625,
      "unpacked_size": 3130450
    },
    "linux-cuda128": {
      "url": "blobs/sha256/cc6baf6f83c9329f35291f9d2c5b4fadf6269456b6a3b2fda33bf1be17b8e2e0",
      "sha256": "cc6baf6f83c9329f35291f9d2c5b4fadf6269456b6a3b2fda33bf1be17b8e2e0",
      "size": 1769398,
      "unpacked_size": 3129265
    },
    "macos-metal": {
      "url": "blobs/sha256/8af0055c3a669e68fa55cc5ace0d77509be5138d04fb78e99c05f84766c87ceb",
      "sha256": "8af0055c3a669e68fa55cc5ace0d77509be5138d04fb78e99c05f84766c87ceb",
      "size": 1762265,
      "unpacked_size": 3100434
    }
  },
  "schema_version": 2,
  "version": "0.0.5",
  "weights": {
    "vit-h": [
      {
        "path": "model.pt",
        "size": 3450062241,
        "sha256": "9999e2341ceef5e136daa386eecb55cb414446a00ac2b55eb2dfd2f7c3cf8c9e",
        "url": "https://models.boat-annotation.com/blobs/sha256/9999e2341ceef5e136daa386eecb55cb414446a00ac2b55eb2dfd2f7c3cf8c9e",
        "requires_token": false
      }
    ]
  }
}
