Commit graph

104 commits

Author SHA1 Message Date
leeetao 
2f049b8428 Added support for Q2K, IQ1s, IQ4NL quantization types 2025-03-04 15:22:55 +00:00
Lizonghang
9cbdf01645 fix support for Q5_0 2025-02-27 22:25:03 +04:00
Lizonghang
550fdcbc4f add support for Q5_0 2025-02-27 21:47:14 +04:00
Lizonghang
24974a488c assume 10% of active pages can be compressed on macOS UMA 2025-02-11 11:06:33 +04:00
Lizonghang
d2bc5cd502 add pid as suffix to avoid conflicts with other processes 2025-02-07 10:29:22 +04:00
Lizonghang
ec73e239c9 use 80% available mem as a conservative estimate 2025-02-03 18:10:05 +04:00
Lizonghang
64089236eb fix latency estimation in set m1 2025-02-03 07:56:02 +04:00
Lizonghang
dd632ee6df ignore the first 5 evals due to preheat 2025-01-31 08:53:51 +04:00
Lizonghang
fdecd4b54c more active pages can be compressed 2025-01-30 23:17:07 +04:00
Lizonghang
2bc7a56790 fix available mem estimation in termux 2025-01-30 21:23:05 +04:00
Lizonghang
cd758247e6 consider active pages compression in macos available memory estimation 2025-01-29 20:33:13 +04:00
Lizonghang
27c996835d fix undeclared identifier get_page_size 2025-01-29 19:59:02 +04:00
Lizonghang
4b616baed4 fix macos x86_64 available mem estimation 2025-01-29 19:57:06 +04:00
Zonghang Li
36f353e374 check env path before calling fio to ensure we can find it 2025-01-28 13:06:08 +04:00
Lizonghang
1ca9e7974b device_os returns Linux if in Termux 2025-01-27 11:14:21 +04:00
Lizonghang
4948b1004c fix device_name() to get device name from host, not from termux 2025-01-24 16:56:23 +04:00
Lizonghang
38e4a3eaa0 add device_macos_swappable_memory 2025-01-23 16:09:04 +04:00
Lizonghang
0b748060ad ignore variable unused warning 2025-01-21 21:04:32 +04:00
Lizonghang
c19891f7db fix device os detect 2025-01-18 19:56:43 +04:00
Lizonghang
6761ca5358 show device props 2025-01-18 17:25:27 +04:00
Lizonghang
5d9aadf3d5 use highs to solve the allocation program 2025-01-15 10:04:04 +04:00
Zonghang Li
0a5450487c fix serialize error 2024-12-31 08:24:31 +04:00
Zonghang Li
e7c75d6b4a fix get device os error on linux 2024-12-30 21:03:51 +04:00
Lizonghang
fa31ca8e35 add os detect 2024-12-30 09:13:12 +04:00
Lizonghang
d9beb030ee add EPS in device_compute_delay 2024-12-29 22:31:45 +04:00
Lizonghang
fa210d2034 remove duplicate calls 2024-12-29 22:00:17 +04:00
Lizonghang
a7ec685eda add memcpy speed test 2024-12-29 16:19:08 +04:00
Lizonghang
5b46c4e848 correct GB to GiB 2024-12-28 10:09:43 +04:00
Lizonghang
b2bc836423 reformat 2024-12-28 08:36:24 +04:00
Lizonghang
70811d85b3 remove OOM warning 2024-12-22 11:01:45 +04:00
Lizonghang
b6fd762fa8 fix log 2024-12-21 19:01:00 +04:00
Lizonghang
aa6c352aa2 reverse 128MiB free mem in termux 2024-12-12 21:27:36 +04:00
Lizonghang
1b169f8f37 remove anonpages for repeat count 2024-12-12 20:28:59 +04:00
Zonghang Li
6ea692d974 use small tensors for test on cpu 2024-12-12 15:52:27 +04:00
Lizonghang
b642d70188 fix swappable mem in termux 2024-12-12 15:15:16 +04:00
Lizonghang
fa05a482f8 fix swapout and mmapin delay 2024-12-12 09:58:10 +04:00
Lizonghang
8c491c0fb1 consider swappable mem and swap space in termux 2024-12-11 21:24:37 +04:00
Lizonghang
28ebc6478a use disk.read_rnd.bw in termux 2024-12-11 14:56:08 +04:00
Lizonghang
dfb37671d3 fix memory count and use sequantial disk read speed on linux 2024-12-11 09:30:02 +04:00
Lizonghang
bef2662d42 fix infinite loop in fio test 2024-12-10 20:58:17 +04:00
Lizonghang
8e9ab45458 fix model bytes counter 2024-12-10 14:57:48 +04:00
Zonghang Li
2d79554694 fix device_physical_memory 2024-12-09 14:42:49 +04:00
Zonghang Li
4104eb5b7a fix std::max val type 2024-12-09 13:36:53 +04:00
Zonghang Li
a11e0dd0fa fix device_cgroup_physical_memory in docker container 2024-12-09 13:34:01 +04:00
Lizonghang
d78fa427e7 add memory copy speed test 2024-12-09 10:07:42 +04:00
Lizonghang
cead0f2e5a device_disk_access_delay: adapt for linux (on termux) 2024-12-08 22:58:08 +04:00
Lizonghang
aad604ec8b add disk access delay while swapping 2024-12-08 20:07:30 +04:00
Zonghang Li
df813675d0 fix flops count and ram/vram speed test 2024-12-08 10:14:05 +04:00
Lizonghang
26c2ffb5b7 set fio read-job startdelay 1.5s 2024-12-06 17:03:42 +04:00
Lizonghang
a79ab3dde3 device_disk_access_delay: fix delay calculation when physical memory is busy (all mapped tensors will be reloaded) 2024-12-06 16:41:55 +04:00