You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Several PyTorch beginner tutorials that use torchvision.datasets.FashionMNIST now fail after the torchvision import chain has been fixed, because Candle does not expose torch.frombuffer.
This currently blocks these tutorials under Candle's torch compat mode:
quickstart_tutorial.py
data_tutorial.py
transforms_tutorial.py
optimization_tutorial.py
Root cause
Candle uses np.frombuffer(...) internally in several places, but does not expose a public torch.frombuffer-compatible API at the top level. Once torchvision import succeeds, MNIST dataset loading reaches this missing API and fails immediately.
Notes
This appears to be a general PyTorch compatibility gap, not a tutorial-specific issue.
Activity