From Hardware Architecture to Production LLMs, RAG Systems, Agents and Enterprise AI
Introduction\\
Chapter 1: The DGX Spark Revolution: Why Local AI Infrastructure Matters
- The Cloud Dependency Problem
- What Is the DGX Spark
- Architecture at a Glance
- Who Should Use This Book
- How to Read This Book
Chapter 2: Hardware Deep Dive: Inside the DGX Spark
- System-on-Chip Design Philosophy
- GPU Architecture and Compute Cores
- Memory Subsystem and Bandwidth
- Storage, Networking and I/O
- Power, Cooling and Physical Considerations
- Comparing DGX Spark to Alternatives
Chapter 3: Getting Started: Installation, Drivers and Base System
- Unboxing and Physical Setup
- Operating System Selection and Installation
- NVIDIA Driver Installation
- CUDA Toolkit and cuDNN
- Verifying Your Installation
- Common Early Pitfalls
Chapter 4: Containerization and Orchestration: Docker, Kubernetes and GPU Passthrough
- Why Containers for AI Workloads
- Docker and the NVIDIA Container Toolkit
- Building AI-Optimized Container Images
- Kubernetes on DGX Spark
- GPU Scheduling and Resource Management
- Multi-Tenant and Isolated Environments
Chapter 5: Python Environments and Development Tooling
- Python Environment Management Strategies
- Conda, venv, uv and Poetry Compared
- JupyterLab and Interactive Development
- VS Code, PyCharm and Remote Development
- Profiling with Nsight Systems and Nsight Compute
- Version Control and Reproducible Builds
Chapter 6: Model Serving Frameworks: TensorRT-LLM, vLLM, Ollama, NIM, Triton and Hugging Face
- The Model Serving Landscape
- NVIDIA TensorRT-LLM: Maximum Performance
- vLLM: PagedAttention and Efficiency
- Ollama: Simplicity and Speed
- NVIDIA NIM Microservices
- Triton Inference Server: Production Flexibility
- Hugging Face Transformers and Text Generation Inference
- Framework Comparison and Selection Guide
Chapter 7: Local LLM Inference: Running Foundation Models on DGX Spark
- Understanding Model Size vs. Capability
- Loading and Running Your First LLM
- Context Window Management
- Throughput vs. Latency Tradeoffs
- Batch Processing and Concurrency
- Real-World Performance Benchmarks
Chapter 8: Quantization: Running Larger Models Within Hardware Constraints
- What Is Quantization and Why It Matters
- FP16, BF16, INT8, INT4 – The Precision Spectrum
- AWQ, GPTQ and Other Quantization Algorithms
- NVIDIA-Specific Quantization Tools
- Quality vs. Size Tradeoffs
- End-to-End Quantization Workflow
Chapter 9: Retrieval-Augmented Generation (RAG) Systems
- Why RAG Is Essential for Production AI
- Embedding Models and Generation
- Vector Databases – Selection and Configuration
- Document Ingestion Pipelines
- Chunking Strategies and Semantic Search
- Hybrid Search and Re-ranking
- End-to-End RAG Architecture
Chapter 10: Conversational Chatbots and Memory Architectures
- Beyond Single-Turn Responses
- Conversation State and Context Windows
- Short-Term vs. Long-Term Memory
- Vector-Based Memory Systems
- Personalization and User Profiles
- Production Chatbot Architecture
Chapter 11: AI Agents: Tool Calling, MCP and Autonomous Systems
- What Makes an Agent Different from a Chatbot
- Tool Calling and Function Calling
- The Model Context Protocol (MCP)
- LangChain Agents
- LlamaIndex and Agentic Workflows
- CrewAI, AutoGen and Multi-Agent Systems
- Production Considerations for Agents
Chapter 12: Multimodal AI: Vision, Audio and Combined Modality Pipelines
- The Rise of Multimodal Models
- Vision-Language Models
- Document Understanding and OCR
- Speech Recognition and Synthesis
- Building Multimodal Pipelines
- Real-Time Multimodal Applications
Chapter 13: Coding Assistants and Developer Tools
- Local vs. Cloud Coding Assistants
- Deploying Code-Specific Models
- IDE Integrations
- Custom Code Review Bots
- Automated Testing and Documentation
- Secure Development with AI
Chapter 14: Workflow Automation and Business Applications
- Identifying Automatable Workflows
- Document Processing Pipelines
- Data Extraction and Structuring
- Customer Support Automation
- Research and Analysis Assistants
- Enterprise Integration Patterns
Chapter 15: Performance Tuning, Benchmarking and Optimization
- Profiling Your AI Workloads
- GPU Memory Optimization
- Kernel Fusion and Compilation
- Caching Strategies
- Benchmarking Methodologies
- Advanced Optimization Techniques
Chapter 16: Security, Privacy and Compliance
- Why Local Deployment Improves Security
- Data Privacy and Confidentiality
- Model Protection and IP
- API Security and Authentication
- Access Control and RBAC
- Compliance and Audit Requirements
Chapter 17: Scaling, Monitoring and Production Operations
- From Development to Production
- Horizontal and Vertical Scaling
- Monitoring and Observability
- CI/CD for AI Systems
- Fault Tolerance and Recovery
- Operational Best Practices
Chapter 18: Enterprise Architecture and Multi-System Deployments
- Single System vs. Cluster Architectures
- Hybrid Cloud Strategies
- Governance and Policy Enforcement
- Cost Management and ROI
- Organizational Change Management
- Future Roadmap