Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .ci/gitlab/configs/linux/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ ci:
- wrf
build-job:
tags: [ "spack", "huge" ]
# 24h for long ROCm/ML rebuilds; GitLab project/runner max must allow this
timeout: 1440 minutes
variables:
CI_JOB_SIZE: huge
SPACK_BUILD_JOBS: "12"
Expand Down
2 changes: 1 addition & 1 deletion repos/spack_repo/builtin/packages/aotriton/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class Aotriton(CMakePackage):

# build llvm version with mlir with the commit that matches inside the llvm-hash.txt
depends_on("aotriton-llvm@0.10", when="@0.10b:")
depends_on("aotriton-llvm@0.9", when="@0.9b")
depends_on("aotriton-llvm@0.9", when="@0.9b:0.9.2b")
depends_on("aotriton-llvm@0.8", when="@0.8b")

conflicts("^openssl@3.3.0")
Expand Down
4 changes: 4 additions & 0 deletions repos/spack_repo/builtin/packages/py_llvmlite/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ class PyLlvmlite(PythonPackage):
depends_on("llvm@14", when="@0.41:0.43")
depends_on("llvm@11:14", when="@0.40")
depends_on("llvm@11", when="@0.37:0.39")
# When the spec has both llvm@20 and hwloc+rocm (e.g. llvm build-depends on hwloc),
# hwloc with older rocm versions conflicts with llvm@20 while linking.
# Hence adding hwloc~rocm dependency for llvmlite@0.45:.
depends_on("hwloc ~rocm", when="@0.45:")
for t in [
"arm:",
"ppc:",
Expand Down
11 changes: 4 additions & 7 deletions stacks/ml-linux-x86_64/spack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,15 +113,11 @@ spack:
- $jax_specs
- matrix:
- [$keras_specs]
exclude:
- py-keras backend=torch
# Does not yet support Spack-installed ROCm
# - $torch_specs
- $torch_specs
- $scikit_learn_specs
- $tensorboard_specs
- $tensorflow_specs
# Does not yet support Spack-installed ROCm
# - $xgboost_specs
- $xgboost_specs
override:
packages:
all:
Expand All @@ -139,8 +135,9 @@ spack:
- target=x86_64_v3
- ~cuda
- +rocm
- ~distributed
- amdgpu_target=gfx90a
- ~flash_attention
- +flash_attention
- "%c,cxx=gcc"

ci:
Expand Down
Loading