DataParallel with qml.qnn.TorchLayer: AttributeError: _buffers

I’m new with DATAPARALLEL and I’m trying to figure out how it works. I have 2 GPUs and I’m creating a quatum circuit with qml.qnn.TorchLayer and I’ve created the net like this:

model = torch.nn.DataParallel(model, device_ids=device_ids)’cuda:{model.device_ids[0]}')

But when I do model(X) the next error ocurs: AttributeError: _buffers
Anyone have an idea of what could be happening?