LuxDL / Lux.jl

Elegant and Performant Scientific Machine Learning in Julia
https://lux.csail.mit.edu/
MIT License
508 stars 63 forks source link

[AMDGPU CI] Circular dependencies disabling precompilation #1095

Open pxl-th opened 5 hours ago

pxl-th commented 5 hours ago

Not sure if this is the main cause of huge CI execution time, but there are a lot of circular dependencies detected: https://buildkite.com/julialang/lux-dot-jl/builds/4941#0193462a-9ae9-4371-a067-d20253b0022d

Linked CI job will take 9+ hours to complete (9/94 items completed in ~1 hour). Not sure what's exactly causing a circular dependency

avik-pal commented 4 hours ago

I think it is precompilation that is causing this. The CI time should be between 50 mins-1.5hr

avik-pal commented 48 minutes ago

I can reproduce by just having Tracker + AMDGPU in a fresh env

avik-pal commented 38 minutes ago

I tracked it down to AMDGPU 1.0.5 which adds AcceleratedKernels as a maindep