mirror of
https://github.com/elder-plinius/OBLITERATUS.git
synced 2026-12-05 18:44:41 +01:00
19 lines
999 B
Markdown
19 lines
999 B
Markdown
# Input execution devices
|
|
|
|
Token tensors now use `resolve_input_execution_device(model)` in evaluation,
|
|
benchmarks, the ablation pipeline, automatic runs, and chat. For dispatched
|
|
models, the resolver uses the input embedding's Accelerate execution hook (or
|
|
its nearest supported ancestor hook). It otherwise uses materialized embedding
|
|
storage, a root execution hook, or a resident model device.
|
|
|
|
A meta tensor describes storage without supplying a usable execution device.
|
|
An ambiguous meta layout or an unsupported embedding hook raises
|
|
`InputDeviceResolutionError` before token placement. Parameterless models
|
|
without a device use CPU. Chat preserves dispatched model placement instead
|
|
of moving the entire model with `.to()`.
|
|
|
|
CPU tests exercise real Accelerate CPU and disk offload as well as supported
|
|
hook layouts and invalid device metadata. They do not qualify CUDA execution,
|
|
MPS execution, or one-, two-, and three-A100 workflows. Those conditional
|
|
results remain required by issue #88.
|