Skip to content

Syntax error in utils.py #10

@deekayhd

Description

@deekayhd

I just installed RawRefinery via PyPI as described in the README. Only difference is that I am on Linux Mint 21.1, which is based on Ubuntu 22.04, so I had to install Python 3.11 additionally, otherwise pip would not find RawRefinery in a suitable version.

When running rawrefinery the first time I got a syntax error in utils.py, line 11:

print(f"Found CUDA arch {“sm_{major}{minor}”}. Using Cuda")
SyntaxError: f-string: expecting ‘}’

After changing the line to
print(f"Found CUDA arch sm_{major}{minor}. Using CUDA")
(and similar in line 14) the program worked as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions