From 4cce7ce2428e04bbe4f28b69980ea6083b50143b 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 (