Module init

Module init 

Source
Expand description

2026-09-25: GlmVit::new and the device scratch allocated on first use.

Owner: model-layers (vision). Invariants: new refuses a hidden_size not divisible by a nonzero num_heads, a head_dim not a multiple of 4, a spatial_merge_size other than 2, and a zero patch_size or temporal_patch_size.

Structsยง

GlmVitGeometry
2026-09-25: Everything GlmVit::new needs that is not a device pointer.