Preview Flyte 2 for productionHosted on Union.ai
Memray Profiling

Memray Profiling

flytekitplugins-memray

FlytekitDeveloper Toolsmemraymemoryprofiling

Memray tracks and reports memory allocations, both in python code and in compiled extension modules.

Install
pip install flytekitplugins-memray

Quick Start(example, may need adjustment)

See full examples
pip install flytekitplugins-memray

from flytekit import task, workflow
from flytekitplugins.memray import memray_profiling

@task
def my_task() -> None:
    memray_profiling(...)

@workflow
def my_workflow() -> None:
    my_task()

Available Imports (1)

taskmemray_profiling

Task for Memray Profiling.

from flytekitplugins.memray import memray_profiling

Dependencies

memray

Related Plugins

Package Info

Min Flytekit1.12.0
Modules1

Downloads

Last day13
Last week53
Last month316

Contributors