https://flyte.org
Join Slack
Are folks using Flyte to do hyperparameter optimization to the scale of 1.4k tasks in a single workf...
m

Mick Jermsurawong

over 2 years ago
Are folks using Flyte to do hyperparameter optimization to the scale of 1.4k tasks in a single workflow? We are hitting error from K8S request entity too large, where Fyte propeller OSS did make a patch explicitly for this.
m
d
  • 2
  • 12
  • 228
Hi, is there a way to get try / catch behavior in a Flyte workflow. I have a workflow where one of ...
v

Vaibhav Verma

over 2 years ago
Hi, is there a way to get try / catch behavior in a Flyte workflow. I have a workflow where one of the tasks can fail to run. If it fails to run, I would like to perform different steps vs when it succeeds. Something like this:
@workflow
def wf():
    try:
        output0 = t0()
    except Exception:
        return handle_failure(...)
    
    return handle_success(...)
One way I can think of achieving this behavior is to move the try/catch inside
t0
, and conditioning on the output. Ideally I would like to reflect in the state of the workflow execution that t0 failed. Is there a better way to do this?
v
k
  • 2
  • 3
  • 228
Hi community, does anyone know how to throw an exception to be user exception within the execute fun...
y

Yubo Wang

over 2 years ago
Hi community, does anyone know how to throw an exception to be user exception within the execute function when writing backend plugin?
y
k
  • 2
  • 9
  • 228
Hi everyone, I have question related to workflows that have many tasks that are executed in a differ...
s

Saravanan Arumugam

over 2 years ago
Hi everyone, I have question related to workflows that have many tasks that are executed in a different system (for example, hive or spark), Does flyte create one pod for each task? I am trying to study the performance impact of this situation when we have high fanout workflows of this kind. any pointers will be helpful.
s
b
+2
  • 4
  • 27
  • 228
Hello guys i get this error `Failed to check if the image exists with error : Error while fetching s...
e

Eric Peter Wairagala

over 1 year ago
Hello guys i get this error
Failed to check if the image exists with error : Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))
for this command
pyflyte --config ~/.flyte/config.yaml register ...
i am using GCP artifact for my registry .
e
d
s
  • 3
  • 18
  • 227
what is the recommended set up for training distributed pytorch models? Found <this guide >but the <...
n

Nan Qin

over 2 years ago
what is the recommended set up for training distributed pytorch models? Found this guide but the kubeflow pytorch operator is now deprecated. is it better to use ray?
n
f
  • 2
  • 57
  • 227
Hi flyte team, I integrated our OIDC provider for flyteadmin auth. But its failing during OIDC callb...
f

Fredrick

over 3 years ago
Hi flyte team, I integrated our OIDC provider for flyteadmin auth. But its failing during OIDC callback with the following error. It looks to be cookie that it generates using the auth_code becomes bigger than 4096 [gorilla securecookie implementation](https://github.com/gorilla/securecookie/blob/master/securecookie.go#L256-L259). Any ideas on how to fix this ?
{"json":{"src":"handlers.go:161"},"level":"error","msg":"Error setting encrypted JWT cookie [SECURE_COOKIE_ERROR] Error creating secure cookie, caused by: securecookie: the value is too long","ts":"2022-07-01T07:41:05Z"}
f
k
k
  • 3
  • 2
  • 227
Hello, Can Polars dataframe be used as flyte task input &amp; output params out of the box? Since wh...
f

Frank Shen

over 2 years ago
Hello, Can Polars dataframe be used as flyte task input & output params out of the box? Since which version of flyte it’s supported. I am using flyte 1.2.4.
f
e
  • 2
  • 6
  • 226
<@U038FT3LCRE> <@UPTRGR537> Let’s discuss auth here
h

Haytham Abuelfutuh

about 3 years ago
@Hampus Rosvall @Prafulla Mahindrakar Let’s discuss auth here
h
h
p
  • 3
  • 85
  • 226
Hey is there anyway to mock the NamedTuple output of a task and have that output then used in a sepe...
b

Brandon Segal

about 3 years ago
Hey is there anyway to mock the NamedTuple output of a task and have that output then used in a seperate task? I have a situation where I have a task with some output
class GenerateOutputs(NamedTuple):
        uri: str
    
    @reference_task(
        ...
    )
    def generate(
        input:str 
    ) -> GenerateOutputs:
    ... 
    
    @workflow
    def my_wf(
        input="default_input"
    ) -> str:
    output = generate(
        input:str=input
    )
    return output.uri
However anytime I try to mock this out with something like
class TestNamedTuple(TestCase):
    def test_run_workflow(self):
        with task_mock(generate) as fake_generate:
            fake_generate.return_value = GenerateOutputs(uri="test_uri")
            uri = my_wf()
            self.assertIsNotNone(uri)
I get an error like :
AttributeError: 'Promise' object has no attribute 'uri'
How do I properly mock a task that has a namedTuple output with only one attribute?
b
k
  • 2
  • 3
  • 225
Previous252627Next

Flyte

Flyte enables production-grade orchestration for machine learning workflows and data processing created to accelerate local workflows to production.

Powered by