Commit Graph

27 Commits

Author SHA1 Message Date
Graham King f1bcb17542
feat: Add metric tokenizer_latency_ms (#6092)
Signed-off-by: Graham King <grahamk@nvidia.com>
2026-02-10 08:52:31 -08:00
Keiven C cb7ebdd7e8
chore: remove unused NIM specific code (part 2) (#5893)
Signed-off-by: Keiven Chang <keivenchang@users.noreply.github.com>
Co-authored-by: Keiven Chang <keivenchang@users.noreply.github.com>
2026-02-05 12:21:10 -08:00
Tushar Sharma cf433e6825
chore: update all copyright headers in repo to 2026 (#5130)
Signed-off-by: Tushar Sharma <tusharma@nvidia.com>
2026-01-02 22:08:23 +00:00
milesial d2faf0e6f5
feat: Runtime media decoder config (#5011)
Signed-off-by: Alexandre Milesi <milesial@users.noreply.github.com>
2025-12-19 05:34:09 +00:00
GuanLuo 4ace4c857f
fix: ModelDeploymentCard obtains full set of eos_token_ids by taking union from different files (#3192)
Signed-off-by: Guan Luo <gluo@nvidia.com>
Signed-off-by: Guan Luo <41310872+GuanLuo@users.noreply.github.com>
2025-12-02 22:37:53 +00:00
Keiven C 0e77d3442e
refactor: centralize environment variable constants (#4083)
Signed-off-by: Keiven Chang <keivenchang@users.noreply.github.com>
Co-authored-by: Keiven Chang <keivenchang@users.noreply.github.com>
2025-11-17 11:16:38 -08:00
KrishnanPrash c837b5bafb
feat: Reject unsupported parameters with 400 Bad Request (#4021)
Signed-off-by: Krishnan Prashanth <kprashanth@nvidia.com>
2025-11-03 13:42:40 -08:00
milesial e30a3054cb
feat: Media HTTP fetching and b64 decoding (#3967)
Signed-off-by: Alexandre Milesi <milesial@users.noreply.github.com>
2025-10-31 11:14:41 -07:00
milesial a79122c6e0
feat: Media URL passthrough in OAI preprocessor (#3733)
Signed-off-by: Alexandre Milesi <30204471+milesial@users.noreply.github.com>
2025-10-27 23:33:54 +00:00
Chi McIsaac eb6722e39a
feat: add chat_template_kwargs param to v1/chat/completion (#3016)
Signed-off-by: Chi McIsaac <chixie.mcisaac@gmail.com>
2025-09-17 15:32:40 +00:00
Graham King 9060ce12ce
feat: Make part of discovery re-usable (#3073)
Signed-off-by: Graham King <grahamk@nvidia.com>
2025-09-17 10:43:24 -04:00
Graham King cb5a657a6a
fix: Load the tokenizer JSON once for chat and completions. (#2910)
Signed-off-by: Graham King <grahamk@nvidia.com>
2025-09-05 16:48:16 -04:00
KrishnanPrash c920cbd9dc
feat: Add --custom-jinja-template argument to pass a custom chat template for vLLM (#2829)
Signed-off-by: Krishnan Prashanth <kprashanth@nvidia.com>
2025-09-03 14:22:15 -07:00
Graham King bce7458842
chore: Rust to 1.89 and edition 2024 (#2659) 2025-08-22 16:17:15 -07:00
nachiketb-nvidia 199b9a30f4
chore: Bring async-openai into repo as request starter (#2520)
Co-authored-by: Graham King <grahamk@nvidia.com>
2025-08-19 17:47:01 -04:00
KrishnanPrash 18bb779ef8
feat: Add frontend support for `min_tokens` and `ignore_eos` (outside of `nvext`) and Structured Output / Guided Decoding (#2380)
Signed-off-by: KrishnanPrash <140860868+KrishnanPrash@users.noreply.github.com>
Co-authored-by: Ryan McCormick <rmccormick@nvidia.com>
Co-authored-by: Ayush Agarwal <ayushag@nvidia.com>
2025-08-12 13:46:47 -07:00
Graham King 1954fcfa09
chore: Remove service_name from ModelDeploymentCard (#2349) 2025-08-07 11:02:41 -04:00
Keiven C ccc8815b35
fix: improve HF token handling in preprocessor tests (#2321)
Co-authored-by: Keiven Chang <keivenchang@users.noreply.github.com>
2025-08-06 19:29:42 -07:00
Graham King 3bde1e45fc
fix: Fix race condition in kv_router unit test (#1174)
Removed the hard coded sleeps, explained what we're testing.

Closes https://github.com/ai-dynamo/dynamo/issues/1132

The race condition is that `apply_event` sends a message on a channel, it does not directly apply the event. At some later point the tokio runtime schedules the task running the channel receiver, which applies the event. If that had not happened yet the test would fail.
2025-05-22 13:35:26 -04:00
Graham King 99cd9d85a9
feat: dynamo-run <-> python interop (#934)
Adding this to a Python script makes it register on the network so that `dynamo-run` can discover it and send it requests:
```
from dynamo.llm import register_llm

MODEL = "Qwen/Qwen2.5-0.5B-Instruct"
await register_llm(endpoint, MODEL, 3)
```

Full vllm example, with pre-processing in dynamo:
- `dynamo-run in=text out=dyn://dynamo.backend.generate`
- `cd lib/bindings/python/examples/hello_world`
- `python server_vllm.py`

This builds on top of the work to move pre-processor to ingress side. It means we can decouple Rust and Python using NATS as the bus.

The `register_llm` call does this:

- Download the model from HF if necessary
- Load the model deployment card from the HF folder or extract from GGUF
- Push the tokenizer config etc into NATS object store so ingress can access it from a different machine
- Publish the model deployment card to ETCD
2025-05-05 20:49:19 -04:00
Neelay Shah 602352ce19 chore: rename dynamo (#44)
Co-authored-by: Biswa Panda <biswa.panda@gmail.com>
2025-03-08 01:42:40 -08:00
Neelay Shah 1af7433bff refactor: rename triton_distributed to dynemo (#22)
Co-authored-by: Graham King <grahamk@nvidia.com>
2025-03-05 09:15:46 -08:00
Paul Hendricks 96866f4363 refactor: rename ChatCompletionRequest to NvCreateChatCompletionRequest (#284) 2025-02-27 08:48:24 -05:00
Paul Hendricks 86aff237ab refactor: using async_openai
Co-authored-by: Graham King <grahamk@nvidia.com>
2025-02-26 13:59:39 -08:00
Graham King 72064d849e feat: tio support preprocessor (#265)
Add backend type `EngineConfig::StaticCore` that wraps the engine in a preprocessor (prompt templating and tokenization).

Add example engine `echo_core` (`out=echo_core`) which takes and returns tokens. A nice side effect is that it echos the full prompt template with system prompt, whereas `echo_full` echos only user prompt.

![image](https://github.com/user-attachments/assets/27ec0a7b-a27d-4e69-96ea-1ffa0822ea90)
2025-02-25 11:07:39 -05:00
Ryan McCormick c06b95ffdb ci: Add rust checks to missing directories (#239)
Signed-off-by: Ryan McCormick <rmccormick@nvidia.com>
2025-02-25 07:42:33 -08:00
Neelay Shah 08fcd7e93b refactor: move libs to lib dir
Signed-off-by: Neelay Shah <neelays@nvidia.com>
Co-authored-by: Ryan McCormick <rmccormick@nvidia.com>
2025-02-24 18:21:02 -08:00