> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.nvidia.com/nim/large-language-models/2.0.13/advanced-use-cases/llms.txt. # Advanced Use Cases ## Docs - [Fine-Tuning with LoRA](https://docs.nvidia.com/nim/large-language-models/2.0.13/advanced-use-cases/finetune-lora.md): Serve a base model plus LoRA adapters in NIM LLM and VLM using static or dynamic adapter loading, without retraining or rebuilding the full model. - [Speculative Decoding](https://docs.nvidia.com/nim/large-language-models/2.0.13/advanced-use-cases/speculative-decoding.md): Speed up NIM LLM and VLM generation with a draft-and-verify method (MTP, EAGLE3, or n-gram) and measure acceptance on your own traffic. - [Payload Capture](https://docs.nvidia.com/nim/large-language-models/2.0.13/advanced-use-cases/payload-capture.md): Record NIM LLM and VLM inference requests as JSONL for replay with NVIDIA AIPerf, so you can measure speculative decoding or reproduce a production load pattern. - [Tool Calling and MCP Integration](https://docs.nvidia.com/nim/large-language-models/2.0.13/advanced-use-cases/tool-calling-and-mcp.md): Enable OpenAI-compatible tool calling in NIM LLM and VLM and integrate with Model Context Protocol (MCP) servers so models can invoke external functions. - [Custom Parsers and Chat Templates](https://docs.nvidia.com/nim/large-language-models/2.0.13/advanced-use-cases/custom-parsers-and-templates.md): Select a built-in vLLM reasoning or tool-call parser by name, or supply a custom parser plugin or chat template file for NIM LLM and VLM. - [Custom Logits Processing](https://docs.nvidia.com/nim/large-language-models/2.0.13/advanced-use-cases/custom-logits.md): Write a custom vLLM logits processor, mount it into the NIM LLM and VLM container, and enable it with a CLI flag to control next-token scoring. - [Prompt Embeddings](https://docs.nvidia.com/nim/large-language-models/2.0.13/advanced-use-cases/prompt-embeds.md): Send prompt embeddings instead of raw text so NIM LLM and VLM can run inference without exposing sensitive user data in the request payload. - [Image, Audio, and Video Input](https://docs.nvidia.com/nim/large-language-models/2.0.13/advanced-use-cases/multimodal-input.md): Send image, audio, or video input to NIM LLM and VLM multimodal models through OpenAI-compatible Chat Completions requests.