Instructions to use diffusion-gif/trick-prediction with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use diffusion-gif/trick-prediction with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="diffusion-gif/trick-prediction")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("diffusion-gif/trick-prediction", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use diffusion-gif/trick-prediction with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "diffusion-gif/trick-prediction" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "diffusion-gif/trick-prediction", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/diffusion-gif/trick-prediction
- SGLang
How to use diffusion-gif/trick-prediction 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 "diffusion-gif/trick-prediction" \ --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": "diffusion-gif/trick-prediction", "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 "diffusion-gif/trick-prediction" \ --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": "diffusion-gif/trick-prediction", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use diffusion-gif/trick-prediction with Docker Model Runner:
docker model run hf.co/diffusion-gif/trick-prediction
docs: mark trajectory checkpoint upload incomplete due to private storage quota
Browse files- CHECKSUMS.sha256 +2 -2
- README.md +5 -0
- bundle_manifest.json +13 -5
CHECKSUMS.sha256
CHANGED
|
@@ -45,5 +45,5 @@ d89ef49ce9cd37fbf510158e13c1ef063d9286411c1ec9049932dbe0487143b1 legacy_grpo_st
|
|
| 45 |
33dc3c75269c0d037cb371b8b73116e10080da289911abfbe3648aac3a98f88a tools/reshard_safetensors.py
|
| 46 |
7f54d5b05d644bdc5c8c4a8450e45826ece512c9d2ec391896dde284d5fea552 tests/test_reshard_safetensors.py
|
| 47 |
c602d4305f59c388105765835b3b7d9cacf2181e8494014fea7f0dc57e728cb8 tools/verify_model_bundle.py
|
| 48 |
-
|
| 49 |
-
|
|
|
|
| 45 |
33dc3c75269c0d037cb371b8b73116e10080da289911abfbe3648aac3a98f88a tools/reshard_safetensors.py
|
| 46 |
7f54d5b05d644bdc5c8c4a8450e45826ece512c9d2ec391896dde284d5fea552 tests/test_reshard_safetensors.py
|
| 47 |
c602d4305f59c388105765835b3b7d9cacf2181e8494014fea7f0dc57e728cb8 tools/verify_model_bundle.py
|
| 48 |
+
b40c5b6ef8902ea977b7e7abb3bdf38f3dfcce79015b31fba70df9d1a6d94a16 README.md
|
| 49 |
+
9200dddd793b0fe9b291498901483dc88e3fb3c407e55811dea4ed51bdaaa062 bundle_manifest.json
|
README.md
CHANGED
|
@@ -10,6 +10,11 @@ tags:
|
|
| 10 |
---
|
| 11 |
# Trick Prediction — legacy mix6 SFT / GRPO checkpoints
|
| 12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
这是已有轨迹预测研究检查点的**无损分片发布**,不是新的训练结果。
|
| 14 |
**不是**新版单图/历史联合任务 + 单臂一个、双臂两个固定 EEF 原点协议的训练权重;
|
| 15 |
也不冒称本次 DeepSeek 长解释数据的训练产物。复现旧基线时必须沿用
|
|
|
|
| 10 |
---
|
| 11 |
# Trick Prediction — legacy mix6 SFT / GRPO checkpoints
|
| 12 |
|
| 13 |
+
> **上传尚未完成,暂不可按下方示例加载完整模型。**
|
| 14 |
+
> 已上传并校验 12/24 个权重分片:SFT 5/12、GRPO 7/12。
|
| 15 |
+
> HF 返回 `403: Private storage limit reached`;需增加该账号的私有存储额度后续传。
|
| 16 |
+
> 仓库保持 Private;已上传文件保留,本地完整权重未修改。
|
| 17 |
+
|
| 18 |
这是已有轨迹预测研究检查点的**无损分片发布**,不是新的训练结果。
|
| 19 |
**不是**新版单图/历史联合任务 + 单臂一个、双臂两个固定 EEF 原点协议的训练权重;
|
| 20 |
也不冒称本次 DeepSeek 长解释数据的训练产物。复现旧基线时必须沿用
|
bundle_manifest.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"schema_version": 1,
|
| 3 |
-
"status": "
|
| 4 |
"models": [
|
| 5 |
{
|
| 6 |
"path": "legacy_sft_step900",
|
|
@@ -260,11 +260,11 @@
|
|
| 260 |
},
|
| 261 |
{
|
| 262 |
"path": "README.md",
|
| 263 |
-
"bytes":
|
| 264 |
-
"sha256": "
|
| 265 |
}
|
| 266 |
],
|
| 267 |
-
"total_file_bytes":
|
| 268 |
"source_export_identity_sha256": "29f1a102714ddfb0c5a6c6db580ee1a62a27fc46562e6fe783c4b7c2a3a088e5",
|
| 269 |
"distribution": {
|
| 270 |
"repo_id": "diffusion-gif/trick-prediction",
|
|
@@ -279,5 +279,13 @@
|
|
| 279 |
"GPU_used": false,
|
| 280 |
"model_loaded": false,
|
| 281 |
"training_run": false,
|
| 282 |
-
"raw_data_included": false
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 283 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"schema_version": 1,
|
| 3 |
+
"status": "incomplete",
|
| 4 |
"models": [
|
| 5 |
{
|
| 6 |
"path": "legacy_sft_step900",
|
|
|
|
| 260 |
},
|
| 261 |
{
|
| 262 |
"path": "README.md",
|
| 263 |
+
"bytes": 4374,
|
| 264 |
+
"sha256": "b40c5b6ef8902ea977b7e7abb3bdf38f3dfcce79015b31fba70df9d1a6d94a16"
|
| 265 |
}
|
| 266 |
],
|
| 267 |
+
"total_file_bytes": 109467781606,
|
| 268 |
"source_export_identity_sha256": "29f1a102714ddfb0c5a6c6db580ee1a62a27fc46562e6fe783c4b7c2a3a088e5",
|
| 269 |
"distribution": {
|
| 270 |
"repo_id": "diffusion-gif/trick-prediction",
|
|
|
|
| 279 |
"GPU_used": false,
|
| 280 |
"model_loaded": false,
|
| 281 |
"training_run": false,
|
| 282 |
+
"raw_data_included": false,
|
| 283 |
+
"upload_status": "needs_private_storage_capacity",
|
| 284 |
+
"expected_weight_shards": 24,
|
| 285 |
+
"committed_weight_shards": 12,
|
| 286 |
+
"committed_shards_by_checkpoint": {
|
| 287 |
+
"legacy_sft_step900": 5,
|
| 288 |
+
"legacy_grpo_step250": 7
|
| 289 |
+
},
|
| 290 |
+
"upload_failure": "HF 403: Private storage limit reached"
|
| 291 |
}
|