1
0
mirror of https://github.com/containers/ramalama.git synced 2026-02-05 15:47:26 +01:00
Files
Daniel J Walsh 07143fb585 Fix quadlet generation for multi-part models
Add support for generating multiple Mount= declarations in quadlet files
for multi-part models (e.g., models split into multiple GGUF files).

Changes:
- Add _get_all_model_part_paths() method to Transport class to retrieve
  all parts of a multi-part model from the ref file
- Update Quadlet class to accept and store model_parts list
- Modify _gen_model_volume() to generate Mount= entries for each part
- Update generate_container_config() to pass model parts to quadlet
- Add test case for multi-part model quadlet generation

The fix ensures that when generating quadlet files for models like
gpt-oss-120b that are split across multiple files, all parts are
properly mounted into the container with correct src/dest paths.

Fixes #2017

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2026-01-02 11:59:55 -05:00
..
2025-08-18 19:57:34 +01:00
2025-06-28 21:18:16 -05:00