mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-07-22 13:22:04 +08:00
6928314c89
date: 2025-12-18T23:23:16 master commit: 154c2334110373950bac1c36fc6e943cb1208326
12 lines
591 B
Python
12 lines
591 B
Python
import os
|
|
if int(os.getenv("TYPED", "0")):
|
|
from typeguard import install_import_hook
|
|
install_import_hook(__name__)
|
|
from tinygrad.tensor import Tensor # noqa: F401
|
|
from tinygrad.engine.jit import TinyJit # noqa: F401
|
|
from tinygrad.uop.ops import UOp
|
|
Variable = UOp.variable
|
|
from tinygrad.dtype import dtypes # noqa: F401
|
|
from tinygrad.helpers import GlobalCounters, fetch, Context, getenv # noqa: F401
|
|
from tinygrad.device import Device # noqa: F401
|