Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 2 additions & 12 deletions psbench/benchmarks/funcx_tasks/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,11 @@
from psbench.logging import TESTING_LOG_LEVEL
from psbench.proxystore import init_store_from_args
from psbench.tasks.pong import pong
from psbench.tasks.pong import pong_proxy
from psbench.utils import randbytes

logger = logging.getLogger('funcx-test')


def pong_proxy(*args, **kwargs): # type: ignore
"""Trampoline function for psbench.tasks.pong.pong_proxy.

The trampoline is needed to remove type annotations since there is an
issue in FuncX with serializing functions with type annotations.
(See FuncX #901)
"""
from psbench.tasks.pong import pong_proxy as _pong_proxy

return _pong_proxy(*args, **kwargs)
logger = logging.getLogger('funcx-test')


@dataclasses.dataclass
Expand Down
1 change: 1 addition & 0 deletions psbench/tasks/pong.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ def pong_proxy(
from proxystore.store import get_store
from proxystore.store import UnknownStoreError

from psbench.tasks.pong import ProxyStats
from psbench.utils import randbytes

assert isinstance(data, Proxy)
Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ classifiers =
[options]
packages = find:
install_requires =
funcx==1.0.*
funcx-endpoint==1.0.*
funcx>=1.0.3
funcx-endpoint>=1.0.3
proxystore[endpoints]==0.4.0a2
requests
python_requires = >=3.7
Expand Down