Hi Chrome ATL approvers,
Per @Clark Duvall’s pointer, I am sending this email to start the approval process of including a new third party llguidance Rust library into Chromium.
Support for guidance/structured output with prompt API · Issue #35 · webmachinelearning/prompt-api
Source size is ~575KB from the checkout of third_party\rust\chromium_crates_io\vendor\llguidance-0.6.27
TODO(FrankLi): I will find out from build log.
It is not build for Android because of enable_ml_internal build flag.
1,858,560 Byes (~18.5MB) on Windows x64 release build (unofficial). Official build should be smaller in binary size.
Yes.
There are a few other libraries that provide constrained sampling (aka constrained decoding) apart from llguidance, based on conversations with researchers who work on llguidance we believe this library provides the best in terms of coverage, performance, and support.
No.
[References]
- [ChromeML] Import of llguidance Rust crate (6272323) · Gerrit Code Review
- [ChromeML] use of llguidance to support structured outputs from LLM (6232561) · Gerrit Code Review
Best regards,
Frank
1,858,560 Byes (~1.85MB) on Windows x64 release build (unofficial). Official build should be smaller in binary size.
Yes.
>… so LGTM for ATLs. …
need a security and license review, and of course any approval from OWNERS of the code…
Thank you all for looking into this. @Clark Duvall
has also guided us on the next
steps to follow.
Best regards,
Frank
From: Rick Byers <rby...@chromium.org>
Sent: Monday, March 10, 2025 7:18 AM
To: Sushanth Rajasankar <Sushanth....@microsoft.com>
Cc: Frank Li (IE) <fra...@microsoft.com>; Michal Moskal <Michal...@microsoft.com>; chrome-at...@google.com; Clark Duvall <cdu...@google.com>; rust...@chromium.org; Etienne Noël <etien...@google.com>; tha...@chromium.org; Erik Anderson
<Erik.A...@microsoft.com>; Matthew Riley <mat...@google.com>
Subject: [EXTERNAL] Re: [Chrome ATL approval] Inclusion of a new third party llguidance Rust library
You don't often get email from rby...@chromium.org. Learn why this is important |