Instructions to use cszhilu1998/LiveWorld with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use cszhilu1998/LiveWorld with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("cszhilu1998/LiveWorld", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Download LiveWorld-Code/upload.sh from cszhilu1998/LiveWorld: direct link, hf CLI and curl.
- Browser
- Download file 870 Bytes
-
https://huggingface.co/cszhilu1998/LiveWorld/resolve/main/LiveWorld-Code/upload.sh
- Command line
-
hf download hf://cszhilu1998/LiveWorld/LiveWorld-Code/upload.sh
-
curl -L -o upload.sh https://huggingface.co/cszhilu1998/LiveWorld/resolve/main/LiveWorld-Code/upload.sh
870 Bytes
| set -euo pipefail | |
| MODEL_ROOT="/home/zhangzhilu/anaconda3/pretrained_models" | |
| REPO="cszhilu1998/LiveWorld" | |
| # 完整模型目录:保留配置、tokenizer、模型分片及索引 | |
| for model in \ | |
| Wan2.1-T2V-14B \ | |
| Qwen3-VL-8B-Instruct \ | |
| STream3R \ | |
| dinov3-vith16plus-pretrain-lvd1689m | |
| do | |
| hf upload "$REPO" "$MODEL_ROOT/$model" "$model" \ | |
| --repo-type model \ | |
| --exclude ".cache/**" \ | |
| --exclude ".git/**" \ | |
| --exclude "*.incomplete" \ | |
| --exclude "*.lock" | |
| done | |
| # LiveWorld State Adapter、LoRA | |
| for component in state_adapter lora | |
| do | |
| hf upload "$REPO" \ | |
| "$MODEL_ROOT/LiveWorld/ckpts/$component/model.pt" \ | |
| "LiveWorld/ckpts/$component/model.pt" \ | |
| --repo-type model | |
| done | |
| # SAM3 | |
| hf upload "$REPO" \ | |
| "$MODEL_ROOT/sam3/sam3.pt" \ | |
| "sam3/sam3.pt" \ | |
| --repo-type model |