Update to burn v0.14.0 and switch to .mpk model file
This commit is contained in:
@@ -13,10 +13,11 @@ from collections import namedtuple
|
||||
|
||||
from tqdm import tqdm
|
||||
from tinygrad.tensor import Tensor
|
||||
from tinygrad.helpers import dtypes, GlobalCounters
|
||||
from tinygrad.helpers import GlobalCounters
|
||||
from tinygrad import dtypes
|
||||
from tinygrad.nn import Conv2d, Linear, GroupNorm, LayerNorm, Embedding
|
||||
from extra.utils import download_file
|
||||
from tinygrad.state import torch_load, load_state_dict
|
||||
#from extra.utils import download_file
|
||||
from tinygrad.nn.state import torch_load, load_state_dict
|
||||
|
||||
# TODO: refactor AttnBlock, CrossAttention, CLIPAttention to share code
|
||||
|
||||
|
||||
Reference in New Issue
Block a user