question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Check torchlib torch version

See original GitHub issue

Im running nvcr.io/nvidia/tritonserver:22.07-pyt-python-py3 on aarch64 and on x86, so i have a completely different output from PyTorch model.

I guess that it is not a triton bug actually, probably different torchlib versions are used (at least one of them built for arm), so how i can check the version of torchlib, to compate them on x86 and arm biuld? And probably reproduce this bug separately from triton.

I see shared library in backends/pytorch/libtorch.so, but actually that has no version in the file like backends/pytorch/libopencv_imgcodecs.so.3.4.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
rmccorm4commented, Aug 23, 2022

It’s harder to reproduce, because you cannot just install it from the pip. You should build it your own or use nvidia-pytorch-container (which is not perfect solution sometimes)

@alxmamaev Triton just takes the PyTorch version built for the corresponding nvcr.io/nvidia/pytorch:YY.MM-py3 release so we are in alignment with the other DL framework containers.

ex: nvcr.io/nvidia/pytorch:22.07-py3 should generally have the same pytorch version as nvcr.io/nvidia/tritonserver:22.07-py3

0reactions
alxmamaevcommented, Aug 23, 2022

@rmccorm4 ok, thank you. It’s it is what I wanted. Will try to reproduce bug separately.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Check PyTorch Version {3 Methods} | phoenixNAP KB
To check the PyTorch version using Python code: 1. Open the terminal or command prompt and run Python: python3. 2. Import the torch...
Read more >
How to check libtorch version - C++ - PyTorch Forums
Hi, In Python I can get the PyTorch version string with: print(torch.__version__) However, I did not figure out a way to do the...
Read more >
BKMs to check whether mkl or mkldnn is enabled on PyTorch
1. How to check whether mkl is enabled? ### check where your torch is installed python -c ' ...
Read more >
torch - PyPI
Note: You could refer to the cuDNN Support Matrix for cuDNN versions with the ... run CUDA installation once again and check the...
Read more >
how to see where exactly torch is installed pip vs conda torch ...
Suppose if I had had both torches installed via pip and conda - how to know which one is used in a project?...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found