cAllocateUserPhysicalPages()
MapUserPhysicalPages()
// do your tensor ops on this chunk
UnmapUserPhysicalPages()
// slide the window, repeat
You'd basically be implementing your own memory manager that swaps chunks of the model weights in and out of your addressable space. It's not impossible, but it's a pretty gnarly undertaking for what amounts to "running AI on a museum piece." -DGGML_AVX=OFF -DGGML_AVX2=OFF -DGGML_FMA=OFF \
-DGGML_F16C=OFF -DGGML_SSE42=OFF -DGGML_SSSE3=OFF \
-DGGML_SSE3=OFF -DGGML_SSE2=OFF # pain begins here
And then adding `-ffast-math` to `CMAKE_C_FLAGS` because at that point, who cares about IEEE 754 compliance, we're running a transformer on hardware that predates Google.