move device to device.py (#2466)

* move device to device.py

* pylint test --disable R,C,W,E --enable E0611

* fix tests
This commit is contained in:
George Hotz
2023-11-27 11:34:37 -08:00
committed by GitHub
parent 262cd26d28
commit 9e07824542
62 changed files with 281 additions and 264 deletions

View File

@@ -3,7 +3,7 @@ import pathlib
import unittest
import numpy as np
from tinygrad.tensor import Tensor
from tinygrad.ops import Device
from tinygrad import Device
class TestVGG7(unittest.TestCase):
def test_vgg7(self):