mirror of https://github.com/commaai/tinygrad.git
hotfix: don't run OOM test in CI
This commit is contained in:
parent
859d0e4709
commit
c5baa3d66b
|
@ -1,8 +1,9 @@
|
|||
import unittest
|
||||
from tinygrad import Device
|
||||
from tinygrad.helpers import CI
|
||||
from tinygrad.runtime.ops_gpu import CLDevice, CLAllocator
|
||||
|
||||
@unittest.skipUnless(Device.DEFAULT in ["GPU"], "Runs only on OpenCL (GPU)")
|
||||
@unittest.skipUnless(Device.DEFAULT in ["GPU"] and not CI, "Runs only on OpenCL (GPU)")
|
||||
class TestOCLOOM(unittest.TestCase):
|
||||
def test_opencl_oom(self):
|
||||
with self.assertRaises(RuntimeError) as err:
|
||||
|
|
Loading…
Reference in New Issue