blob: 99d368ff917e9db5366ae5f5efc78b2c4d25affd [file] [log] [blame]
Vijay Vasudevan8cc567b2016-05-26 11:05:13 -08001workspace(name = "org_tensorflow")
2
A. Unique TensorFlower5b145772018-11-30 11:11:23 -08003load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
4
Justine Tunney02f276c2017-02-03 17:13:49 -08005http_archive(
6 name = "io_bazel_rules_closure",
Yifei Feng22f3a972018-04-23 21:19:14 -07007 sha256 = "a38539c5b5c358548e75b44141b4ab637bba7c4dc02b46b1f62a96d6433f56ae",
8 strip_prefix = "rules_closure-dbb96841cc0a5fb2664c37822803b06dab20c7d1",
Justine Tunney02f276c2017-02-03 17:13:49 -08009 urls = [
Yifei Feng22f3a972018-04-23 21:19:14 -070010 "https://mirror.bazel.build/github.com/bazelbuild/rules_closure/archive/dbb96841cc0a5fb2664c37822803b06dab20c7d1.tar.gz",
11 "https://github.com/bazelbuild/rules_closure/archive/dbb96841cc0a5fb2664c37822803b06dab20c7d1.tar.gz", # 2018-04-13
Justine Tunney02f276c2017-02-03 17:13:49 -080012 ],
13)
Gunhan Gulsoyb4ae8522018-09-26 02:31:31 -070014
Justine Tunney02f276c2017-02-03 17:13:49 -080015load("@io_bazel_rules_closure//closure:defs.bzl", "closure_repositories")
Gunhan Gulsoyb4ae8522018-09-26 02:31:31 -070016
Justine Tunney02f276c2017-02-03 17:13:49 -080017closure_repositories()
18
A. Unique TensorFlower62bc6402018-12-13 00:11:34 -080019load("//third_party/toolchains/preconfig/generate:archives.bzl",
20 "bazel_toolchains_archive")
21
22bazel_toolchains_archive()
23
24load(
25 "@bazel_toolchains//repositories:repositories.bzl",
26 bazel_toolchains_repositories = "repositories",
A. Unique TensorFlower54cc77e2018-11-12 09:31:53 -080027)
28
A. Unique TensorFlower62bc6402018-12-13 00:11:34 -080029bazel_toolchains_repositories()
30
31load(
32 "@io_bazel_rules_docker//container:container.bzl",
33 container_repositories = "repositories",
A. Unique TensorFlower54cc77e2018-11-12 09:31:53 -080034)
35
A. Unique TensorFlower62bc6402018-12-13 00:11:34 -080036container_repositories()
A. Unique TensorFlower54cc77e2018-11-12 09:31:53 -080037
A. Unique TensorFlower62bc6402018-12-13 00:11:34 -080038load("//third_party/toolchains/preconfig/generate:workspace.bzl",
39 "remote_config_workspace")
A. Unique TensorFlower54cc77e2018-11-12 09:31:53 -080040
41remote_config_workspace()
42
Ilya Biryukov9e651e42018-03-22 05:33:42 -070043# We must check the bazel version before trying to parse any other BUILD
44# files, in case the parsing of those build files depends on the bazel
45# version we require here.
46load("//tensorflow:version_check.bzl", "check_bazel_version_at_least")
Yifei Fengbb384112018-07-24 13:12:54 -070047check_bazel_version_at_least("0.15.0")
Ilya Biryukov9e651e42018-03-22 05:33:42 -070048
Martin Wickebc456e32017-03-23 12:31:16 -080049load("//tensorflow:workspace.bzl", "tf_workspace")
Shanqing Caiefd40e52017-01-08 20:31:30 -080050
Michael Case51053502018-06-05 17:47:19 -070051load("//third_party/android:android_configure.bzl", "android_configure")
52android_configure(name="local_config_android")
53load("@local_config_android//:android.bzl", "android_workspace")
54android_workspace()
Manjunath Kudlurf41959c2015-11-06 16:27:58 -080055
Kiril Gorovoy5b5976a2016-03-10 14:06:08 -080056# Please add all new TensorFlow dependencies in workspace.bzl.
Kiril Gorovoy77da1682016-02-24 18:02:16 -080057tf_workspace()
Manjunath Kudlurf41959c2015-11-06 16:27:58 -080058
A. Unique TensorFlower5b145772018-11-30 11:11:23 -080059http_archive(
Michael Cased90054e2018-02-07 14:36:00 -080060 name = "inception_v1",
A. Unique TensorFlower5b145772018-11-30 11:11:23 -080061 build_file = "//:models.BUILD",
Michael Cased90054e2018-02-07 14:36:00 -080062 sha256 = "7efe12a8363f09bc24d7b7a450304a15655a57a7751929b2c1593a71183bb105",
Justine Tunney52b4d472017-05-17 16:13:33 -070063 urls = [
Michael Cased90054e2018-02-07 14:36:00 -080064 "http://storage.googleapis.com/download.tensorflow.org/models/inception_v1.zip",
65 "http://download.tensorflow.org/models/inception_v1.zip",
Justine Tunney52b4d472017-05-17 16:13:33 -070066 ],
Dan Smilkovf0e9bd32016-11-09 12:53:00 -080067)
68
A. Unique TensorFlower5b145772018-11-30 11:11:23 -080069http_archive(
A. Unique TensorFlower53aabd52017-08-09 18:18:26 -070070 name = "mobile_ssd",
A. Unique TensorFlower5b145772018-11-30 11:11:23 -080071 build_file = "//:models.BUILD",
A. Unique TensorFlower53aabd52017-08-09 18:18:26 -070072 sha256 = "bddd81ea5c80a97adfac1c9f770e6f55cbafd7cce4d3bbe15fbeb041e6b8f3e8",
73 urls = [
74 "http://storage.googleapis.com/download.tensorflow.org/models/object_detection/ssd_mobilenet_v1_android_export.zip",
75 "http://download.tensorflow.org/models/object_detection/ssd_mobilenet_v1_android_export.zip",
76 ],
77)
78
A. Unique TensorFlower5b145772018-11-30 11:11:23 -080079http_archive(
Justine Tunney52b4d472017-05-17 16:13:33 -070080 name = "mobile_multibox",
A. Unique TensorFlower5b145772018-11-30 11:11:23 -080081 build_file = "//:models.BUILD",
Justine Tunney52b4d472017-05-17 16:13:33 -070082 sha256 = "859edcddf84dddb974c36c36cfc1f74555148e9c9213dedacf1d6b613ad52b96",
83 urls = [
84 "http://storage.googleapis.com/download.tensorflow.org/models/mobile_multibox_v1a.zip",
85 "http://download.tensorflow.org/models/mobile_multibox_v1a.zip",
86 ],
Andrew Harpa30b9922016-11-28 15:41:52 -080087)
88
A. Unique TensorFlower5b145772018-11-30 11:11:23 -080089http_archive(
Justine Tunney52b4d472017-05-17 16:13:33 -070090 name = "stylize",
A. Unique TensorFlower5b145772018-11-30 11:11:23 -080091 build_file = "//:models.BUILD",
Justine Tunney52b4d472017-05-17 16:13:33 -070092 sha256 = "3d374a730aef330424a356a8d4f04d8a54277c425e274ecb7d9c83aa912c6bfa",
93 urls = [
94 "http://storage.googleapis.com/download.tensorflow.org/models/stylize_v1.zip",
95 "http://download.tensorflow.org/models/stylize_v1.zip",
96 ],
Dan Smilkov38a4afc2016-08-31 11:56:58 -080097)
Pete Warden7d01f892017-08-18 09:32:30 -070098
A. Unique TensorFlower5b145772018-11-30 11:11:23 -080099http_archive(
Pete Warden7d01f892017-08-18 09:32:30 -0700100 name = "speech_commands",
A. Unique TensorFlower5b145772018-11-30 11:11:23 -0800101 build_file = "//:models.BUILD",
Pete Warden7d01f892017-08-18 09:32:30 -0700102 sha256 = "c3ec4fea3158eb111f1d932336351edfe8bd515bb6e87aad4f25dbad0a600d0c",
103 urls = [
104 "http://storage.googleapis.com/download.tensorflow.org/models/speech_commands_v0.01.zip",
105 "http://download.tensorflow.org/models/speech_commands_v0.01.zip",
106 ],
107)
A. Unique TensorFlower54cc77e2018-11-12 09:31:53 -0800108