diff --git a/unsloth/models/llama.py b/unsloth/models/llama.py index 32f2c6b71c..64bc6f84f0 100644 --- a/unsloth/models/llama.py +++ b/unsloth/models/llama.py @@ -1243,7 +1243,7 @@ class FastLlamaModel: raise RuntimeError('Unsloth currently does not support multi GPU setups - but we are working on it!') pass - if ((post_check - post_check) >= 1).sum() > 1: + if ((post_check - pre_check) >= 1).sum() > 1: raise RuntimeError('Unsloth currently does not support multi GPU setups - but we are working on it!') import transformers.trainer