Skip to content

How to compile torch-xla form source? #8847

@south-ocean

Description

@south-ocean

❓ Questions and Help

I have reviewed the relevant materials on torch-xla but have not found a clear guide on how to compile torch-xla from source. The instructions mentioned on this page are somewhat disorganized. Could you provide a detailed compilation process? I need to build it from source to verify my modifications. Thanks
Now I am use python setup.py develop to build from source code , but encounter ERROR as follows:
the command is
XLA_CUDA=1 python setup.py install , and i am use the torch-xla v2.5.1

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildBuild process related matters (e.g. build system).question

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions