fancy-yak-23698
01/10/2024, 10:33 PMflytekit
1.10.2 (from 1.7.0) and I'm curious if others have run into something similar.
If we have a python file that contains the definitions for the workflow, tasks, and launch plans, it fails to run in fast mode. It runs in non-fast mode fine. The error looks like this:
$ python3 workflow.py --inference_date=2024-01-07 --n_days_horizon=180
╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── Traceback (most recent call last) ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ /.../workflow.py:319 in <module> │
│ │
│ ❱ 319 launch_plan = LaunchPlan.get_or_create( │
│ │
│ /.../lib/python3.10/site-packages/flytekit/core/launch_plan.py:273 in get_or_create │
│ │
│ ❱ 273 │ │ │ │ raise AssertionError("The cached values aren't the same as the current c │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
AssertionError: The cached values aren't the same as the current call arguments
If we move the launch plans to a separate file, we can run in fast mode.
I created a github issue here: https://github.com/flyteorg/flyte/issues/4716fancy-yak-23698
01/10/2024, 10:35 PMfreezing-airport-6809
thankful-minister-83577
thankful-minister-83577
thankful-minister-83577
fancy-yak-23698
02/01/2024, 2:10 AMthankful-minister-83577
thankful-minister-83577