Commit 2f49032f authored by Artur Wojcik's avatar Artur Wojcik Committed by Scott Cyphers

onnx: fix ONNX Python build (#1810)

Signed-off-by: 's avatarArtur Wojcik <artur.wojcik@intel.com>
parent d19d1271
......@@ -68,7 +68,7 @@ function build_ngraph() {
make install || return 1
cd "${ngraph_directory}/ngraph/python"
if [ ! -d ./pybind11 ]; then
git clone --recursive -b allow-nonconstructible-holders https://github.com/jagerman/pybind11.git
git clone --recursive https://github.com/pybind/pybind11.git
fi
export PYBIND_HEADERS_PATH="${ngraph_directory}/ngraph/python/pybind11"
export NGRAPH_CPP_BUILD_PATH="${ngraph_directory}/ngraph_dist"
......
......@@ -39,7 +39,7 @@ RUN make install
# Prepare nGraph Python API
WORKDIR /root/ngraph/python
RUN git clone --recursive -b allow-nonconstructible-holders https://github.com/jagerman/pybind11.git
RUN git clone --recursive https://github.com/pybind/pybind11.git
ENV NGRAPH_CPP_BUILD_PATH /root/ngraph_dist
ENV LD_LIBRARY_PATH /root/ngraph_dist/lib
ENV PYBIND_HEADERS_PATH /root/ngraph/python/pybind11
......
......@@ -103,10 +103,10 @@ namespace ngraph
void validate_and_infer_elementwise_logical();
Node(const std::string& node_type, const NodeVector& arguments, size_t output_size = 1);
virtual ~Node();
virtual void generate_adjoints(autodiff::Adjoints& adjoints, const NodeVector& deltas) {}
public:
virtual ~Node();
void revalidate_and_infer_types() { validate_and_infer_types(); }
// Called after transition
void delayed_validate_and_infer_types();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment