microsoftarchive / BatchAI

Repo for publishing code Samples and CLI samples for BatchAI service
MIT License
125 stars 62 forks source link

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

Closed cclauss closed 4 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.