mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-01-09 15:08:02 -05:00
hotfix: don't run OOM test in CI
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user