From 2533a992e7fbe69e156b1a3c6313b117b808c6ad Mon Sep 17 00:00:00 2001 From: Rob Grossman Date: Sat, 1 Jul 2023 12:04:19 -0700 Subject: [PATCH] remove unused imports in models (#1088) --- models/bert.py | 2 -- models/efficientnet.py | 1 - models/resnet.py | 1 - 3 files changed, 4 deletions(-) diff --git a/models/bert.py b/models/bert.py index 0a06c82c..3312f542 100644 --- a/models/bert.py +++ b/models/bert.py @@ -1,7 +1,5 @@ from tinygrad.tensor import Tensor -from tinygrad.jit import TinyJit from tinygrad.nn import Linear, LayerNorm, Embedding -import numpy as np from extra.utils import download_file, get_child from pathlib import Path diff --git a/models/efficientnet.py b/models/efficientnet.py index de89fe90..81868392 100644 --- a/models/efficientnet.py +++ b/models/efficientnet.py @@ -1,5 +1,4 @@ import math -import numpy as np from tinygrad.tensor import Tensor from tinygrad.nn import BatchNorm2d from extra.utils import get_child diff --git a/models/resnet.py b/models/resnet.py index b5a756c0..972fb6aa 100644 --- a/models/resnet.py +++ b/models/resnet.py @@ -1,4 +1,3 @@ -from tinygrad.tensor import Tensor import tinygrad.nn as nn from extra.utils import get_child