Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

drawthingsai
/
DeepSeek-V4.1-Flash-1017

Image-Text-to-Text
Transformers
Model card Files Files and versions
xet
Community
1

Instructions to use drawthingsai/DeepSeek-V4.1-Flash-1017 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use drawthingsai/DeepSeek-V4.1-Flash-1017 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-text-to-text", model="drawthingsai/DeepSeek-V4.1-Flash-1017")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("drawthingsai/DeepSeek-V4.1-Flash-1017", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • vLLM

    How to use drawthingsai/DeepSeek-V4.1-Flash-1017 with vLLM:

    Install from pip and serve model
    # Install vLLM from pip:
    pip install vllm
    # Start the vLLM server:
    vllm serve "drawthingsai/DeepSeek-V4.1-Flash-1017"
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:8000/v1/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "drawthingsai/DeepSeek-V4.1-Flash-1017",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
    Use Docker
    docker model run hf.co/drawthingsai/DeepSeek-V4.1-Flash-1017
  • SGLang

    How to use drawthingsai/DeepSeek-V4.1-Flash-1017 with SGLang:

    Install from pip and serve model
    # Install SGLang from pip:
    pip install sglang
    # Start the SGLang server:
    python3 -m sglang.launch_server \
        --model-path "drawthingsai/DeepSeek-V4.1-Flash-1017" \
        --host 0.0.0.0 \
        --port 30000
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:30000/v1/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "drawthingsai/DeepSeek-V4.1-Flash-1017",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
    Use Docker images
    docker run --gpus all \
        --shm-size 32g \
        -p 30000:30000 \
        -v ~/.cache/huggingface:/root/.cache/huggingface \
        --env "HF_TOKEN=<secret>" \
        --ipc=host \
        lmsysorg/sglang:latest \
        python3 -m sglang.launch_server \
            --model-path "drawthingsai/DeepSeek-V4.1-Flash-1017" \
            --host 0.0.0.0 \
            --port 30000
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:30000/v1/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "drawthingsai/DeepSeek-V4.1-Flash-1017",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
  • Docker Model Runner

    How to use drawthingsai/DeepSeek-V4.1-Flash-1017 with Docker Model Runner:

    docker model run hf.co/drawthingsai/DeepSeek-V4.1-Flash-1017
DeepSeek-V4.1-Flash-1017
593 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 10 commits
liuliu87's picture
liuliu87
Replace DSpark checkpoint with i3xxs w2q4k variant
84c1c74 verified 29 days ago
  • .gitattributes
    1.59 kB
    Add DeepSeek-V4.1-Flash-1017 i2x engram about 1 month ago
  • LICENSE
    1.08 kB
    Preserve upstream README and license about 1 month ago
  • README.md
    5.23 kB
    Preserve upstream README and license about 1 month ago
  • deepseek_4.1_flash_1017_dspark_i4x.ckpt
    7.37 GB
    xet
    Replace DSpark checkpoint with i3xxs w2q4k variant 29 days ago
  • deepseek_4.1_flash_1017_i2x.ckpt
    173 GB
    xet
    Replace DeepSeek-V4.1-Flash-1017 i2x checkpoint with sweep172gb lgain about 1 month ago
  • deepseek_4.1_flash_1017_i2x.engram
    203 GB
    xet
    Add DeepSeek-V4.1-Flash-1017 i2x engram about 1 month ago
  • deepseek_4.1_flash_1017_i3x.ckpt
    210 GB
    xet
    Add DeepSeek-V4.1-Flash-1017 i3x lgain checkpoint about 1 month ago