From 459ef41ea04c34618903bde807ab2510535eee1d Mon Sep 17 00:00:00 2001 From: chenyu Date: Fri, 20 Mar 2026 02:08:29 -0400 Subject: [PATCH] don't exclude weakint in is_dtype_supported [pr] (#15378) --- tinygrad/device.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tinygrad/device.py b/tinygrad/device.py index 2647b3f69e..97190fc528 100644 --- a/tinygrad/device.py +++ b/tinygrad/device.py @@ -331,7 +331,6 @@ class Compiled: # TODO: move this to each Device # this only tracks if the dtype is natively supported, it may be supported in the frontend using decomps def is_dtype_supported(dtype:DType, device:str|None=None) -> bool: - if dtype == dtypes.weakint: return False if device is None: device = Device.DEFAULT if dtype == dtypes.bfloat16: if device == "METAL": return not CI