Repository navigation
chore: P3 wording and WebGPU coreVariant sweep (Refs #2048) - #2052
Merged
Merged
Conversation
Contributor
|
Chat app preview removed for |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
LlamaEngine.getMetadataDartdoc (lib/src/core/engine/engine.dart) andwebsite/docs/guides/chat-template-and-parsing.mdthattokenizer.ggml.bos_tokenandtokenizer.ggml.eos_tokenare empty when the token id is negative or has no piece text.coreVarianthandling: intest/e2e/webgpu/tool_choice_grammar_e2e_test.dart, reject missing/unknowncoreVarianton non-legacy routes and reportcoreWasmSha256: null(instead of assumingcoreWasm32Sha256) whencoreVariantisnullor unrecognized.doc/cross_platform_validation.md(since W2c is a diagnostic build) and drop the duplicatedchat-app-litert-json-schemareference inpackages/llamadart_validation/assets/capability_coverage.json.v0.1.84+beforev0.1.85+inwebsite/docs/platforms/webgpu-bridge.md, and scope the plain-string and diagnostic marker claims inwebsite/docs/guides/tool-calling.mdandskills/llamadart-tool-calling/SKILL.md(<and>excluded from unquoted copied spellings;<excluded from diagnostic argument bytes and<|marker prefixes excluded from diagnostic tails).Production-readiness scope
lib/runtime behavior changed.ToolChoiceE2E routes now reject null/unknowncoreVariantinstead of falling back tocoreWasm32Sha256.Completeness checklist
validation_coverage_test.dartpasses).#2048).PR type guidance
test/e2e/webgpu/tool_choice_grammar_e2e_test.dart,packages/llamadart_validation/assets/capability_coverage.json, andskills/llamadart-tool-calling/SKILL.md).Test Plan
dart run tool/prepare_workspace.dartdart format --output=none --set-exit-if-changed lib test tool exampledart analyzedart run tool/testing/check_platform_boundaries.dartTMPDIR="$(mktemp -d)" dart test -p vm -j 1 test/unit/tooling/(1989 passed, 11 skipped)TMPDIR="$(mktemp -d)" dart test -p vm -j 1 --exclude-tags local-only test/unit/core/engine/engine_test.dart(288 passed)dart test -p chrome --exclude-tags local-only test/unit/core/engine/engine_test.dart(287 passed, 1 skipped)TMPDIR="$(mktemp -d)" dart test -p vm -j 1 test/unit/backends/llama_cpp/llama_cpp_service_special_token_text_test.dart test/unit/core/template/handlers/lfm2_handler_test.dart test/unit/test_structure/mirrored_unit_structure_test.dart(5 + 72 + 2 passed)./tool/docs/build_site.sh(4272 pages, no broken internal links)dart run tool/testing/check_webgpu_bridge_tag.dart&dart run tool/testing/verify_release_docs_versions.dartcoverage-libN/A: nolib/runtime behavior change (Dartdoc comment only).Matrix Evidence
static-format-analyzedart format,dart analyze,check_platform_boundaries.dartcleanroot-vmtest/unit/tooling/(1989 passed, 11 skipped),engine_test.dart(288 passed),llama_cpp_service_special_token_text_test.dart(5 passed),lfm2_handler_test.dart(72 passed),mirrored_unit_structure_test.dart(2 passed)root-chromeengine_test.dart(287 passed, 1 skipped)docs-site./tool/docs/build_site.sh(4272 pages, 0 broken links)web-tool-choice-grammarToolChoiceE2Ecoverage-liblib/runtime behavior changehigh-risk-exact-head-independent-qa3cda71436(merges cleanly onto3c8403a8b)llamadart-evidence/pr-2052/audit-d308bbeb2/Review Notes
d308bbeb2cbec356066fe53c973aefca852ccd06; the onlylib/change is a Dartdoc sentence (no production call-site change).d308bbeb2cbec356066fe53c973aefca852ccd06High-risk regression review
backendRuntimevialib/src/core/engine/engine.dart;classify_high_risk_changes.dart)chore/2048-sweep-1d308bbeb2cbec356066fe53c973aefca852ccd06/3cda714368b509d789a882206580e9186b812daalib/)web-tool-choice-grammarislocal-onlyand not run without local model weights