For øyeblikket støtter Pytorch/XLA Python -versjoner opp til 3.11 for Linux -distribusjoner. Imidlertid er det spesifikke krav og begrensninger. For å installere `Torch_xla` versjon 2.5, må du for eksempel sikre kompatibilitet med Python 3.9 til 3.11, da det ikke er noen hjul tilgjengelig for Python 3.12 eller senere [3] [4]. I tillegg støtter ikke Pytorch Python 3.11 på Windows [7].
For Pytorch/XLA versjon 2.6 og utover vil det være støtte for Python 3.11, inkludert hjul bygget med C ++ 11 ABI, som kan installeres ved hjelp av spesifikke kommandoer [5]. Derfor, mens Pytorch/XLA kan brukes med Python 3.11 på Linux, krever det nøye versjonsstyring og installasjon.
Sitasjoner:[1] https://github.com/pytorch/xla/releases
[2] https://pytorch.org/xla/release/2.0/index.html
[3] https://stackoverflow.com/questions/79314991/why-am-i-getting-no-matching-distribution-found-for-torch-xla-2-5-0-when-inst
[4] https://awsdocs-neuron.readthedocs-hosted.com/no/latest/general/appnotes/torch-neuronx/introducing-pytorch-2-x.html
[5] https://github.com/pytorch/xla
[6] https://github.com/pytorch/xla/issues/4
[7] https://discuss.pytorch.org/t/pytorch-does-not-support-python-3-11/173747
[8] https://pytorch.org/xla/master/gpu.html