I am using Python 3.7 and I run into a syntax error from the lines which include target = target.cuda(async=True). Based on this StackOverflow answer I am guessing that async=True should be replaced by non_blocking=True, but I wanted to post this to verify if anyone else is running into this and can comment on whether this is a valid work-around.
I am using Python 3.7 and I run into a syntax error from the lines which include
target = target.cuda(async=True)
. Based on this StackOverflow answer I am guessing thatasync=True
should be replaced bynon_blocking=True
, but I wanted to post this to verify if anyone else is running into this and can comment on whether this is a valid work-around.