mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-06-24 02:14:17 +00:00
move Allocator to buffer.py (#4502)
* move Allocator to buffer.py * move those to realize * memory file * cleanup
This commit is contained in:
parent
1e843d495e
commit
89e119bc58
23 changed files with 186 additions and 164 deletions
|
|
@ -5,7 +5,8 @@ from typing import Tuple, List, Optional, Any, Dict
|
|||
import pickle, base64, itertools, time, struct
|
||||
from tinygrad.dtype import DType, dtypes, ImageDType
|
||||
from tinygrad.helpers import all_same, getenv, flatten
|
||||
from tinygrad.device import Compiled, Allocator, Compiler, CompilerOptions
|
||||
from tinygrad.device import Compiled, Compiler, CompilerOptions
|
||||
from tinygrad.buffer import Allocator
|
||||
from tinygrad.codegen.uops import UOpGraph, UOps
|
||||
from tinygrad.ops import BinaryOps, TernaryOps, exec_alu
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue