Instructions to use kothasuhas/infinite_compute_distillation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kothasuhas/infinite_compute_distillation with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="kothasuhas/infinite_compute_distillation")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("kothasuhas/infinite_compute_distillation") model = AutoModelForCausalLM.from_pretrained("kothasuhas/infinite_compute_distillation", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use kothasuhas/infinite_compute_distillation with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "kothasuhas/infinite_compute_distillation" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "kothasuhas/infinite_compute_distillation", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/kothasuhas/infinite_compute_distillation
- SGLang
How to use kothasuhas/infinite_compute_distillation 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 "kothasuhas/infinite_compute_distillation" \ --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": "kothasuhas/infinite_compute_distillation", "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 "kothasuhas/infinite_compute_distillation" \ --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": "kothasuhas/infinite_compute_distillation", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use kothasuhas/infinite_compute_distillation with Docker Model Runner:
docker model run hf.co/kothasuhas/infinite_compute_distillation
Download tokenizer.model from kothasuhas/infinite_compute_distillation: direct link, hf CLI and curl.
- Browser
- Download file 303 kB
-
https://huggingface.co/kothasuhas/infinite_compute_distillation/resolve/main/tokenizer.model
- Command line
-
hf download hf://kothasuhas/infinite_compute_distillation/tokenizer.model
-
curl -L -o tokenizer.model https://huggingface.co/kothasuhas/infinite_compute_distillation/resolve/main/tokenizer.model
303 kB
- Xet hash:
- 619a630d3abb349435a8d1be9c1ba62788cfebed3502f2caf1d4855ab661d5ab
- Size of remote file:
- 303 kB
- SHA256:
- 85bf00b61e6af7f157820c2b259603f7a3d9908916573177bb511929f725836a
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.