strong-plumber-41198
12/06/2023, 4:41 PMno_io_wf
workflow is running fine, however, the full_bigquery_wf
is failing on the Python Task
with the following error:
ModuleNotFoundError: No module named 'flytekitplugins.bigquery'
tall-lock-23197
pip install flytekitplugins-bigquery
.strong-plumber-41198
12/06/2023, 4:49 PMflytekitplugins-bigquery
as a dependency to Poetry and am registering the workflow using the command:
poetry run pyflyte run --remote demo/bigquery.py full_bigquery_wf --version 1
tall-lock-23197
custom_image = ImageSpec(
name="ray-flyte-plugin",
registry="<your-registry>",
packages=["flytekitplugins-ray"],
)
@task(
task_config=ray_config,
requests=Resources(mem="2Gi", cpu="2"),
container_image=custom_image,
)
def ray_task(n: int) -> typing.List[int]:
futures = [f.remote(i) for i in range(n)]
return ray.get(futures)
strong-plumber-41198
12/06/2023, 5:00 PMImageSpec