mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-01-09 15:08:02 -05:00
amd mockgpu (#4535)
* start mock amd gpu * virt files * cleaner * init ci * small fixes * linter * better? * ugh * linter * fix * diable some * run shorter * fixes * add hcq test * fix * fix cmd revert
This commit is contained in:
@@ -104,7 +104,7 @@ class TestRandomness(unittest.TestCase):
|
||||
self.assertTrue(equal_distribution(Tensor.randn, torch.randn, lambda x: np.random.randn(*x)))
|
||||
|
||||
@given(strat.sampled_from([dtypes.float, dtypes.float16, dtypes.bfloat16]))
|
||||
@unittest.skipIf(Device.DEFAULT in ["HSA", "RHIP"], "bfloat16 local buffer broken in HSA")
|
||||
@unittest.skipIf(Device.DEFAULT in ["HSA", "RHIP", "AMD"], "bfloat16 local buffer broken in HSA")
|
||||
def test_randn_finite(self, default_float):
|
||||
if not is_dtype_supported(default_float): return
|
||||
old_default_float = dtypes.default_float
|
||||
|
||||
Reference in New Issue
Block a user