mirror of
https://github.com/containers/ramalama.git
synced 2026-02-05 15:47:26 +01:00
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>