Sorry, I neglected to mention that I tried installing the VC++ runtime on both machines, with no change in results. In one case it was a repair, and the other, a fresh install.
I had the same problem. I replaced taichi_core.pyd with the CPU version of taichi_core.pyd and it runs. This bug should be related to cuda, but PyTorch is fine.