Run 35B MoE models in ~2.5 GB of RAM. Weights stream from SSD; a trained router predicts loads a step ahead. Mac, iPhone, Android, Windows supported
Python
export const STICK_BOTTOM_THRESHOLD = 40;
export interface ScrollGeometry {
scrollHeight: number;
scrollTop: number;
clientHeight: number;
}
export function isAtBottom(el: ScrollGeometry, threshold = STICK_BOTTOM_THRESHOLD): boolean {
return el.scrollHeight - el.scrollTop - el.clientHeight < threshold;
}