If you see this error, you can also try using a numpy ndarray but with int64 types instead of float types.
In my code, the float part was causing problems. I fix it with:
y = data['outcome'].values.astype('int')
Numpy arrays seem to be supported. See PyTorch Lightning Bolts Scikit-Learn example:

  
      
      pytorch-lightning-bolts.readthedocs.io
  
  
    

Classic ML Models — PyTorch-Lightning-Bolts 0.2.5rc1 documentation 7