How to add a benchmark using BenchmarkRegistry ? #533
-
Hi everyone ! I am currently trying to add another line to ./superbench/benchmarks/model_benchmarks/pytorch_gpt2.py in order to run with a custom model. It is copy/pasting the line : Then I run the benchmark and get : I searched for the place the model_benchmarks in ./superbench/benchmarks/model_benchmarks/ are added to BenchmarkRegistry dictionnary, but it was without results. I tried to reinstall and/or redeploy with the modified file pytorch_gpt2.py without success. I am stuck there and ran out of ideas. Any help is appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You need to reinstall the superbench inside the |
Beta Was this translation helpful? Give feedback.
You need to reinstall the superbench inside the
sb-workspace
container, otherwise the new added benchmark can't be found since the released docker image don't include your changes.