Eduardo Matus
01/09/2023, 7:50 PMNiklas Bivald
01/09/2023, 8:08 PMRobin Timan
01/10/2023, 9:46 AMTransformer that transforms a univariate dictionary Dict[str, T] to a Literal MapBut it only seems to be able to transform it into a Literal. So how do I go from a Literal to a LiteralMap?
Felix Ruess
01/10/2023, 12:52 PMFelix Ruess
01/10/2023, 12:58 PMFelix Ruess
01/10/2023, 2:58 PMRupsha Chaudhuri
01/10/2023, 7:50 PMiter()
to access all of it and would like each map task to process 1 chunk. Can map task take a generator instead of a list as the input?Joseph Yi
01/11/2023, 12:07 AMPeeter Piegaze
01/11/2023, 10:48 AMflyte
, flytesnacks
and some others. Can someone help me with this?Aleksander Lempinen
01/11/2023, 11:41 AMByron Hsu
01/11/2023, 8:07 PMByron Hsu
01/11/2023, 8:07 PMNiels Bantilan
01/11/2023, 10:25 PMSeungTaeKim
01/12/2023, 4:32 AMBernhard Stadlbauer
01/12/2023, 2:28 PMmap_task
though) - so following along here for any debugging tipsFredrik Lyford
01/12/2023, 2:36 PMTraceback (most recent call last):
File "/root/.varner_dp/venv/3.7.1/lib/python3.9/site-packages/flytekit/exceptions/scopes.py", line 165, in system_entry_point
return wrapped(*args, **kwargs)
File "/root/.varner_dp/venv/3.7.1/lib/python3.9/site-packages/flytekit/core/base_task.py", line 472, in dispatch_execute
native_inputs = TypeEngine.literal_map_to_kwargs(exec_ctx, input_literal_map, self.python_interface.inputs)
File "/root/.varner_dp/venv/3.7.1/lib/python3.9/site-packages/flytekit/core/type_engine.py", line 800, in literal_map_to_kwargs
return {k: TypeEngine.to_python_value(ctx, lm.literals[k], python_types[k]) for k, v in lm.literals.items()}
File "/root/.varner_dp/venv/3.7.1/lib/python3.9/site-packages/flytekit/core/type_engine.py", line 800, in <dictcomp>
return {k: TypeEngine.to_python_value(ctx, lm.literals[k], python_types[k]) for k, v in lm.literals.items()}
Message:
'n2.o0'
SYSTEM ERROR! Contact platform administrators.
Nathan Warren
01/12/2023, 5:03 PMEvan Sadler
01/13/2023, 8:57 PMAndrew Achkar
01/13/2023, 9:45 PMRadhakrishna Sanka
01/15/2023, 1:09 AMByron Hsu
01/16/2023, 12:44 AMSeungTaeKim
01/16/2023, 2:37 AMByron Hsu
01/16/2023, 6:30 AMbyhsu@byhsu-ld1 ~/learn-repo/flyte-demo flyte ❯ ./bin/flytectl demo start
INFO[0000] [0] Couldn't find a config file []. Relying on env vars and pflags.
🧑🏭 Bootstrapping a brand new flyte cluster... 🔨 🔧
🐋 Going to use Flyte v1.3.0 release with image <http://cr.flyte.org/flyteorg/flyte-sandbox-bundled:sha-f69fb09ca189e8bf57e1a6a12db168274f640d15|cr.flyte.org/flyteorg/flyte-sandbox-bundled:sha-f69fb09ca189e8bf57e1a6a12db168274f640d15>
🐋 pulling docker image for release <http://cr.flyte.org/flyteorg/flyte-sandbox-bundled:sha-f69fb09ca189e8bf57e1a6a12db168274f640d15|cr.flyte.org/flyteorg/flyte-sandbox-bundled:sha-f69fb09ca189e8bf57e1a6a12db168274f640d15>
🧑🏭 booting Flyte-sandbox container
😬 Something went wrong: Failed to start Sandbox container 🐋, Please check your docker client and try again.
Error: Error response from daemon: invalid IP address in add-host: "host-gateway"
{"json":{},"level":"error","msg":"Error response from daemon: invalid IP address in add-host: \"host-gateway\"","ts":"2023-01-15T22:30:19-08:00"}
Seung-Woo Lee
01/16/2023, 7:50 AMflytectl demo start
)
My workflow was successfully run on local (pyflyte run cifar10.py wf
)
But my workflow needs torch
packages, so I built docker image with Dockerfile like below:
FROM python:3.9-slim-buster
RUN python -m pip install torch torchvision
RUN python -m pip install flytekit pandas numpy awscli
I pushed the image to dockerhub, it can be accessed publicly.
And I submit flyte workflow with pyflyte
cli
pyflyte run --remote --image {username}/flyte:0.0.4 cifar10.py wf
But it doesn’t work on remote (sandbox). How can I do?Byron Hsu
01/16/2023, 5:31 PMByron Hsu
01/16/2023, 7:30 PMXuan Hu
01/17/2023, 3:36 AMXuan Hu
01/17/2023, 3:45 AMRahul Mehta
01/17/2023, 6:27 AM이민재(Minjae Lee)/Logistics Data Science
01/17/2023, 1:18 PM