0
Fork 0
mirror of https://github.com/zml/zml.git synced 2026-11-16 19:11:09 +00:00

Compare commits

...

5 commits

Author SHA1 Message Date
Steeve Morin
6e95fe421d zml/mem: allocate staging buffers without an arena 2026-11-15 21:01:33 +01:00
Steeve Morin
c72e749ed4 platforms/oneapi: use plugin with eager device compilation
Use the local XLA 806111081c build to prepare generated kernels, constant modules, and oneCCL kernel bundles during compilation instead of the first inference request.
2026-11-14 18:37:06 +01:00
Steeve Morin
56d72f14a9 platforms/oneapi: retain Intel runtime fixes in custom plugin 2026-11-14 16:11:22 +01:00
Steeve Morin
6ad92220ba platforms/oneapi: load local plugin with FP8 collective fixes 2026-11-14 15:26:02 +01:00
Steeve Morin
4caa2c78f2 platforms/oneapi: bundle and register the Intel OpenCL driver
Pin intel-opencl-icd to the bundled Level Zero driver version, copy libigdrcl.so into the runtime sandbox, and set its RPATH to find the bundled dependencies.

Default OCL_ICD_FILENAMES to the sandbox driver while preserving explicit user overrides. This lets oneDNN find the matching OpenCL device without a host ICD installation.

Fixes #1080

Validation: built the oneAPI targets and llmd with --config=localzml --@zml//platforms:oneapi=true. With OCL_ICD_VENDORS pointing at an empty directory and ZE_AFFINITY_MASK=0, the supplied Qwen3.8 NVFP4/DSpine launch completed a chat request; strace confirmed libigdrcl.so loaded from the sandbox. An OpenCL enumeration probe found all four GPUs. The original four-GPU launch hit an unrelated unsupported f8e4m3fn reduction. No test targets are defined in platforms/oneapi.
2026-11-14 14:37:20 +01:00
9 changed files with 94 additions and 12 deletions