Skip to content
This repository was archived by the owner on Oct 31, 2023. It is now read-only.
This repository was archived by the owner on Oct 31, 2023. It is now read-only.

Python 3.7: SyntaxError: invalid syntax due to the use of async which is a keyword #142

@REASY

Description

@REASY

Followed https://github.com/facebookresearch/ELF#install-scripts and got Python 3.7.9 installed, where async is a keyword: https://www.python.org/dev/peps/pep-0492/#deprecation-plans

At least those places need a fix:

def transfer_cpu2gpu(self, batch_gpu, async=True):

def transfer_cpu2cpu(self, batch_dst, async=True):

image

Other references:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions