Files
ik_llama.cpp/github-data/pull_requests/147 - Be able to repack tensors at run time.md
2025-07-23 13:31:53 +02:00

636 B

🔀 #147 - Be able to repack tensors at run time

Author ikawrakow
State Closed
Created 2024-12-17
Updated 2024-12-17

Description

It is a bit of a hack as I didn't see a good way to figure out if tensors may be uploaded to a GPU later on. But if running on the CPU it works fine. Just use

-rtr or --run-time-repack

and all tensors types that have a corresponding type with interleaved rows will be repacked.

Note: turning on run time repacking will automatically turn off mmap.