Instructions to use inclusionAI/Ring-1T with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use inclusionAI/Ring-1T with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="inclusionAI/Ring-1T", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("inclusionAI/Ring-1T", trust_remote_code=True, dtype="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use inclusionAI/Ring-1T with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "inclusionAI/Ring-1T" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "inclusionAI/Ring-1T", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/inclusionAI/Ring-1T
- SGLang
How to use inclusionAI/Ring-1T 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 "inclusionAI/Ring-1T" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "inclusionAI/Ring-1T", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "inclusionAI/Ring-1T" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "inclusionAI/Ring-1T", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use inclusionAI/Ring-1T with Docker Model Runner:
docker model run hf.co/inclusionAI/Ring-1T
Add files using upload-large-folder tool
Browse files- model-00003-of-00160.safetensors +3 -0
- model-00010-of-00160.safetensors +3 -0
- model-00015-of-00160.safetensors +3 -0
- model-00023-of-00160.safetensors +3 -0
- model-00027-of-00160.safetensors +3 -0
- model-00037-of-00160.safetensors +3 -0
- model-00040-of-00160.safetensors +3 -0
- model-00044-of-00160.safetensors +3 -0
- model-00047-of-00160.safetensors +3 -0
- model-00053-of-00160.safetensors +3 -0
- model-00064-of-00160.safetensors +3 -0
- model-00065-of-00160.safetensors +3 -0
- model-00069-of-00160.safetensors +3 -0
- model-00091-of-00160.safetensors +3 -0
- model-00111-of-00160.safetensors +3 -0
- model-00122-of-00160.safetensors +3 -0
- model-00136-of-00160.safetensors +3 -0
- model-00156-of-00160.safetensors +3 -0
model-00003-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dc6e1d0e686130b2f580002e0c9d668f88f47ba26ed3fb7d76a45aeeee279a8b
|
| 3 |
+
size 6442474960
|
model-00010-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e7aa300220528a2ee9f7b3aff9b0fed5c031ba628c4343c2f8b83377b2b41505
|
| 3 |
+
size 12884949776
|
model-00015-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8b2f08dc821d64a221aa993a34eeb3c5166dcc66db57c35ac4d0d8470212c1d3
|
| 3 |
+
size 12884950160
|
model-00023-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a1d0b785bb49c12cd29e65ec5dd44c944aa0c694b03b2dee3757edfba2218057
|
| 3 |
+
size 12884950544
|
model-00027-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:69488ba6532233019b0c2b16dcb9d14c302ad235dfc50b97836cc494c9e7984e
|
| 3 |
+
size 12884950496
|
model-00037-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f58f79e839739f46a73e2093231251c7d25a7268918f7fae1c193bf674d4ab1f
|
| 3 |
+
size 12884950544
|
model-00040-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cae6d7fcaca257f6d14f95dd280467dc8e32205ae2e98caf7f22ce142f385038
|
| 3 |
+
size 14512482560
|
model-00044-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:80476f4eab71facfeeedbfbd87631d3b7ba2a20e8efb9150c8fbe45afda1fa80
|
| 3 |
+
size 12884950544
|
model-00047-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3bd8e6ec6b08a06d4f7c897d801d1b03512bac2d023a695c7aee11a9b9b46649
|
| 3 |
+
size 12884950544
|
model-00053-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c29ce431efe094bf89dc55ba9e8d95830ecee3b92bfcbd3732e9b0bf9bf2645e
|
| 3 |
+
size 12884950544
|
model-00064-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c7d33468ed00331de0a0c374cff011a6c45a9ffac430e010817976a42dc0dd64
|
| 3 |
+
size 14512482560
|
model-00065-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:28bbe436b21ec7e73d9de8a3a1cad9d5a80a614e994d408119abff6b2bca6624
|
| 3 |
+
size 12884950160
|
model-00069-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eba01688f4c24847574c0f2fed87ce6dc562ff0977c884edd4fa991be4f676c3
|
| 3 |
+
size 12884950544
|
model-00091-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a656b0f9e3401abbb3e310ffe682ab8c42a2e8b39a4ab6246d85cdb5a2406ebe
|
| 3 |
+
size 12884950496
|
model-00111-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9ca124175241ca31002b961309f7478757c16f54979707c74aea626cedc82bff
|
| 3 |
+
size 12884950544
|
model-00122-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c78476078a0745a190cd474fd60469cf2950a372b33876691d32b1d3c0ee035f
|
| 3 |
+
size 12884950160
|
model-00136-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f6313cbe1dd82e549414a2a2cb3f9c7f1a7b77203f2ec126088f919c795e364f
|
| 3 |
+
size 14512482560
|
model-00156-of-00160.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5abdef7c7b4765d39baf59fa863cbc0302a77b1d244c7ad12bdb0160932d9f4c
|
| 3 |
+
size 6442475176
|