Skip to content

Commit d4a736c

Browse files
committed
q
1 parent 8c29056 commit d4a736c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

fastrerandomize/R/FRR_BuildBackend.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,20 +51,20 @@ build_backend <- function(conda_env = "fastrerandomize_env", conda = "auto"){
5151

5252
# Prefer CUDA 13 if the driver is new enough; otherwise CUDA 12; else CPU fallback
5353
if (!is.na(drv_major) && drv_major >= 580) {
54-
msg("Driver %s detected (>=580): installing JAX 0.5.0 CUDA 13 wheels.", drv[1])
54+
msg("Driver %s detected (>=580): installing JAX CUDA 13 wheels.", drv[1])
5555
tryCatch(pip_install('jax[cuda13]'), error = function(e) {
5656
msg("CUDA 13 wheels failed (%s); falling back to CUDA 12.", e$message)
5757
pip_install('jax[cuda12]')
5858
})
5959
} else if (!is.na(drv_major) && drv_major >= 525) {
60-
msg("Driver %s detected (>=525,<580): installing JAX 0.5.0 CUDA 12 wheels.", drv[1])
60+
msg("Driver %s detected (>=525,<580): installing JAX CUDA 12 wheels.", drv[1])
6161
pip_install('jax[cuda12]')
6262
} else {
63-
msg("Driver %s too old for CUDA wheels; installing CPU-only JAX 0.5.0.", drv[1])
63+
msg("Driver %s too old for CUDA wheels; installing CPU-only JAX.", drv[1])
6464
pip_install('jax')
6565
}
6666
} else {
67-
msg("Installing CPU-only JAX 0.5.0.")
67+
msg("Installing CPU-only JAX.")
6868
pip_install('jax')
6969
}
7070
}

0 commit comments

Comments
 (0)