zuoym15 / craves.ai

CRAVES: Controlling Robotic Arm with a Vision-based, Economic System
https://craves.ai
GNU General Public License v3.0
261 stars 79 forks source link

'async' is a reserved word in Python >= 3.7 #2

Closed cclauss closed 5 years ago

cclauss commented 5 years ago

async is a reserved word in Python 3.7 and later. To fix this pytorch/pytorch#4999 changed cuda(async=True) to __cuda(non_blocking=True)__ so this PR tracks with that change. That fix landed in PyTourch 0.4.1.