Skip to content

Commit ba07b06

Browse files
committed
Update versions of TensorFlow and platforms packages
TensorFlow 2.13.0 is the highest version that will work with the current Bazel configuration we have in qsim. Something changed in TF 2.14.0 that results in undefined Bazel rules.
1 parent 132b079 commit ba07b06

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

WORKSPACE

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
22

33
http_archive(
44
name = "platforms",
5+
sha256 = "29742e87275809b5e598dc2f04d86960cc7a55b3067d97221c9abbc9926bff0f",
56
urls = [
6-
"https://mirror.bazel.build/github.com/bazelbuild/platforms/releases/download/0.0.6/platforms-0.0.6.tar.gz",
7-
"https://github.com/bazelbuild/platforms/releases/download/0.0.6/platforms-0.0.6.tar.gz",
7+
"https://mirror.bazel.build/github.com/bazelbuild/platforms/releases/download/0.0.11/platforms-0.0.11.tar.gz",
8+
"https://github.com/bazelbuild/platforms/releases/download/0.0.11/platforms-0.0.11.tar.gz",
89
],
9-
sha256 = "5308fc1d8865406a49427ba24a9ab53087f17f5266a7aabbfc28823f3916e1ca",
1010
)
1111

1212
http_archive(
@@ -20,11 +20,9 @@ http_archive(
2020
# https://github.com/tensorflow/quantum
2121
http_archive(
2222
name = "org_tensorflow",
23-
sha256 = "e52cda3bae45f0ae0fccd4055e9fa29892b414f70e2df94df9a3a10319c75fff",
24-
strip_prefix = "tensorflow-2.11.0",
25-
urls = [
26-
"https://github.com/tensorflow/tensorflow/archive/refs/tags/v2.11.0.zip",
27-
],
23+
sha256 = "447cdb65c80c86d6c6cf1388684f157612392723eaea832e6392d219098b49de",
24+
strip_prefix = "tensorflow-2.13.0",
25+
url = "https://github.com/tensorflow/tensorflow/archive/refs/tags/v2.13.0.zip",
2826
)
2927

3028
load("@org_tensorflow//tensorflow:workspace3.bzl", "workspace")

0 commit comments

Comments
 (0)