Skip to content

The best ChatGPT that $100 can buy.

Python

remove a ton of UI bloat, we need to make nanochat small and sexy and minimal and forkable. code is ~free now, if you want UI get your favorite LLM to add it. nukes ~1000 LOC from orbit nice

Andrej Karpathyda32e1d657b6
diff --git a/README.md b/README.md
index 20edfc9..883f273 100644
--- a/README.md
+++ b/README.md
@@ -3,7 +3,7 @@
![nanochat logo](dev/nanochat.png)
![scaling laws](dev/scaling_laws_jan26.png)
-nanochat is the simplest experimental harness for training LLMs. It is designed to run on a single GPU node, the code is minimal/hackable, and it covers all major LLM stages including tokenization, pretraining, finetuning, evaluation, inference, and a chat UI. For example, you can train your own GPT-2 capability LLM (which cost ~$43,000 to train in 2019) for only $48 (~2 hours of 8XH100 GPU node) and then talk to it in a familiar ChatGPT-like web UI. On a spot instance, the total cost can be closer to ~$15. More generally, nanochat is configured out of the box to train an entire miniseries of compute-optimal models by setting one single complexity dial: `--depth`, the number of layers in the GPT transformer model (GPT-2 capability happens to be approximately depth 26). All other hyperparameters (the width of the transformer, number of heads, learning rate adjustments, training horizons, weight decays, ...) are calculated automatically in an optimal way.
+nanochat is the simplest experimental harness for training LLMs. It is designed to run on a single GPU node, the code is minimal/hackable, and it covers all major LLM stages including tokenization, pretraining, finetuning, evaluation, and inference. For example, you can train your own GPT-2 capability LLM (which cost ~$43,000 to train in 2019) for only $48 (~2 hours of 8XH100 GPU node) and then talk to it over a simple CLI. On a spot instance, the total cost can be closer to ~$15. More generally, nanochat is configured out of the box to train an entire miniseries of compute-optimal models by setting one single complexity dial: `--depth`, the number of layers in the GPT transformer model (GPT-2 capability happens to be approximately depth 26). All other hyperparameters (the width of the transformer, number of heads, learning rate adjustments, training horizons, weight decays, ...) are calculated automatically in an optimal way.
For questions about the repo, I recommend either using [DeepWiki](https://deepwiki.com/karpathy/nanochat) from Devin/Cognition to ask questions about the repo, or use the [Discussions tab](https://github.com/karpathy/nanochat/discussions), or come by the [#nanochat](https://discord.com/channels/1020383067459821711/1427295580895314031) channel on Discord.
@@ -51,19 +51,30 @@ The most fun you can have is to train your own GPT-2 and talk to it. The entire
bash runs/speedrun.sh
```
-You may wish to do so in a screen session as this will take ~1.5 hours to run. Once it's done, you can talk to it via the ChatGPT-like web UI. Make sure again that your local uv virtual environment is active (run `source .venv/bin/activate`), and serve it:
+You may wish to do so in a screen session as this will take ~1.5 hours to run. Once it's done, you can talk to your model over the CLI. Make sure again that your local uv virtual environment is active (run `source .venv/bin/activate`), and chat:
```bash
-python -m scripts.chat_web
+python -m scripts.chat_cli
```
-And then visit the URL shown. Make sure to access it correctly, e.g. on Lambda use the public IP of the node you're on, followed by the port, so for example [http://209.20.xxx.xxx:8000/](http://209.20.xxx.xxx:8000/), etc. Then talk to your LLM as you'd normally talk to ChatGPT! Get it to write stories or poems. Ask it to tell you who you are to see a hallucination. Ask it why the sky is blue. Or why it's green. The speedrun is a 4e19 FLOPs capability model so it's a bit like talking to a kindergartener :).
-
----
-
-<img width="2672" height="1520" alt="image" src="https://github.com/user-attachments/assets/ed39ddf8-2370-437a-bedc-0f39781e76b5" />
-
----
+Get it to write stories or poems. Ask it to tell you who you are to see a hallucination. Ask it why the sky is blue. Or why it's green. The speedrun is a 4e19 FLOPs capability model so it's a bit like talking to a kindergartener :). An example conversation with a speedrun model:
+
+> **User:** Hello whats up?
+>
+> **Assistant:** Hello! How can I help you today?
+>
+> **User:** Why is the sky blue?
+>
+> **Assistant:** The sky is blue due to an optical illusion called the Rayleigh Scattering of Light, which occurs when sunlight passes through tiny particles in the air. These particles are made up of tiny blue and violet particles that cause the light to bend in a particular way.
+>
+> **User:** That's cool. Write a poem about it.
+>
+> **Assistant:** In the twilight's glow, the sky is blue,<br>
+> A canvas of shimmering blue, where skies unfold,<br>
+> A world of blue, where blue and more blue,<br>
+> Are woven together in a tapestry so fine,<br>
+> Where every hue seems to sing a story.<br>
+> ...
A few more notes:
@@ -139,7 +150,6 @@ I've published a number of guides that might contain helpful information, most r
├── README.md
├── dev
│ ├── gen_synthetic_data.py # Example synthetic data for identity
-│ ├── generate_logo.html
│ ├── nanochat.png
│ └── repackage_data_reference.py # Pretraining data shard generation
├── nanochat
@@ -152,11 +162,9 @@ I've published a number of guides that might contain helpful information, most r
│ ├── engine.py # Efficient model inference with KV Cache
│ ├── execution.py # Allows the LLM to execute Python code as tool
│ ├── gpt.py # The GPT nn.Module Transformer
-│ ├── logo.svg
│ ├── loss_eval.py # Evaluate bits per byte (instead of loss)
│ ├── optim.py # AdamW + Muon optimizer, 1GPU and distributed
-│ ├── tokenizer.py # BPE Tokenizer wrapper in style of GPT-4
-│ └── ui.html # HTML/CSS/JS for nanochat frontend
+│ └── tokenizer.py # BPE Tokenizer wrapper in style of GPT-4
├── pyproject.toml
├── runs
│ ├── miniseries.sh # Miniseries training script
@@ -170,7 +178,6 @@ I've published a number of guides that might contain helpful information, most r
│ ├── chat_eval.py # Chat model: eval tasks
│ ├── chat_rl.py # Chat model: reinforcement learning
│ ├── chat_sft.py # Chat model: train SFT
-│ ├── chat_web.py # Chat model: talk to over WebUI
│ ├── tok_eval.py # Tokenizer: evaluate compression rate
│ └── tok_train.py # Tokenizer: train it
├── tasks
diff --git a/dev/generate_logo.html b/dev/generate_logo.html
deleted file mode 100644
index edfa99e..0000000
--- a/dev/generate_logo.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<!DOCTYPE html>
-<html>
-<body style="margin:0; display:flex; justify-content:center; align-items:center; height:100vh; background:#fff">
- <svg width="400" height="400" xmlns="http://www.w3.org/2000/svg">
- <defs>
- <radialGradient id="g" cx="50%" cy="50%">
- <stop offset="0%" style="stop-color:#667eea;stop-opacity:1"/>
- <stop offset="100%" style="stop-color:#764ba2;stop-opacity:0.3"/>
- </radialGradient>
- </defs>
- </svg>
- <script>
- const svg = document.querySelector('svg');
- const r = 120;
- let path = '';
- for(let i = 0; i < 24; i += 2) {
- let a1 = i * Math.PI / 12;
- let a2 = (i + 1) * Math.PI / 12;
- let x2 = 200 + Math.cos(a2) * r;
- let y2 = 200 + Math.sin(a2) * r;
- let x3 = 200 + Math.cos(a2) * (r - 90);
- let y3 = 200 + Math.sin(a2) * (r - 90);
- path += `M${x2},${y2} L${x3},${y3} `;
- }
- svg.innerHTML += `<path d="${path}" stroke="url(#g)" stroke-width="6" stroke-linecap="round" fill="none"/>`;
- svg.innerHTML += `<path d="M200,-12 L212,0 L200,12 L188,0 Z" transform="translate(0,200)" fill="#000"/>`;
- </script>
-</body>
-</html>
\ No newline at end of file
diff --git a/nanochat/logo.svg b/nanochat/logo.svg
deleted file mode 100644
index f0f0571..0000000
--- a/nanochat/logo.svg
+++ /dev/null
@@ -1,8 +0,0 @@
-<svg width="400" height="400" xmlns="http://www.w3.org/2000/svg">
- <defs>
- <radialGradient id="g" cx="50%" cy="50%">
- <stop offset="0%" style="stop-color:#667eea;stop-opacity:1"></stop>
- <stop offset="100%" style="stop-color:#764ba2;stop-opacity:0.3"></stop>
- </radialGradient>
- </defs>
- <path d="M315.9110991546882,231.0582854123025 L228.97777478867204,207.7645713530756 M284.8528137423857,284.8528137423857 L221.21320343559643,221.21320343559643 M231.0582854123025,315.9110991546882 L207.7645713530756,228.97777478867204 M168.94171458769753,315.9110991546882 L192.2354286469244,228.97777478867204 M115.14718625761431,284.8528137423857 L178.78679656440357,221.21320343559643 M84.08890084531181,231.05828541230252 L171.02222521132796,207.76457135307564 M84.0889008453118,168.9417145876975 L171.02222521132796,192.2354286469244 M115.14718625761425,115.14718625761435 L178.78679656440357,178.78679656440357 M168.94171458769753,84.0889008453118 L192.2354286469244,171.02222521132796 M231.05828541230244,84.08890084531178 L207.7645713530756,171.02222521132794 M284.8528137423857,115.14718625761428 L221.21320343559643,178.78679656440357 M315.91109915468815,168.94171458769742 L228.97777478867204,192.23542864692436 " stroke="url(#g)" stroke-width="6" stroke-linecap="round" fill="none"></path><path d="M200,-12 L212,0 L200,12 L188,0 Z" transform="translate(0,200)" fill="#000"></path></svg>
diff --git a/nanochat/ui.html b/nanochat/ui.html
deleted file mode 100644
index b85532a..0000000
--- a/nanochat/ui.html
+++ /dev/null
@@ -1,566 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
- <title>NanoChat</title>
- <link rel="icon" type="image/svg+xml" href="/logo.svg">
- <style>
- :root {
- color-scheme: light;
- }
-
- * {
- box-sizing: border-box;
- }
-
- html, body{
- height: 100%;
- margin: 0;
- }
-
- body {
- font-family: ui-sans-serif, -apple-system, system-ui, "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
- background-color: #ffffff;
- color: #111827;
- min-height: 100dvh;
- margin: 0;
- display: flex;
- flex-direction: column;
- }
-
- .header {
- background-color: #ffffff;
- padding: 1.25rem 1.5rem;
- }
-
- .header-left {
- display: flex;
- align-items: center;
- gap: 0.75rem;
- }
-
- .header-logo {
- height: 32px;
- width: auto;
- }
-
- .header h1 {
- font-size: 1.25rem;
- font-weight: 600;
- margin: 0;
- color: #111827;
- }
-
- .new-conversation-btn {
- width: 32px;
- height: 32px;
- padding: 0;
- border: 1px solid #e5e7eb;
- border-radius: 0.5rem;
- background-color: #ffffff;
- color: #6b7280;
- cursor: pointer;
- display: flex;
- align-items: center;
- justify-content: center;
- transition: all 0.2s ease;
- }
-
- .new-conversation-btn:hover {
- background-color: #f3f4f6;
- border-color: #d1d5db;
- color: #374151;
- }
-
- .chat-container {
- flex: 1;
- overflow-y: auto;
- background-color: #ffffff;
- }
-
- .chat-wrapper {
- max-width: 48rem;
- margin: 0 auto;
- padding: 2rem 1.5rem 3rem;
- display: flex;
- flex-direction: column;
- gap: 0.75rem;
- }
-
- .message {
- display: flex;
- justify-content: flex-start;
- margin-bottom: 0.5rem;
- color: #0d0d0d;
- }
-
- .message.assistant {
- justify-content: flex-start;
- }
-
- .message.user {
- justify-content: flex-end;
- }
-
- .message-content {
- white-space: pre-wrap;
- line-height: 1.6;
- max-width: 100%;
- }
-
- .message.assistant .message-content {
- background: transparent;
- border: none;
- cursor: pointer;
- border-radius: 0.5rem;
- padding: 0.5rem;
- margin-left: -0.5rem;
- transition: background-color 0.2s ease;
- }
-
- .message.assistant .message-content:hover {
- background-color: #f9fafb;
- }
-
- .message.user .message-content {
- background-color: #f3f4f6;
- border-radius: 1.25rem;
- padding: 0.8rem 1rem;
- max-width: 65%;
- cursor: pointer;
- transition: background-color 0.2s ease;
- }
-
- .message.user .message-content:hover {
- background-color: #e5e7eb;
- }
-
- .message.console .message-content {
- font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'Courier New', monospace;
- font-size: 0.875rem;
- background-color: #fafafa;
- padding: 0.75rem 1rem;
- color: #374151;
- max-width: 80%;
- }
-
- .input-container {
- background-color: #ffffff;
- padding: 1rem;
- padding-bottom: calc(1rem + env(safe-area-inset-bottom))
- }
-
- .input-wrapper {
- max-width: 48rem;
- margin: 0 auto;
- display: flex;
- gap: 0.75rem;
- align-items: flex-end;
- }
-
- .chat-input {
- flex: 1;
- padding: 0.8rem 1rem;
- border: 1px solid #d1d5db;
- border-radius: 0.75rem;
- background-color: #ffffff;
- color: #111827;
- font-size: 1rem;
- line-height: 1.5;
- resize: none;
- outline: none;
- min-height: 54px;
- max-height: 200px;
- transition: border-color 0.2s ease, box-shadow 0.2s ease;
- }
-
- .chat-input::placeholder {
- color: #9ca3af;
- }
-
- .chat-input:focus {
- border-color: #2563eb;
- box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
- }
-
- .send-button {
- flex-shrink: 0;
- padding: 0;
- width: 54px;
- height: 54px;
- border: 1px solid #111827;
- border-radius: 0.75rem;
- background-color: #111827;
- color: #ffffff;
- display: flex;
- align-items: center;
- justify-content: center;
- cursor: pointer;
- transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
- }
-
- .send-button:hover:not(:disabled) {
- background-color: #2563eb;
- border-color: #2563eb;
- }
-
- .send-button:disabled {
- cursor: not-allowed;
- border-color: #d1d5db;
- background-color: #e5e7eb;
- color: #9ca3af;
- }
-
- .typing-indicator {
- display: inline-block;
- color: #6b7280;
- letter-spacing: 0.15em;
- }
-
- .typing-indicator::after {
- content: '···';
- animation: typing 1.4s infinite;
- }
-
- @keyframes typing {
- 0%, 60%, 100% { opacity: 0.2; }
- 30% { opacity: 1; }
- }
-
- .error-message {
- background-color: #fee2e2;
- border: 1px solid #fecaca;
- color: #b91c1c;
- padding: 0.75rem 1rem;
- border-radius: 0.75rem;
- margin-top: 0.5rem;
- }
- </style>
-</head>
-<body>
- <div class="header">
- <div class="header-left">
- <button class="new-conversation-btn" onclick="newConversation()" title="New Conversation (Ctrl+Shift+N)">
- <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
- <path d="M12 5v14"></path>
- <path d="M5 12h14"></path>
- </svg>
- </button>
- <h1>nanochat</h1>
- </div>
- </div>
-
- <div class="chat-container" id="chatContainer">
- <div class="chat-wrapper" id="chatWrapper">
- <!-- Messages will be added here -->
- </div>
- </div>
-
- <div class="input-container">
- <div class="input-wrapper">
- <textarea
- id="chatInput"
- class="chat-input"
- placeholder="Ask anything"
- rows="1"
- onkeydown="handleKeyDown(event)"
- ></textarea>
- <button id="sendButton" class="send-button" onclick="sendMessage()" disabled>
- <svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
- <path d="M22 2L11 13"></path>
- <path d="M22 2l-7 20-4-9-9-4 20-7z"></path>
- </svg>
- </button>
- </div>
- </div>
-
- <script>
- const API_URL = '';
- const chatContainer = document.getElementById('chatContainer');
- const chatWrapper = document.getElementById('chatWrapper');
- const chatInput = document.getElementById('chatInput');
- const sendButton = document.getElementById('sendButton');
-
- let messages = [];
- let isGenerating = false;
- let currentTemperature = 0.8;
- let currentTopK = 50;
-
- chatInput.addEventListener('input', function() {
- this.style.height = 'auto';
- this.style.height = Math.min(this.scrollHeight, 200) + 'px';
- sendButton.disabled = !this.value.trim() || isGenerating;
- });
-
- function handleKeyDown(event) {
- if (event.key === 'Enter' && !event.shiftKey) {
- event.preventDefault();
- sendMessage();
- }
- }
-
- document.addEventListener('keydown', function(event) {
- // Ctrl+Shift+N for new conversation
- if (event.ctrlKey && event.shiftKey && event.key === 'N') {
- event.preventDefault();
- if (!isGenerating) {
- newConversation();
- }
- }
- });
-
- function newConversation() {
- messages = [];
- chatWrapper.innerHTML = '';
- chatInput.value = '';
- chatInput.style.height = 'auto';
- sendButton.disabled = false;
- isGenerating = false;
- chatInput.focus();
- }
-
- function addMessage(role, content, messageIndex = null) {
- const messageDiv = document.createElement('div');
- messageDiv.className = `message ${role}`;
-
- const contentDiv = document.createElement('div');
- contentDiv.className = 'message-content';
- contentDiv.textContent = content;
-
- // Add click handler for user messages to enable editing
- if (role === 'user' && messageIndex !== null) {
- contentDiv.setAttribute('data-message-index', messageIndex);
- contentDiv.setAttribute('title', 'Click to edit and restart from here');
- contentDiv.addEventListener('click', function() {
- if (!isGenerating) {
- editMessage(messageIndex);
- }
- });
- }
-
- // Add click handler for assistant messages to enable regeneration
- if (role === 'assistant' && messageIndex !== null) {
- contentDiv.setAttribute('data-message-index', messageIndex);
- contentDiv.setAttribute('title', 'Click to regenerate this response');
- contentDiv.addEventListener('click', function() {
- if (!isGenerating) {
- regenerateMessage(messageIndex);
- }
- });
- }
-
- messageDiv.appendChild(contentDiv);
- chatWrapper.appendChild(messageDiv);
-
- chatContainer.scrollTop = chatContainer.scrollHeight;
- return contentDiv;
- }
-
- function editMessage(messageIndex) {
- // Find the message in the messages array
- if (messageIndex < 0 || messageIndex >= messages.length) return;
-
- const messageToEdit = messages[messageIndex];
- if (messageToEdit.role !== 'user') return;
-
- // Copy message content to input
- chatInput.value = messageToEdit.content;
- chatInput.style.height = 'auto';
- chatInput.style.height = Math.min(chatInput.scrollHeight, 200) + 'px';
-
- // Remove this message and all subsequent messages from the array
- messages = messages.slice(0, messageIndex);
-
- // Remove message elements from DOM starting from messageIndex
- const allMessages = chatWrapper.querySelectorAll('.message');
- for (let i = messageIndex; i < allMessages.length; i++) {
- allMessages[i].remove();
- }
-
- // Enable send button and focus input
- sendButton.disabled = false;
- chatInput.focus();
- }
-
- async function generateAssistantResponse() {
- isGenerating = true;
- sendButton.disabled = true;
-
- const assistantContent = addMessage('assistant', '');
- assistantContent.innerHTML = '<span class="typing-indicator"></span>';
-
- try {
- const response = await fetch(`${API_URL}/chat/completions`, {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- body: JSON.stringify({
- messages: messages,
- temperature: currentTemperature,
- top_k: currentTopK,
- max_tokens: 512
- }),
- });
-
- if (!response.ok) {
- throw new Error(`HTTP error! status: ${response.status}`);
- }
-
- const reader = response.body.getReader();
- const decoder = new TextDecoder();
- let fullResponse = '';
- assistantContent.textContent = '';
-
- while (true) {
- const { done, value } = await reader.read();
- if (done) break;
-
- const chunk = decoder.decode(value);
- const lines = chunk.split('\n');
-
- for (const line of lines) {
- if (line.startsWith('data: ')) {
- try {
- const data = JSON.parse(line.slice(6));
- if (data.token) {
- fullResponse += data.token;
- assistantContent.textContent = fullResponse;
- chatContainer.scrollTop = chatContainer.scrollHeight;
- }
- } catch (e) {
- }
- }
- }
- }
-
- const assistantMessageIndex = messages.length;
- messages.push({ role: 'assistant', content: fullResponse });
-
- // Add click handler to regenerate this assistant message
- assistantContent.setAttribute('data-message-index', assistantMessageIndex);
- assistantContent.setAttribute('title', 'Click to regenerate this response');
- assistantContent.addEventListener('click', function() {
- if (!isGenerating) {
- regenerateMessage(assistantMessageIndex);
- }
- });
-
- } catch (error) {
- console.error('Error:', error);
- assistantContent.innerHTML = `<div class="error-message">Error: ${error.message}</div>`;
- } finally {
- isGenerating = false;
- sendButton.disabled = !chatInput.value.trim();
- }
- }
-
- async function regenerateMessage(messageIndex) {
- // Find the message in the messages array
- if (messageIndex < 0 || messageIndex >= messages.length) return;
-
- const messageToRegenerate = messages[messageIndex];
- if (messageToRegenerate.role !== 'assistant') return;
-
- // Remove this message and all subsequent messages from the array
- messages = messages.slice(0, messageIndex);
-
- // Remove message elements from DOM starting from messageIndex
- const allMessages = chatWrapper.querySelectorAll('.message');
- for (let i = messageIndex; i < allMessages.length; i++) {
- allMessages[i].remove();
- }
-
- // Regenerate the assistant response
- await generateAssistantResponse();
- }
-
- function handleSlashCommand(command) {
- const parts = command.trim().split(/\s+/);
- const cmd = parts[0].toLowerCase();
- const arg = parts[1];
-
- if (cmd === '/temperature') {
- if (arg === undefined) {
- addMessage('console', `Current temperature: ${currentTemperature}`);
- } else {
- const temp = parseFloat(arg);
- if (isNaN(temp) || temp < 0 || temp > 2) {
- addMessage('console', 'Invalid temperature. Must be between 0.0 and 2.0');
- } else {
- currentTemperature = temp;
- addMessage('console', `Temperature set to ${currentTemperature}`);
- }
- }
- return true;
- } else if (cmd === '/topk') {
- if (arg === undefined) {
- addMessage('console', `Current top-k: ${currentTopK}`);
- } else {
- const topk = parseInt(arg);
- if (isNaN(topk) || topk < 1 || topk > 200) {
- addMessage('console', 'Invalid top-k. Must be between 1 and 200');
- } else {
- currentTopK = topk;
- addMessage('console', `Top-k set to ${currentTopK}`);
- }
- }
- return true;
- } else if (cmd === '/clear') {
- newConversation();
- return true;
- } else if (cmd === '/help') {
- addMessage('console',
- 'Available commands:\n' +
- '/temperature - Show current temperature\n' +
- '/temperature <value> - Set temperature (0.0-2.0)\n' +
- '/topk - Show current top-k\n' +
- '/topk <value> - Set top-k (1-200)\n' +
- '/clear - Clear conversation\n' +
- '/help - Show this help message'
- );
- return true;
- }
- return false;
- }
-
- async function sendMessage() {
- const message = chatInput.value.trim();
- if (!message || isGenerating) return;
-
- // Handle slash commands
- if (message.startsWith('/')) {
- chatInput.value = '';
- chatInput.style.height = 'auto';
- handleSlashCommand(message);
- return;
- }
-
- chatInput.value = '';
- chatInput.style.height = 'auto';
-
- const userMessageIndex = messages.length;
- messages.push({ role: 'user', content: message });
- addMessage('user', message, userMessageIndex);
-
- await generateAssistantResponse();
- }
-
- sendButton.disabled = false;
-
- // Autofocus the chat input on page load
- chatInput.focus();
-
- fetch(`${API_URL}/health`)
- .then(response => response.json())
- .then(data => {
- console.log('Engine status:', data);
- })
- .catch(error => {
- console.error('Engine not available:', error);
- chatWrapper.innerHTML = '<div class="error-message">Engine not running. Please start engine.py first.</div>';
- });
- </script>
-</body>
-</html>
diff --git a/pyproject.toml b/pyproject.toml
index 0527369..e8d67e5 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -6,14 +6,12 @@ readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"datasets>=4.0.0",
- "fastapi>=0.117.1",
"kernels>=0.11.7",
"psutil>=7.1.0",
"rustbpe>=0.1.0",
"tiktoken>=0.11.0",
"tokenizers>=0.22.0",
"torch==2.9.1",
- "uvicorn>=0.36.0",
"wandb>=0.21.3",
]
diff --git a/runs/runcpu.sh b/runs/runcpu.sh
index d87a897..7c43cba 100755
--- a/runs/runcpu.sh
+++ b/runs/runcpu.sh
@@ -57,6 +57,3 @@ python -m scripts.chat_sft \
# It might even know that the color of the sky is blue.
# Sometimes the model likes it if you first say Hi before you ask it questions.
# python -m scripts.chat_cli -p "What is the capital of France?"
-
-# Chat with the model over a pretty WebUI ChatGPT style
-# python -m scripts.chat_web
diff --git a/runs/speedrun.sh b/runs/speedrun.sh
index 43b9209..d710555 100644
--- a/runs/speedrun.sh
+++ b/runs/speedrun.sh
@@ -81,6 +81,3 @@ torchrun --standalone --nproc_per_node=8 -m scripts.chat_eval -- -i sft
# chat with the model over CLI! Leave out the -p to chat interactively
# python -m scripts.chat_cli -p "Why is the sky blue?"
-
-# even better, chat with your model over a pretty WebUI ChatGPT style
-# python -m scripts.chat_web
diff --git a/scripts/chat_web.py b/scripts/chat_web.py
deleted file mode 100644
index ffaf7da..0000000
--- a/scripts/chat_web.py
+++ /dev/null
@@ -1,407 +0,0 @@
-#!/usr/bin/env python3
-"""
-Unified web chat server - serves both UI and API from a single FastAPI instance.
-
-Uses data parallelism to distribute requests across multiple GPUs. Each GPU loads
-a full copy of the model, and incoming requests are distributed to available workers.
-
-Launch examples:
-
-- single available GPU (default)
-python -m scripts.chat_web
-
-- 4 GPUs
-python -m scripts.chat_web --num-gpus 4
-
-To chat, open the URL printed in the console. (If on cloud box, make sure to use public IP)
-
-Endpoints:
- GET / - Chat UI
- POST /chat/completions - Chat API (streaming only)
- GET /health - Health check with worker pool status
- GET /stats - Worker pool statistics and GPU utilization
-
-Abuse Prevention:
- - Maximum 500 messages per request
- - Maximum 8000 characters per message
- - Maximum 32000 characters total conversation length
- - Temperature clamped to 0.0-2.0
- - Top-k clamped to 0-200 (0 disables top-k filtering, using full vocabulary)
- - Max tokens clamped to 1-4096
-"""
-
-import argparse
-import json
-import os
-import torch
-import asyncio
-import logging
-import random
-from contextlib import asynccontextmanager
-from fastapi import FastAPI, HTTPException
-from fastapi.middleware.cors import CORSMiddleware
-from fastapi.responses import StreamingResponse, HTMLResponse, FileResponse
-from pydantic import BaseModel
-from typing import List, Optional, AsyncGenerator
-from dataclasses import dataclass
-from nanochat.common import compute_init, autodetect_device_type
-from nanochat.checkpoint_manager import load_model
-from nanochat.engine import Engine
-
-# Abuse prevention limits
-MAX_MESSAGES_PER_REQUEST = 500
-MAX_MESSAGE_LENGTH = 8000
-MAX_TOTAL_CONVERSATION_LENGTH = 32000
-MIN_TEMPERATURE = 0.0
-MAX_TEMPERATURE = 2.0
-MIN_TOP_K = 0 # 0 disables top-k filtering, using full vocabulary
-MAX_TOP_K = 200
-MIN_MAX_TOKENS = 1
-MAX_MAX_TOKENS = 4096
-
-parser = argparse.ArgumentParser(description='NanoChat Web Server')
-parser.add_argument('-n', '--num-gpus', type=int, default=1, help='Number of GPUs to use (default: 1)')
-parser.add_argument('-i', '--source', type=str, default="sft", help="Source of the model: sft|rl")
-parser.add_argument('-t', '--temperature', type=float, default=0.8, help='Default temperature for generation')
-parser.add_argument('-k', '--top-k', type=int, default=50, help='Default top-k sampling parameter')
-parser.add_argument('-m', '--max-tokens', type=int, default=512, help='Default max tokens for generation')
-parser.add_argument('-g', '--model-tag', type=str, default=None, help='Model tag to load')
-parser.add_argument('-s', '--step', type=int, default=None, help='Step to load')
-parser.add_argument('-p', '--port', type=int, default=8000, help='Port to run the server on')
-parser.add_argument('--device-type', type=str, default='', choices=['cuda', 'cpu', 'mps'], help='Device type for evaluation: cuda|cpu|mps. empty => autodetect')
-parser.add_argument('--host', type=str, default='0.0.0.0', help='Host to bind the server to')
-args = parser.parse_args()
-
-# Configure logging for conversation traffic
-logging.basicConfig(
- level=logging.INFO,
- format='%(asctime)s - %(message)s',
- datefmt='%Y-%m-%d %H:%M:%S'
-)
-logger = logging.getLogger(__name__)
-
-device_type = autodetect_device_type() if args.device_type == "" else args.device_type
-ddp, ddp_rank, ddp_local_rank, ddp_world_size, device = compute_init(device_type)
-
-@dataclass
-class Worker:
- """A worker with a model loaded on a specific GPU."""
- gpu_id: int
- device: torch.device
- engine: Engine
- tokenizer: object
-
-class WorkerPool:
- """Pool of workers, each with a model replica on a different GPU."""
-
- def __init__(self, num_gpus: Optional[int] = None):
- if num_gpus is None:
- if device_type == "cuda":
- num_gpus = torch.cuda.device_count()
- else:
- num_gpus = 1 # e.g. cpu|mps
- self.num_gpus = num_gpus
- self.workers: List[Worker] = []
- self.available_workers: asyncio.Queue = asyncio.Queue()
-
- async def initialize(self, source: str, model_tag: Optional[str] = None, step: Optional[int] = None):
- """Load model on each GPU."""
- print(f"Initializing worker pool with {self.num_gpus} GPUs...")
- if self.num_gpus > 1:
- assert device_type == "cuda", "Only CUDA supports multiple workers/GPUs. cpu|mps does not."
-
- for gpu_id in range(self.num_gpus):
-
- if device_type == "cuda":
- device = torch.device(f"cuda:{gpu_id}")
- print(f"Loading model on GPU {gpu_id}...")
- else:
- device = torch.device(device_type) # e.g. cpu|mps
- print(f"Loading model on {device_type}...")
-
- model, tokenizer, _ = load_model(source, device, phase="eval", model_tag=model_tag, step=step)
- engine = Engine(model, tokenizer)
- worker = Worker(
- gpu_id=gpu_id,
- device=device,
- engine=engine,
- tokenizer=tokenizer,
- )
- self.workers.append(worker)
- await self.available_workers.put(worker)
-
- print(f"All {self.num_gpus} workers initialized!")
-
- async def acquire_worker(self) -> Worker:
- """Get an available worker from the pool."""
- return await self.available_workers.get()
-
- async def release_worker(self, worker: Worker):
- """Return a worker to the pool."""
- await self.available_workers.put(worker)
-
-class ChatMessage(BaseModel):
- role: str
- content: str
-
-class ChatRequest(BaseModel):
- messages: List[ChatMessage]
- temperature: Optional[float] = None
- max_tokens: Optional[int] = None
- top_k: Optional[int] = None
-
-def validate_chat_request(request: ChatRequest):
- """Validate chat request to prevent abuse."""
- # Check number of messages
- if len(request.messages) == 0:
- raise HTTPException(status_code=400, detail="At least one message is required")
- if len(request.messages) > MAX_MESSAGES_PER_REQUEST:
- raise HTTPException(
- status_code=400,
- detail=f"Too many messages. Maximum {MAX_MESSAGES_PER_REQUEST} messages allowed per request"
- )
-
- # Check individual message lengths and total conversation length
- total_length = 0
- for i, message in enumerate(request.messages):
- if not message.content:
- raise HTTPException(status_code=400, detail=f"Message {i} has empty content")
-
- msg_length = len(message.content)
- if msg_length > MAX_MESSAGE_LENGTH:
- raise HTTPException(
- status_code=400,
- detail=f"Message {i} is too long. Maximum {MAX_MESSAGE_LENGTH} characters allowed per message"
- )
- total_length += msg_length
-
- if total_length > MAX_TOTAL_CONVERSATION_LENGTH:
- raise HTTPException(
- status_code=400,
- detail=f"Total conversation is too long. Maximum {MAX_TOTAL_CONVERSATION_LENGTH} characters allowed"
- )
-
- # Validate role values
- for i, message in enumerate(request.messages):
- if message.role not in ["user", "assistant"]:
- raise HTTPException(
- status_code=400,
- detail=f"Message {i} has invalid role. Must be 'user', 'assistant', or 'system'"
- )
-
- # Validate temperature
- if request.temperature is not None:
- if not (MIN_TEMPERATURE <= request.temperature <= MAX_TEMPERATURE):
- raise HTTPException(
- status_code=400,
- detail=f"Temperature must be between {MIN_TEMPERATURE} and {MAX_TEMPERATURE}"
- )
-
- # Validate top_k
- if request.top_k is not None:
- if not (MIN_TOP_K <= request.top_k <= MAX_TOP_K):
- raise HTTPException(
- status_code=400,
- detail=f"top_k must be between {MIN_TOP_K} and {MAX_TOP_K}"
- )
-
- # Validate max_tokens
- if request.max_tokens is not None:
- if not (MIN_MAX_TOKENS <= request.max_tokens <= MAX_MAX_TOKENS):
- raise HTTPException(
- status_code=400,
- detail=f"max_tokens must be between {MIN_MAX_TOKENS} and {MAX_MAX_TOKENS}"
- )
-
-@asynccontextmanager
-async def lifespan(app: FastAPI):
- """Load models on all GPUs on startup."""
- print("Loading nanochat models across GPUs...")
- app.state.worker_pool = WorkerPool(num_gpus=args.num_gpus)
- await app.state.worker_pool.initialize(args.source, model_tag=args.model_tag, step=args.step)
- print(f"Server ready at http://localhost:{args.port}")
- yield
-
-app = FastAPI(lifespan=lifespan)
-
-app.add_middleware(
- CORSMiddleware,
- allow_origins=["*"],
- allow_credentials=True,
- allow_methods=["*"],
- allow_headers=["*"],
-)
-
-async def root():
- """Serve the chat UI."""
- ui_html_path = os.path.join("nanochat", "ui.html")
- with open(ui_html_path, "r", encoding="utf-8") as f:
- html_content = f.read()
- # Replace the API_URL to use the same origin
- html_content = html_content.replace(
- "const API_URL = `http://${window.location.hostname}:8000`;",
- "const API_URL = '';"
- )
- return HTMLResponse(content=html_content)
-
-
[email protected]("/logo.svg")
-async def logo():
- """Serve the NanoChat logo for favicon and header."""
- logo_path = os.path.join("nanochat", "logo.svg")
- return FileResponse(logo_path, media_type="image/svg+xml")
-
-async def generate_stream(
- worker: Worker,
- tokens,
- temperature=None,
- max_new_tokens=None,
- top_k=None
-) -> AsyncGenerator[str, None]:
- """Generate assistant response with streaming."""
- temperature = temperature if temperature is not None else args.temperature
- max_new_tokens = max_new_tokens if max_new_tokens is not None else args.max_tokens
- top_k = top_k if top_k is not None else args.top_k
-
- assistant_end = worker.tokenizer.encode_special("<|assistant_end|>")
- bos = worker.tokenizer.get_bos_token_id()
-
- # Accumulate tokens to properly handle multi-byte UTF-8 characters (like emojis)
- accumulated_tokens = []
- # Track the last complete UTF-8 string (without replacement characters)
- last_clean_text = ""
-
- for token_column, token_masks in worker.engine.generate(
- tokens,
- num_samples=1,
- max_tokens=max_new_tokens,
- temperature=temperature,
- top_k=top_k,
- seed=random.randint(0, 2**31 - 1)
- ):
- token = token_column[0]
-
- # Stopping criteria
- if token == assistant_end or token == bos:
- break
-
- # Append the token to sequence
- accumulated_tokens.append(token)
- # Decode all accumulated tokens to get proper UTF-8 handling
- # Note that decode is a quite efficient operation, basically table lookup and string concat
- current_text = worker.tokenizer.decode(accumulated_tokens)
- # Only emit text if it doesn't end with a replacement character
- # This ensures we don't emit incomplete UTF-8 sequences
- if not current_text.endswith('�'):
- # Extract only the new text since last clean decode
- new_text = current_text[len(last_clean_text):]
- if new_text: # Only yield if there's new content
- yield f"data: {json.dumps({'token': new_text, 'gpu': worker.gpu_id}, ensure_ascii=False)}\n\n"
- last_clean_text = current_text
-
- yield f"data: {json.dumps({'done': True})}\n\n"
-
[email protected]("/chat/completions")
-async def chat_completions(request: ChatRequest):
- """Chat completion endpoint (streaming only) - uses worker pool for multi-GPU."""
-
- # Basic validation to prevent abuse
- validate_chat_request(request)
-
- # Log incoming conversation to console
- logger.info("="*20)
- for i, message in enumerate(request.messages):
- logger.info(f"[{message.role.upper()}]: {message.content}")
- logger.info("-"*20)
-
- # Acquire a worker from the pool (will wait if all are busy)
- worker_pool = app.state.worker_pool
- worker = await worker_pool.acquire_worker()
-
- try:
- # Build conversation tokens
- bos = worker.tokenizer.get_bos_token_id()
- user_start = worker.tokenizer.encode_special("<|user_start|>")
- user_end = worker.tokenizer.encode_special("<|user_end|>")
- assistant_start = worker.tokenizer.encode_special("<|assistant_start|>")
- assistant_end = worker.tokenizer.encode_special("<|assistant_end|>")
-
- conversation_tokens = [bos]
- for message in request.messages:
- if message.role == "user":
- conversation_tokens.append(user_start)
- conversation_tokens.extend(worker.tokenizer.encode(message.content))
- conversation_tokens.append(user_end)
- elif message.role == "assistant":
- conversation_tokens.append(assistant_start)
- conversation_tokens.extend(worker.tokenizer.encode(message.content))
- conversation_tokens.append(assistant_end)
-
- conversation_tokens.append(assistant_start)
-
- # Streaming response with worker release after completion
- response_tokens = []
- async def stream_and_release():
- try:
- async for chunk in generate_stream(
- worker,
- conversation_tokens,
- temperature=request.temperature,
- max_new_tokens=request.max_tokens,
- top_k=request.top_k
- ):
- # Accumulate response for logging
- chunk_data = json.loads(chunk.replace("data: ", "").strip())
- if "token" in chunk_data:
- response_tokens.append(chunk_data["token"])
- yield chunk
- finally:
- # Log the assistant response to console
- full_response = "".join(response_tokens)
- logger.info(f"[ASSISTANT] (GPU {worker.gpu_id}): {full_response}")
- logger.info("="*20)
- # Release worker back to pool after streaming is done
- await worker_pool.release_worker(worker)
-
- return StreamingResponse(
- stream_and_release(),
- media_type="text/event-stream"
- )
- except Exception as e:
- # Make sure to release worker even on error
- await worker_pool.release_worker(worker)
- raise e
-
-async def health():
- """Health check endpoint."""
- worker_pool = getattr(app.state, 'worker_pool', None)
- return {
- "status": "ok",
- "ready": worker_pool is not None and len(worker_pool.workers) > 0,
- "num_gpus": worker_pool.num_gpus if worker_pool else 0,
- "available_workers": worker_pool.available_workers.qsize() if worker_pool else 0
- }
-
-async def stats():
- """Get worker pool statistics."""
- worker_pool = app.state.worker_pool
- return {
- "total_workers": len(worker_pool.workers),
- "available_workers": worker_pool.available_workers.qsize(),
- "busy_workers": len(worker_pool.workers) - worker_pool.available_workers.qsize(),
- "workers": [
- {
- "gpu_id": w.gpu_id,
- "device": str(w.device)
- } for w in worker_pool.workers
- ]
- }
-
-if __name__ == "__main__":
- import uvicorn
- print(f"Starting NanoChat Web Server")
- print(f"Temperature: {args.temperature}, Top-k: {args.top_k}, Max tokens: {args.max_tokens}")
- uvicorn.run(app, host=args.host, port=args.port)
diff --git a/uv.lock b/uv.lock
index c81d330..a96b5c7 100644
--- a/uv.lock
+++ b/uv.lock
@@ -29,6 +29,10 @@ conflicts = [[
{ package = "nanochat", extra = "gpu" },
]]
+[options]
+exclude-newer = "0001-01-01T00:00:00Z" # This has no effect and is included for backwards compatibility when using relative exclude-newer values.
+exclude-newer-span = "P7D"
+
[[package]]
name = "aiohappyeyeballs"
version = "2.6.1"
@@ -146,21 +150,6 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/78/b6/6307fbef88d9b5ee7421e68d78a9f162e0da4900bc5f5793f6d3d0e34fb8/annotated_types-0.7.0-py3-none-any.whl", hash = "sha256:1f02e8b43a8fbbc3f3e0d4f0f4bfc8131bcb4eebe8849b8e5c773f3a1c582a53", size = 13643, upload-time = "2024-05-20T21:33:24.1Z" },
]
-[[package]]
-name = "anyio"
-version = "4.10.0"
-source = { registry = "https://pypi.org/simple" }
-dependencies = [
- { name = "exceptiongroup", marker = "python_full_version < '3.11' or (extra == 'extra-8-nanochat-cpu' and extra == 'extra-8-nanochat-gpu')" },
- { name = "idna" },
- { name = "sniffio" },
- { name = "typing-extensions", marker = "python_full_version < '3.13' or (extra == 'extra-8-nanochat-cpu' and extra == 'extra-8-nanochat-gpu')" },
-]
-sdist = { url = "https://files.pythonhosted.org/packages/f1/b4/636b3b65173d3ce9a38ef5f0522789614e590dab6a8d505340a4efe4c567/anyio-4.10.0.tar.gz", hash = "sha256:3f3fae35c96039744587aa5b8371e7e8e603c0702999535961dd336026973ba6", size = 213252, upload-time = "2025-08-04T08:54:26.451Z" }
-wheels = [
- { url = "https://files.pythonhosted.org/packages/6f/12/e5e0282d673bb9746bacfb6e2dba8719989d3660cdb2ea79aee9a9651afb/anyio-4.10.0-py3-none-any.whl", hash = "sha256:60e474ac86736bbfd6f210f7a61218939c318f43f9972497381f1c5e930ed3d1", size = 107213, upload-time = "2025-08-04T08:54:24.882Z" },
-]
-
[[package]]
name = "appnope"
version = "0.1.4"
@@ -657,20 +646,6 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/c1/ea/53f2148663b321f21b5a606bd5f191517cf40b7072c0497d3c92c4a13b1e/executing-2.2.1-py2.py3-none-any.whl", hash = "sha256:760643d3452b4d777d295bb167ccc74c64a81df23fb5e08eff250c425a4b2017", size = 28317, upload-time = "2025-09-01T09:48:08.5Z" },
]
-[[package]]
-name = "fastapi"
-version = "0.117.1"
-source = { registry = "https://pypi.org/simple" }
-dependencies = [
- { name = "pydantic" },
- { name = "starlette" },
- { name = "typing-extensions" },
-]
-sdist = { url = "https://files.pythonhosted.org/packages/7e/7e/d9788300deaf416178f61fb3c2ceb16b7d0dc9f82a08fdb87a5e64ee3cc7/fastapi-0.117.1.tar.gz", hash = "sha256:fb2d42082d22b185f904ca0ecad2e195b851030bd6c5e4c032d1c981240c631a", size = 307155, upload-time = "2025-09-20T20:16:56.663Z" }
-wheels = [
- { url = "https://files.pythonhosted.org/packages/6d/45/d9d3e8eeefbe93be1c50060a9d9a9f366dba66f288bb518a9566a23a8631/fastapi-0.117.1-py3-none-any.whl", hash = "sha256:33c51a0d21cab2b9722d4e56dbb9316f3687155be6b276191790d8da03507552", size = 95959, upload-time = "2025-09-20T20:16:53.661Z" },
-]
-
[[package]]
name = "filelock"
version = "3.19.1"
@@ -869,15 +844,6 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/01/61/d4b89fec821f72385526e1b9d9a3a0385dda4a72b206d28049e2c7cd39b8/gitpython-3.1.45-py3-none-any.whl", hash = "sha256:8908cb2e02fb3b93b7eb0f2827125cb699869470432cc885f019b8fd0fccff77", size = 208168, upload-time = "2025-07-24T03:45:52.517Z" },
]
-[[package]]
-name = "h11"
-version = "0.16.0"
-source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/01/ee/02a2c011bdab74c6fb3c75474d40b3052059d95df7e73351460c8588d963/h11-0.16.0.tar.gz", hash = "sha256:4e35b956cf45792e4caa5885e69fba00bdbc6ffafbfa020300e549b208ee5ff1", size = 101250, upload-time = "2025-04-24T03:35:25.427Z" }
-wheels = [
- { url = "https://files.pythonhosted.org/packages/04/4b/29cac41a4d98d144bf5f6d33995617b185d14b22401f75ca86f384e87ff1/h11-0.16.0-py3-none-any.whl", hash = "sha256:63cf8bbe7522de3bf65932fda1d9c2772064ffb3dae62d55932da54b31cb6c86", size = 37515, upload-time = "2025-04-24T03:35:24.344Z" },
-]
-
[[package]]
name = "hf-xet"
version = "1.1.9"
@@ -1491,7 +1457,6 @@ version = "0.1.0"
source = { virtual = "." }
dependencies = [
{ name = "datasets" },
- { name = "fastapi" },
{ name = "kernels" },
{ name = "psutil" },
{ name = "rustbpe" },
@@ -1501,7 +1466,6 @@ dependencies = [
{ name = "torch", version = "2.9.1", source = { registry = "https://pypi.org/simple" }, marker = "(extra == 'extra-8-nanochat-cpu' and extra == 'extra-8-nanochat-gpu') or (extra != 'extra-8-nanochat-cpu' and extra != 'extra-8-nanochat-gpu')" },
{ name = "torch", version = "2.9.1+cpu", source = { registry = "https://download.pytorch.org/whl/cpu" }, marker = "(sys_platform != 'darwin' and extra == 'extra-8-nanochat-cpu') or (extra == 'extra-8-nanochat-cpu' and extra == 'extra-8-nanochat-gpu')" },
{ name = "torch", version = "2.9.1+cu128", source = { registry = "https://download.pytorch.org/whl/cu128" }, marker = "extra == 'extra-8-nanochat-gpu'" },
- { name = "uvicorn" },
{ name = "wandb" },
]
@@ -1527,7 +1491,6 @@ dev = [
[package.metadata]
requires-dist = [
{ name = "datasets", specifier = ">=4.0.0" },
- { name = "fastapi", specifier = ">=0.117.1" },
{ name = "kernels", specifier = ">=0.11.7" },
{ name = "psutil", specifier = ">=7.1.0" },
{ name = "rustbpe", specifier = ">=0.1.0" },
@@ -1537,7 +1500,6 @@ requires-dist = [
{ name = "torch", specifier = "==2.9.1" },
{ name = "torch", marker = "extra == 'cpu'", specifier = "==2.9.1", index = "https://download.pytorch.org/whl/cpu", conflict = { package = "nanochat", extra = "cpu" } },
{ name = "torch", marker = "extra == 'gpu'", specifier = "==2.9.1", index = "https://download.pytorch.org/whl/cu128", conflict = { package = "nanochat", extra = "gpu" } },
- { name = "uvicorn", specifier = ">=0.36.0" },
{ name = "wandb", specifier = ">=0.21.3" },
]
provides-extras = ["cpu", "gpu"]
@@ -1680,7 +1642,7 @@ name = "nvidia-cudnn-cu12"
version = "9.10.2.21"
source = { registry = "https://pypi.org/simple" }
dependencies = [
- { name = "nvidia-cublas-cu12", marker = "(sys_platform == 'linux' and extra == 'extra-8-nanochat-gpu') or (extra == 'extra-8-nanochat-cpu' and extra == 'extra-8-nanochat-gpu')" },
+ { name = "nvidia-cublas-cu12", marker = "(sys_platform == 'linux' and extra != 'extra-8-nanochat-cpu') or (extra == 'extra-8-nanochat-cpu' and extra == 'extra-8-nanochat-gpu')" },
]
wheels = [
{ url = "https://files.pythonhosted.org/packages/fa/41/e79269ce215c857c935fd86bcfe91a451a584dfc27f1e068f568b9ad1ab7/nvidia_cudnn_cu12-9.10.2.21-py3-none-manylinux_2_27_aarch64.whl", hash = "sha256:c9132cc3f8958447b4910a1720036d9eff5928cc3179b0a51fb6d167c6cc87d8", size = 705026878, upload-time = "2025-06-06T21:52:51.348Z" },
@@ -1693,7 +1655,7 @@ name = "nvidia-cufft-cu12"
version = "11.3.3.83"
source = { registry = "https://pypi.org/simple" }
dependencies = [
- { name = "nvidia-nvjitlink-cu12", marker = "(sys_platform == 'linux' and extra == 'extra-8-nanochat-gpu') or (extra == 'extra-8-nanochat-cpu' and extra == 'extra-8-nanochat-gpu')" },
+ { name = "nvidia-nvjitlink-cu12", marker = "(sys_platform == 'linux' and extra != 'extra-8-nanochat-cpu') or (extra == 'extra-8-nanochat-cpu' and extra == 'extra-8-nanochat-gpu')" },
]
wheels = [
{ url = "https://files.pythonhosted.org/packages/60/bc/7771846d3a0272026c416fbb7e5f4c1f146d6d80704534d0b187dd6f4800/nvidia_cufft_cu12-11.3.3.83-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:848ef7224d6305cdb2a4df928759dca7b1201874787083b6e7550dd6765ce69a", size = 193109211, upload-time = "2025-03-07T01:44:56.873Z" },
@@ -1725,9 +1687,9 @@ name = "nvidia-cusolver-cu12"
version = "11.7.3.90"
source = { registry = "https://pypi.org/simple" }
dependencies = [
- { name = "nvidia-cublas-cu12", marker = "(sys_platform == 'linux' and extra == 'extra-8-nanochat-gpu') or (extra == 'extra-8-nanochat-cpu' and extra == 'extra-8-nanochat-gpu')" },
- { name = "nvidia-cusparse-cu12", marker = "(sys_platform == 'linux' and extra == 'extra-8-nanochat-gpu') or (extra == 'extra-8-nanochat-cpu' and extra == 'extra-8-nanochat-gpu')" },
- { name = "nvidia-nvjitlink-cu12", marker = "(sys_platform == 'linux' and extra == 'extra-8-nanochat-gpu') or (extra == 'extra-8-nanochat-cpu' and extra == 'extra-8-nanochat-gpu')" },
+ { name = "nvidia-cublas-cu12", marker = "(sys_platform == 'linux' and extra != 'extra-8-nanochat-cpu') or (extra == 'extra-8-nanochat-cpu' and extra == 'extra-8-nanochat-gpu')" },
+ { name = "nvidia-cusparse-cu12", marker = "(sys_platform == 'linux' and extra != 'extra-8-nanochat-cpu') or (extra == 'extra-8-nanochat-cpu' and extra == 'extra-8-nanochat-gpu')" },
+ { name = "nvidia-nvjitlink-cu12", marker = "(sys_platform == 'linux' and extra != 'extra-8-nanochat-cpu') or (extra == 'extra-8-nanochat-cpu' and extra == 'extra-8-nanochat-gpu')" },
]
wheels = [
{ url = "https://files.pythonhosted.org/packages/c8/32/f7cd6ce8a7690544d084ea21c26e910a97e077c9b7f07bf5de623ee19981/nvidia_cusolver_cu12-11.7.3.90-py3-none-manylinux_2_27_aarch64.whl", hash = "sha256:db9ed69dbef9715071232caa9b69c52ac7de3a95773c2db65bdba85916e4e5c0", size = 267229841, upload-time = "2025-03-07T01:46:54.356Z" },
@@ -1740,7 +1702,7 @@ name = "nvidia-cusparse-cu12"
version = "12.5.8.93"
source = { registry = "https://pypi.org/simple" }
dependencies = [
- { name = "nvidia-nvjitlink-cu12", marker = "(sys_platform == 'linux' and extra == 'extra-8-nanochat-gpu') or (extra == 'extra-8-nanochat-cpu' and extra == 'extra-8-nanochat-gpu')" },
+ { name = "nvidia-nvjitlink-cu12", marker = "(sys_platform == 'linux' and extra != 'extra-8-nanochat-cpu') or (extra == 'extra-8-nanochat-cpu' and extra == 'extra-8-nanochat-gpu')" },
]
wheels = [
{ url = "https://files.pythonhosted.org/packages/bc/f7/cd777c4109681367721b00a106f491e0d0d15cfa1fd59672ce580ce42a97/nvidia_cusparse_cu12-12.5.8.93-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:9b6c161cb130be1a07a27ea6923df8141f3c295852f4b260c65f18f3e0a091dc", size = 288117129, upload-time = "2025-03-07T01:47:40.407Z" },
@@ -2673,15 +2635,6 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/04/be/d09147ad1ec7934636ad912901c5fd7667e1c858e19d355237db0d0cd5e4/smmap-5.0.2-py3-none-any.whl", hash = "sha256:b30115f0def7d7531d22a0fb6502488d879e75b260a9db4d0819cfb25403af5e", size = 24303, upload-time = "2025-01-02T07:14:38.724Z" },
]
-[[package]]
-name = "sniffio"
-version = "1.3.1"
-source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/a2/87/a6771e1546d97e7e041b6ae58d80074f81b7d5121207425c964ddf5cfdbd/sniffio-1.3.1.tar.gz", hash = "sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc", size = 20372, upload-time = "2024-02-25T23:20:04.057Z" }
-wheels = [
- { url = "https://files.pythonhosted.org/packages/e9/44/75a9c9421471a6c4805dbf2356f7c181a29c1879239abab1ea2cc8f38b40/sniffio-1.3.1-py3-none-any.whl", hash = "sha256:2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2", size = 10235, upload-time = "2024-02-25T23:20:01.196Z" },
-]
-
[[package]]
name = "stack-data"
version = "0.6.3"
@@ -2696,19 +2649,6 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/f1/7b/ce1eafaf1a76852e2ec9b22edecf1daa58175c090266e9f6c64afcd81d91/stack_data-0.6.3-py3-none-any.whl", hash = "sha256:d5558e0c25a4cb0853cddad3d77da9891a08cb85dd9f9f91b9f8cd66e511e695", size = 24521, upload-time = "2023-09-30T13:58:03.53Z" },
]
-[[package]]
-name = "starlette"
-version = "0.48.0"
-source = { registry = "https://pypi.org/simple" }
-dependencies = [
- { name = "anyio" },
- { name = "typing-extensions", marker = "python_full_version < '3.13' or (extra == 'extra-8-nanochat-cpu' and extra == 'extra-8-nanochat-gpu')" },
-]
-sdist = { url = "https://files.pythonhosted.org/packages/a7/a5/d6f429d43394057b67a6b5bbe6eae2f77a6bf7459d961fdb224bf206eee6/starlette-0.48.0.tar.gz", hash = "sha256:7e8cee469a8ab2352911528110ce9088fdc6a37d9876926e73da7ce4aa4c7a46", size = 2652949, upload-time = "2025-09-13T08:41:05.699Z" }
-wheels = [
- { url = "https://files.pythonhosted.org/packages/be/72/2db2f49247d0a18b4f1bb9a5a39a0162869acf235f3a96418363947b3d46/starlette-0.48.0-py3-none-any.whl", hash = "sha256:0764ca97b097582558ecb498132ed0c7d942f233f365b86ba37770e026510659", size = 73736, upload-time = "2025-09-13T08:41:03.869Z" },
-]
-
[[package]]
name = "sympy"
version = "1.14.0"
@@ -2841,13 +2781,13 @@ dependencies = [
{ name = "typing-extensions", marker = "(sys_platform == 'darwin' and extra == 'extra-8-nanochat-cpu') or (extra == 'extra-8-nanochat-cpu' and extra == 'extra-8-nanochat-gpu')" },
]
wheels = [
- { url = "https://download.pytorch.org/whl/cpu/torch-2.9.1-cp310-none-macosx_11_0_arm64.whl", hash = "sha256:bf1e68cfb935ae2046374ff02a7aa73dda70351b46342846f557055b3a540bf0" },
- { url = "https://download.pytorch.org/whl/cpu/torch-2.9.1-cp311-none-macosx_11_0_arm64.whl", hash = "sha256:a52952a8c90a422c14627ea99b9826b7557203b46b4d0772d3ca5c7699692425" },
- { url = "https://download.pytorch.org/whl/cpu/torch-2.9.1-cp312-none-macosx_11_0_arm64.whl", hash = "sha256:287242dd1f830846098b5eca847f817aa5c6015ea57ab4c1287809efea7b77eb" },
- { url = "https://download.pytorch.org/whl/cpu/torch-2.9.1-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:8924d10d36eac8fe0652a060a03fc2ae52980841850b9a1a2ddb0f27a4f181cd" },
- { url = "https://download.pytorch.org/whl/cpu/torch-2.9.1-cp313-none-macosx_11_0_arm64.whl", hash = "sha256:bcee64ae7aa65876ceeae6dcaebe75109485b213528c74939602208a20706e3f" },
- { url = "https://download.pytorch.org/whl/cpu/torch-2.9.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:defadbeb055cfcf5def58f70937145aecbd7a4bc295238ded1d0e85ae2cf0e1d" },
- { url = "https://download.pytorch.org/whl/cpu/torch-2.9.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:886f84b181f766f53265ba0a1d503011e60f53fff9d569563ef94f24160e1072" },
+ { url = "https://download-r2.pytorch.org/whl/cpu/torch-2.9.1-cp310-none-macosx_11_0_arm64.whl", hash = "sha256:bf1e68cfb935ae2046374ff02a7aa73dda70351b46342846f557055b3a540bf0", upload-time = "2026-01-23T15:12:43Z" },
+ { url = "https://download-r2.pytorch.org/whl/cpu/torch-2.9.1-cp311-none-macosx_11_0_arm64.whl", hash = "sha256:a52952a8c90a422c14627ea99b9826b7557203b46b4d0772d3ca5c7699692425", upload-time = "2026-01-23T15:12:43Z" },
+ { url = "https://download-r2.pytorch.org/whl/cpu/torch-2.9.1-cp312-none-macosx_11_0_arm64.whl", hash = "sha256:287242dd1f830846098b5eca847f817aa5c6015ea57ab4c1287809efea7b77eb", upload-time = "2026-01-23T15:12:43Z" },
+ { url = "https://download-r2.pytorch.org/whl/cpu/torch-2.9.1-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:8924d10d36eac8fe0652a060a03fc2ae52980841850b9a1a2ddb0f27a4f181cd", upload-time = "2026-01-23T15:12:45Z" },
+ { url = "https://download-r2.pytorch.org/whl/cpu/torch-2.9.1-cp313-none-macosx_11_0_arm64.whl", hash = "sha256:bcee64ae7aa65876ceeae6dcaebe75109485b213528c74939602208a20706e3f", upload-time = "2026-01-23T15:12:48Z" },
+ { url = "https://download-r2.pytorch.org/whl/cpu/torch-2.9.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:defadbeb055cfcf5def58f70937145aecbd7a4bc295238ded1d0e85ae2cf0e1d", upload-time = "2026-01-23T15:12:48Z" },
+ { url = "https://download-r2.pytorch.org/whl/cpu/torch-2.9.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:886f84b181f766f53265ba0a1d503011e60f53fff9d569563ef94f24160e1072", upload-time = "2026-01-23T15:12:50Z" },
]
[[package]]
@@ -2868,8 +2808,24 @@ dependencies = [
{ name = "jinja2", marker = "(extra == 'extra-8-nanochat-cpu' and extra == 'extra-8-nanochat-gpu') or (extra != 'extra-8-nanochat-cpu' and extra != 'extra-8-nanochat-gpu')" },
{ name = "networkx", version = "3.4.2", source = { registry = "https://pypi.org/simple" }, marker = "(python_full_version < '3.11' and extra != 'extra-8-nanochat-cpu' and extra != 'extra-8-nanochat-gpu') or (extra == 'extra-8-nanochat-cpu' and extra == 'extra-8-nanochat-gpu')" },
{ name = "networkx", version = "3.5", source = { registry = "https://pypi.org/simple" }, marker = "(python_full_version >= '3.11' and extra != 'extra-8-nanochat-cpu' and extra != 'extra-8-nanochat-gpu') or (extra == 'extra-8-nanochat-cpu' and extra == 'extra-8-nanochat-gpu')" },
+ { name = "nvidia-cublas-cu12", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux' and extra != 'extra-8-nanochat-cpu' and extra != 'extra-8-nanochat-gpu') or (extra == 'extra-8-nanochat-cpu' and extra == 'extra-8-nanochat-gpu')" },
+ { name = "nvidia-cuda-cupti-cu12", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux' and extra != 'extra-8-nanochat-cpu' and extra != 'extra-8-nanochat-gpu') or (extra == 'extra-8-nanochat-cpu' and extra == 'extra-8-nanochat-gpu')" },
+ { name = "nvidia-cuda-nvrtc-cu12", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux' and extra != 'extra-8-nanochat-cpu' and extra != 'extra-8-nanochat-gpu') or (extra == 'extra-8-nanochat-cpu' and extra == 'extra-8-nanochat-gpu')" },
+ { name = "nvidia-cuda-runtime-cu12", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux' and extra != 'extra-8-nanochat-cpu' and extra != 'extra-8-nanochat-gpu') or (extra == 'extra-8-nanochat-cpu' and extra == 'extra-8-nanochat-gpu')" },
+ { name = "nvidia-cudnn-cu12", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux' and extra != 'extra-8-nanochat-cpu' and extra != 'extra-8-nanochat-gpu') or (extra == 'extra-8-nanochat-cpu' and extra == 'extra-8-nanochat-gpu')" },
+ { name = "nvidia-cufft-cu12", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux' and extra != 'extra-8-nanochat-cpu' and extra != 'extra-8-nanochat-gpu') or (extra == 'extra-8-nanochat-cpu' and extra == 'extra-8-nanochat-gpu')" },
+ { name = "nvidia-cufile-cu12", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux' and extra != 'extra-8-nanochat-cpu' and extra != 'extra-8-nanochat-gpu') or (extra == 'extra-8-nanochat-cpu' and extra == 'extra-8-nanochat-gpu')" },
+ { name = "nvidia-curand-cu12", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux' and extra != 'extra-8-nanochat-cpu' and extra != 'extra-8-nanochat-gpu') or (extra == 'extra-8-nanochat-cpu' and extra == 'extra-8-nanochat-gpu')" },
+ { name = "nvidia-cusolver-cu12", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux' and extra != 'extra-8-nanochat-cpu' and extra != 'extra-8-nanochat-gpu') or (extra == 'extra-8-nanochat-cpu' and extra == 'extra-8-nanochat-gpu')" },
+ { name = "nvidia-cusparse-cu12", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux' and extra != 'extra-8-nanochat-cpu' and extra != 'extra-8-nanochat-gpu') or (extra == 'extra-8-nanochat-cpu' and extra == 'extra-8-nanochat-gpu')" },
+ { name = "nvidia-cusparselt-cu12", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux' and extra != 'extra-8-nanochat-cpu' and extra != 'extra-8-nanochat-gpu') or (extra == 'extra-8-nanochat-cpu' and extra == 'extra-8-nanochat-gpu')" },
+ { name = "nvidia-nccl-cu12", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux' and extra != 'extra-8-nanochat-cpu' and extra != 'extra-8-nanochat-gpu') or (extra == 'extra-8-nanochat-cpu' and extra == 'extra-8-nanochat-gpu')" },
+ { name = "nvidia-nvjitlink-cu12", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux' and extra != 'extra-8-nanochat-cpu' and extra != 'extra-8-nanochat-gpu') or (extra == 'extra-8-nanochat-cpu' and extra == 'extra-8-nanochat-gpu')" },
+ { name = "nvidia-nvshmem-cu12", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux' and extra != 'extra-8-nanochat-cpu' and extra != 'extra-8-nanochat-gpu') or (extra == 'extra-8-nanochat-cpu' and extra == 'extra-8-nanochat-gpu')" },
+ { name = "nvidia-nvtx-cu12", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux' and extra != 'extra-8-nanochat-cpu' and extra != 'extra-8-nanochat-gpu') or (extra == 'extra-8-nanochat-cpu' and extra == 'extra-8-nanochat-gpu')" },
{ name = "setuptools", marker = "(python_full_version >= '3.12' and extra != 'extra-8-nanochat-cpu' and extra != 'extra-8-nanochat-gpu') or (extra == 'extra-8-nanochat-cpu' and extra == 'extra-8-nanochat-gpu')" },
{ name = "sympy", marker = "(extra == 'extra-8-nanochat-cpu' and extra == 'extra-8-nanochat-gpu') or (extra != 'extra-8-nanochat-cpu' and extra != 'extra-8-nanochat-gpu')" },
+ { name = "triton", marker = "(platform_machine == 'x86_64' and sys_platform == 'linux' and extra != 'extra-8-nanochat-cpu' and extra != 'extra-8-nanochat-gpu') or (extra == 'extra-8-nanochat-cpu' and extra == 'extra-8-nanochat-gpu')" },
{ name = "typing-extensions", marker = "(extra == 'extra-8-nanochat-cpu' and extra == 'extra-8-nanochat-gpu') or (extra != 'extra-8-nanochat-cpu' and extra != 'extra-8-nanochat-gpu')" },
]
wheels = [
@@ -2926,30 +2882,30 @@ dependencies = [
{ name = "typing-extensions", marker = "(sys_platform != 'darwin' and extra == 'extra-8-nanochat-cpu') or (extra == 'extra-8-nanochat-cpu' and extra == 'extra-8-nanochat-gpu')" },
]
wheels = [
- { url = "https://download.pytorch.org/whl/cpu/torch-2.9.1%2Bcpu-cp310-cp310-manylinux_2_28_aarch64.whl", hash = "sha256:10866c8a48c4aa5ae3f48538dc8a055b99c57d9c6af2bf5dd715374d9d6ddca3" },
- { url = "https://download.pytorch.org/whl/cpu/torch-2.9.1%2Bcpu-cp310-cp310-manylinux_2_28_x86_64.whl", hash = "sha256:7210713b66943fdbfcc237b2e782871b649123ac5d29f548ce8c85be4223ab38" },
- { url = "https://download.pytorch.org/whl/cpu/torch-2.9.1%2Bcpu-cp310-cp310-win_amd64.whl", hash = "sha256:d6e8441453dc27524e3f1037fbf27b90a02644b84e42944b9354b4024cb51cc1" },
- { url = "https://download.pytorch.org/whl/cpu/torch-2.9.1%2Bcpu-cp311-cp311-manylinux_2_28_aarch64.whl", hash = "sha256:0e611cfb16724e62252b67d31073bc5c490cb83e92ecdc1192762535e0e44487" },
- { url = "https://download.pytorch.org/whl/cpu/torch-2.9.1%2Bcpu-cp311-cp311-manylinux_2_28_x86_64.whl", hash = "sha256:3de2adb9b4443dc9210ef1f1b16da3647ace53553166d6360bbbd7edd6f16e4d" },
- { url = "https://download.pytorch.org/whl/cpu/torch-2.9.1%2Bcpu-cp311-cp311-win_amd64.whl", hash = "sha256:69b3785d28be5a9c56ab525788ec5000349ec59132a74b7d5e954b905015b992" },
- { url = "https://download.pytorch.org/whl/cpu/torch-2.9.1%2Bcpu-cp311-cp311-win_arm64.whl", hash = "sha256:15b4ae6fe371d96bffb8e1e9af62164797db20a0dc1337345781659cfd0b8bb1" },
- { url = "https://download.pytorch.org/whl/cpu/torch-2.9.1%2Bcpu-cp312-cp312-manylinux_2_28_aarch64.whl", hash = "sha256:3bf9b442a51a2948e41216a76d7ab00f0694cfcaaa51b6f9bcab57b7f89843e6" },
- { url = "https://download.pytorch.org/whl/cpu/torch-2.9.1%2Bcpu-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:7417d8c565f219d3455654cb431c6d892a3eb40246055e14d645422de13b9ea1" },
- { url = "https://download.pytorch.org/whl/cpu/torch-2.9.1%2Bcpu-cp312-cp312-win_amd64.whl", hash = "sha256:a4e06b4f441675d26b462123c8a83e77c55f1ec8ebc081203be2db1ea8054add" },
- { url = "https://download.pytorch.org/whl/cpu/torch-2.9.1%2Bcpu-cp312-cp312-win_arm64.whl", hash = "sha256:1abe31f14b560c1f062699e966cb08ef5b67518a1cfac2d8547a3dbcd8387b06" },
- { url = "https://download.pytorch.org/whl/cpu/torch-2.9.1%2Bcpu-cp313-cp313-manylinux_2_28_aarch64.whl", hash = "sha256:3e532e553b37ee859205a9b2d1c7977fd6922f53bbb1b9bfdd5bdc00d1a60ed4" },
- { url = "https://download.pytorch.org/whl/cpu/torch-2.9.1%2Bcpu-cp313-cp313-manylinux_2_28_x86_64.whl", hash = "sha256:39b3dff6d8fba240ae0d1bede4ca11c2531ae3b47329206512d99e17907ff74b" },
- { url = "https://download.pytorch.org/whl/cpu/torch-2.9.1%2Bcpu-cp313-cp313-win_amd64.whl", hash = "sha256:404a7ab2fffaf2ca069e662f331eb46313692b2f1630df2720094284f390ccef" },
- { url = "https://download.pytorch.org/whl/cpu/torch-2.9.1%2Bcpu-cp313-cp313-win_arm64.whl", hash = "sha256:161decbff26a33f13cb5ba6d2c8f458bbf56193bcc32ecc70be6dd4c7a3ee79d" },
- { url = "https://download.pytorch.org/whl/cpu/torch-2.9.1%2Bcpu-cp313-cp313t-manylinux_2_28_aarch64.whl", hash = "sha256:01b1884f724977a20c7da2f640f1c7b37f4a2c117a7f4a6c1c0424d14cb86322" },
- { url = "https://download.pytorch.org/whl/cpu/torch-2.9.1%2Bcpu-cp313-cp313t-manylinux_2_28_x86_64.whl", hash = "sha256:031a597147fa81b1e6d79ccf1ad3ccc7fafa27941d6cf26ff5caaa384fb20e92" },
- { url = "https://download.pytorch.org/whl/cpu/torch-2.9.1%2Bcpu-cp313-cp313t-win_amd64.whl", hash = "sha256:e586ab1363e3f86aa4cc133b7fdcf98deb1d2c13d43a7a6e5a6a18e9c5364893" },
- { url = "https://download.pytorch.org/whl/cpu/torch-2.9.1%2Bcpu-cp314-cp314-manylinux_2_28_aarch64.whl", hash = "sha256:65010ab4aacce6c9a1ddfc935f986c003ca8638ded04348fd326c3e74346237c" },
- { url = "https://download.pytorch.org/whl/cpu/torch-2.9.1%2Bcpu-cp314-cp314-manylinux_2_28_x86_64.whl", hash = "sha256:88adf5157db5da1d54b1c9fe4a6c1d20ceef00e75d854e206a87dbf69e3037dc" },
- { url = "https://download.pytorch.org/whl/cpu/torch-2.9.1%2Bcpu-cp314-cp314-win_amd64.whl", hash = "sha256:f60e2565f261542efac07e25208fb3fc55c6fe82314a5a9cbee971edb5f27713" },
- { url = "https://download.pytorch.org/whl/cpu/torch-2.9.1%2Bcpu-cp314-cp314t-manylinux_2_28_aarch64.whl", hash = "sha256:3ac2b8df2c55430e836dcda31940d47f1f5f94b8731057b6f20300ebea394dd9" },
- { url = "https://download.pytorch.org/whl/cpu/torch-2.9.1%2Bcpu-cp314-cp314t-manylinux_2_28_x86_64.whl", hash = "sha256:5b688445f928f13563b7418b17c57e97bf955ab559cf73cd8f2b961f8572dbb3" },
- { url = "https://download.pytorch.org/whl/cpu/torch-2.9.1%2Bcpu-cp314-cp314t-win_amd64.whl", hash = "sha256:cf9c3e50b595721ca6b488bdcc326e0f1af73ed28b9b66eff504a96649bb5c96" },
+ { url = "https://download-r2.pytorch.org/whl/cpu/torch-2.9.1%2Bcpu-cp310-cp310-manylinux_2_28_aarch64.whl", hash = "sha256:10866c8a48c4aa5ae3f48538dc8a055b99c57d9c6af2bf5dd715374d9d6ddca3", upload-time = "2026-01-23T15:12:51Z" },
+ { url = "https://download-r2.pytorch.org/whl/cpu/torch-2.9.1%2Bcpu-cp310-cp310-manylinux_2_28_x86_64.whl", hash = "sha256:7210713b66943fdbfcc237b2e782871b649123ac5d29f548ce8c85be4223ab38", upload-time = "2026-01-23T15:12:52Z" },
+ { url = "https://download-r2.pytorch.org/whl/cpu/torch-2.9.1%2Bcpu-cp310-cp310-win_amd64.whl", hash = "sha256:d6e8441453dc27524e3f1037fbf27b90a02644b84e42944b9354b4024cb51cc1", upload-time = "2026-01-23T15:12:53Z" },
+ { url = "https://download-r2.pytorch.org/whl/cpu/torch-2.9.1%2Bcpu-cp311-cp311-manylinux_2_28_aarch64.whl", hash = "sha256:0e611cfb16724e62252b67d31073bc5c490cb83e92ecdc1192762535e0e44487", upload-time = "2026-01-23T15:12:54Z" },
+ { url = "https://download-r2.pytorch.org/whl/cpu/torch-2.9.1%2Bcpu-cp311-cp311-manylinux_2_28_x86_64.whl", hash = "sha256:3de2adb9b4443dc9210ef1f1b16da3647ace53553166d6360bbbd7edd6f16e4d", upload-time = "2026-01-23T15:12:58Z" },
+ { url = "https://download-r2.pytorch.org/whl/cpu/torch-2.9.1%2Bcpu-cp311-cp311-win_amd64.whl", hash = "sha256:69b3785d28be5a9c56ab525788ec5000349ec59132a74b7d5e954b905015b992", upload-time = "2026-01-23T15:12:59Z" },
+ { url = "https://download-r2.pytorch.org/whl/cpu/torch-2.9.1%2Bcpu-cp311-cp311-win_arm64.whl", hash = "sha256:15b4ae6fe371d96bffb8e1e9af62164797db20a0dc1337345781659cfd0b8bb1", upload-time = "2026-01-23T15:13:00Z" },
+ { url = "https://download-r2.pytorch.org/whl/cpu/torch-2.9.1%2Bcpu-cp312-cp312-manylinux_2_28_aarch64.whl", hash = "sha256:3bf9b442a51a2948e41216a76d7ab00f0694cfcaaa51b6f9bcab57b7f89843e6", upload-time = "2026-01-23T15:13:02Z" },
+ { url = "https://download-r2.pytorch.org/whl/cpu/torch-2.9.1%2Bcpu-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:7417d8c565f219d3455654cb431c6d892a3eb40246055e14d645422de13b9ea1", upload-time = "2026-01-23T15:13:04Z" },
+ { url = "https://download-r2.pytorch.org/whl/cpu/torch-2.9.1%2Bcpu-cp312-cp312-win_amd64.whl", hash = "sha256:a4e06b4f441675d26b462123c8a83e77c55f1ec8ebc081203be2db1ea8054add", upload-time = "2026-01-23T15:13:06Z" },
+ { url = "https://download-r2.pytorch.org/whl/cpu/torch-2.9.1%2Bcpu-cp312-cp312-win_arm64.whl", hash = "sha256:1abe31f14b560c1f062699e966cb08ef5b67518a1cfac2d8547a3dbcd8387b06", upload-time = "2026-01-23T15:13:08Z" },
+ { url = "https://download-r2.pytorch.org/whl/cpu/torch-2.9.1%2Bcpu-cp313-cp313-manylinux_2_28_aarch64.whl", hash = "sha256:3e532e553b37ee859205a9b2d1c7977fd6922f53bbb1b9bfdd5bdc00d1a60ed4", upload-time = "2026-01-23T15:13:09Z" },
+ { url = "https://download-r2.pytorch.org/whl/cpu/torch-2.9.1%2Bcpu-cp313-cp313-manylinux_2_28_x86_64.whl", hash = "sha256:39b3dff6d8fba240ae0d1bede4ca11c2531ae3b47329206512d99e17907ff74b", upload-time = "2026-01-23T15:13:12Z" },
+ { url = "https://download-r2.pytorch.org/whl/cpu/torch-2.9.1%2Bcpu-cp313-cp313-win_amd64.whl", hash = "sha256:404a7ab2fffaf2ca069e662f331eb46313692b2f1630df2720094284f390ccef", upload-time = "2026-01-23T15:13:13Z" },
+ { url = "https://download-r2.pytorch.org/whl/cpu/torch-2.9.1%2Bcpu-cp313-cp313-win_arm64.whl", hash = "sha256:161decbff26a33f13cb5ba6d2c8f458bbf56193bcc32ecc70be6dd4c7a3ee79d", upload-time = "2026-01-23T15:13:14Z" },
+ { url = "https://download-r2.pytorch.org/whl/cpu/torch-2.9.1%2Bcpu-cp313-cp313t-manylinux_2_28_aarch64.whl", hash = "sha256:01b1884f724977a20c7da2f640f1c7b37f4a2c117a7f4a6c1c0424d14cb86322", upload-time = "2026-01-23T15:13:16Z" },
+ { url = "https://download-r2.pytorch.org/whl/cpu/torch-2.9.1%2Bcpu-cp313-cp313t-manylinux_2_28_x86_64.whl", hash = "sha256:031a597147fa81b1e6d79ccf1ad3ccc7fafa27941d6cf26ff5caaa384fb20e92", upload-time = "2026-01-23T15:13:19Z" },
+ { url = "https://download-r2.pytorch.org/whl/cpu/torch-2.9.1%2Bcpu-cp313-cp313t-win_amd64.whl", hash = "sha256:e586ab1363e3f86aa4cc133b7fdcf98deb1d2c13d43a7a6e5a6a18e9c5364893", upload-time = "2026-01-23T15:13:20Z" },
+ { url = "https://download-r2.pytorch.org/whl/cpu/torch-2.9.1%2Bcpu-cp314-cp314-manylinux_2_28_aarch64.whl", hash = "sha256:65010ab4aacce6c9a1ddfc935f986c003ca8638ded04348fd326c3e74346237c", upload-time = "2026-01-23T15:13:22Z" },
+ { url = "https://download-r2.pytorch.org/whl/cpu/torch-2.9.1%2Bcpu-cp314-cp314-manylinux_2_28_x86_64.whl", hash = "sha256:88adf5157db5da1d54b1c9fe4a6c1d20ceef00e75d854e206a87dbf69e3037dc", upload-time = "2026-01-23T15:13:23Z" },
+ { url = "https://download-r2.pytorch.org/whl/cpu/torch-2.9.1%2Bcpu-cp314-cp314-win_amd64.whl", hash = "sha256:f60e2565f261542efac07e25208fb3fc55c6fe82314a5a9cbee971edb5f27713", upload-time = "2026-01-23T15:13:26Z" },
+ { url = "https://download-r2.pytorch.org/whl/cpu/torch-2.9.1%2Bcpu-cp314-cp314t-manylinux_2_28_aarch64.whl", hash = "sha256:3ac2b8df2c55430e836dcda31940d47f1f5f94b8731057b6f20300ebea394dd9", upload-time = "2026-01-23T15:13:28Z" },
+ { url = "https://download-r2.pytorch.org/whl/cpu/torch-2.9.1%2Bcpu-cp314-cp314t-manylinux_2_28_x86_64.whl", hash = "sha256:5b688445f928f13563b7418b17c57e97bf955ab559cf73cd8f2b961f8572dbb3", upload-time = "2026-01-23T15:13:29Z" },
+ { url = "https://download-r2.pytorch.org/whl/cpu/torch-2.9.1%2Bcpu-cp314-cp314t-win_amd64.whl", hash = "sha256:cf9c3e50b595721ca6b488bdcc326e0f1af73ed28b9b66eff504a96649bb5c96", upload-time = "2026-01-23T15:13:32Z" },
]
[[package]]
@@ -2991,27 +2947,27 @@ dependencies = [
{ name = "typing-extensions", marker = "extra == 'extra-8-nanochat-gpu'" },
]
wheels = [
- { url = "https://download.pytorch.org/whl/cu128/torch-2.9.1%2Bcu128-cp310-cp310-manylinux_2_28_aarch64.whl", hash = "sha256:72f0f096475e8095a6bea3fba75bd3b46cf42c761b29588f7599314e67a32661" },
- { url = "https://download.pytorch.org/whl/cu128/torch-2.9.1%2Bcu128-cp310-cp310-manylinux_2_28_x86_64.whl", hash = "sha256:c8d670aa0be6fbecd2b0e7b7d514a104dbdefcc3786ca446cf0c3415043ea40a" },
- { url = "https://download.pytorch.org/whl/cu128/torch-2.9.1%2Bcu128-cp310-cp310-win_amd64.whl", hash = "sha256:64399adaa8ea0896d02cf844cba3c5dd77e769520a1af73572599e0eaa2cf551" },
- { url = "https://download.pytorch.org/whl/cu128/torch-2.9.1%2Bcu128-cp311-cp311-manylinux_2_28_aarch64.whl", hash = "sha256:cf4ad82430824a80a9f398e29369524ed26c152cf00c2c12002e5400b35e260d" },
- { url = "https://download.pytorch.org/whl/cu128/torch-2.9.1%2Bcu128-cp311-cp311-manylinux_2_28_x86_64.whl", hash = "sha256:2a1da940f0757621d098c9755f7504d791a72a40920ec85a4fd98b20253fca4e" },
- { url = "https://download.pytorch.org/whl/cu128/torch-2.9.1%2Bcu128-cp311-cp311-win_amd64.whl", hash = "sha256:633005a3700e81b5be0df2a7d3c1d48aced23ed927653797a3bd2b144a3aeeb6" },
- { url = "https://download.pytorch.org/whl/cu128/torch-2.9.1%2Bcu128-cp312-cp312-manylinux_2_28_aarch64.whl", hash = "sha256:1176f250311fa95cc3bca8077af323e0d73ea385ba266e096af82e7e2b91f256" },
- { url = "https://download.pytorch.org/whl/cu128/torch-2.9.1%2Bcu128-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:7cb4018f4ce68b61fd3ef87dc1c4ca520731c7b5b200e360ad47b612d7844063" },
- { url = "https://download.pytorch.org/whl/cu128/torch-2.9.1%2Bcu128-cp312-cp312-win_amd64.whl", hash = "sha256:3a01f0b64c10a82d444d9fd06b3e8c567b1158b76b2764b8f51bfd8f535064b0" },
- { url = "https://download.pytorch.org/whl/cu128/torch-2.9.1%2Bcu128-cp313-cp313-manylinux_2_28_aarch64.whl", hash = "sha256:0b80b7555dcd0a75b7b06016991f01281a0bb078cf28fa2d1dfb949fad2fbd07" },
- { url = "https://download.pytorch.org/whl/cu128/torch-2.9.1%2Bcu128-cp313-cp313-manylinux_2_28_x86_64.whl", hash = "sha256:63381a109a569b280ed3319da89d3afe5cf9ab5c879936382a212affb5c90552" },
- { url = "https://download.pytorch.org/whl/cu128/torch-2.9.1%2Bcu128-cp313-cp313-win_amd64.whl", hash = "sha256:ad9183864acdd99fc5143d7ca9d3d2e7ddfc9a9600ff43217825d4e5e9855ccc" },
- { url = "https://download.pytorch.org/whl/cu128/torch-2.9.1%2Bcu128-cp313-cp313t-manylinux_2_28_aarch64.whl", hash = "sha256:2314521c74d76e513c53bb72c0ce3511ef0295ff657a432790df6c207e5d7962" },
- { url = "https://download.pytorch.org/whl/cu128/torch-2.9.1%2Bcu128-cp313-cp313t-manylinux_2_28_x86_64.whl", hash = "sha256:4454a4faca31af81566e3a4208f10f20b8a6d9cfe42791b0ca7ff134326468fc" },
- { url = "https://download.pytorch.org/whl/cu128/torch-2.9.1%2Bcu128-cp313-cp313t-win_amd64.whl", hash = "sha256:24420e430e77136f7079354134b34e7ba9d87e539f5ac84c33b08e5c13412ebe" },
- { url = "https://download.pytorch.org/whl/cu128/torch-2.9.1%2Bcu128-cp314-cp314-manylinux_2_28_aarch64.whl", hash = "sha256:32c036296c557f19a1537ce981c40533650097114e1720a321a39a3b08d9df56" },
- { url = "https://download.pytorch.org/whl/cu128/torch-2.9.1%2Bcu128-cp314-cp314-manylinux_2_28_x86_64.whl", hash = "sha256:7788d3d03d939cf00f93ac0da5ab520846f66411e339cfbf519a806e8facf519" },
- { url = "https://download.pytorch.org/whl/cu128/torch-2.9.1%2Bcu128-cp314-cp314-win_amd64.whl", hash = "sha256:7bcd40cbffac475b478d6ce812f03da84e9a4894956efb89c3b7bcca5dbd4f91" },
- { url = "https://download.pytorch.org/whl/cu128/torch-2.9.1%2Bcu128-cp314-cp314t-manylinux_2_28_aarch64.whl", hash = "sha256:e88c78e5b08ae9303aa15da43b68b44287ecbec16d898d9fad6998832fe626a5" },
- { url = "https://download.pytorch.org/whl/cu128/torch-2.9.1%2Bcu128-cp314-cp314t-manylinux_2_28_x86_64.whl", hash = "sha256:7d8769bdf3200ca16a92f14df404c3370171ac3732996528a8973d753eac562f" },
- { url = "https://download.pytorch.org/whl/cu128/torch-2.9.1%2Bcu128-cp314-cp314t-win_amd64.whl", hash = "sha256:0c784b600959ec70ee01cb23e8bc870a0e0475af30378ff5e39f4abed8b7c1cc" },
+ { url = "https://download-r2.pytorch.org/whl/cu128/torch-2.9.1%2Bcu128-cp310-cp310-manylinux_2_28_aarch64.whl", hash = "sha256:72f0f096475e8095a6bea3fba75bd3b46cf42c761b29588f7599314e67a32661", upload-time = "2026-01-26T16:53:51Z" },
+ { url = "https://download-r2.pytorch.org/whl/cu128/torch-2.9.1%2Bcu128-cp310-cp310-manylinux_2_28_x86_64.whl", hash = "sha256:c8d670aa0be6fbecd2b0e7b7d514a104dbdefcc3786ca446cf0c3415043ea40a", upload-time = "2026-01-26T16:53:51Z" },
+ { url = "https://download-r2.pytorch.org/whl/cu128/torch-2.9.1%2Bcu128-cp310-cp310-win_amd64.whl", hash = "sha256:64399adaa8ea0896d02cf844cba3c5dd77e769520a1af73572599e0eaa2cf551", upload-time = "2026-01-26T16:53:51Z" },
+ { url = "https://download-r2.pytorch.org/whl/cu128/torch-2.9.1%2Bcu128-cp311-cp311-manylinux_2_28_aarch64.whl", hash = "sha256:cf4ad82430824a80a9f398e29369524ed26c152cf00c2c12002e5400b35e260d", upload-time = "2026-01-26T16:53:53Z" },
+ { url = "https://download-r2.pytorch.org/whl/cu128/torch-2.9.1%2Bcu128-cp311-cp311-manylinux_2_28_x86_64.whl", hash = "sha256:2a1da940f0757621d098c9755f7504d791a72a40920ec85a4fd98b20253fca4e", upload-time = "2026-01-26T16:53:57Z" },
+ { url = "https://download-r2.pytorch.org/whl/cu128/torch-2.9.1%2Bcu128-cp311-cp311-win_amd64.whl", hash = "sha256:633005a3700e81b5be0df2a7d3c1d48aced23ed927653797a3bd2b144a3aeeb6", upload-time = "2026-01-26T16:54:12Z" },
+ { url = "https://download-r2.pytorch.org/whl/cu128/torch-2.9.1%2Bcu128-cp312-cp312-manylinux_2_28_aarch64.whl", hash = "sha256:1176f250311fa95cc3bca8077af323e0d73ea385ba266e096af82e7e2b91f256", upload-time = "2026-01-26T16:54:14Z" },
+ { url = "https://download-r2.pytorch.org/whl/cu128/torch-2.9.1%2Bcu128-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:7cb4018f4ce68b61fd3ef87dc1c4ca520731c7b5b200e360ad47b612d7844063", upload-time = "2026-01-26T16:54:25Z" },
+ { url = "https://download-r2.pytorch.org/whl/cu128/torch-2.9.1%2Bcu128-cp312-cp312-win_amd64.whl", hash = "sha256:3a01f0b64c10a82d444d9fd06b3e8c567b1158b76b2764b8f51bfd8f535064b0", upload-time = "2026-01-26T16:54:32Z" },
+ { url = "https://download-r2.pytorch.org/whl/cu128/torch-2.9.1%2Bcu128-cp313-cp313-manylinux_2_28_aarch64.whl", hash = "sha256:0b80b7555dcd0a75b7b06016991f01281a0bb078cf28fa2d1dfb949fad2fbd07", upload-time = "2026-01-26T16:54:37Z" },
+ { url = "https://download-r2.pytorch.org/whl/cu128/torch-2.9.1%2Bcu128-cp313-cp313-manylinux_2_28_x86_64.whl", hash = "sha256:63381a109a569b280ed3319da89d3afe5cf9ab5c879936382a212affb5c90552", upload-time = "2026-01-26T16:54:52Z" },
+ { url = "https://download-r2.pytorch.org/whl/cu128/torch-2.9.1%2Bcu128-cp313-cp313-win_amd64.whl", hash = "sha256:ad9183864acdd99fc5143d7ca9d3d2e7ddfc9a9600ff43217825d4e5e9855ccc", upload-time = "2026-01-26T16:55:00Z" },
+ { url = "https://download-r2.pytorch.org/whl/cu128/torch-2.9.1%2Bcu128-cp313-cp313t-manylinux_2_28_aarch64.whl", hash = "sha256:2314521c74d76e513c53bb72c0ce3511ef0295ff657a432790df6c207e5d7962", upload-time = "2026-01-26T16:55:25Z" },
+ { url = "https://download-r2.pytorch.org/whl/cu128/torch-2.9.1%2Bcu128-cp313-cp313t-manylinux_2_28_x86_64.whl", hash = "sha256:4454a4faca31af81566e3a4208f10f20b8a6d9cfe42791b0ca7ff134326468fc", upload-time = "2026-01-26T16:55:28Z" },
+ { url = "https://download-r2.pytorch.org/whl/cu128/torch-2.9.1%2Bcu128-cp313-cp313t-win_amd64.whl", hash = "sha256:24420e430e77136f7079354134b34e7ba9d87e539f5ac84c33b08e5c13412ebe", upload-time = "2026-01-26T16:55:48Z" },
+ { url = "https://download-r2.pytorch.org/whl/cu128/torch-2.9.1%2Bcu128-cp314-cp314-manylinux_2_28_aarch64.whl", hash = "sha256:32c036296c557f19a1537ce981c40533650097114e1720a321a39a3b08d9df56", upload-time = "2026-01-26T16:55:52Z" },
+ { url = "https://download-r2.pytorch.org/whl/cu128/torch-2.9.1%2Bcu128-cp314-cp314-manylinux_2_28_x86_64.whl", hash = "sha256:7788d3d03d939cf00f93ac0da5ab520846f66411e339cfbf519a806e8facf519", upload-time = "2026-01-26T16:56:02Z" },
+ { url = "https://download-r2.pytorch.org/whl/cu128/torch-2.9.1%2Bcu128-cp314-cp314-win_amd64.whl", hash = "sha256:7bcd40cbffac475b478d6ce812f03da84e9a4894956efb89c3b7bcca5dbd4f91", upload-time = "2026-01-26T16:56:12Z" },
+ { url = "https://download-r2.pytorch.org/whl/cu128/torch-2.9.1%2Bcu128-cp314-cp314t-manylinux_2_28_aarch64.whl", hash = "sha256:e88c78e5b08ae9303aa15da43b68b44287ecbec16d898d9fad6998832fe626a5", upload-time = "2026-01-26T16:56:15Z" },
+ { url = "https://download-r2.pytorch.org/whl/cu128/torch-2.9.1%2Bcu128-cp314-cp314t-manylinux_2_28_x86_64.whl", hash = "sha256:7d8769bdf3200ca16a92f14df404c3370171ac3732996528a8973d753eac562f", upload-time = "2026-01-26T16:56:34Z" },
+ { url = "https://download-r2.pytorch.org/whl/cu128/torch-2.9.1%2Bcu128-cp314-cp314t-win_amd64.whl", hash = "sha256:0c784b600959ec70ee01cb23e8bc870a0e0475af30378ff5e39f4abed8b7c1cc", upload-time = "2026-01-26T16:56:38Z" },
]
[[package]]
@@ -3135,20 +3091,6 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/a7/c2/fe1e52489ae3122415c51f387e221dd0773709bad6c6cdaa599e8a2c5185/urllib3-2.5.0-py3-none-any.whl", hash = "sha256:e6b01673c0fa6a13e374b50871808eb3bf7046c4b125b216f6bf1cc604cff0dc", size = 129795, upload-time = "2025-06-18T14:07:40.39Z" },
]
-[[package]]
-name = "uvicorn"
-version = "0.36.0"
-source = { registry = "https://pypi.org/simple" }
-dependencies = [
- { name = "click" },
- { name = "h11" },
- { name = "typing-extensions", marker = "python_full_version < '3.11' or (extra == 'extra-8-nanochat-cpu' and extra == 'extra-8-nanochat-gpu')" },
-]
-sdist = { url = "https://files.pythonhosted.org/packages/ef/5e/f0cd46063a02fd8515f0e880c37d2657845b7306c16ce6c4ffc44afd9036/uvicorn-0.36.0.tar.gz", hash = "sha256:527dc68d77819919d90a6b267be55f0e76704dca829d34aea9480be831a9b9d9", size = 80032, upload-time = "2025-09-20T01:07:14.418Z" }
-wheels = [
- { url = "https://files.pythonhosted.org/packages/96/06/5cc0542b47c0338c1cb676b348e24a1c29acabc81000bced518231dded6f/uvicorn-0.36.0-py3-none-any.whl", hash = "sha256:6bb4ba67f16024883af8adf13aba3a9919e415358604ce46780d3f9bdc36d731", size = 67675, upload-time = "2025-09-20T01:07:12.984Z" },
-]
-
[[package]]
name = "wandb"
version = "0.21.3"