Instructions to use vtava/Laya-Integrated-Memory-V22 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use vtava/Laya-Integrated-Memory-V22 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="vtava/Laya-Integrated-Memory-V22")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("vtava/Laya-Integrated-Memory-V22", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use vtava/Laya-Integrated-Memory-V22 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "vtava/Laya-Integrated-Memory-V22" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "vtava/Laya-Integrated-Memory-V22", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/vtava/Laya-Integrated-Memory-V22
- SGLang
How to use vtava/Laya-Integrated-Memory-V22 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 "vtava/Laya-Integrated-Memory-V22" \ --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": "vtava/Laya-Integrated-Memory-V22", "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 "vtava/Laya-Integrated-Memory-V22" \ --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": "vtava/Laya-Integrated-Memory-V22", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use vtava/Laya-Integrated-Memory-V22 with Docker Model Runner:
docker model run hf.co/vtava/Laya-Integrated-Memory-V22
Commit History
-
Update latest TinyCeNN run pointer to hf_export-20260923T201428Z
Verified signatureeeeebd5 -
Archive TinyCeNN results hf_export-20260923T201428Z
Verified signature150086c -
Upload Laya Integrated Memory V2.2 adapter; accepted layers=[3, 6, 9, 18, 21, 24, 27]
Verified signatureb59f8dd
-
Update latest TinyCeNN run pointer to hf_export-20260922T213912Z
Verified signaturea8d63ae -
Archive TinyCeNN results hf_export-20260922T213912Z
Verified signaturece60036 -
Upload Laya Integrated Memory V2.2 adapter; accepted layers=[6, 15, 18, 21, 24, 27]
Verified signaturef0f4ca5 -
Update latest TinyCeNN run pointer to hf_export-20260922T145840Z
Verified signaturefc86965 -
Archive TinyCeNN results hf_export-20260922T145840Z
Verified signature4a20034 -
Upload Laya Integrated Memory V2.2 adapter; accepted layers=[6, 9, 15, 21]
Verified signature9ac7933 -
Update latest TinyCeNN run pointer to hf_export-20260922T144655Z
Verified signature94ec92d -
Archive TinyCeNN results hf_export-20260922T144655Z
Verified signature1816aa4 -
Upload Laya Integrated Memory V2.2 adapter; accepted layers=[0, 3, 6, 9, 18, 21, 24, 27]
Verified signature37e177f -
initial commit
Verified signaturec6bdae8