writing-skills
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment
model-deploymentGuides LazyLLM model modules, online providers, local serving, fine-tuning, multimodal examples, and backend-aware deployment diagnostics.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill for LazyLLM tasks about TrainableModule, OnlineModule, OnlineChatModule, ServerModule, ActionModule, model type mapping, model deployment, fine-tuning, distillation, local serving, provider calls, streaming tool calls, or multimodal examples.
lazyllm deploy, vLLM, LMDeploy, LightLLM, Infinity, LLaMA-Factory, model caches, CUDA, or serving ports.OnlineModule / OnlineChatModule: provider or endpoint backed.TrainableModule: local model/fine-tune/deploy abstraction.ServerModule: wraps functions/modules/services and may start/bind servers.ActionModule: wraps deterministic actions in a LazyLLM module chain.python scripts/model_surface_smoke.py
python ../../scripts/inspect_lazyllm_surface.py --include-optional
pipeline, read flow-orchestration. If they serve RAG or agents, read the RAG or agent sub-skill too.TrainableModule(base_model='', target_path='', *, stream=False, return_trace=False, trust_remote_code=True, type=None, source=None, use_model_map=True)OnlineModule(model=None, source=None, *, type=None, url=None, **kwargs)OnlineChatModule(model=None, source=None, url=None, stream=True, return_trace=False, skip_auth=False, type=None, api_key=None, static_params=None, id=None, name=None, group_id=None, dynamic_auth=False, timeout=180, **kwargs)ServerModule(m=None, pre=None, post=None, stream=False, return_trace=False, port=None, pythonpath=None, launcher=None, url=None, num_replicas=1, security_key=None)ActionModule(*action, return_trace=False)LazyLLM has provider model-name mapping helpers that classify names into categories including llm, vlm, stt, tts, embed, sd, text2video, and cross_modal_embed. Tests also verify online chat helper behavior that removes prior tool traces and merges streamed tool-call chunks by index.
Use these pure helpers to debug provider message formatting without calling the provider.
When you finish a model-deployment task, leave: