Files
snowsh1neandClaude Opus 5.5 06f1b63097 Strixolotl: DeepSeek-V4.1-Flash-1017 on AMD Strix Halo
A HIP/ROCm port of the Xolotl inference engine for one Strix Halo box (Ryzen AI Max,
Radeon 8060S / gfx1151, 128 GB), with our own GSQ-217 quantization and the scripts to
build, download, verify and serve it. Quality first; ~11 tok/s decode with DSpark,
1,048,576-token context, OpenAI- and Anthropic-compatible server.

Model: https://huggingface.co/Snowsh1ne/DeepSeek-V4.1-Flash-1017-GSQ-217-Strixolotl

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01EZwyKFqq7M8mbdqnDVKaSN
2026-11-01 13:13:14 +01:00

15 lines
860 B
Python

# cmpref.py run... : per-token distance of each engine dump to the exact torch GSQ-200 chain (nll-gsqtorch.txt)
import os, sys, numpy as np
R=os.path.expanduser('~/.cache/xolotl/runs/')
G=np.loadtxt(R+'nll-gsqtorch.txt'); gn=G[:,1]; ga=G[:,2].astype(int); conf=G[:,3]>3
rng=[(0,1024),(1024,2048),(2048,4095)]
print('%-14s %8s | %-24s | %-22s | %s'%('run','ppl','mean|d - torchGSQ|','argmax = torchGSQ','confident argmax'))
for k in sys.argv[1:]:
try: b=np.loadtxt(R+f'nll-{k}.txt')
except Exception: print(k,'missing'); continue
d=np.abs(b[:,1]-gn)
print('%-14s %8.4f | %-24s | %-22s | %s'%(k,np.exp(b[:,1].mean()),
' '.join('%.3f'%d[lo:hi].mean() for lo,hi in rng),
' '.join('%.3f'%(b[lo:hi,2]==ga[lo:hi]).mean() for lo,hi in rng),
' '.join('%.3f'%(b[lo:hi,2][conf[lo:hi]]==ga[lo:hi][conf[lo:hi]]).mean() for lo,hi in rng)))