import and type cleanups [pr] (#8359)

Dict and DefaultDict and some imports
This commit is contained in:
chenyu
2024-12-20 21:52:02 -05:00
committed by GitHub
parent 18dca3c3d7
commit 1ce9851ba6
7 changed files with 14 additions and 15 deletions

View File

@@ -2,9 +2,8 @@
# a python uops emulator
# works to test the tensor cores, and all the uops in general
# this is the (living) definition of uops
import sys
from typing import Optional, Any, TYPE_CHECKING
import pickle, base64, itertools, time, struct
import pickle, base64, itertools, time, struct, sys
from tinygrad.dtype import DType, dtypes, ImageDType, PtrDType, truncate
from tinygrad.helpers import all_same, getenv, flatten, get_single_element
from tinygrad.device import Compiled, Compiler, Allocator