rasbt / machine-learning-notes

Collection of useful machine learning codes and snippets (originally intended for my personal use)
BSD 3-Clause "New" or "Revised" License
774 stars 138 forks source link

my device is Apple mini #17

Open SSCTuatara-Lee opened 2 years ago

SSCTuatara-Lee commented 2 years ago
WeChat Image_20220526211904 WeChat Image_20220526211815

hi ,im doing some configuration about pytorch_GPU in M1, but when i run the test program,it always tell me invalid buffer. can i ask how to fix this? because i still can run the cpu one. and the code about "torch.version" and "torch.device("mps")" are also going well.

rasbt commented 2 years ago

Sorry, no idea, haven't seen this before.