// RUN โ€” FITS

Can the Apple M1 Ultra 128GB run Transformer-XL (257M)?

Yes โ€” here's how fast and up to what context, with real measured numbers.

Transformer-XL (257M) on the Apple M1 Ultra 128GB

QuantFits?Max contextSpeedBeyond context
FP16 yes 1727k 1058.4-1276.3 t/s ~13.2-16 (slow)
Q8 yes 1731k 2116.7-2552.5 t/s ~26.5-31.9 (slow)
Q4 yes 1733k 3779.9-4558.1 t/s ~47.2-57 (slow)

Estimate (memory-bound). Beyond "max context" the KV cache spills to SSD swap and speed drops to the "beyond" figure.

FAQ

Can the Apple M1 Ultra 128GB run Transformer-XL (257M)?โ–ถ

Yes. At Q4 it generates ~3779.9-4558.1 tok/s and fits up to 1733k context; beyond that it spills to SSD swap and slows to ~47.2-57 tok/s.

How much context fits?โ–ถ

At Q4, up to about 1733k tokens stay in fast memory; longer context spills to SSD swap and throughput collapses.