Solved by akernel in post #3 
              
              
                Thanks for replying @ptrblck!  While trying to reproduce the error at home (I was at work when I first got the error) I started with a smaller batch size (I was using 1024), and lo and behold it worked!  I did some investigating, and apparently 1023 works, but any batch_size >= 1024 causes that erro…