Skip to content

Commit

Permalink
Add component type as a parameter pass to BCLExecutorOperator
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 660981441
  • Loading branch information
tfx-copybara committed Aug 9, 2024
1 parent ffb176a commit 42c0525
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 0 additions & 3 deletions tfx/dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,6 @@ def make_required_install_packages():
'kubernetes>=10.0.1,<13',
'numpy>=1.16,<2',
'pyarrow>=10,<11',
# TODO: b/358471141 - Orjson 3.10.7 breaks TFX OSS tests.
# Unpin once the issue with installation is resolved.
'orjson!=3.10.7',
# TODO(b/332616741): Scipy version 1.13 breaks the TFX OSS test.
# Unpin once the issue is resolved.
'scipy<1.13',
Expand Down
6 changes: 4 additions & 2 deletions tfx/orchestration/portable/launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,10 @@ def __init__(

self._executor_operator = None
if executor_spec:
self._executor_operator = self._executor_operators[type(executor_spec)](
executor_spec, platform_config)
self._executor_operator = self._executor_operators[type(executor_spec)](
executor_spec=executor_spec, platform_config=platform_config
)

self._output_resolver = outputs_utils.OutputsResolver(
pipeline_node=self._pipeline_node,
pipeline_info=self._pipeline_info,
Expand Down

0 comments on commit 42c0525

Please sign in to comment.