Instructions to use SMLBuilder/MLX_SAM3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use SMLBuilder/MLX_SAM3 with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir MLX_SAM3 SMLBuilder/MLX_SAM3
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
| """ | |
| SAM3 MLX Models | |
| Complete implementation of SAM3 components in native MLX | |
| """ | |
| from .attention import MultiHeadAttentionRoPE, WindowedAttention | |
| from .hiera import HieraVisionEncoder, create_hiera_base, create_hiera_large | |
| from .prompt_encoder import PromptEncoder, create_prompt_encoder | |
| from .mask_decoder import MaskDecoder, create_mask_decoder | |
| from .sam3 import SAM3MLX | |
| __all__ = [ | |
| 'MultiHeadAttentionRoPE', | |
| 'WindowedAttention', | |
| 'HieraVisionEncoder', | |
| 'create_hiera_base', | |
| 'create_hiera_large', | |
| 'PromptEncoder', | |
| 'create_prompt_encoder', | |
| 'MaskDecoder', | |
| 'create_mask_decoder', | |
| 'SAM3MLX', | |
| ] | |
| __version__ = '0.1.0' | |