Skip to content

Commit

Permalink
refactor(examples) Remove tabnet examples and 2e2 (#4879)
Browse files Browse the repository at this point in the history
  • Loading branch information
jafermarq authored Feb 1, 2025
1 parent 72e7298 commit 408129b
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 214 deletions.
6 changes: 0 additions & 6 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,6 @@ updates:
interval: "daily"
open-pull-requests-limit: 2

- package-ecosystem: "pip"
directory: "/e2e/tabnet"
schedule:
interval: "daily"
open-pull-requests-limit: 2

- package-ecosystem: "pip"
directory: "/e2e/pytorch-lightning"
schedule:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/cache-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ jobs:
- directory: jax
- directory: pytorch
- directory: tensorflow
- directory: tabnet
- directory: opacus
- directory: pytorch-lightning
- directory: scikit-learn
Expand Down
1 change: 0 additions & 1 deletion dev/build-example-docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@
"opacus": "https://opacus.ai/",
"pandas": "https://pandas.pydata.org/",
"scikit-learn": "https://scikit-learn.org/",
"tabnet": "https://github.com/titu1994/tf-TabNet",
"tensorboard": "https://www.tensorflow.org/tensorboard",
"tensorflow": "https://www.tensorflow.org/",
"torch": "https://pytorch.org/",
Expand Down
76 changes: 0 additions & 76 deletions examples/quickstart-tabnet/README.md

This file was deleted.

85 changes: 0 additions & 85 deletions examples/quickstart-tabnet/client.py

This file was deleted.

17 changes: 0 additions & 17 deletions examples/quickstart-tabnet/pyproject.toml

This file was deleted.

5 changes: 0 additions & 5 deletions examples/quickstart-tabnet/requirements.txt

This file was deleted.

7 changes: 0 additions & 7 deletions examples/quickstart-tabnet/server.py

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,5 @@ Limitations
- None
- - quickstart-sklearn-tabular
- None
- - quickstart-tabnet
- The example has not yet been updated to work with the latest ``flwr`` version.
- - quickstart-tensorflow
- None
14 changes: 0 additions & 14 deletions src/py/flwr/common/object_ref.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +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
examples include `client:app` and `project.package.module:wrapper.app`. It must
Expand Down Expand Up @@ -171,17 +168,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 408129b

Please sign in to comment.