-
-
Notifications
You must be signed in to change notification settings - Fork 615
Closed
Description
This is wrong:
Line 27 in 8a5b977
if CUDA.functional() include("ctc-gpu.jl") end |
This should be guarded by a check if !precompiling
:
Lines 59 to 61 in 8a5b977
function __init__() | |
use_cuda[] = CUDA.functional() # Can be overridden after load with `Flux.use_cuda[] = false` | |
if CUDA.functional() |
Additionally, this shouldn't be done during __init__
, but lazily when first calling the gpu
function.
DhairyaLGandhi, rofrol and IanButterworth
Metadata
Metadata
Assignees
Labels
No labels