Thank you for sending your enquiry! One of our team members will contact you shortly.
Thank you for sending your booking! One of our team members will contact you shortly.
Course Outline
Data Sovereignty and Local Large Language Model Deployment
- Risks associated with cloud-based LLMs: data retention policies, training on user inputs, and exposure to foreign legal jurisdictions.
- Ollama architecture overview: model server infrastructure, registry mechanisms, and OpenAI-compatible API interface.
- Comparative analysis with vLLM, llama.cpp, and Text Generation Inference frameworks.
- Licensing considerations for open-weight models including Llama, Mistral, Qwen, and Gemma as they pertain to government use cases.
System Installation and Hardware Configuration
- Deployment of Ollama on Linux environments with CUDA and ROCm accelerator support.
- CPU-only operational fallbacks and AVX/AVX2 instruction set optimizations.
- Docker containerization strategies and persistent volume mapping for data integrity.
- Mult-GPU cluster configurations and VRAM allocation management.
Model Lifecycle Management
- Retrieving models from the Ollama registry via command-line interface (e.g., ollama pull llama3).
- Importing GGUF-formatted models from HuggingFace and TheBloke repositories.
- Evaluating quantization levels (Q4_K_M, Q5_K_M, Q8_0) regarding quality and resource tradeoffs.
- Managing model switching capabilities and constraints on concurrent model loading.
Custom Model Development
- Syntax guidelines for Modelfile construction: FROM, PARAMETER, SYSTEM, and TEMPLATE directives.
- Hyperparameter tuning for temperature, top_p, and repeat_penalty settings.
- System prompt engineering to establish role-specific behavioral constraints.
- Procedures for creating and publishing custom models to local registries.
Application Programming Interface Integration
- Utilization of the OpenAI-compatible /v1/chat/completions endpoint.
- Implementation of streaming responses and structured JSON output modes.
- Integration protocols with LangChain, LlamaIndex, and internal custom applications.
- Authentication standards and rate limiting configurations via reverse proxy servers.
Performance Optimization Strategies
- Optimization of context window sizing and key-value (KV) cache management.
- Batch inference processing and parallel request handling mechanisms.
- CPU thread allocation strategies and Non-Uniform Memory Access (NUMA) awareness.
- Monitoring protocols for GPU utilization metrics and memory pressure levels.
Security Posture and Regulatory Compliance
- Network isolation requirements for model serving endpoints.
- Implementation of input filtering and output moderation pipelines.
- Audit logging standards for prompts and generated completions to ensure accountability.
- Model provenance verification through cryptographic hash checking.
Requirements
- Proficiency in intermediate Linux operating system management and containerized infrastructure administration.
- Comprehensive understanding of foundational machine learning principles and transformer model architectures.
- Operational knowledge of RESTful application programming interfaces (APIs) and JavaScript Object Notation (JSON) data interchange formats.
Target Audience
- Artificial intelligence engineering and development personnel tasked with implementing local large language model (LLM) solutions to replace external cloud-based services.
- Organizations subject to stringent data classification protocols that prohibit the transmission of sensitive information to third-party cloud providers.
- Government and defense entities operating within isolated networks who require secure, air-gapped natural language processing capabilities for government use cases.
14 Hours