Skip to content

serving-llms-on-epyc skill - address feedback - #215

Open
amd-lalithnc wants to merge 1 commit into
amd:mainfrom
amd-lalithnc:serving-llms-on-epyc-dogfooding-fixes
Open

amd-lalithnc wants to merge 1 commit into
amd:mainfrom
amd-lalithnc:serving-llms-on-epyc-dogfooding-fixes

Conversation

@amd-lalithnc

Copy link
Copy Markdown
Collaborator
  • Hard-gate AVX-512 in validate.py (blocking error / ready:false), so pre-Zen4 EPYC stops before the image pull instead of failing at model load. Enforces the Step 1 gate programmatically, not just in prose.
  • Resolve the HF cache mount in validate.py: follow symlinks, flag NFS/root-squash, and return the real -v mount to use (the ~/.cache/huggingface default breaks on NFS homes).
  • Add --cap-add=SYS_NICE so NUMA memory binding works in the container (else it silently fails with 'Operation not permitted').
  • Add free-port guidance for --network=host (a busy port is a hard failure).

Change-Id: Idc30ae70dbf709008a90bb215eeb66f29d5edfea

- Hard-gate AVX-512 in validate.py (blocking error / ready:false), so pre-Zen4
  EPYC stops before the image pull instead of failing at model load. Enforces
  the Step 1 gate programmatically, not just in prose.
- Resolve the HF cache mount in validate.py: follow symlinks, flag NFS/root-squash,
  and return the real -v mount to use (the ~/.cache/huggingface default breaks on
  NFS homes).
- Add --cap-add=SYS_NICE so NUMA memory binding works in the container (else it
  silently fails with 'Operation not permitted').
- Add free-port guidance for --network=host (a busy port is a hard failure).

Signed-off-by: Lalithnarayan C <Lalithnarayan.C@amd.com>
Change-Id: Idc30ae70dbf709008a90bb215eeb66f29d5edfea
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant