Add missing stdint header by IgnotaYun · Pull Request #135 · tensorflow/runtime
copybara-service bot pushed a commit to openxla/xla that referenced this pull request
Nov 3, 2025Imported from GitHub PR tensorflow/tensorflow#102607 This commit fixes #102159 which prevented TensorFlow from compiling on RISC-V 64 due to missing codepath in the build system. RFC: Currently this patch overrides timeout of rules_python for all platforms which is obviously not ideal. How do we set pip package timeout here in Tensorflow? See also: - bazelbuild/bazel#25236 - bazelbuild/bazel#25699 - bazel-contrib/rules_python#3350 - #32812 - tensorflow/runtime#135 Copybara import of the project: -- 13b7db883e6ea0aa631490fb5f806c55ceea7cb5 by gns <root@infi.wang>: [XLA:CPU] Add support for riscv64 Co-authored-by: Levi Zim <rsworktech@outlook.com> -- a00c3a3ba94664798960cbc2fb0a6746fe0c3ac1 by gns <root@infi.wang>: Add missing llvm:: namespace qualifiers for DTensor Add the `llvm::` namespace prefix to `cast` and `isa` where it was missing in the DTensor MLIR code. -- febc5abc56ab302f5f39fe20176ed00c0c95cb7e by gns <root@infi.wang>: runtime: add missing stdint header Co-authored-by: Levi Zim <rsworktech@outlook.com> -- 6bf63fec56a6d961b06d932fe69b76eae89d8cb7 by gns <root@infi.wang>: Add riscv64 support patch for rules_python bazel-contrib/rules_python#3350 -- 68c44fa9613d5577f36c51a192c932795e13ed83 by gns <root@infi.wang>: tools: py: add riscv64 to pip and manylinux compilance test -- 3f2fe1e0256476449f64658219d997727c9cc534 by gns <root@infi.wang>: Lift timeout of rules_python for BFS wheels -- 252a9b7ad2336b7abbb94e269b4a976b45d5d6e7 by gns <root@infi.wang>: Revert llvm toolchain patch for riscv64 As already upstreamed. Co-authored-by: Levi Zim <rsworktech@outlook.com> -- 51047a86131e991ffea74fccb8f55e3521237a64 by gns <root@infi.wang>: Lift timeout for BFS wheels during pip init -- 3b8276420031969423c9a1f150341a0e41fa372e by gns <root@infi.wang>: Refresh `rules_python` riscv64 patch Co-authored-by: Levi Zim <rsworktech@outlook.com> Merging this change closes #102607 FUTURE_COPYBARA_INTEGRATE_REVIEW=tensorflow/tensorflow#102607 from infiWang:riscv64 3b8276420031969423c9a1f150341a0e41fa372e PiperOrigin-RevId: 825073762
copybara-service bot pushed a commit to openxla/xla that referenced this pull request
Nov 3, 2025Imported from GitHub PR tensorflow/tensorflow#102607 This commit fixes #102159 which prevented TensorFlow from compiling on RISC-V 64 due to missing codepath in the build system. RFC: Currently this patch overrides timeout of rules_python for all platforms which is obviously not ideal. How do we set pip package timeout here in Tensorflow? See also: - bazelbuild/bazel#25236 - bazelbuild/bazel#25699 - bazel-contrib/rules_python#3350 - #32812 - tensorflow/runtime#135 Copybara import of the project: -- 13b7db883e6ea0aa631490fb5f806c55ceea7cb5 by gns <root@infi.wang>: [XLA:CPU] Add support for riscv64 Co-authored-by: Levi Zim <rsworktech@outlook.com> -- a00c3a3ba94664798960cbc2fb0a6746fe0c3ac1 by gns <root@infi.wang>: Add missing llvm:: namespace qualifiers for DTensor Add the `llvm::` namespace prefix to `cast` and `isa` where it was missing in the DTensor MLIR code. -- febc5abc56ab302f5f39fe20176ed00c0c95cb7e by gns <root@infi.wang>: runtime: add missing stdint header Co-authored-by: Levi Zim <rsworktech@outlook.com> -- 6bf63fec56a6d961b06d932fe69b76eae89d8cb7 by gns <root@infi.wang>: Add riscv64 support patch for rules_python bazel-contrib/rules_python#3350 -- 68c44fa9613d5577f36c51a192c932795e13ed83 by gns <root@infi.wang>: tools: py: add riscv64 to pip and manylinux compilance test -- 3f2fe1e0256476449f64658219d997727c9cc534 by gns <root@infi.wang>: Lift timeout of rules_python for BFS wheels -- 252a9b7ad2336b7abbb94e269b4a976b45d5d6e7 by gns <root@infi.wang>: Revert llvm toolchain patch for riscv64 As already upstreamed. Co-authored-by: Levi Zim <rsworktech@outlook.com> -- 51047a86131e991ffea74fccb8f55e3521237a64 by gns <root@infi.wang>: Lift timeout for BFS wheels during pip init -- 3b8276420031969423c9a1f150341a0e41fa372e by gns <root@infi.wang>: Refresh `rules_python` riscv64 patch Co-authored-by: Levi Zim <rsworktech@outlook.com> Merging this change closes #102607 FUTURE_COPYBARA_INTEGRATE_REVIEW=tensorflow/tensorflow#102607 from infiWang:riscv64 3b8276420031969423c9a1f150341a0e41fa372e PiperOrigin-RevId: 825073762
copybara-service bot pushed a commit to openxla/xla that referenced this pull request
Nov 3, 2025Imported from GitHub PR tensorflow/tensorflow#102607 This commit fixes #102159 which prevented TensorFlow from compiling on RISC-V 64 due to missing codepath in the build system. RFC: Currently this patch overrides timeout of rules_python for all platforms which is obviously not ideal. How do we set pip package timeout here in Tensorflow? See also: - bazelbuild/bazel#25236 - bazelbuild/bazel#25699 - bazel-contrib/rules_python#3350 - #32812 - tensorflow/runtime#135 Copybara import of the project: -- 13b7db883e6ea0aa631490fb5f806c55ceea7cb5 by gns <root@infi.wang>: [XLA:CPU] Add support for riscv64 Co-authored-by: Levi Zim <rsworktech@outlook.com> -- a00c3a3ba94664798960cbc2fb0a6746fe0c3ac1 by gns <root@infi.wang>: Add missing llvm:: namespace qualifiers for DTensor Add the `llvm::` namespace prefix to `cast` and `isa` where it was missing in the DTensor MLIR code. -- febc5abc56ab302f5f39fe20176ed00c0c95cb7e by gns <root@infi.wang>: runtime: add missing stdint header Co-authored-by: Levi Zim <rsworktech@outlook.com> -- 6bf63fec56a6d961b06d932fe69b76eae89d8cb7 by gns <root@infi.wang>: Add riscv64 support patch for rules_python bazel-contrib/rules_python#3350 -- 68c44fa9613d5577f36c51a192c932795e13ed83 by gns <root@infi.wang>: tools: py: add riscv64 to pip and manylinux compilance test -- 3f2fe1e0256476449f64658219d997727c9cc534 by gns <root@infi.wang>: Lift timeout of rules_python for BFS wheels -- 252a9b7ad2336b7abbb94e269b4a976b45d5d6e7 by gns <root@infi.wang>: Revert llvm toolchain patch for riscv64 As already upstreamed. Co-authored-by: Levi Zim <rsworktech@outlook.com> -- 51047a86131e991ffea74fccb8f55e3521237a64 by gns <root@infi.wang>: Lift timeout for BFS wheels during pip init -- 3b8276420031969423c9a1f150341a0e41fa372e by gns <root@infi.wang>: Refresh `rules_python` riscv64 patch Co-authored-by: Levi Zim <rsworktech@outlook.com> Merging this change closes #102607 FUTURE_COPYBARA_INTEGRATE_REVIEW=tensorflow/tensorflow#102607 from infiWang:riscv64 3b8276420031969423c9a1f150341a0e41fa372e PiperOrigin-RevId: 825073762
copybara-service bot pushed a commit to openxla/xla that referenced this pull request
Nov 3, 2025Imported from GitHub PR tensorflow/tensorflow#102607 This commit fixes #102159 which prevented TensorFlow from compiling on RISC-V 64 due to missing codepath in the build system. RFC: Currently this patch overrides timeout of rules_python for all platforms which is obviously not ideal. How do we set pip package timeout here in Tensorflow? See also: - bazelbuild/bazel#25236 - bazelbuild/bazel#25699 - bazel-contrib/rules_python#3350 - #32812 - tensorflow/runtime#135 Copybara import of the project: -- 13b7db883e6ea0aa631490fb5f806c55ceea7cb5 by gns <root@infi.wang>: [XLA:CPU] Add support for riscv64 Co-authored-by: Levi Zim <rsworktech@outlook.com> -- a00c3a3ba94664798960cbc2fb0a6746fe0c3ac1 by gns <root@infi.wang>: Add missing llvm:: namespace qualifiers for DTensor Add the `llvm::` namespace prefix to `cast` and `isa` where it was missing in the DTensor MLIR code. -- febc5abc56ab302f5f39fe20176ed00c0c95cb7e by gns <root@infi.wang>: runtime: add missing stdint header Co-authored-by: Levi Zim <rsworktech@outlook.com> -- 6bf63fec56a6d961b06d932fe69b76eae89d8cb7 by gns <root@infi.wang>: Add riscv64 support patch for rules_python bazel-contrib/rules_python#3350 -- 68c44fa9613d5577f36c51a192c932795e13ed83 by gns <root@infi.wang>: tools: py: add riscv64 to pip and manylinux compilance test -- 3f2fe1e0256476449f64658219d997727c9cc534 by gns <root@infi.wang>: Lift timeout of rules_python for BFS wheels -- 252a9b7ad2336b7abbb94e269b4a976b45d5d6e7 by gns <root@infi.wang>: Revert llvm toolchain patch for riscv64 As already upstreamed. Co-authored-by: Levi Zim <rsworktech@outlook.com> -- 51047a86131e991ffea74fccb8f55e3521237a64 by gns <root@infi.wang>: Lift timeout for BFS wheels during pip init -- 3b8276420031969423c9a1f150341a0e41fa372e by gns <root@infi.wang>: Refresh `rules_python` riscv64 patch Co-authored-by: Levi Zim <rsworktech@outlook.com> Merging this change closes #102607 FUTURE_COPYBARA_INTEGRATE_REVIEW=tensorflow/tensorflow#102607 from infiWang:riscv64 3b8276420031969423c9a1f150341a0e41fa372e PiperOrigin-RevId: 825073762
copybara-service bot pushed a commit to openxla/xla that referenced this pull request
Nov 3, 2025Imported from GitHub PR tensorflow/tensorflow#102607 This commit fixes #102159 which prevented TensorFlow from compiling on RISC-V 64 due to missing codepath in the build system. RFC: Currently this patch overrides timeout of rules_python for all platforms which is obviously not ideal. How do we set pip package timeout here in Tensorflow? See also: - bazelbuild/bazel#25236 - bazelbuild/bazel#25699 - bazel-contrib/rules_python#3350 - #32812 - tensorflow/runtime#135 Copybara import of the project: -- 13b7db883e6ea0aa631490fb5f806c55ceea7cb5 by gns <root@infi.wang>: [XLA:CPU] Add support for riscv64 Co-authored-by: Levi Zim <rsworktech@outlook.com> -- a00c3a3ba94664798960cbc2fb0a6746fe0c3ac1 by gns <root@infi.wang>: Add missing llvm:: namespace qualifiers for DTensor Add the `llvm::` namespace prefix to `cast` and `isa` where it was missing in the DTensor MLIR code. -- febc5abc56ab302f5f39fe20176ed00c0c95cb7e by gns <root@infi.wang>: runtime: add missing stdint header Co-authored-by: Levi Zim <rsworktech@outlook.com> -- 6bf63fec56a6d961b06d932fe69b76eae89d8cb7 by gns <root@infi.wang>: Add riscv64 support patch for rules_python bazel-contrib/rules_python#3350 -- 68c44fa9613d5577f36c51a192c932795e13ed83 by gns <root@infi.wang>: tools: py: add riscv64 to pip and manylinux compilance test -- 3f2fe1e0256476449f64658219d997727c9cc534 by gns <root@infi.wang>: Lift timeout of rules_python for BFS wheels -- 252a9b7ad2336b7abbb94e269b4a976b45d5d6e7 by gns <root@infi.wang>: Revert llvm toolchain patch for riscv64 As already upstreamed. Co-authored-by: Levi Zim <rsworktech@outlook.com> -- 51047a86131e991ffea74fccb8f55e3521237a64 by gns <root@infi.wang>: Lift timeout for BFS wheels during pip init -- 3b8276420031969423c9a1f150341a0e41fa372e by gns <root@infi.wang>: Refresh `rules_python` riscv64 patch Co-authored-by: Levi Zim <rsworktech@outlook.com> Merging this change closes #102607 FUTURE_COPYBARA_INTEGRATE_REVIEW=tensorflow/tensorflow#102607 from infiWang:riscv64 3b8276420031969423c9a1f150341a0e41fa372e PiperOrigin-RevId: 825073762
copybara-service bot pushed a commit to openxla/xla that referenced this pull request
Nov 4, 2025Imported from GitHub PR tensorflow/tensorflow#102607 This commit fixes #102159 which prevented TensorFlow from compiling on RISC-V 64 due to missing codepath in the build system. RFC: Currently this patch overrides timeout of rules_python for all platforms which is obviously not ideal. How do we set pip package timeout here in Tensorflow? See also: - bazelbuild/bazel#25236 - bazelbuild/bazel#25699 - bazel-contrib/rules_python#3350 - #32812 - tensorflow/runtime#135 Copybara import of the project: -- 13b7db883e6ea0aa631490fb5f806c55ceea7cb5 by gns <root@infi.wang>: [XLA:CPU] Add support for riscv64 Co-authored-by: Levi Zim <rsworktech@outlook.com> -- a00c3a3ba94664798960cbc2fb0a6746fe0c3ac1 by gns <root@infi.wang>: Add missing llvm:: namespace qualifiers for DTensor Add the `llvm::` namespace prefix to `cast` and `isa` where it was missing in the DTensor MLIR code. -- febc5abc56ab302f5f39fe20176ed00c0c95cb7e by gns <root@infi.wang>: runtime: add missing stdint header Co-authored-by: Levi Zim <rsworktech@outlook.com> -- 6bf63fec56a6d961b06d932fe69b76eae89d8cb7 by gns <root@infi.wang>: Add riscv64 support patch for rules_python bazel-contrib/rules_python#3350 -- 68c44fa9613d5577f36c51a192c932795e13ed83 by gns <root@infi.wang>: tools: py: add riscv64 to pip and manylinux compilance test -- 3f2fe1e0256476449f64658219d997727c9cc534 by gns <root@infi.wang>: Lift timeout of rules_python for BFS wheels -- 252a9b7ad2336b7abbb94e269b4a976b45d5d6e7 by gns <root@infi.wang>: Revert llvm toolchain patch for riscv64 As already upstreamed. Co-authored-by: Levi Zim <rsworktech@outlook.com> -- 51047a86131e991ffea74fccb8f55e3521237a64 by gns <root@infi.wang>: Lift timeout for BFS wheels during pip init -- 3b8276420031969423c9a1f150341a0e41fa372e by gns <root@infi.wang>: Refresh `rules_python` riscv64 patch Co-authored-by: Levi Zim <rsworktech@outlook.com> Merging this change closes #102607 FUTURE_COPYBARA_INTEGRATE_REVIEW=tensorflow/tensorflow#102607 from infiWang:riscv64 3b8276420031969423c9a1f150341a0e41fa372e PiperOrigin-RevId: 825073762
copybara-service bot pushed a commit to openxla/xla that referenced this pull request
Nov 4, 2025Imported from GitHub PR tensorflow/tensorflow#102607 This commit fixes #102159 which prevented TensorFlow from compiling on RISC-V 64 due to missing codepath in the build system. RFC: Currently this patch overrides timeout of rules_python for all platforms which is obviously not ideal. How do we set pip package timeout here in Tensorflow? See also: - bazelbuild/bazel#25236 - bazelbuild/bazel#25699 - bazel-contrib/rules_python#3350 - #32812 - tensorflow/runtime#135 Copybara import of the project: -- 13b7db883e6ea0aa631490fb5f806c55ceea7cb5 by gns <root@infi.wang>: [XLA:CPU] Add support for riscv64 Co-authored-by: Levi Zim <rsworktech@outlook.com> -- a00c3a3ba94664798960cbc2fb0a6746fe0c3ac1 by gns <root@infi.wang>: Add missing llvm:: namespace qualifiers for DTensor Add the `llvm::` namespace prefix to `cast` and `isa` where it was missing in the DTensor MLIR code. -- febc5abc56ab302f5f39fe20176ed00c0c95cb7e by gns <root@infi.wang>: runtime: add missing stdint header Co-authored-by: Levi Zim <rsworktech@outlook.com> -- 6bf63fec56a6d961b06d932fe69b76eae89d8cb7 by gns <root@infi.wang>: Add riscv64 support patch for rules_python bazel-contrib/rules_python#3350 -- 68c44fa9613d5577f36c51a192c932795e13ed83 by gns <root@infi.wang>: tools: py: add riscv64 to pip and manylinux compilance test -- 3f2fe1e0256476449f64658219d997727c9cc534 by gns <root@infi.wang>: Lift timeout of rules_python for BFS wheels -- 252a9b7ad2336b7abbb94e269b4a976b45d5d6e7 by gns <root@infi.wang>: Revert llvm toolchain patch for riscv64 As already upstreamed. Co-authored-by: Levi Zim <rsworktech@outlook.com> -- 51047a86131e991ffea74fccb8f55e3521237a64 by gns <root@infi.wang>: Lift timeout for BFS wheels during pip init -- 3b8276420031969423c9a1f150341a0e41fa372e by gns <root@infi.wang>: Refresh `rules_python` riscv64 patch Co-authored-by: Levi Zim <rsworktech@outlook.com> Merging this change closes #102607 FUTURE_COPYBARA_INTEGRATE_REVIEW=tensorflow/tensorflow#102607 from infiWang:riscv64 3b8276420031969423c9a1f150341a0e41fa372e PiperOrigin-RevId: 825073762
copybara-service bot pushed a commit to openxla/xla that referenced this pull request
Nov 4, 2025Imported from GitHub PR tensorflow/tensorflow#102607 This commit fixes #102159 which prevented TensorFlow from compiling on RISC-V 64 due to missing codepath in the build system. RFC: Currently this patch overrides timeout of rules_python for all platforms which is obviously not ideal. How do we set pip package timeout here in Tensorflow? See also: - bazelbuild/bazel#25236 - bazelbuild/bazel#25699 - bazel-contrib/rules_python#3350 - #32812 - tensorflow/runtime#135 Copybara import of the project: -- 13b7db883e6ea0aa631490fb5f806c55ceea7cb5 by gns <root@infi.wang>: [XLA:CPU] Add support for riscv64 Co-authored-by: Levi Zim <rsworktech@outlook.com> -- a00c3a3ba94664798960cbc2fb0a6746fe0c3ac1 by gns <root@infi.wang>: Add missing llvm:: namespace qualifiers for DTensor Add the `llvm::` namespace prefix to `cast` and `isa` where it was missing in the DTensor MLIR code. -- febc5abc56ab302f5f39fe20176ed00c0c95cb7e by gns <root@infi.wang>: runtime: add missing stdint header Co-authored-by: Levi Zim <rsworktech@outlook.com> -- 6bf63fec56a6d961b06d932fe69b76eae89d8cb7 by gns <root@infi.wang>: Add riscv64 support patch for rules_python bazel-contrib/rules_python#3350 -- 68c44fa9613d5577f36c51a192c932795e13ed83 by gns <root@infi.wang>: tools: py: add riscv64 to pip and manylinux compilance test -- 3f2fe1e0256476449f64658219d997727c9cc534 by gns <root@infi.wang>: Lift timeout of rules_python for BFS wheels -- 252a9b7ad2336b7abbb94e269b4a976b45d5d6e7 by gns <root@infi.wang>: Revert llvm toolchain patch for riscv64 As already upstreamed. Co-authored-by: Levi Zim <rsworktech@outlook.com> -- 51047a86131e991ffea74fccb8f55e3521237a64 by gns <root@infi.wang>: Lift timeout for BFS wheels during pip init -- 3b8276420031969423c9a1f150341a0e41fa372e by gns <root@infi.wang>: Refresh `rules_python` riscv64 patch Co-authored-by: Levi Zim <rsworktech@outlook.com> Merging this change closes #102607 FUTURE_COPYBARA_INTEGRATE_REVIEW=tensorflow/tensorflow#102607 from infiWang:riscv64 3b8276420031969423c9a1f150341a0e41fa372e PiperOrigin-RevId: 825073762
copybara-service bot pushed a commit to openxla/xla that referenced this pull request
Nov 4, 2025Imported from GitHub PR tensorflow/tensorflow#102607 This commit fixes #102159 which prevented TensorFlow from compiling on RISC-V 64 due to missing codepath in the build system. RFC: Currently this patch overrides timeout of rules_python for all platforms which is obviously not ideal. How do we set pip package timeout here in Tensorflow? See also: - bazelbuild/bazel#25236 - bazelbuild/bazel#25699 - bazel-contrib/rules_python#3350 - #32812 - tensorflow/runtime#135 Copybara import of the project: -- 13b7db883e6ea0aa631490fb5f806c55ceea7cb5 by gns <root@infi.wang>: [XLA:CPU] Add support for riscv64 Co-authored-by: Levi Zim <rsworktech@outlook.com> -- a00c3a3ba94664798960cbc2fb0a6746fe0c3ac1 by gns <root@infi.wang>: Add missing llvm:: namespace qualifiers for DTensor Add the `llvm::` namespace prefix to `cast` and `isa` where it was missing in the DTensor MLIR code. -- febc5abc56ab302f5f39fe20176ed00c0c95cb7e by gns <root@infi.wang>: runtime: add missing stdint header Co-authored-by: Levi Zim <rsworktech@outlook.com> -- 6bf63fec56a6d961b06d932fe69b76eae89d8cb7 by gns <root@infi.wang>: Add riscv64 support patch for rules_python bazel-contrib/rules_python#3350 -- 68c44fa9613d5577f36c51a192c932795e13ed83 by gns <root@infi.wang>: tools: py: add riscv64 to pip and manylinux compilance test -- 3f2fe1e0256476449f64658219d997727c9cc534 by gns <root@infi.wang>: Lift timeout of rules_python for BFS wheels -- 252a9b7ad2336b7abbb94e269b4a976b45d5d6e7 by gns <root@infi.wang>: Revert llvm toolchain patch for riscv64 As already upstreamed. Co-authored-by: Levi Zim <rsworktech@outlook.com> -- 51047a86131e991ffea74fccb8f55e3521237a64 by gns <root@infi.wang>: Lift timeout for BFS wheels during pip init -- 3b8276420031969423c9a1f150341a0e41fa372e by gns <root@infi.wang>: Refresh `rules_python` riscv64 patch Co-authored-by: Levi Zim <rsworktech@outlook.com> Merging this change closes #102607 FUTURE_COPYBARA_INTEGRATE_REVIEW=tensorflow/tensorflow#102607 from infiWang:riscv64 3b8276420031969423c9a1f150341a0e41fa372e PiperOrigin-RevId: 825073762
copybara-service bot pushed a commit to openxla/xla that referenced this pull request
Nov 26, 2025Imported from GitHub PR tensorflow/tensorflow#102607 This commit fixes #102159 which prevented TensorFlow from compiling on RISC-V 64 due to missing codepath in the build system. RFC: Currently this patch overrides timeout of rules_python for all platforms which is obviously not ideal. How do we set pip package timeout here in Tensorflow? See also: - bazelbuild/bazel#25236 - bazelbuild/bazel#25699 - bazel-contrib/rules_python#3350 - #32812 - tensorflow/runtime#135 Copybara import of the project: -- 13b7db883e6ea0aa631490fb5f806c55ceea7cb5 by gns <root@infi.wang>: [XLA:CPU] Add support for riscv64 Co-authored-by: Levi Zim <rsworktech@outlook.com> -- a00c3a3ba94664798960cbc2fb0a6746fe0c3ac1 by gns <root@infi.wang>: Add missing llvm:: namespace qualifiers for DTensor Add the `llvm::` namespace prefix to `cast` and `isa` where it was missing in the DTensor MLIR code. -- febc5abc56ab302f5f39fe20176ed00c0c95cb7e by gns <root@infi.wang>: runtime: add missing stdint header Co-authored-by: Levi Zim <rsworktech@outlook.com> -- 6bf63fec56a6d961b06d932fe69b76eae89d8cb7 by gns <root@infi.wang>: Add riscv64 support patch for rules_python bazel-contrib/rules_python#3350 -- 68c44fa9613d5577f36c51a192c932795e13ed83 by gns <root@infi.wang>: tools: py: add riscv64 to pip and manylinux compilance test -- 3f2fe1e0256476449f64658219d997727c9cc534 by gns <root@infi.wang>: Lift timeout of rules_python for BFS wheels -- 252a9b7ad2336b7abbb94e269b4a976b45d5d6e7 by gns <root@infi.wang>: Revert llvm toolchain patch for riscv64 As already upstreamed. Co-authored-by: Levi Zim <rsworktech@outlook.com> -- 51047a86131e991ffea74fccb8f55e3521237a64 by gns <root@infi.wang>: Lift timeout for BFS wheels during pip init -- 3b8276420031969423c9a1f150341a0e41fa372e by gns <root@infi.wang>: Refresh `rules_python` riscv64 patch Co-authored-by: Levi Zim <rsworktech@outlook.com> Merging this change closes #102607 FUTURE_COPYBARA_INTEGRATE_REVIEW=tensorflow/tensorflow#102607 from infiWang:riscv64 3b8276420031969423c9a1f150341a0e41fa372e PiperOrigin-RevId: 836231774
copybara-service bot pushed a commit to openxla/xla that referenced this pull request
Nov 26, 2025Imported from GitHub PR tensorflow/tensorflow#102607 This commit fixes #102159 which prevented TensorFlow from compiling on RISC-V 64 due to missing codepath in the build system. RFC: Currently this patch overrides timeout of rules_python for all platforms which is obviously not ideal. How do we set pip package timeout here in Tensorflow? See also: - bazelbuild/bazel#25236 - bazelbuild/bazel#25699 - bazel-contrib/rules_python#3350 - #32812 - tensorflow/runtime#135 Copybara import of the project: -- 13b7db883e6ea0aa631490fb5f806c55ceea7cb5 by gns <root@infi.wang>: [XLA:CPU] Add support for riscv64 Co-authored-by: Levi Zim <rsworktech@outlook.com> -- a00c3a3ba94664798960cbc2fb0a6746fe0c3ac1 by gns <root@infi.wang>: Add missing llvm:: namespace qualifiers for DTensor Add the `llvm::` namespace prefix to `cast` and `isa` where it was missing in the DTensor MLIR code. -- febc5abc56ab302f5f39fe20176ed00c0c95cb7e by gns <root@infi.wang>: runtime: add missing stdint header Co-authored-by: Levi Zim <rsworktech@outlook.com> -- 6bf63fec56a6d961b06d932fe69b76eae89d8cb7 by gns <root@infi.wang>: Add riscv64 support patch for rules_python bazel-contrib/rules_python#3350 -- 68c44fa9613d5577f36c51a192c932795e13ed83 by gns <root@infi.wang>: tools: py: add riscv64 to pip and manylinux compilance test -- 3f2fe1e0256476449f64658219d997727c9cc534 by gns <root@infi.wang>: Lift timeout of rules_python for BFS wheels -- 252a9b7ad2336b7abbb94e269b4a976b45d5d6e7 by gns <root@infi.wang>: Revert llvm toolchain patch for riscv64 As already upstreamed. Co-authored-by: Levi Zim <rsworktech@outlook.com> -- 51047a86131e991ffea74fccb8f55e3521237a64 by gns <root@infi.wang>: Lift timeout for BFS wheels during pip init -- 3b8276420031969423c9a1f150341a0e41fa372e by gns <root@infi.wang>: Refresh `rules_python` riscv64 patch Co-authored-by: Levi Zim <rsworktech@outlook.com> Merging this change closes #102607 FUTURE_COPYBARA_INTEGRATE_REVIEW=tensorflow/tensorflow#102607 from infiWang:riscv64 3b8276420031969423c9a1f150341a0e41fa372e PiperOrigin-RevId: 836231774
copybara-service bot pushed a commit to openxla/xla that referenced this pull request
Nov 26, 2025Imported from GitHub PR tensorflow/tensorflow#102607 This commit fixes #102159 which prevented TensorFlow from compiling on RISC-V 64 due to missing codepath in the build system. RFC: Currently this patch overrides timeout of rules_python for all platforms which is obviously not ideal. How do we set pip package timeout here in Tensorflow? See also: - bazelbuild/bazel#25236 - bazelbuild/bazel#25699 - bazel-contrib/rules_python#3350 - #32812 - tensorflow/runtime#135 Copybara import of the project: -- 13b7db883e6ea0aa631490fb5f806c55ceea7cb5 by gns <root@infi.wang>: [XLA:CPU] Add support for riscv64 Co-authored-by: Levi Zim <rsworktech@outlook.com> -- a00c3a3ba94664798960cbc2fb0a6746fe0c3ac1 by gns <root@infi.wang>: Add missing llvm:: namespace qualifiers for DTensor Add the `llvm::` namespace prefix to `cast` and `isa` where it was missing in the DTensor MLIR code. -- febc5abc56ab302f5f39fe20176ed00c0c95cb7e by gns <root@infi.wang>: runtime: add missing stdint header Co-authored-by: Levi Zim <rsworktech@outlook.com> -- 6bf63fec56a6d961b06d932fe69b76eae89d8cb7 by gns <root@infi.wang>: Add riscv64 support patch for rules_python bazel-contrib/rules_python#3350 -- 68c44fa9613d5577f36c51a192c932795e13ed83 by gns <root@infi.wang>: tools: py: add riscv64 to pip and manylinux compilance test -- 3f2fe1e0256476449f64658219d997727c9cc534 by gns <root@infi.wang>: Lift timeout of rules_python for BFS wheels -- 252a9b7ad2336b7abbb94e269b4a976b45d5d6e7 by gns <root@infi.wang>: Revert llvm toolchain patch for riscv64 As already upstreamed. Co-authored-by: Levi Zim <rsworktech@outlook.com> -- 51047a86131e991ffea74fccb8f55e3521237a64 by gns <root@infi.wang>: Lift timeout for BFS wheels during pip init -- 3b8276420031969423c9a1f150341a0e41fa372e by gns <root@infi.wang>: Refresh `rules_python` riscv64 patch Co-authored-by: Levi Zim <rsworktech@outlook.com> Merging this change closes #102607 FUTURE_COPYBARA_INTEGRATE_REVIEW=tensorflow/tensorflow#102607 from infiWang:riscv64 3b8276420031969423c9a1f150341a0e41fa372e PiperOrigin-RevId: 836231774
copybara-service bot pushed a commit to openxla/xla that referenced this pull request
Dec 2, 2025Imported from GitHub PR tensorflow/tensorflow#102607 This commit fixes #102159 which prevented TensorFlow from compiling on RISC-V 64 due to missing codepath in the build system. RFC: Currently this patch overrides timeout of rules_python for all platforms which is obviously not ideal. How do we set pip package timeout here in Tensorflow? See also: - bazelbuild/bazel#25236 - bazelbuild/bazel#25699 - bazel-contrib/rules_python#3350 - #32812 - tensorflow/runtime#135 Copybara import of the project: -- 13b7db883e6ea0aa631490fb5f806c55ceea7cb5 by gns <root@infi.wang>: [XLA:CPU] Add support for riscv64 Co-authored-by: Levi Zim <rsworktech@outlook.com> -- a00c3a3ba94664798960cbc2fb0a6746fe0c3ac1 by gns <root@infi.wang>: Add missing llvm:: namespace qualifiers for DTensor Add the `llvm::` namespace prefix to `cast` and `isa` where it was missing in the DTensor MLIR code. -- febc5abc56ab302f5f39fe20176ed00c0c95cb7e by gns <root@infi.wang>: runtime: add missing stdint header Co-authored-by: Levi Zim <rsworktech@outlook.com> -- 6bf63fec56a6d961b06d932fe69b76eae89d8cb7 by gns <root@infi.wang>: Add riscv64 support patch for rules_python bazel-contrib/rules_python#3350 -- 68c44fa9613d5577f36c51a192c932795e13ed83 by gns <root@infi.wang>: tools: py: add riscv64 to pip and manylinux compilance test -- 3f2fe1e0256476449f64658219d997727c9cc534 by gns <root@infi.wang>: Lift timeout of rules_python for BFS wheels -- 252a9b7ad2336b7abbb94e269b4a976b45d5d6e7 by gns <root@infi.wang>: Revert llvm toolchain patch for riscv64 As already upstreamed. Co-authored-by: Levi Zim <rsworktech@outlook.com> -- 51047a86131e991ffea74fccb8f55e3521237a64 by gns <root@infi.wang>: Lift timeout for BFS wheels during pip init -- 3b8276420031969423c9a1f150341a0e41fa372e by gns <root@infi.wang>: Refresh `rules_python` riscv64 patch Co-authored-by: Levi Zim <rsworktech@outlook.com> Merging this change closes #102607 FUTURE_COPYBARA_INTEGRATE_REVIEW=tensorflow/tensorflow#102607 from infiWang:riscv64 3b8276420031969423c9a1f150341a0e41fa372e PiperOrigin-RevId: 836231774
copybara-service bot pushed a commit to openxla/xla that referenced this pull request
Dec 2, 2025Imported from GitHub PR tensorflow/tensorflow#102607 This commit fixes #102159 which prevented TensorFlow from compiling on RISC-V 64 due to missing codepath in the build system. RFC: Currently this patch overrides timeout of rules_python for all platforms which is obviously not ideal. How do we set pip package timeout here in Tensorflow? See also: - bazelbuild/bazel#25236 - bazelbuild/bazel#25699 - bazel-contrib/rules_python#3350 - #32812 - tensorflow/runtime#135 Copybara import of the project: -- 13b7db883e6ea0aa631490fb5f806c55ceea7cb5 by gns <root@infi.wang>: [XLA:CPU] Add support for riscv64 Co-authored-by: Levi Zim <rsworktech@outlook.com> -- a00c3a3ba94664798960cbc2fb0a6746fe0c3ac1 by gns <root@infi.wang>: Add missing llvm:: namespace qualifiers for DTensor Add the `llvm::` namespace prefix to `cast` and `isa` where it was missing in the DTensor MLIR code. -- febc5abc56ab302f5f39fe20176ed00c0c95cb7e by gns <root@infi.wang>: runtime: add missing stdint header Co-authored-by: Levi Zim <rsworktech@outlook.com> -- 6bf63fec56a6d961b06d932fe69b76eae89d8cb7 by gns <root@infi.wang>: Add riscv64 support patch for rules_python bazel-contrib/rules_python#3350 -- 68c44fa9613d5577f36c51a192c932795e13ed83 by gns <root@infi.wang>: tools: py: add riscv64 to pip and manylinux compilance test -- 3f2fe1e0256476449f64658219d997727c9cc534 by gns <root@infi.wang>: Lift timeout of rules_python for BFS wheels -- 252a9b7ad2336b7abbb94e269b4a976b45d5d6e7 by gns <root@infi.wang>: Revert llvm toolchain patch for riscv64 As already upstreamed. Co-authored-by: Levi Zim <rsworktech@outlook.com> -- 51047a86131e991ffea74fccb8f55e3521237a64 by gns <root@infi.wang>: Lift timeout for BFS wheels during pip init -- 3b8276420031969423c9a1f150341a0e41fa372e by gns <root@infi.wang>: Refresh `rules_python` riscv64 patch Co-authored-by: Levi Zim <rsworktech@outlook.com> Merging this change closes #102607 FUTURE_COPYBARA_INTEGRATE_REVIEW=tensorflow/tensorflow#102607 from infiWang:riscv64 3b8276420031969423c9a1f150341a0e41fa372e PiperOrigin-RevId: 836231774
copybara-service bot pushed a commit to openxla/xla that referenced this pull request
Dec 2, 2025Imported from GitHub PR tensorflow/tensorflow#102607 This commit fixes #102159 which prevented TensorFlow from compiling on RISC-V 64 due to missing codepath in the build system. RFC: Currently this patch overrides timeout of rules_python for all platforms which is obviously not ideal. How do we set pip package timeout here in Tensorflow? See also: - bazelbuild/bazel#25236 - bazelbuild/bazel#25699 - bazel-contrib/rules_python#3350 - #32812 - tensorflow/runtime#135 Copybara import of the project: -- 13b7db883e6ea0aa631490fb5f806c55ceea7cb5 by gns <root@infi.wang>: [XLA:CPU] Add support for riscv64 Co-authored-by: Levi Zim <rsworktech@outlook.com> -- a00c3a3ba94664798960cbc2fb0a6746fe0c3ac1 by gns <root@infi.wang>: Add missing llvm:: namespace qualifiers for DTensor Add the `llvm::` namespace prefix to `cast` and `isa` where it was missing in the DTensor MLIR code. -- febc5abc56ab302f5f39fe20176ed00c0c95cb7e by gns <root@infi.wang>: runtime: add missing stdint header Co-authored-by: Levi Zim <rsworktech@outlook.com> -- 6bf63fec56a6d961b06d932fe69b76eae89d8cb7 by gns <root@infi.wang>: Add riscv64 support patch for rules_python bazel-contrib/rules_python#3350 -- 68c44fa9613d5577f36c51a192c932795e13ed83 by gns <root@infi.wang>: tools: py: add riscv64 to pip and manylinux compilance test -- 3f2fe1e0256476449f64658219d997727c9cc534 by gns <root@infi.wang>: Lift timeout of rules_python for BFS wheels -- 252a9b7ad2336b7abbb94e269b4a976b45d5d6e7 by gns <root@infi.wang>: Revert llvm toolchain patch for riscv64 As already upstreamed. Co-authored-by: Levi Zim <rsworktech@outlook.com> -- 51047a86131e991ffea74fccb8f55e3521237a64 by gns <root@infi.wang>: Lift timeout for BFS wheels during pip init -- 3b8276420031969423c9a1f150341a0e41fa372e by gns <root@infi.wang>: Refresh `rules_python` riscv64 patch Co-authored-by: Levi Zim <rsworktech@outlook.com> Merging this change closes #102607 FUTURE_COPYBARA_INTEGRATE_REVIEW=tensorflow/tensorflow#102607 from infiWang:riscv64 3b8276420031969423c9a1f150341a0e41fa372e PiperOrigin-RevId: 836231774
copybara-service bot pushed a commit to openxla/xla that referenced this pull request
Dec 2, 2025Imported from GitHub PR tensorflow/tensorflow#102607 This commit fixes #102159 which prevented TensorFlow from compiling on RISC-V 64 due to missing codepath in the build system. RFC: Currently this patch overrides timeout of rules_python for all platforms which is obviously not ideal. How do we set pip package timeout here in Tensorflow? See also: - bazelbuild/bazel#25236 - bazelbuild/bazel#25699 - bazel-contrib/rules_python#3350 - #32812 - tensorflow/runtime#135 Copybara import of the project: -- 13b7db883e6ea0aa631490fb5f806c55ceea7cb5 by gns <root@infi.wang>: [XLA:CPU] Add support for riscv64 Co-authored-by: Levi Zim <rsworktech@outlook.com> -- a00c3a3ba94664798960cbc2fb0a6746fe0c3ac1 by gns <root@infi.wang>: Add missing llvm:: namespace qualifiers for DTensor Add the `llvm::` namespace prefix to `cast` and `isa` where it was missing in the DTensor MLIR code. -- febc5abc56ab302f5f39fe20176ed00c0c95cb7e by gns <root@infi.wang>: runtime: add missing stdint header Co-authored-by: Levi Zim <rsworktech@outlook.com> -- 6bf63fec56a6d961b06d932fe69b76eae89d8cb7 by gns <root@infi.wang>: Add riscv64 support patch for rules_python bazel-contrib/rules_python#3350 -- 68c44fa9613d5577f36c51a192c932795e13ed83 by gns <root@infi.wang>: tools: py: add riscv64 to pip and manylinux compilance test -- 3f2fe1e0256476449f64658219d997727c9cc534 by gns <root@infi.wang>: Lift timeout of rules_python for BFS wheels -- 252a9b7ad2336b7abbb94e269b4a976b45d5d6e7 by gns <root@infi.wang>: Revert llvm toolchain patch for riscv64 As already upstreamed. Co-authored-by: Levi Zim <rsworktech@outlook.com> -- 51047a86131e991ffea74fccb8f55e3521237a64 by gns <root@infi.wang>: Lift timeout for BFS wheels during pip init -- 3b8276420031969423c9a1f150341a0e41fa372e by gns <root@infi.wang>: Refresh `rules_python` riscv64 patch Co-authored-by: Levi Zim <rsworktech@outlook.com> Merging this change closes #102607 FUTURE_COPYBARA_INTEGRATE_REVIEW=tensorflow/tensorflow#102607 from infiWang:riscv64 3b8276420031969423c9a1f150341a0e41fa372e PiperOrigin-RevId: 836231774
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters