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

Makes the with_stack of the profiler changeable #1497

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ranzhejiang
Copy link

@ranzhejiang ranzhejiang commented Nov 18, 2024

The default argument of profiler with_stack is False. Enabling this can help performance analysis align with model function,through it need more memory usage, we still need it to locate problem code.
This pr makes the with_stack changeable (for customer demands).

Copy link

The code quality check failed, please run make style.

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@ranzhejiang
Copy link
Author

I have done the make style

@jiminha jiminha added the run-test Run CI for PRs from external contributors label Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
run-test Run CI for PRs from external contributors
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants