Skip to content

Commit 2c72e78

Browse files
Merge branch 'master' into ci/testing/add-workflow-with-unittest
2 parents bce2804 + e8d9be4 commit 2c72e78

File tree

132 files changed

+853
-94
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

132 files changed

+853
-94
lines changed

.github/workflows/docs.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: Deploy docs
2+
on:
3+
workflow_dispatch:
4+
push:
5+
branches:
6+
- 'master'
7+
pull_request:
8+
permissions:
9+
contents: write
10+
jobs:
11+
deploy:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout repo
15+
uses: actions/checkout@v4
16+
17+
- name: Configure Git Credentials
18+
run: |
19+
git config user.name github-actions[bot]
20+
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
21+
if: (github.event_name != 'pull_request')
22+
23+
- name: Set up Python 3.9
24+
uses: actions/setup-python@v5
25+
with:
26+
python-version: '3.9'
27+
cache: 'pip'
28+
cache-dependency-path: |
29+
setup.py
30+
requirements-docs.txt
31+
32+
- name: Save time for cache for mkdocs
33+
run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
34+
35+
- name: Caching
36+
uses: actions/cache@v4
37+
with:
38+
key: mkdocs-material-${{ env.cache_id }}
39+
path: .cache
40+
restore-keys: |
41+
mkdocs-material-
42+
43+
- name: Install Dependencies
44+
run: pip install -r requirements-docs.txt
45+
46+
- name: Deploy to GitHub Pages
47+
run: mkdocs gh-deploy --force
48+
if: (github.event_name != 'pull_request')
49+
50+
- name: Build docs to check for errors
51+
run: mkdocs build
52+
if: (github.event_name == 'pull_request')

README.md

Lines changed: 11 additions & 14 deletions

RELEASE.md

Lines changed: 22 additions & 2 deletions

WORKSPACE

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,19 @@ workspace(name = "org_tensorflow_model_analysis")
22

33
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
44

5-
# TF 1.15.2
5+
# TF 2.17.1
66
# LINT.IfChange(tf_commit)
7-
_TENSORFLOW_GIT_COMMIT = "6887368d6d46223f460358323c4b76d61d1558a8"
7+
_TENSORFLOW_GIT_COMMIT = "3c92ac03cab816044f7b18a86eb86aa01a294d95"
8+
89
# LINT.ThenChange(:io_bazel_rules_closure)
910
http_archive(
1011
name = "org_tensorflow",
11-
sha256 = "bb25fa4574e42ea4d452979e1d2ba3b86b39569d6b8106a846a238b880d73652",
12+
sha256 = "317dd95c4830a408b14f3e802698eb68d70d81c7c7cfcd3d28b0ba023fe84a68",
13+
strip_prefix = "tensorflow-%s" % _TENSORFLOW_GIT_COMMIT,
1214
urls = [
13-
"https://mirror.bazel.build/github.com/tensorflow/tensorflow/archive/%s.tar.gz" % _TENSORFLOW_GIT_COMMIT,
14-
"https://github.com/tensorflow/tensorflow/archive/%s.tar.gz" % _TENSORFLOW_GIT_COMMIT,
15+
"https://mirror.bazel.build/github.com/tensorflow/tensorflow/archive/%s.tar.gz" % _TENSORFLOW_GIT_COMMIT,
16+
"https://github.com/tensorflow/tensorflow/archive/%s.tar.gz" % _TENSORFLOW_GIT_COMMIT,
1517
],
16-
strip_prefix = "tensorflow-%s" % _TENSORFLOW_GIT_COMMIT,
1718
)
1819

1920
# Needed by tensorboard. Because these http_archives do not handle transitive
@@ -48,6 +49,7 @@ web_test_repositories()
4849

4950
# LINT.IfChange(io_bazel_rules_closure)
5051
_RULES_CLOSURE_GIT_COMMIT = "db4683a2a1836ac8e265804ca5fa31852395185b"
52+
5153
# LINT.ThenChange(:tf_commit)
5254
http_archive(
5355
name = "io_bazel_rules_closure",
@@ -60,7 +62,9 @@ http_archive(
6062
)
6163

6264
load("@io_bazel_rules_closure//closure:repositories.bzl", "rules_closure_dependencies", "rules_closure_toolchains")
65+
6366
rules_closure_dependencies()
67+
6468
rules_closure_toolchains()
6569

6670
http_archive(
@@ -72,21 +76,21 @@ http_archive(
7276

7377
load("@org_tensorflow_tensorboard//third_party:workspace.bzl", "tensorboard_workspace")
7478

75-
_PROTOBUF_COMMIT = "3.21.9"
79+
_PROTOBUF_COMMIT = "4.25.6" # 4.25.6
80+
7681
http_archive(
7782
name = "com_google_protobuf",
78-
sha256 = "f66073dee0bc159157b0bd7f502d7d1ee0bc76b3c1eac9836927511bdc4b3fc1",
83+
sha256 = "ff6e9c3db65f985461d200c96c771328b6186ee0b10bc7cb2bbc87cf02ebd864",
7984
strip_prefix = "protobuf-%s" % _PROTOBUF_COMMIT,
8085
urls = [
81-
"https://github.com/protocolbuffers/protobuf/archive/v3.21.9.zip",
86+
"https://github.com/protocolbuffers/protobuf/archive/v4.25.6.zip",
8287
],
8388
)
8489

8590
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
8691

8792
protobuf_deps()
8893

89-
9094
tensorboard_workspace()
9195

9296
load("//third_party:workspace.bzl", "tensorflow_model_analysis_workspace")
@@ -95,4 +99,5 @@ load("//third_party:workspace.bzl", "tensorflow_model_analysis_workspace")
9599
tensorflow_model_analysis_workspace()
96100

97101
load("@bazel_skylib//lib:versions.bzl", "versions")
98-
versions.check("6.1.0")
102+
103+
versions.check("6.5.0")
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)