Player FM 앱으로 오프라인으로 전환하세요!
torchdeploy
Manage episode 294679393 series 2921809
torchdeploy is a way of running multiple Python interpreters inside the same process. It can be used to deploy Python PyTorch programs in situations where the GIL is a problem, not the CPython interpreter. How does it work, and what kind of challenges does it pose for people who want to write code that calls from C++ to Python?
Further reading.
- How the torchdeploy build system works https://dev-discuss.pytorch.org/t/torch-deploy-the-build/238
- Description of the single interpreter per Tensor invariant https://github.com/pytorch/pytorch/issues/57756
- Recent work on making it possible to load C extensions into torchdeploy https://dev-discuss.pytorch.org/t/running-multiple-python-interpreters-via-custom-dynamic-loading/241
83 에피소드
Manage episode 294679393 series 2921809
torchdeploy is a way of running multiple Python interpreters inside the same process. It can be used to deploy Python PyTorch programs in situations where the GIL is a problem, not the CPython interpreter. How does it work, and what kind of challenges does it pose for people who want to write code that calls from C++ to Python?
Further reading.
- How the torchdeploy build system works https://dev-discuss.pytorch.org/t/torch-deploy-the-build/238
- Description of the single interpreter per Tensor invariant https://github.com/pytorch/pytorch/issues/57756
- Recent work on making it possible to load C extensions into torchdeploy https://dev-discuss.pytorch.org/t/running-multiple-python-interpreters-via-custom-dynamic-loading/241
83 에피소드
All episodes
×플레이어 FM에 오신것을 환영합니다!
플레이어 FM은 웹에서 고품질 팟캐스트를 검색하여 지금 바로 즐길 수 있도록 합니다. 최고의 팟캐스트 앱이며 Android, iPhone 및 웹에서도 작동합니다. 장치 간 구독 동기화를 위해 가입하세요.