Skip to content

feat: Faster ML - #76

Merged
disconsented merged 9 commits into
masterfrom
feat/faster-ml
Sep 15, 2026
Merged

disconsented merged 9 commits into
masterfrom
feat/faster-ml

Conversation

@disconsented

Copy link
Copy Markdown
Owner

The existing candle backend is very slow w/ the mistral model running at about .7T/s.

Swapping over to a Gemma4 E4B model & a llama.cpp server brings us up to about 20T/s on the same hardware.

disconsented and others added 5 commits September 16, 2026 10:32
The crate ran a model in process through candle and MKL. It also needed a
target-cpu=native build flag, which tied the binary to the build host.

A llama.cpp server takes the work in the commit that follows.
The workspace already carried the french feature of lingua, but the binary
enabled neither it nor the other two. The language actor now reads them.
The reorder_arrays option also sorts the commit_parsers array of cliff.toml.
git-cliff takes the first rule that matches, so the sort moves the group
rules in front of the skip rules and changes which commits it skips.
Every consolidation example collapsed a modifier and a noun into that
noun, as in "steel sword" to "swords". None collapsed different sibling
nouns into a parent, so one mod listed machine guns, autocannons,
cannons, missile weapons, electromagnetic weapons, laser weapons and
tracking weapons as seven separate features.

Three examples of the right shape plus one rule take that item from 23
features to 12. The examples alone made it worse, at 21.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NJmogiWB2qU1XHsS8BtVmo
The actor posts each prompt to the chat completions endpoint and holds the
answer to a JSON schema. The config gains ml_extraction.url next to the
enabled flag, which was a plain bool before.
@github-actions

github-actions Bot commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Svelte Check Results

Found 0 errors and 2 warnings (2 total) with the files in this PR.

ui/src/routes/item/[item]/Property.svelte

ui/src/routes/item/[item]/Property.svelte:26:24

Warn: This reference only captures the initial value of `property`. Did you mean to reference it inside a derived instead?
https://svelte.dev/e/state_referenced_locally

let voteState = $state(property.vote_state);

ui/src/routes/item/[item]/Property.svelte:27:26

Warn: This reference only captures the initial value of `property`. Did you mean to reference it inside a derived instead?
https://svelte.dev/e/state_referenced_locally

let upvoteCount = $state(property.upvote_count);

Last Updated: 15th September at 22:39 (9550c84)

The align and align-middle classes do nothing to a grid item.
The catch-all type collected items that the other types already named. The
new type marks an item whose author used a model for part of the content.
Each task held its own copy of the request builder and its own schema
structs. One table now names the two tasks, and each schema type carries
a default, so a third task costs one entry.

The actor returns LlamaError instead of Whatever, and the health check
gives up after five minutes rather than looping on a dead server.
@disconsented
disconsented merged commit 56382d3 into master Sep 15, 2026
6 checks passed
@disconsented
disconsented deleted the feat/faster-ml branch September 15, 2026 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant