You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: