Skip to content

Commit 86b4c04

Browse files
Remove Deprecated LLMAsset Terminology (#125)
* remove llmasset from repo * update readme instructions
1 parent 5ed9981 commit 86b4c04

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

models/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ uv run coreai.vlm.export --list-models # list supported VLMs
102102
uv run coreai.vlm.export qwen3-vl # text decoder + token embedding + vision encoder
103103
```
104104

105-
This produces a single `<name>.llmasset/` bundle (`kind=vlm`) holding the text
105+
This produces a single `<name>/` bundle (`kind=vlm`) holding the text
106106
decoder (`main`), token-embedding lookup (`embedding`), vision encoder
107107
(`vision`), tokenizer, and `metadata.json`. Pass `--skip-vision` to export the
108108
text portion only.

models/vlm/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Options:
2828

2929
## Bundle layout
3030

31-
The export produces a `<name>.llmasset/` directory (`metadata.json` `kind=vlm`)
31+
The export produces a `<name>/` directory (`metadata.json` `kind=vlm`)
3232
with asset roles consumed by the Swift runner's `ModelBundle`:
3333

3434
| Asset | File | Role |
@@ -62,7 +62,7 @@ The strategy is inferred from the model's `preprocessor_config.json` at export
6262
time and written into the bundle's `metadata.json`. Override at runtime:
6363

6464
```bash
65-
llm-runner --model vlm_bundle --image photo.jpg --image-strategy center_crop
65+
swift run -c release llm-runner --model vlm_bundle --image photo.jpg --image-strategy center_crop --prompt "your prompt"
6666
```
6767

6868
### Original resolution in prompt

python/src/coreai_models/vlm/export.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"""CLI entry point for ``coreai.vlm.export``.
77
88
Exports a vision-language model to Core AI format as a multi-asset bundle
9-
(``<name>.llmasset/``):
9+
(``<name>/``):
1010
1111
- ``<name>.aimodel`` text decoder (asset role ``main``, inputs_embeds, stateful KV)
1212
- ``embed.aimodel`` token-embedding lookup (asset role ``embedding``)
@@ -332,7 +332,7 @@ async def export_text_bundle(
332332
program.optimize()
333333

334334
# ---- 5. Save bundle ----
335-
bundle_path = output_dir / (output_name + ".llmasset")
335+
bundle_path = output_dir / output_name
336336
bundle_path.mkdir(parents=True, exist_ok=True)
337337
aimodel_path = bundle_path / f"{output_name}.aimodel"
338338

swift/Sources/CoreAILanguageModels/DecodingStrategies/ConstrainedDecodingStrategy.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public struct ConstrainedDecodingStrategy: DecodingStrategy {
8888
guard let vocabSize = vocabSizeOverride ?? Self.deriveVocabSize(from: tokenizer) else {
8989
throw InferenceRuntimeError.invalidArgument(
9090
"Cannot determine vocabulary size from tokenizer. "
91-
+ "Pass vocabSize explicitly via CoreAIRunner or LLMAsset metadata."
91+
+ "Pass vocabSize explicitly via CoreAIRunner or ModelBundle metadata."
9292
)
9393
}
9494

0 commit comments

Comments
 (0)