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

fixture 'compiler' not found while executing "pytest test_bench.py" #2315

Closed
yuxuan-z19 opened this issue Jun 19, 2024 · 2 comments
Closed

Comments

@yuxuan-z19
Copy link

yuxuan-z19 commented Jun 19, 2024

I'm profiling the execution of BERT_pytorch with test_bench.py using PyTorch 2.0.1 with CUDA 11.7, in which the benchmark keeps updated to the latest commit. Scripts listed in README worked perfectly until I tried test_bench.py.

image

Python 3.10.12, and here are the packages I installed: requirements.txt

Perhaps I missed something. Thanks!

@yuxuan-z19 yuxuan-z19 changed the title fixture 'compiler' not found while executing "pytest test_benchmark.py" fixture 'compiler' not found while executing "pytest test_bench.py" Jun 19, 2024
@xuzhao9
Copy link
Contributor

xuzhao9 commented Jun 20, 2024

Hi @yuxuan-z19, can you please test on #2320 ?

@yuxuan-z19
Copy link
Author

Thanks @xuzhao9 , it's working!

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 a pull request may close this issue.

2 participants