From 07b71b2161e18e5f7a624edc0bc6831906f5f9fe Mon Sep 17 00:00:00 2001 From: jafermarq Date: Sat, 1 Feb 2025 16:35:35 +0000 Subject: [PATCH] rm tabnet mention --- src/py/flwr/common/object_ref.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/py/flwr/common/object_ref.py b/src/py/flwr/common/object_ref.py index bf34bf5f639c..d0c420d2fd77 100644 --- a/src/py/flwr/common/object_ref.py +++ b/src/py/flwr/common/object_ref.py @@ -19,12 +19,10 @@ import importlib import sys from importlib.util import find_spec -from logging import WARN from pathlib import Path from threading import Lock from typing import Any, Optional, Union -from .logger import log OBJECT_REF_HELP_STR = """ \n\nThe object reference string should have the form :. Valid @@ -171,17 +169,6 @@ def load_app( # pylint: disable= too-many-branches # Import the module if module_str not in sys.modules: module = importlib.import_module(module_str) - # Hack: `tabnet` does not work with `importlib.reload` - elif "tabnet" in sys.modules: - log( - WARN, - "Cannot reload module `%s` from disk due to compatibility issues " - "with the `tabnet` library. The module will be loaded from the " - "cache instead. If you experience issues, consider restarting " - "the application.", - module_str, - ) - module = sys.modules[module_str] else: module = sys.modules[module_str] _reload_modules(project_dir)