Hi everyone, I’m the core maintainer of the C++ frontend. Dataloaders are indeed still WIP and the examples I wrote were based on the version from my PR that @dasayan05 linked earlier (https://github.com/pytorch/pytorch/pull/11918 30). We are looking to land it very soon, in the next few days. For now, if you would like to use the pre-built library that you can download from https://pytorch.org/get-started/locally 8, you can use everything in the C++ Frontend except the dataloaders. If you are keen to use the dataloaders already, I would recommend building PyTorch from source and checking out the revision of my pull request. Then the MNIST example should compile too. See https://github.com/pytorch/pytorch/blob/master/CONTRIBUTING.md 11 for steps regarding building from source.
Let me know which route you take and whether you run into any more issues. I’ll be happy to help. Feel free to tag me in future posts in this forum.