E532 update panel flyte 2 app by cosmicBboy · Pull Request #730 · flyteorg/flyte-sdk · GitHub
[go: up one dir, main page]

Skip to content

update panel flyte 2 app#730

Merged
kumare3 merged 10 commits intomainfrom
nielsb/update-panel-flyte-2-app
Mar 4, 2026
Merged

update panel flyte 2 app#730
kumare3 merged 10 commits intomainfrom
nielsb/update-panel-flyte-2-app

Conversation

@cosmicBboy
Copy link
Contributor

This pull request adds several new example applications to the examples/apps/panel_app directory, demonstrating Flyte's capabilities for async workflows, distributed training, caching/retries, agent-based orchestration, and integration with external APIs. Additionally, it fixes a serialization bug in the scaling metric logic and updates related unit tests for correct protobuf mapping.

New example applications:

  • Added sample_distributed_random_forest.py demonstrating distributed training of a random forest model using async tasks and Flyte's file/directory abstractions.
  • Added sample_mnist_training.py showing async MNIST data loading, model training, and evaluation with PyTorch, including tensor serialization via Flyte's file API.
  • Added sample_langgraph_gemini_agent.py integrating LangGraph and Gemini for weather forecast agent workflows, including tool invocation and external API calls.
  • Added sample_pbj_agent.py implementing a dependency-respecting agent workflow for a "PBJ sandwich" plan, with concurrent async execution of steps.
  • Added sample_async.py, sample_caching_and_retries.py, and sample_hello_world.py as simple async, caching/retries, and basic workflow examples. [1] [2] [3]

Bug fixes and test improvements:

  • Fixed serialization bug in _get_scaling_metric by mapping val to target_value for both concurrency and request rate metrics.
  • Updated unit tests in test_app_serde.py to verify correct protobuf field mapping for scaling metrics, replacing previous bug documentation with positive assertions.

@cosmicBboy cosmicBboy force-pushed the nielsb/update-panel-flyte-2-app branch 3 times, most recently from e47eee9 to c9cc105 Compare March 2, 2026 16:38
Signed-off-by: Niels Bantilan <niels.bantilan@gmail.com>
Signed-off-by: Niels Bantilan <niels.bantilan@gmail.com>
Signed-off-by: Niels Bantilan <niels.bantilan@gmail.com>
Signed-off-by: Niels Bantilan <niels.bantilan@gmail.com>
Signed-off-by: Niels Bantilan <niels.bantilan@gmail.com>
Signed-off-by: Niels Bantilan <niels.bantilan@gmail.com>
Signed-off-by: Niels Bantilan <niels.bantilan@gmail.com>
Signed-off-by: Niels Bantilan <niels.bantilan@gmail.com>
Signed-off-by: Niels Bantilan <niel
B6A1
s.bantilan@gmail.com>
Signed-off-by: Niels Bantilan <niels.bantilan@gmail.com>
@cosmicBboy cosmicBboy force-pushed the nielsb/update-panel-flyte-2-app branch from c9cc105 to 0bf980d Compare March 3, 2026 23:38
@kumare3 kumare3 merged commit f6f2c82 into main Mar 4, 2026
18 checks passed
@cosmicBboy cosmicBboy deleted the nielsb/update-panel-flyte-2-app branch March 12, 2026 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0