Not able to run main.py on m1 chipped machine
Hi, I got assertion error on m1 chipped machine. I git clone directly from the main branch. I was able to run on my other computers or google coLab.
Attached is the log that I got:
2021-11-10 13:30:51 alicezous-Mac-mini.local main[11455] INFO Loading OthelloGame...
2021-11-10 13:30:51 alicezous-Mac-mini.local main[11455] INFO Loading NNetWrapper...
2021-11-10 13:30:51 alicezous-Mac-mini.local main[11455] WARNING Not loading a checkpoint!
2021-11-10 13:30:51 alicezous-Mac-mini.local main[11455] INFO Loading the Coach...
2021-11-10 13:30:51 alicezous-Mac-mini.local main[11455] INFO Starting the learning process 🎉
2021-11-10 13:30:51 alicezous-Mac-mini.local Coach[11455] INFO Starting Iter #1 ...
Self Play: 0%| | 0/100 [00:00<?, ?it/s]2021-11-10 13:30:51 alicezous-Mac-mini.local MCTS[11455] ERROR All valid moves were masked, doing a workaround.
Self Play: 0%| | 0/100 [00:00<?, ?it/s]
Traceback (most recent call last):
File "/Volumes/S/EECS592/alpha-zero-general/main.py", line 57, in
This may have been fixed; I'm able to run just fine on an M1 in the current build, though not with pytorch's new mps device support.