ChimeraX bundles can list dependencies on PyPi packages. Here's an example of PyPi dependencies in bundle_info.xml of the SEQCROW ChimeraX plugin. ChimeraX will install these when the bundle is installed.
<Dependencies>
<Dependency name="ChimeraX-Core" version=">=1.3, <=1.7"/>
<Dependency name="scipy"/>
<Dependency name="Send2Trash"/>
<Dependency name="psutil"/>
<Dependency name="jinja2"/>
<!--
bse is large and may fail to install with bad internet
<Dependency name="basis-set-exchange"/>
-->
<!-- wait for numpy to fix fortran stuff in python 3.8
I've tried installing this with just gfortran on windows, but no luck
<Dependency name="stripy"/>
-->
</Dependencies>
With PyTorch I don't know if the PyPi packages include CUDA support or how the CUDA version is handled. Maybe they are CPU-only unless compiled from source on the install machine, which of course would require a compiler that only Linux (not Windows) would likely have installed.
We should have some documentation on how to handle PyPi dependencies. I don't see anything useful about how to include them in the bundle_info.xml or pyproject.toml documentation for ChimeraX.
I'll made a ticket to add some documentation for that.