ffcv
ffcv copied to clipboard
Add writer.from_iterable_dataset for writing IterableDatasets to .beton
The current normalizer transform when operating on GPU tensors uses cupy, which assumes device=0 unless otherwise stated. This results in a bug where trying to run ffcv pipelines with Normalize on any other gpu causes an error to be raised claiming that the tensors are on different devices.
Has it been fixed? I also encountered this bug today