Skip to content

Conversation

@huiguoo
Copy link

@huiguoo huiguoo commented Jan 26, 2021

Issue #125 :

Added install.py, __init__.py and test data.

Note: the model is not scripted for jit version.

@huiguoo
Copy link
Author

huiguoo commented Jan 26, 2021

@wconstab I am able to test the added model using pytorch/benchmark/test.py but got an error when running pytest pytorch/benchmark/test_bench.py --collect-only. Did I skip any configurations for pytest?

Error msg:

ERROR test_bench.py::TestBenchNetwork - OSError: libtorch_cpu.so: cannot open shared object file: No such file or directory

@huiguoo
Copy link
Author

huiguoo commented Jan 26, 2021

Guess I have found the reason for the error - I downgraded my pytorch from 1.7.0 to 1.4.0 for DeOldify and the benchmarks were built against pytorch 1.7.0. Will try to debug the pytorch version for DeOldify.

@wconstab
Copy link
Contributor

ahh - yea, the best way to do multiple pytorch versions is

  • create separate conda env for each pytorch version
  • install the benchmark suite into the conda env after installing pytorch

ping me if you're getting stuck.

@huiguoo huiguoo closed this Oct 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants