huggingface / optimum-habana

Easy and lightning fast training of 🤗 Transformers on Habana Gaudi processor (HPU)
Apache License 2.0
153 stars 202 forks source link

Makes the with_stack of the profiler changeable #1497

Open ranzhejiang opened 4 days ago

ranzhejiang commented 4 days ago

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).

github-actions[bot] commented 1 day ago

The code quality check failed, please run make style.

HuggingFaceDocBuilderDev commented 1 day ago

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 commented 22 hours ago

I have done the make style