Skip to content

GPUlayer 0.10.1

Choose a tag to compare

@antonellof antonellof released this 07 Nov 18:24
· 27 commits to main since this release

Prepares for AMD GPUs. Nothing here has run on AMD hardware yet: ROCm stays implemented, not
validated. A real ROCm wheel and the rocm/pytorch image were tested on x86 without a GPU.

  • Fix (AMD, found by reading the code; not run on AMD hardware): AMD GPUs had no memory when
    rocm-smi worked, so a job with gpu_memory_gb rejected them; names and memory now come
    from the ROCm build of torch, also where AMD no longer ships rocm-smi. accelerator="gpu"
    raised on a ROCm build and now means its GPUs. A fit on AMD asked for a CUDA capability and could
    say the GPU has NVIDIA's Tensor Cores. Machines with amd-smi or /dev/kfd and no ROCm torch
    now get a note.
  • New: scripts/validate_rocm.sh for the first AMD machine, which also records amd-smi and
    rocm-smi output, since AMD publishes neither JSON format; docs/guides/amd-rocm.md; Docker
    EXTRAS=base-torch for images on rocm/pytorch (built on x86 and started; not run on a GPU).
    The Dockerfile now also installs venv when a base image has Python without it.
  • Docs: ADR-0026 proposes how Ryzen AI NPUs fit in, as a service for inference.

https://claude.ai/code/session_01JDdTtJNArexH5Jtvd6Bojr