Skip to content

CI Build Failing due to PyTorch fmtlib. #9653

@ysiraichi

Description

@ysiraichi

🐛 Bug

CI build failure found in: https://github.com/pytorch/xla/actions/runs/17946995075/job/51035845884?pr=9652

    In file included from bazel-out/k8-opt/bin/external/torch/_virtual_includes/headers/torch/csrc/jit/python/pybind_utils.h:27,
                     from bazel-out/k8-opt/bin/external/torch/_virtual_includes/headers/torch/csrc/jit/python/pybind.h:12,
                     from ./torch_xla/csrc/xla_sharding_util.h:4,
                     from torch_xla/csrc/aten_xla_type.cpp:56:
    bazel-out/k8-opt/bin/external/torch/_virtual_includes/headers/torch/csrc/utils/python_arg_parser.h:42:10: fatal error: fmt/format.h: No such file or directory
       42 | #include <fmt/format.h>
          |          ^~~~~~~~~~~~~~
    compilation terminated.

Maybe it's time to pin PyTorch.

Metadata

Metadata

Assignees

Labels

CICI related changebugSomething isn't workingbuildBuild process related matters (e.g. build system).

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions