Replies: 2 comments 2 replies
-
Adding That's really good to see! But it's not clear that this is available from docs, found some PR's regarding this setting that I wasn't aware of (using the new Swordfish engine I suppose`?) EDIT: Adding only |
Beta Was this translation helpful? Give feedback.
-
Found the native executed that makes it fast. Closing for now. |
Beta Was this translation helpful? Give feedback.
-
Hi!
I'm trying to use daft to train a PyTorch model. But it's really slow compared to native PyTorch code. Sometimes it crashes on memory too.
I thought daft was supposed to lazy load items, but it seems not? Or am I doing something wrong?
Dependencies:
When it runs correctly it takes ~14m to train, but usually it crashes. PyTorch DataLoader takes ~3m30s in comparison (running transforms on a wrapped Dataset around the HF Dataset). Running on M1 macbook.
Beta Was this translation helpful? Give feedback.
All reactions