Closed
Description
Summary
Steps to reproduce
python3 install.py
pip install . # add -e for an editable installation
import torchbenchmark.models.densenet121
model, example_inputs = torchbenchmark.models.densenet121.Model(test="eval", device="cuda", batch_size=1).get_module()
model(*example_inputs)
Traceback (most recent call last):
File "/home/drisspg/meta/benchmark/torchbench_loop.py", line 14, in <module>
main()
File "/home/drisspg/meta/benchmark/torchbench_loop.py", line 6, in main
model, example_inputs = models.densenet121.Model(test="eval", device="cuda", batch_size=1).get_module()
AttributeError: module 'torchbenchmark.models' has no attribute 'densenet121
Having Torchbench not be package though makes the path shennagins kind of hard to reason about so not sure if the why the model is not being picked up.
Metadata
Metadata
Assignees
Labels
No labels