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

[Bug] benchmark shows 0.00MB consumed #1019

Open
deciding opened this issue Apr 6, 2024 · 2 comments
Open

[Bug] benchmark shows 0.00MB consumed #1019

deciding opened this issue Apr 6, 2024 · 2 comments

Comments

@deciding
Copy link

deciding commented Apr 6, 2024

🐛 Bug

benchmark shows that the memory consumption of some linear/activation layers is 0.00MB

Command

pytest benchmark/benchmark_sp24.py

To Reproduce

Steps to reproduce the behavior:

1.pytest benchmark/benchmark_sp24.py

Expected behavior

It should show the memory consumed during the execution.
But it always shows 0.00MB consumed.

Environment

  • PyTorch Version (e.g., 1.0): 2.2.2
  • OS (e.g., Linux): Ubuntu 22.04.3 LTS (x86_64)
  • How you installed PyTorch (conda, pip, source): pip
  • Build command you used (if compiling from source): pip install -e ., pip install -r requirements-benchmark.py
  • Python version: 3.11.5
  • CUDA/cuDNN version: 12.3.107, /usr/local/cuda-12.3/targets/x86_64-linux/lib/libcudnn.so.8.9.7
  • GPU models and configuration: NVIDIA A100-SXM4-80GB
@deciding
Copy link
Author

deciding commented Apr 6, 2024

submmited PR #1018

@deciding
Copy link
Author

Anyone help look at this issue?

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

No branches or pull requests

1 participant