The agent carries asm-llm, 14 KB, built from llm.asm at 48feccb, and writes it on every x86-64 node whose CPU has AVX2, FMA and F16C: no download, no assembler on the node, nothing for an offline site to bring. asmllm is in DefaultEngines at that commit. scripts/asmllm_build.sh builds it again from the source and checks it is the same bytes, weekly in the engine-releases workflow, which now also says when llm.asm's main has moved past the commit llmgw carries. llmgw mirror asmbin makes the .asmbin from a Hugging Face Qwen3 checkpoint at a commit, checking each file against the sha256 the registry publishes, and puts it in the mirror. The conversion is llm.asm's export_weights.py written in Go: the same bytes for Qwen3-0.6B (sha256 14dc92c1...), with no Python on the mirror, in 94 MB instead of 2.5 GB. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
39 lines
1.2 KiB
YAML
39 lines
1.2 KiB
YAML
# Fails when an engine llmgw follows release by release (FreeToken) has
|
|
# published a version newer than the one DefaultEngines installs, or one it
|
|
# follows commit by commit (llm.asm) has moved past the commit it carries:
|
|
# the failed run is the notice to check the new version and move to it. See
|
|
# scripts/engine_releases.py.
|
|
#
|
|
# Also builds the asm-llm the agent carries from llm.asm's source again and
|
|
# compares it with the embedded one, byte for byte (scripts/asmllm_build.sh).
|
|
name: Engine releases
|
|
|
|
on:
|
|
schedule:
|
|
# Mondays 06:00 UTC.
|
|
- cron: "0 6 * * 1"
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Compare with PyPI and GitHub
|
|
run: python3 scripts/engine_releases.py
|
|
|
|
asmllm-build:
|
|
# Ubuntu 24.04's NASM 2.16.01 and ld 2.42, which the carried build was
|
|
# made with.
|
|
runs-on: ubuntu-latest
|
|
container: ubuntu:24.04
|
|
steps:
|
|
- name: Tools
|
|
run: apt-get update -qq && apt-get install -y -qq --no-install-recommends git nasm binutils make ca-certificates nodejs >/dev/null
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Build and compare
|
|
run: sh scripts/asmllm_build.sh
|