What problem does it solve? Serving a model with MAX involves choosing the right environment setup, device targets, quantization encodings, and serve flags, and a wrong choice turns a working serve into a confusing startup failure. This Skill takes you from no environment to a running OpenAI-compatible endpoint, with flag choices derived from the model package and checkpoint instead of guesswork. ## Core Features & Use Cases - Environment Setup: Install MAX nightly via pixi (conda channel) or uv (wheel index) and verify the max serve command is available. - Custom Architecture Serving: Point --custom-architectures at a package, derive flags from arch.py and config.json, and run the bundled inspector script to get a ready-to-run command with explanatory notes. - Launch and Verification: Start the server detached on remote hosts, watch the log for readiness or crash markers, and confirm with a real chat completion request. - Troubleshooting: Match startup failures (name mismatches, encoding errors, OOM, port collisions) to one-line fixes via the troubleshooting reference. - Use Case: You have a ported Llama-variant checkpoint and a custom architecture package. Run the suggest_serve_command.py script to get the correct flags, launch with setsid on a remote GPU box, wait for the readiness marker, and verify coherent output. ## Quick Start Ask the AI to serve your Hugging Face model or local checkpoint with MAX, mentioning whether it uses a custom architecture package.