So, a few things:

Running on CPU and seg faulting clearly is bad. I haven’t tried reproducing this yet, but curious if you have tried running in dbg mode to see if an assert is hit, or if you have a stack trace.
On OpenCL, it seems AvgPoolGrad isn’t supported for the OpenCL backend. So that would need to be added to use the OpenCL backend.
Also on OpenCL it looks like there are a lot of transposes of booleans. That would also need to be added (should be very simple since there is already ElemKind::Int8QTy support).

In general Glow is more focused on inference than training as of late, so I imagine there isn’t nearly as much coverage on the training side of things. Apologies in advance!