kernelfoundry.eval_pipeline.tasks.build_image

Celery task for building container images from task specifications.

Builds or retrieves container images for custom kernel testing environments, handling both user-provided Dockerfiles and default images.

kernelfoundry.eval_pipeline.tasks.build_image.build_image(task: dict) dict

Build or retrieve a container image for a task.

Celery task entry point. Builds a custom container image from a Dockerfile (if provided) or retrieves the default image for the specified language and GPU architecture. Returns serialized build results.

Parameters:

task – Encoded Task dict as produced by Task.encode().

Returns:

Dict mapping language to dict mapping gpu_arch to build result dict containing worker_info, process result, and encoded artifacts.