From db3ec8508cd9c458b4218feb4e01644b155eb87c Mon Sep 17 00:00:00 2001 From: PJ Linebaugh Date: Wed, 18 Oct 2023 13:00:26 -0400 Subject: [PATCH] remove gpu check for integers --- tycho/model.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tycho/model.py b/tycho/model.py index b614576..c46b39d 100644 --- a/tycho/model.py +++ b/tycho/model.py @@ -37,8 +37,6 @@ def __init__(self, """ self.cpus = cpus self.gpus = gpus - # Check if the gpus is a digit. - assert isinstance(self.gpus, int), "Fractional GPUs not supported" self.memory = memory self.ephemeralStorage = ephemeralStorage def __repr__(self):