Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[API] Support memray profiling [1.6.x] #5570

Merged
merged 7 commits into from
May 20, 2024
Merged

[API] Support memray profiling [1.6.x] #5570

merged 7 commits into from
May 20, 2024

Conversation

alonmr
Copy link
Member

@alonmr alonmr commented May 15, 2024

Memray memory profiling on MLRun API

To run the API with memray profiling do the following:
Set MLRUN_MEMRAY=1 environment variable
Set MLRUN_MEMRAY_OUTPUT_FILE=<some-path> e.g. "/mlrun/db/api_memray.bin" if on iguazio set up because /mlrun/db is volumed.
You need to have access to the memray files to open it in your browser.
Otherwise, exec into the container and interact with the file with memray cli - e.g. memray summary /mlrun/db/api_memray.bin

@liranbg liranbg changed the title [API] Support memray profiling [API] Support memray profiling [1.6.x] May 15, 2024
@alonmr alonmr marked this pull request as ready for review May 19, 2024 07:04
@alonmr alonmr merged commit f29fe87 into mlrun:1.6.x May 20, 2024
11 checks passed
@alonmr alonmr deleted the memray branch May 20, 2024 14:06
alonmr added a commit to alonmr/mlrun that referenced this pull request Jun 3, 2024
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.

None yet

2 participants