Skip to content
Open
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
7 changes: 6 additions & 1 deletion backends/native/test/runtime/ggml/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ _VARIANTS = [
# Buck does not put the CUDA driver stub's library on the loader path.
# @oss-disable[end= ]: "LD_PRELOAD": "$(location //tools/lazify:lazy_stub_binder[shared])",
},
# ggml-CUDA computes f16 BLAS GEMMs in f16 and f32 ones in TF32 by default.
"sample_env": {
"GGML_CUDA_CUBLAS_COMPUTE_TYPE": "f32",
"NVIDIA_TF32_OVERRIDE": "0",
},
},
{
"suffix": "_hip",
Expand Down Expand Up @@ -101,7 +106,7 @@ _VARIANTS = [
"--packages=$(location //executorch/backends/native/test/samples:op_samples)",
"--device=" + v["device"],
] + flags,
env = v.get("env", {}),
env = v.get("env", {}) | v.get("sample_env", {}),
remote_execution = v.get("remote_execution"),
# TODO: run in CI once they pass.
labels = ci.labels(ci.map(ci.skip_test())),
Expand Down
Loading