Vijay Vasudevan | 8cc567b | 2016-05-26 11:05:13 -0800 | [diff] [blame] | 1 | workspace(name = "org_tensorflow") |
| 2 | |
Justine Tunney | 02f276c | 2017-02-03 17:13:49 -0800 | [diff] [blame] | 3 | http_archive( |
| 4 | name = "io_bazel_rules_closure", |
Yifei Feng | 22f3a97 | 2018-04-23 21:19:14 -0700 | [diff] [blame] | 5 | sha256 = "a38539c5b5c358548e75b44141b4ab637bba7c4dc02b46b1f62a96d6433f56ae", |
| 6 | strip_prefix = "rules_closure-dbb96841cc0a5fb2664c37822803b06dab20c7d1", |
Justine Tunney | 02f276c | 2017-02-03 17:13:49 -0800 | [diff] [blame] | 7 | urls = [ |
Yifei Feng | 22f3a97 | 2018-04-23 21:19:14 -0700 | [diff] [blame] | 8 | "https://mirror.bazel.build/github.com/bazelbuild/rules_closure/archive/dbb96841cc0a5fb2664c37822803b06dab20c7d1.tar.gz", |
| 9 | "https://github.com/bazelbuild/rules_closure/archive/dbb96841cc0a5fb2664c37822803b06dab20c7d1.tar.gz", # 2018-04-13 |
Justine Tunney | 02f276c | 2017-02-03 17:13:49 -0800 | [diff] [blame] | 10 | ], |
| 11 | ) |
Gunhan Gulsoy | b4ae852 | 2018-09-26 02:31:31 -0700 | [diff] [blame] | 12 | |
Justine Tunney | 02f276c | 2017-02-03 17:13:49 -0800 | [diff] [blame] | 13 | load("@io_bazel_rules_closure//closure:defs.bzl", "closure_repositories") |
Gunhan Gulsoy | b4ae852 | 2018-09-26 02:31:31 -0700 | [diff] [blame] | 14 | |
Justine Tunney | 02f276c | 2017-02-03 17:13:49 -0800 | [diff] [blame] | 15 | closure_repositories() |
| 16 | |
A. Unique TensorFlower | 54cc77e | 2018-11-12 09:31:53 -0800 | [diff] [blame] | 17 | http_archive( |
| 18 | name = "base_images_docker", |
| 19 | sha256 = "e2b1b7254270bb7605e814a9dbf6d1e4ae04a11136ff1714fbfdabe3f87f7cf9", |
| 20 | strip_prefix = "base-images-docker-12801524f867e657fbb5d1a74f31618aff181ac6", |
| 21 | urls = ["https://github.com/GoogleCloudPlatform/base-images-docker/archive/12801524f867e657fbb5d1a74f31618aff181ac6.tar.gz"], |
| 22 | ) |
| 23 | |
| 24 | http_archive( |
| 25 | name = "bazel_toolchains", |
| 26 | sha256 = "15b5858b1b5541ec44df31b94c3b8672815b31d71215a98398761ea9f4c4eedb", |
| 27 | strip_prefix = "bazel-toolchains-6200b238c9c2d137c0d9a7262c80cc71d98e692b", |
| 28 | urls = [ |
| 29 | "https://github.com/bazelbuild/bazel-toolchains/archive/6200b238c9c2d137c0d9a7262c80cc71d98e692b.tar.gz", |
| 30 | ], |
| 31 | ) |
| 32 | |
| 33 | http_archive( |
| 34 | name = "io_bazel_rules_docker", |
| 35 | sha256 = "29d109605e0d6f9c892584f07275b8c9260803bf0c6fcb7de2623b2bedc910bd", |
| 36 | strip_prefix = "rules_docker-0.5.1", |
| 37 | urls = ["https://github.com/bazelbuild/rules_docker/archive/v0.5.1.tar.gz"], |
| 38 | ) |
| 39 | |
| 40 | load("//third_party/toolchains/preconfig/generate:workspace.bzl", "remote_config_workspace") |
| 41 | |
| 42 | remote_config_workspace() |
| 43 | |
Ilya Biryukov | 9e651e4 | 2018-03-22 05:33:42 -0700 | [diff] [blame] | 44 | # We must check the bazel version before trying to parse any other BUILD |
| 45 | # files, in case the parsing of those build files depends on the bazel |
| 46 | # version we require here. |
| 47 | load("//tensorflow:version_check.bzl", "check_bazel_version_at_least") |
Yifei Feng | bb38411 | 2018-07-24 13:12:54 -0700 | [diff] [blame] | 48 | check_bazel_version_at_least("0.15.0") |
Ilya Biryukov | 9e651e4 | 2018-03-22 05:33:42 -0700 | [diff] [blame] | 49 | |
Martin Wicke | bc456e3 | 2017-03-23 12:31:16 -0800 | [diff] [blame] | 50 | load("//tensorflow:workspace.bzl", "tf_workspace") |
Shanqing Cai | efd40e5 | 2017-01-08 20:31:30 -0800 | [diff] [blame] | 51 | |
Michael Case | 5105350 | 2018-06-05 17:47:19 -0700 | [diff] [blame] | 52 | load("//third_party/android:android_configure.bzl", "android_configure") |
| 53 | android_configure(name="local_config_android") |
| 54 | load("@local_config_android//:android.bzl", "android_workspace") |
| 55 | android_workspace() |
Manjunath Kudlur | f41959c | 2015-11-06 16:27:58 -0800 | [diff] [blame] | 56 | |
Kiril Gorovoy | 5b5976a | 2016-03-10 14:06:08 -0800 | [diff] [blame] | 57 | # Please add all new TensorFlow dependencies in workspace.bzl. |
Kiril Gorovoy | 77da168 | 2016-02-24 18:02:16 -0800 | [diff] [blame] | 58 | tf_workspace() |
Manjunath Kudlur | f41959c | 2015-11-06 16:27:58 -0800 | [diff] [blame] | 59 | |
Dan Smilkov | f0e9bd3 | 2016-11-09 12:53:00 -0800 | [diff] [blame] | 60 | new_http_archive( |
Michael Case | d90054e | 2018-02-07 14:36:00 -0800 | [diff] [blame] | 61 | name = "inception_v1", |
Justine Tunney | 52b4d47 | 2017-05-17 16:13:33 -0700 | [diff] [blame] | 62 | build_file = "models.BUILD", |
Michael Case | d90054e | 2018-02-07 14:36:00 -0800 | [diff] [blame] | 63 | sha256 = "7efe12a8363f09bc24d7b7a450304a15655a57a7751929b2c1593a71183bb105", |
Justine Tunney | 52b4d47 | 2017-05-17 16:13:33 -0700 | [diff] [blame] | 64 | urls = [ |
Michael Case | d90054e | 2018-02-07 14:36:00 -0800 | [diff] [blame] | 65 | "http://storage.googleapis.com/download.tensorflow.org/models/inception_v1.zip", |
| 66 | "http://download.tensorflow.org/models/inception_v1.zip", |
Justine Tunney | 52b4d47 | 2017-05-17 16:13:33 -0700 | [diff] [blame] | 67 | ], |
Dan Smilkov | f0e9bd3 | 2016-11-09 12:53:00 -0800 | [diff] [blame] | 68 | ) |
| 69 | |
Andrew Harp | a30b992 | 2016-11-28 15:41:52 -0800 | [diff] [blame] | 70 | new_http_archive( |
A. Unique TensorFlower | 53aabd5 | 2017-08-09 18:18:26 -0700 | [diff] [blame] | 71 | name = "mobile_ssd", |
| 72 | build_file = "models.BUILD", |
| 73 | sha256 = "bddd81ea5c80a97adfac1c9f770e6f55cbafd7cce4d3bbe15fbeb041e6b8f3e8", |
| 74 | urls = [ |
| 75 | "http://storage.googleapis.com/download.tensorflow.org/models/object_detection/ssd_mobilenet_v1_android_export.zip", |
| 76 | "http://download.tensorflow.org/models/object_detection/ssd_mobilenet_v1_android_export.zip", |
| 77 | ], |
| 78 | ) |
| 79 | |
| 80 | new_http_archive( |
Justine Tunney | 52b4d47 | 2017-05-17 16:13:33 -0700 | [diff] [blame] | 81 | name = "mobile_multibox", |
| 82 | build_file = "models.BUILD", |
| 83 | sha256 = "859edcddf84dddb974c36c36cfc1f74555148e9c9213dedacf1d6b613ad52b96", |
| 84 | urls = [ |
| 85 | "http://storage.googleapis.com/download.tensorflow.org/models/mobile_multibox_v1a.zip", |
| 86 | "http://download.tensorflow.org/models/mobile_multibox_v1a.zip", |
| 87 | ], |
Andrew Harp | a30b992 | 2016-11-28 15:41:52 -0800 | [diff] [blame] | 88 | ) |
| 89 | |
Andrew Harp | 6426c4e | 2017-01-11 14:05:52 -0800 | [diff] [blame] | 90 | new_http_archive( |
Justine Tunney | 52b4d47 | 2017-05-17 16:13:33 -0700 | [diff] [blame] | 91 | name = "stylize", |
| 92 | build_file = "models.BUILD", |
| 93 | sha256 = "3d374a730aef330424a356a8d4f04d8a54277c425e274ecb7d9c83aa912c6bfa", |
| 94 | urls = [ |
| 95 | "http://storage.googleapis.com/download.tensorflow.org/models/stylize_v1.zip", |
| 96 | "http://download.tensorflow.org/models/stylize_v1.zip", |
| 97 | ], |
Dan Smilkov | 38a4afc | 2016-08-31 11:56:58 -0800 | [diff] [blame] | 98 | ) |
Pete Warden | 7d01f89 | 2017-08-18 09:32:30 -0700 | [diff] [blame] | 99 | |
| 100 | new_http_archive( |
| 101 | name = "speech_commands", |
| 102 | build_file = "models.BUILD", |
| 103 | sha256 = "c3ec4fea3158eb111f1d932336351edfe8bd515bb6e87aad4f25dbad0a600d0c", |
| 104 | urls = [ |
| 105 | "http://storage.googleapis.com/download.tensorflow.org/models/speech_commands_v0.01.zip", |
| 106 | "http://download.tensorflow.org/models/speech_commands_v0.01.zip", |
| 107 | ], |
| 108 | ) |
A. Unique TensorFlower | 54cc77e | 2018-11-12 09:31:53 -0800 | [diff] [blame] | 109 | |