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

  • Log In
  • Sign Up

fbaldassarri
/
allenai_OLMo-2-1124-13B-autogptq-int8-gs128-asym

Text Generation
Safetensors
PyTorch
English
olmo2
causal-lm
olmo
autoround
intel-autoround
gptq
auto-gptq
autogptq
woq
intel
8-bit precision
Model card Files Files and versions
xet
Community

Instructions to use fbaldassarri/allenai_OLMo-2-1124-13B-autogptq-int8-gs128-asym with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Local Apps Settings
  • vLLM

    How to use fbaldassarri/allenai_OLMo-2-1124-13B-autogptq-int8-gs128-asym with vLLM:

    Install from pip and serve model
    # Install vLLM from pip:
    pip install vllm
    # Start the vLLM server:
    vllm serve "fbaldassarri/allenai_OLMo-2-1124-13B-autogptq-int8-gs128-asym"
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:8000/v1/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "fbaldassarri/allenai_OLMo-2-1124-13B-autogptq-int8-gs128-asym",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
    Use Docker
    docker model run hf.co/fbaldassarri/allenai_OLMo-2-1124-13B-autogptq-int8-gs128-asym
  • SGLang

    How to use fbaldassarri/allenai_OLMo-2-1124-13B-autogptq-int8-gs128-asym 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 "fbaldassarri/allenai_OLMo-2-1124-13B-autogptq-int8-gs128-asym" \
        --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": "fbaldassarri/allenai_OLMo-2-1124-13B-autogptq-int8-gs128-asym",
    		"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 "fbaldassarri/allenai_OLMo-2-1124-13B-autogptq-int8-gs128-asym" \
            --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": "fbaldassarri/allenai_OLMo-2-1124-13B-autogptq-int8-gs128-asym",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
  • Docker Model Runner

    How to use fbaldassarri/allenai_OLMo-2-1124-13B-autogptq-int8-gs128-asym with Docker Model Runner:

    docker model run hf.co/fbaldassarri/allenai_OLMo-2-1124-13B-autogptq-int8-gs128-asym
allenai_OLMo-2-1124-13B-autogptq-int8-gs128-asym
17.1 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
fbaldassarri's picture
fbaldassarri
Initial Upload
39d83d5 verified over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    2.13 kB
    Initial Upload over 1 year ago
  • config.json
    1.3 kB
    Initial Upload over 1 year ago
  • generation_config.json
    121 Bytes
    Initial Upload over 1 year ago
  • merges.txt
    917 kB
    Initial Upload over 1 year ago
  • model-00001-of-00004.safetensors
    4.98 GB
    xet
    Initial Upload over 1 year ago
  • model-00002-of-00004.safetensors
    4.98 GB
    xet
    Initial Upload over 1 year ago
  • model-00003-of-00004.safetensors
    4.95 GB
    xet
    Initial Upload over 1 year ago
  • model-00004-of-00004.safetensors
    2.2 GB
    xet
    Initial Upload over 1 year ago
  • model.safetensors.index.json
    105 kB
    Initial Upload over 1 year ago
  • quantize_config.json
    559 Bytes
    Initial Upload over 1 year ago
  • special_tokens_map.json
    581 Bytes
    Initial Upload over 1 year ago
  • tokenizer.json
    7.14 MB
    Initial Upload over 1 year ago
  • tokenizer_config.json
    4.35 kB
    Initial Upload over 1 year ago
  • vocab.json
    1.61 MB
    Initial Upload over 1 year ago