Image-Text-to-Text
Transformers
Safetensors
kimi_k31
text-generation
mixture-of-experts
expert-upcycling
scientific-ai
chip-design
space
physics
s-t-a-r
custom_code
8-bit precision
Instructions to use STAR-future/Trinity with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use STAR-future/Trinity with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="STAR-future/Trinity", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForSeq2SeqLM model = AutoModelForSeq2SeqLM.from_pretrained("STAR-future/Trinity", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use STAR-future/Trinity with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "STAR-future/Trinity" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "STAR-future/Trinity", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/STAR-future/Trinity
- SGLang
How to use STAR-future/Trinity 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 "STAR-future/Trinity" \ --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": "STAR-future/Trinity", "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 "STAR-future/Trinity" \ --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": "STAR-future/Trinity", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use STAR-future/Trinity with Docker Model Runner:
docker model run hf.co/STAR-future/Trinity
k3pass_sealed.log (running)
Browse files- eval/k3pass_sealed.log +52 -17
eval/k3pass_sealed.log
CHANGED
|
@@ -10,21 +10,56 @@
|
|
| 10 |
- tokenization_kimi.py
|
| 11 |
- encoding_k3.py
|
| 12 |
. Make sure to double-check they do not contain any added malicious code. To avoid downloading new versions of the code file, you can pin a revision.
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
You have used a large amount of egress over the last 30 days. To protect our platform health, once you reach your account's max quota, your downloads will be throttled or blocked. If you regularly need more, you may consider upgrading your current user or organization plan to benefit from higher allowances.
|
| 30 |
-
15:
|
|
|
|
|
|
| 10 |
- tokenization_kimi.py
|
| 11 |
- encoding_k3.py
|
| 12 |
. Make sure to double-check they do not contain any added malicious code. To avoid downloading new versions of the code file, you can pin a revision.
|
| 13 |
+
13:16:46 sequences 61 streams 122 tokens 249856 sets ['holdout_chips', 'holdout_physics', 'holdout_space', 'wikipedia']
|
| 14 |
+
13:16:46 no checkpoint in STAR-future/Trinity-k3ckpt-sealed ValueError
|
| 15 |
+
13:16:46 fingerprint 845a895a9ceffbd1 start at layer 0 ram_free 80.8 GiB disk_free 236 GiB
|
| 16 |
+
13:17:14 GPU NVIDIA A100-SXM4-40GB 39.5 GiB, sub-chunk 32768 expert group 262144
|
| 17 |
+
13:18:52 layer 0 wait 0s attn 84s mlp 14s new-share(LB) 0.0000 ram_free 73.5 GiB disk_free 196 GiB
|
| 18 |
+
13:21:03 layer 1 wait 0s attn 60s mlp 72s new-share(LB) 0.0131 ram_free 73.7 GiB disk_free 176 GiB
|
| 19 |
+
13:23:31 layer 2 wait 0s attn 83s mlp 63s new-share(LB) 0.0020 ram_free 74.7 GiB disk_free 176 GiB
|
| 20 |
+
13:25:31 layer 3 wait 0s attn 48s mlp 70s new-share(LB) 0.0021 ram_free 74.6 GiB disk_free 176 GiB
|
| 21 |
+
13:27:57 layer 4 wait 0s attn 83s mlp 62s new-share(LB) 0.0056 ram_free 73.1 GiB disk_free 176 GiB
|
| 22 |
+
13:30:22 layer 5 wait 0s attn 78s mlp 64s new-share(LB) 0.0057 ram_free 73.8 GiB disk_free 176 GiB
|
| 23 |
+
13:32:36 layer 6 wait 0s attn 71s mlp 62s new-share(LB) 0.0086 ram_free 74.2 GiB disk_free 176 GiB
|
| 24 |
+
13:34:46 layer 7 wait 0s attn 49s mlp 79s new-share(LB) 0.0116 ram_free 72.8 GiB disk_free 176 GiB
|
| 25 |
+
13:37:04 layer 8 wait 0s attn 72s mlp 64s new-share(LB) 0.0073 ram_free 73.5 GiB disk_free 176 GiB
|
| 26 |
+
13:39:23 layer 9 wait 0s attn 72s mlp 66s new-share(LB) 0.0109 ram_free 74.2 GiB disk_free 176 GiB
|
| 27 |
+
13:41:41 layer 10 wait 0s attn 68s mlp 68s new-share(LB) 0.0081 ram_free 74.2 GiB disk_free 176 GiB
|
| 28 |
+
13:43:46 layer 11 wait 0s attn 44s mlp 79s new-share(LB) 0.0179 ram_free 74.1 GiB disk_free 176 GiB
|
| 29 |
+
13:46:15 layer 12 wait 0s attn 91s mlp 56s new-share(LB) 0.0000 ram_free 74.2 GiB disk_free 172 GiB
|
| 30 |
+
13:48:32 layer 13 wait 0s attn 70s mlp 66s new-share(LB) 0.0053 ram_free 74.2 GiB disk_free 172 GiB
|
| 31 |
+
13:50:46 layer 14 wait 0s attn 71s mlp 61s new-share(LB) 0.0023 ram_free 74.4 GiB disk_free 173 GiB
|
| 32 |
+
13:52:52 layer 15 wait 0s attn 47s mlp 77s new-share(LB) 0.0041 ram_free 74.4 GiB disk_free 173 GiB
|
| 33 |
+
13:55:11 layer 16 wait 0s attn 78s mlp 60s new-share(LB) 0.0027 ram_free 74.5 GiB disk_free 172 GiB
|
| 34 |
+
13:57:28 layer 17 wait 0s attn 61s mlp 75s new-share(LB) 0.0020 ram_free 74.5 GiB disk_free 172 GiB
|
| 35 |
+
13:59:43 layer 18 wait 0s attn 68s mlp 65s new-share(LB) 0.0009 ram_free 74.5 GiB disk_free 173 GiB
|
| 36 |
+
14:01:49 layer 19 wait 0s attn 37s mlp 87s new-share(LB) 0.0021 ram_free 74.5 GiB disk_free 173 GiB
|
| 37 |
+
14:04:08 layer 20 wait 0s attn 68s mlp 68s new-share(LB) 0.0023 ram_free 74.5 GiB disk_free 172 GiB
|
| 38 |
+
14:06:23 layer 21 wait 0s attn 60s mlp 74s new-share(LB) 0.0060 ram_free 74.6 GiB disk_free 172 GiB
|
| 39 |
+
14:08:33 layer 22 wait 0s attn 64s mlp 65s new-share(LB) 0.0011 ram_free 74.6 GiB disk_free 173 GiB
|
| 40 |
+
14:10:44 layer 23 wait 0s attn 40s mlp 88s new-share(LB) 0.0023 ram_free 73.7 GiB disk_free 173 GiB
|
| 41 |
+
14:13:06 layer 24 wait 0s attn 84s mlp 57s new-share(LB) 0.0014 ram_free 72.8 GiB disk_free 169 GiB
|
| 42 |
+
14:15:24 layer 25 wait 0s attn 62s mlp 75s new-share(LB) 0.0062 ram_free 72.5 GiB disk_free 169 GiB
|
| 43 |
+
14:17:36 layer 26 wait 0s attn 71s mlp 59s new-share(LB) 0.0016 ram_free 72.4 GiB disk_free 169 GiB
|
| 44 |
+
14:19:41 layer 27 wait 0s attn 47s mlp 77s new-share(LB) 0.0011 ram_free 73.3 GiB disk_free 169 GiB
|
| 45 |
+
14:22:06 layer 28 wait 0s attn 87s mlp 57s new-share(LB) 0.0059 ram_free 73.6 GiB disk_free 169 GiB
|
| 46 |
+
14:24:36 layer 29 wait 0s attn 89s mlp 59s new-share(LB) 0.0057 ram_free 73.5 GiB disk_free 169 GiB
|
| 47 |
+
14:26:58 layer 30 wait 0s attn 73s mlp 67s new-share(LB) 0.0037 ram_free 73.8 GiB disk_free 169 GiB
|
| 48 |
+
14:29:19 layer 31 wait 0s attn 56s mlp 84s new-share(LB) 0.0065 ram_free 73.8 GiB disk_free 169 GiB
|
| 49 |
+
14:31:42 layer 32 wait 0s attn 80s mlp 61s new-share(LB) 0.0064 ram_free 73.9 GiB disk_free 169 GiB
|
| 50 |
+
14:34:10 layer 33 wait 0s attn 83s mlp 63s new-share(LB) 0.0084 ram_free 73.9 GiB disk_free 169 GiB
|
| 51 |
+
14:36:23 layer 34 wait 0s attn 62s mlp 70s new-share(LB) 0.0061 ram_free 74.0 GiB disk_free 169 GiB
|
| 52 |
+
14:38:37 layer 35 wait 0s attn 46s mlp 87s new-share(LB) 0.0082 ram_free 74.0 GiB disk_free 169 GiB
|
| 53 |
+
14:41:12 layer 36 wait 0s attn 94s mlp 60s new-share(LB) 0.0055 ram_free 74.0 GiB disk_free 166 GiB
|
| 54 |
+
14:43:40 layer 37 wait 0s attn 87s mlp 59s new-share(LB) 0.0056 ram_free 72.9 GiB disk_free 166 GiB
|
| 55 |
+
14:45:57 layer 38 wait 0s attn 76s mlp 60s new-share(LB) 0.0023 ram_free 73.3 GiB disk_free 166 GiB
|
| 56 |
+
14:48:07 layer 39 wait 0s attn 65s mlp 63s new-share(LB) 0.0018 ram_free 73.6 GiB disk_free 166 GiB
|
| 57 |
+
14:50:23 layer 40 wait 0s attn 71s mlp 64s new-share(LB) 0.0023 ram_free 73.7 GiB disk_free 165 GiB
|
| 58 |
+
14:52:45 layer 41 wait 0s attn 73s mlp 67s new-share(LB) 0.0042 ram_free 74.2 GiB disk_free 165 GiB
|
| 59 |
+
14:55:03 layer 42 wait 0s attn 71s mlp 65s new-share(LB) 0.0107 ram_free 74.1 GiB disk_free 166 GiB
|
| 60 |
+
14:57:12 layer 43 wait 0s attn 58s mlp 69s new-share(LB) 0.0024 ram_free 74.6 GiB disk_free 166 GiB
|
| 61 |
+
14:59:32 layer 44 wait 0s attn 79s mlp 60s new-share(LB) 0.0074 ram_free 74.6 GiB disk_free 165 GiB
|
| 62 |
+
15:01:58 layer 45 wait 0s attn 82s mlp 61s new-share(LB) 0.0115 ram_free 73.0 GiB disk_free 165 GiB
|
| 63 |
You have used a large amount of egress over the last 30 days. To protect our platform health, once you reach your account's max quota, your downloads will be throttled or blocked. If you regularly need more, you may consider upgrading your current user or organization plan to benefit from higher allowances.
|
| 64 |
+
15:04:24 layer 46 wait 0s attn 81s mlp 64s new-share(LB) 0.0138 ram_free 73.7 GiB disk_free 166 GiB
|
| 65 |
+
15:06:41 layer 47 wait 0s attn 45s mlp 89s new-share(LB) 0.0265 ram_free 73.8 GiB disk_free 166 GiB
|