Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

tritesh
/
dflash-mlx-universal

Text Generation
MLX
dflash-mlx-universal
speculative-decoding
diffusion
dflash
inference-acceleration
apple-silicon
qwen3
llama
mistral
gemma
block-diffusion
Model card Files Files and versions
xet
Community

Instructions to use tritesh/dflash-mlx-universal with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • MLX

    How to use tritesh/dflash-mlx-universal with MLX:

    # Make sure mlx-lm is installed
    # pip install --upgrade mlx-lm
    # if on a CUDA device, also pip install mlx[cuda]
    
    # Generate text with mlx-lm
    from mlx_lm import load, generate
    
    model, tokenizer = load("tritesh/dflash-mlx-universal")
    
    prompt = "Once upon a time in"
    text = generate(model, tokenizer, prompt=prompt, verbose=True)
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • LM Studio
  • MLX LM

    How to use tritesh/dflash-mlx-universal with MLX LM:

    Generate or start a chat session
    # Install MLX LM
    uv tool install mlx-lm
    # Generate some text
    mlx_lm.generate --model "tritesh/dflash-mlx-universal" --prompt "Once upon a time"
dflash-mlx-universal
217 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 21 commits
tritesh's picture
tritesh
Upload README.md
f693d4a verified about 20 hours ago
  • dflash_mlx
    Upload dflash_mlx/universal.py 1 day ago
  • examples
    Upload folder using huggingface_hub 1 day ago
  • tests
    Upload tests/test_model.py 1 day ago
  • .gitattributes
    1.52 kB
    initial commit 1 day ago
  • .python-version
    5 Bytes
    Upload .python-version about 20 hours ago
  • LICENSE
    1.09 kB
    Upload folder using huggingface_hub 1 day ago
  • M2_PRO_MAX_GUIDE.md
    11.5 kB
    Upload folder using huggingface_hub 1 day ago
  • README.md
    16.8 kB
    Upload README.md about 20 hours ago
  • USAGE_GUIDE.md
    14.9 kB
    Upload USAGE_GUIDE.md about 20 hours ago
  • benchmark_m2.py
    7.69 kB
    Upload folder using huggingface_hub 1 day ago
  • pyproject.toml
    3.56 kB
    Upload pyproject.toml about 20 hours ago
  • setup_m2.sh
    3.97 kB
    Upload folder using huggingface_hub 1 day ago
  • setup_uv.sh
    2.7 kB
    Upload setup_uv.sh about 20 hours ago