Skip to content

Commit

Permalink
rm tabnet mention
Browse files Browse the repository at this point in the history
  • Loading branch information
jafermarq committed Feb 1, 2025
1 parent b26db0a commit 07b71b2
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/py/flwr/common/object_ref.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 <module>:<attribute>. Valid
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 07b71b2

Please sign in to comment.