Views
No views yet
agillm35.py. The helper modules are folded into that one file so the runtime can be cloned, inspected, and launched without restoring the whole AGILLM4 source tree.public_join/agillm35_network_host.py starts a signed-lease HTTPS coordinator for people who want to run their own network.public_join/agillm35_join_worker.py is an outbound-only worker for untrusted joiners. It requests short-lived leases, verifies package hashes, runs a local worker command, and submits results to quarantine rather than exposing SSH or writing directly into the master merge path.distributed_infer/agillm35_distributed_infer.py is a single-file distributed AR inference harness for the real AGILLM3.5 transformer. It splits contiguous transformer/DiffusionBlock layer ranges across local or HTTP worker stages, using the actual Block implementation and MoE FFNs from the checkpoint config.1python distributed_infer/agillm35_distributed_infer.py plan \
2 --agillm35-path ./agillm35.py \
3 --ckpt /path/to/master.pt \
4 --dblock-blocks 81AGILLM35_INFER_TOKEN='change-me' python distributed_infer/agillm35_distributed_infer.py worker \
2 --agillm35-path ./agillm35.py \
3 --ckpt /path/to/master.pt \
4 --start-layer 0 \
5 --end-layer 12 \
6 --host 0.0.0.0 \
7 --port 91001AGILLM35_INFER_TOKEN='change-me' python distributed_infer/agillm35_distributed_infer.py infer \
2 --agillm35-path ./agillm35.py \
3 --ckpt /path/to/master.pt \
4 --prompt "Hello" \
5 --max-new 32 \
6 --cache-mode kv \
7 --stage https://worker-a.example:9100,0,12 \
8 --stage local:12:24--cache-mode kv is the default and keeps per-session KV state on each worker after the prompt prefill, so decode steps send only the new hidden token through the pipeline. --cache-mode full is kept for comparison/debugging. SAT/NAT distributed decoding is a later phase.distributed/inference/master_r299_20260602-205914_ar_infer_slim.pt; it drops optimizer/SAT/disaggregated training state while preserving AR transformer inference.deepseek-ai/DeepSeek-V3.2large (d=1024, layers=24, heads=16, rank=128)--agillm3_compat--dblock1python agillm35.py --help
2python agillm35.py status --ckpt /path/to/pretrain_step00051081.pt
3python agillm35.py infer --ckpt /path/to/pretrain_step00051081.pt --prompt "Hello"1python agillm35.py train \
2 --agillm3_compat \
3 --preset large \
4 --resume /path/to/pretrain_step00051081.pt \
5 --block 512 \
6 --batch_size 1 \
7 --source HuggingFaceFW/fineweb-edu \
8 --save_dir ckpts \
9 --dblock \
10 --dblock_blocks 8 \
11 --nat_every 0 \
12 --dblock_nat_weight 0loss plus the actual EDM-weighted training objective as weighted. The weighted value is the optimization target; the raw value is the sanity-check number to compare with ordinary AR/SAT loss.