Proposal: deploy LitGPT on Nebius Serverless Endpoints
Author: SalikovAlexCreated Sep 28, 2026Updated Sep 28, 2026
Would a focused, provider-specific tutorial linked from tutorials/deploy.md be welcome?
LitGPT already exposes an OpenAI-compatible chat API through litgpt serve --openai_spec true. I would like to document how to package that existing API in a reproducible container and deploy it to a managed, authenticated HTTPS endpoint on Nebius Serverless Endpoints.
Proposed scope:
- A dedicated
tutorials/deploy-nebius.md, linked from the deployment tutorial. - A small ungated model, HuggingFaceTB/SmolLM2-135M-Instruct, with its Hugging Face revision pinned and converted during the image build.
- A digest-pinned Python image and a Linux dependency lock for LitGPT 0.5.13, LitServe 0.2.19 and PyTorch 2.7.1.
- Explicit project, registry, GPU/quota and CLI prerequisites; image build/push and digest selection; one authenticated endpoint.
- Bounded readiness checks; unauthenticated-request rejection; authenticated JSON and streaming chat completions; local response capture; failure diagnosis; stop/delete cleanup and billing behavior.
- No changes to LitGPT's serving APIs, provider abstraction or runtime implementation, and no prerequisite contribution to another repository.
Does this scope fit the deployment tutorials, and is a linked dedicated page the preferred placement?
Source: Lightning-AI/litgpt