问题:
原因:
python3.7已经移除了async关键字,而用non_blocking代替
更改:
将async更改为cuda
new_task = not isinstance(future, futures.Future)future = tasks.cuda(future, loop=self)