mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-18 16:32:17 +00:00
fix(hwaccel): install ROCm runtime only, reduce disk resize to +4GB
The full 'rocm' meta-package includes 15GB+ of dev tools (compilers, debuggers, dev headers) which are unnecessary in LXC containers. Install only runtime packages: rocm-opencl-runtime, rocm-hip-runtime, rocm-smi-lib. Reduce disk resize from +8GB to +4GB accordingly.
This commit is contained in:
@@ -4641,8 +4641,9 @@ Pin-Priority: 600
|
||||
EOF
|
||||
|
||||
$STD apt update
|
||||
$STD apt install -y rocm 2>/dev/null || {
|
||||
msg_warn "ROCm meta-package install failed — trying minimal set"
|
||||
# Install only runtime packages — full 'rocm' meta-package includes 15GB+ dev tools
|
||||
$STD apt install -y rocm-opencl-runtime rocm-hip-runtime rocm-smi-lib 2>/dev/null || {
|
||||
msg_warn "ROCm runtime install failed — trying minimal set"
|
||||
$STD apt install -y rocm-opencl-runtime rocm-smi-lib 2>/dev/null || msg_warn "ROCm minimal install also failed"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user