From 79f345d4848329b1a3a595bb29b5ccf1c1b3c804 Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Fri, 14 Feb 2025 04:31:27 -0800 Subject: [PATCH] Update rl.py --- unsloth/models/rl.py | 1 + 1 file changed, 1 insertion(+) diff --git a/unsloth/models/rl.py b/unsloth/models/rl.py index a216f4f387..ecd394cea0 100644 --- a/unsloth/models/rl.py +++ b/unsloth/models/rl.py @@ -21,6 +21,7 @@ from typing import Any, Callable, Dict, List, Literal, Optional, Tuple, Union import inspect import os import re +import torch from unsloth_zoo.compiler import create_new_function from unsloth_zoo.logging_utils import PatchRLStatistics from .rl_replacements import (