Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 16448

How do packages like Tensorflow or PyTorch distribute their shared libraries

$
0
0

Just some background, I am creating a package that ties into some C++ and wanted to know how some other larger codebases handle this. I know that many popular Python libraries like the above-mentioned ones are written mostly in C++ (and use a shared library like libtensorflow.so for example). I was just wondering how specifically they distribute the shared library. Do they have a a set of them embedded in the package i.e. .dylib, .so, .dll for MacOS, Linux, and Windows respectively? My initial thought was that these packages exported the shared library file for each platform/architecture in some distribution folder but I couldn't find anything like that. Any help or expertise is appreciated, thanks.


Viewing all articles
Browse latest Browse all 16448


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>