Franco Bocci
02/22/2023, 12:39 PMFerdinand von den Eichen
02/22/2023, 12:43 PMMathieu
02/22/2023, 2:04 PMDan Corbiani
02/22/2023, 4:18 PM.with_overrides(name="blah")
but it didn't seem to be picked up.Frank Shen
02/22/2023, 7:04 PMFlyteRemote
to wait for a task from a different workflow execution to complete?
This is a very common use case supported in Airflow by its native ExternalTaskSensor.
I think in Flyte I have to build a User Container Task Plugin to do that.
Or if you can provide the FlyteRemote API call code to check if a task from a different workflow is succeeded, it will be very helpful as well.
ThanksFrank Shen
02/22/2023, 7:14 PMHIMANSHU JOSHI
02/23/2023, 8:22 AMAlexey Kharlamov
02/23/2023, 8:27 AMJavier Hernandez Montes
02/23/2023, 10:13 AMFelix Ruess
02/23/2023, 12:21 PMContainerTasks
with pyflyte register -p myproj -d devel flyte/my_workflow.py
so far and it worked fine.
Now I added one Python task, but that one fails with
Pod failed. No message received from kubernetes.
[a9lcdpfc5ldtrh9tlqf8-fl6pvdgq-0] terminated with exit code (1). Reason [Error]. Message:
Traceback (most recent call last):
File "/usr/local/bin/pyflyte-fast-execute", line 8, in <module>
sys.exit(fast_execute_task_cmd())
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1130, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/flytekit/bin/entrypoint.py", line 496, in fast_execute_task_cmd
_download_distribution(additional_distribution, dest_dir)
File "/usr/local/lib/python3.8/site-packages/flytekit/tools/fast_registration.py", line 107, in download_distribution
raise ValueError("Destination path is required to download distribution and it should be a directory")
ValueError: Destination path is required to download distribution and it should be a directory
.
I don't get what is wrong here... I can see that the file is in the package..Ophir Yoktan
02/23/2023, 12:23 PMcurrent_context().checkpoint
returns a file like object - but no further details are provided
specifically I'd like to know if there are integrations with frameworks like keras (the native keras checkpointing mechanism expects a directory, not a single file)
and if not, is there a mechanism to write a new file instead of appending to a single fileAlex Papanicolaou
02/23/2023, 5:33 PMAswanth Krishnan
02/23/2023, 6:59 PMpyflyte register
, it is taking up a lot of RAM ,sometimes crashing and is pretty slow. Is this expected behaviour. Also what is some best practices for registering such repository.Matija Teršek
02/23/2023, 9:06 PMJoão Lobo Guerra Neto
02/24/2023, 12:56 AMBernhard Stadlbauer
02/24/2023, 7:44 AMAleksander Lempinen
02/24/2023, 12:47 PMBroder Peters
02/24/2023, 1:08 PMFelix Ruess
02/24/2023, 1:35 PMReda Oulbacha
02/24/2023, 2:05 PMflyte-binary
helm chart with eks-starter.yaml
?Dan Corbiani
02/24/2023, 4:10 PMFelix Ruess
02/24/2023, 4:44 PMAWS_ACCESS_KEY_ID
env var instead of the also existing FLYTE_AWS_ACCESS_KEY_ID
env if the former exists in the container.... this made my task which needs to retrieve data from a different bucket with different creds (injected via secret) fail upon downloading/uploading flyte inputs/output.
Will dig into it further next week...Endre Karlson
02/24/2023, 6:22 PMJimmy Du
02/24/2023, 11:16 PMNick Mostowich
02/24/2023, 11:24 PMGreg Gydush
02/25/2023, 3:27 AMEli Bixby
02/27/2023, 9:14 AMStructuredDataset
or dataframe input? I get the following error when running `flytectl get task ...`:
Error: failed to convert to a known Literal. Input Type [structured_dataset_type:<columns:<name:"prediction" literal_type:<simple:FLOAT > > columns:<name:"target" literal_type:<simple:FLOAT > > > ] not supported
Is the only option here to wrap it in a workflow?Kamakshi Muthukrishnan
02/27/2023, 12:08 PMKamakshi Muthukrishnan
02/27/2023, 12:13 PMMohd Shahid Khan Afridi
02/27/2023, 1:27 PMconvert_bq_table_to_pandas_dataframe
task below error is thrown. Is this combination not supported in structure_dataset encoding decoding?
flytekit/types/structured/structured_dataset.py", line 351, in _finder
raise ValueError(f"Failed to find a handler for {df_type}, protocol {protocol}, fmt {format}")
Message:
Failed to find a handler for <class 'pandas.core.frame.DataFrame'>, protocol bq, fmt parquet
[RESOLVED]