Unverified Commit d0742860 authored by Gabriel Wu's avatar Gabriel Wu Committed by GitHub
Browse files

[Chore] fix typos (#719)

* chore: fix typos

* chore: fix ruff

* chore: fix clang-format
parent 6545b084
...@@ -6,6 +6,7 @@ from typing import Union ...@@ -6,6 +6,7 @@ from typing import Union
from tvm.target import Target from tvm.target import Target
import torch import torch
def get_arch(target: Union[str, Target] = "cuda") -> TileDevice: def get_arch(target: Union[str, Target] = "cuda") -> TileDevice:
if isinstance(target, str): if isinstance(target, str):
target = Target(target) target = Target(target)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment