Skip to content

Commit a23e146

Browse files
Merge branch 'master' into r0.14
2 parents b59e6fe + a728761 commit a23e146

File tree

9 files changed

+20
-17
lines changed

9 files changed

+20
-17
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ if (NOT USE_PRE_BUILT_NGRAPH)
239239
ExternalProject_Add(
240240
ext_ngraph
241241
GIT_REPOSITORY https://github.com/NervanaSystems/ngraph
242-
GIT_TAG v0.19.0
242+
GIT_TAG v0.19.1
243243
CMAKE_ARGS
244244
-DNGRAPH_DISTRIBUTED_ENABLE=${NGRAPH_DISTRIBUTED_ENABLE}
245245
-DNGRAPH_INSTALL_PREFIX=${NGRAPH_ARTIFACTS_DIR}

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ The installation prerequisites are the same as described in the TensorFlow
8989

9090
git clone https://github.com/tensorflow/ngraph-bridge.git
9191
cd ngraph-bridge
92-
git checkout v0.12.0
92+
git checkout v0.14.0
9393

9494

9595
2. Next run the following Python script to build TensorFlow, nGraph and the bridge. Please use Python 3.5:
@@ -119,12 +119,12 @@ with nGraph backends. Please note that you can also install the TensorFlow and n
119119

120120
This will produce something like this:
121121

122-
TensorFlow version: <1.13.1>
123-
nGraph bridge version: <b'0.14.0-rc0'>
124-
nGraph version used for this build: <b'0.18.0+c5d52f1'>
125-
TensorFlow version used for this build: <v1.13.1-0-g6612da8951>
122+
TensorFlow version: 1.13.1
123+
nGraph bridge version: b'0.14.0-rc0'
124+
nGraph version used for this build: b'0.19.1+1cbad22'
125+
TensorFlow version used for this build: v1.13.1-0-g6612da8951
126126
CXX11_ABI flag used for this build: 0
127-
nGraph bridge built with Grappler: False
127+
nGraph bridge built with Grappler: True
128128
nGraph bridge built with Variables and Optimizers Enablement: False
129129

130130
Note: The version of the ngraph-tensorflow-bridge is not going to be exactly the same as when you build from source. This is due to delay in the source release and publishing the corresponding Python wheel.

bazel/WORKSPACE

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ tf_configure(
2525
http_archive(
2626
name = "ngraph",
2727
build_file = "//:bazel/ngraph.BUILD",
28-
sha256 = "41f8aae60d79a9d96b3db852c5594e843fcd1bbc2fe5bfe6a947fdbaf518a7e3",
29-
strip_prefix = "ngraph-0.19.0",
28+
sha256 = "b81fdfed63028d7e7ba91b85950d57974e1151e37bbf894cde757b583f09181c",
29+
strip_prefix = "ngraph-0.19.1",
3030
urls = [
31-
"https://mirror.bazel.build/github.com/NervanaSystems/ngraph/archive/v0.19.0.tar.gz",
32-
"https://github.com/NervanaSystems/ngraph/archive/v0.19.0.tar.gz"
31+
"https://mirror.bazel.build/github.com/NervanaSystems/ngraph/archive/v0.19.1.tar.gz",
32+
"https://github.com/NervanaSystems/ngraph/archive/v0.19.1.tar.gz"
3333
],
3434
)
3535

bazel/ngraph.BUILD

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ cc_library(
3737
"src/ngraph/descriptor/layout/*.cpp",
3838
"src/ngraph/op/*.cpp",
3939
"src/ngraph/op/fused/*.cpp",
40+
"src/ngraph/op/experimental/batch_mat_mul.cpp",
4041
"src/ngraph/op/experimental/dyn_broadcast.cpp",
4142
"src/ngraph/op/experimental/dyn_pad.cpp",
4243
"src/ngraph/op/experimental/dyn_reshape.cpp",
@@ -97,6 +98,7 @@ cc_binary(
9798
"src/ngraph/except.hpp",
9899
"src/ngraph/runtime/interpreter/*.cpp",
99100
"src/ngraph/state/rng_state.cpp",
101+
"src/ngraph/runtime/hybrid/hybrid_tensor.cpp",
100102
"src/ngraph/runtime/hybrid/hybrid_backend.cpp",
101103
"src/ngraph/runtime/hybrid/hybrid_backend.hpp",
102104
"src/ngraph/runtime/hybrid/hybrid_executable.cpp",

build_ngtf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def main():
2424
'''
2525

2626
# Component versions
27-
ngraph_version = "v0.19.0"
27+
ngraph_version = "v0.19.1"
2828
tf_version = "v1.13.1"
2929

3030
# Command line parser options

python/setup.in.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def get_tag(self):
5959

6060
setup(
6161
name='ngraph_tensorflow_bridge',
62-
version='0.14.0rc0',
62+
version='0.14.0',
6363
description='Intel nGraph compiler and runtime for TensorFlow',
6464
long_description=long_description,
6565
long_description_content_type="text/markdown",

src/ngraph_builder.cc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@ std::shared_ptr<TOpType> ConstructNgNode(const std::string& op_name,
9595
TArg&&... Args) {
9696
auto ng_node = std::make_shared<TOpType>(std::forward<TArg>(Args)...);
9797
ng_node->set_friendly_name(op_name);
98-
ng_node->add_provenance_tag(op_name);
98+
// Fails for now, so commenting out for now
99+
// ng_node->add_provenance_tag(op_name);
99100
return ng_node;
100101
}
101102

@@ -2238,7 +2239,7 @@ static Status TranslateLogSoftmaxOp(
22382239
shared_ptr<ng::Node> ng_inp;
22392240
TF_RETURN_IF_ERROR(GetInputNodes(ng_op_map, op, &ng_inp));
22402241
auto inp_shape = ng_inp->get_shape();
2241-
int rank = inp_shape.size();
2242+
size_t rank = inp_shape.size();
22422243
auto ng_axis = ng::AxisSet{rank - 1};
22432244
// Batch i, class j
22442245
// logsoftmax[i, j] = logits[i, j] - log(sum(exp(logits[i])))

src/version.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
// candidate such as v0.7.0-rc0
3131
// The code in master will always have the last released version number
3232
// with a suffix of '-master'
33-
#define NG_TF_VERSION_SUFFIX "-rc0"
33+
#define NG_TF_VERSION_SUFFIX ""
3434

3535
#define VERSION_STR_HELPER(x) #x
3636
#define VERSION_STR(x) VERSION_STR_HELPER(x)

tools/test_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ def run_resnet50_from_artifacts(ngraph_tf_src_dir, artifact_dir, batch_size,
396396
'--model=resnet50', '--batch_size=' + str(batch_size), '--num_batches',
397397
str(iterations), '--eval', '--eval_dir=' + eval_eventlog_dir
398398
]
399-
command_executor(cmd)
399+
command_executor(cmd, True)
400400

401401
os.chdir(root_pwd)
402402

0 commit comments

Comments
 (0)