Skip to content

Commit

Permalink
Merge pull request #490 from malmaud/bump_version
Browse files Browse the repository at this point in the history
Bump version.
  • Loading branch information
malmaud authored Jan 20, 2019
2 parents e96e263 + e48495a commit 5b8ff66
Show file tree
Hide file tree
Showing 44 changed files with 28 additions and 52 deletions.
4 changes: 2 additions & 2 deletions deps/build.jl
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using PyCall
using Conda

const cur_version = "1.10.0"
const cur_py_version = "1.10.0"
const cur_version = "1.12.0"
const cur_py_version = "1.12.0"


############################
Expand Down
6 changes: 6 additions & 0 deletions src/TensorFlow.jl
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,12 @@ tf_versioninfo

using Distributed

# Load these packages here so they are available to the additional
# process spawned in 'load_python_process. Arslan thinks that will
# work for now.
using MacroTools
using PyCall

const pyproc = Ref(0)

function deallocator(data, len, arg)
Expand Down
1 change: 0 additions & 1 deletion src/protobufs/allocation_description_pb.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# syntax: proto3
using Compat
using ProtoBuf
import ProtoBuf.meta

Expand Down
1 change: 0 additions & 1 deletion src/protobufs/any_pb.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# syntax: proto3
using Compat
using ProtoBuf
import ProtoBuf.meta

Expand Down
1 change: 0 additions & 1 deletion src/protobufs/attr_value_pb.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# syntax: proto3
using Compat
using ProtoBuf
import ProtoBuf.meta

Expand Down
2 changes: 1 addition & 1 deletion src/protobufs/checkpointable_object_graph_pb.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# syntax: proto3
using Compat
using ProtoBuf
import ProtoBuf.meta

Expand All @@ -13,6 +12,7 @@ mutable struct CheckpointableObjectGraph_CheckpointableObject_SerializedTensor <
name::AbstractString
full_name::AbstractString
checkpoint_key::AbstractString
optional_restore::Bool
CheckpointableObjectGraph_CheckpointableObject_SerializedTensor(; kwargs...) = (o=new(); fillunset(o); isempty(kwargs) || ProtoBuf._protobuild(o, kwargs); o)
end #mutable struct CheckpointableObjectGraph_CheckpointableObject_SerializedTensor

Expand Down
1 change: 0 additions & 1 deletion src/protobufs/cluster_pb.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# syntax: proto3
using Compat
using ProtoBuf
import ProtoBuf.meta

Expand Down
9 changes: 7 additions & 2 deletions src/protobufs/config_pb.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# syntax: proto3
using Compat
using ProtoBuf
import ProtoBuf.meta

Expand All @@ -14,6 +13,7 @@ mutable struct GPUOptions_Experimental <: ProtoType
virtual_devices::Base.Vector{GPUOptions_Experimental_VirtualDevices}
use_unified_memory::Bool
num_dev_to_dev_copy_streams::Int32
collective_ring_order::AbstractString
GPUOptions_Experimental(; kwargs...) = (o=new(); fillunset(o); isempty(kwargs) || ProtoBuf._protobuild(o, kwargs); o)
end #mutable struct GPUOptions_Experimental

Expand Down Expand Up @@ -83,6 +83,8 @@ end #mutable struct ThreadPoolOptionProto

mutable struct RPCOptions <: ProtoType
use_rpc_for_inprocess_master::Bool
compression_algorithm::AbstractString
compression_level::Int32
RPCOptions(; kwargs...) = (o=new(); fillunset(o); isempty(kwargs) || ProtoBuf._protobuild(o, kwargs); o)
end #mutable struct RPCOptions

Expand All @@ -95,9 +97,12 @@ end #mutable struct ConfigProto_DeviceCountEntry (mapentry)
mutable struct ConfigProto_Experimental <: ProtoType
collective_group_leader::AbstractString
executor_type::AbstractString
recv_buf_max_chunk::Int32
use_numa_affinity::Bool
collective_deterministic_sequential_execution::Bool
ConfigProto_Experimental(; kwargs...) = (o=new(); fillunset(o); isempty(kwargs) || ProtoBuf._protobuild(o, kwargs); o)
end #mutable struct ConfigProto_Experimental
const __fnum_ConfigProto_Experimental = Int[1,3]
const __fnum_ConfigProto_Experimental = Int[1,3,4,5,6]
meta(t::Type{ConfigProto_Experimental}) = meta(t, ProtoBuf.DEF_REQ, __fnum_ConfigProto_Experimental, ProtoBuf.DEF_VAL, true, ProtoBuf.DEF_PACK, ProtoBuf.DEF_WTYPES, ProtoBuf.DEF_ONEOFS, ProtoBuf.DEF_ONEOF_NAMES, ProtoBuf.DEF_FIELD_TYPES)

mutable struct ConfigProto <: ProtoType
Expand Down
1 change: 0 additions & 1 deletion src/protobufs/control_flow_pb.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# syntax: proto3
using Compat
using ProtoBuf
import ProtoBuf.meta

Expand Down
1 change: 0 additions & 1 deletion src/protobufs/cost_graph_pb.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# syntax: proto3
using Compat
using ProtoBuf
import ProtoBuf.meta

Expand Down
1 change: 0 additions & 1 deletion src/protobufs/critical_section_pb.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# syntax: proto3
using Compat
using ProtoBuf
import ProtoBuf.meta

Expand Down
1 change: 0 additions & 1 deletion src/protobufs/debug_pb.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# syntax: proto3
using Compat
using ProtoBuf
import ProtoBuf.meta

Expand Down
1 change: 0 additions & 1 deletion src/protobufs/device_attributes_pb.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# syntax: proto3
using Compat
using ProtoBuf
import ProtoBuf.meta

Expand Down
1 change: 0 additions & 1 deletion src/protobufs/device_properties_pb.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# syntax: proto3
using Compat
using ProtoBuf
import ProtoBuf.meta

Expand Down
1 change: 0 additions & 1 deletion src/protobufs/eager_service_pb.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# syntax: proto3
using Compat
using ProtoBuf
import ProtoBuf.meta
import ._ProtoBuf_Top_.tensorflow
Expand Down
1 change: 0 additions & 1 deletion src/protobufs/error_codes_pb.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# syntax: proto3
using Compat
using ProtoBuf
import ProtoBuf.meta

Expand Down
1 change: 0 additions & 1 deletion src/protobufs/function_pb.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# syntax: proto3
using Compat
using ProtoBuf
import ProtoBuf.meta

Expand Down
2 changes: 0 additions & 2 deletions src/protobufs/google.jl
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module google
using Compat
const _ProtoBuf_Top_ = @static isdefined(parentmodule(@__MODULE__), :_ProtoBuf_Top_) ? (parentmodule(@__MODULE__))._ProtoBuf_Top_ : parentmodule(@__MODULE__)
module protobuf
using Compat
const _ProtoBuf_Top_ = @static isdefined(parentmodule(@__MODULE__), :_ProtoBuf_Top_) ? (parentmodule(@__MODULE__))._ProtoBuf_Top_ : parentmodule(@__MODULE__)
include("any_pb.jl")
end
Expand Down
1 change: 0 additions & 1 deletion src/protobufs/graph_pb.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# syntax: proto3
using Compat
using ProtoBuf
import ProtoBuf.meta

Expand Down
1 change: 0 additions & 1 deletion src/protobufs/master_pb.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# syntax: proto3
using Compat
using ProtoBuf
import ProtoBuf.meta
import ._ProtoBuf_Top_.tensorflow
Expand Down
1 change: 0 additions & 1 deletion src/protobufs/master_service_pb.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# syntax: proto3
using Compat
using ProtoBuf
import ProtoBuf.meta
import ._ProtoBuf_Top_.tensorflow
Expand Down
1 change: 0 additions & 1 deletion src/protobufs/meta_graph_pb.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# syntax: proto3
using Compat
using ProtoBuf
import ProtoBuf.meta
import ProtoBuf.google.protobuf
Expand Down
1 change: 0 additions & 1 deletion src/protobufs/named_tensor_pb.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# syntax: proto3
using Compat
using ProtoBuf
import ProtoBuf.meta

Expand Down
9 changes: 7 additions & 2 deletions src/protobufs/node_def_pb.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# syntax: proto3
using Compat
using ProtoBuf
import ProtoBuf.meta

Expand All @@ -9,14 +8,20 @@ mutable struct NodeDef_AttrEntry <: ProtoType
NodeDef_AttrEntry(; kwargs...) = (o=new(); fillunset(o); isempty(kwargs) || ProtoBuf._protobuild(o, kwargs); o)
end #mutable struct NodeDef_AttrEntry (mapentry)

mutable struct NodeDef_ExperimentalDebugInfo <: ProtoType
original_node_names::Base.Vector{AbstractString}
NodeDef_ExperimentalDebugInfo(; kwargs...) = (o=new(); fillunset(o); isempty(kwargs) || ProtoBuf._protobuild(o, kwargs); o)
end #mutable struct NodeDef_ExperimentalDebugInfo

mutable struct NodeDef <: ProtoType
name::AbstractString
op::AbstractString
input::Base.Vector{AbstractString}
device::AbstractString
attr::Base.Dict{AbstractString,AttrValue} # map entry
experimental_debug_info::NodeDef_ExperimentalDebugInfo
NodeDef(; kwargs...) = (o=new(); fillunset(o); isempty(kwargs) || ProtoBuf._protobuild(o, kwargs); o)
end #mutable struct NodeDef

export NodeDef_AttrEntry, NodeDef
export NodeDef_AttrEntry, NodeDef_ExperimentalDebugInfo, NodeDef
# mapentries: "NodeDef_AttrEntry" => ("AbstractString", "AttrValue")
1 change: 0 additions & 1 deletion src/protobufs/op_def_pb.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# syntax: proto3
using Compat
using ProtoBuf
import ProtoBuf.meta

Expand Down
1 change: 0 additions & 1 deletion src/protobufs/queue_runner_pb.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# syntax: proto3
using Compat
using ProtoBuf
import ProtoBuf.meta
import ._ProtoBuf_Top_.tensorflow
Expand Down
1 change: 0 additions & 1 deletion src/protobufs/replay_log_pb.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# syntax: proto3
using Compat
using ProtoBuf
import ProtoBuf.meta

Expand Down
1 change: 0 additions & 1 deletion src/protobufs/resource_handle_pb.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# syntax: proto3
using Compat
using ProtoBuf
import ProtoBuf.meta

Expand Down
5 changes: 3 additions & 2 deletions src/protobufs/rewriter_config_pb.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# syntax: proto3
using Compat
using ProtoBuf
import ProtoBuf.meta

Expand Down Expand Up @@ -73,13 +72,15 @@ mutable struct RewriterConfig <: ProtoType
min_graph_nodes::Int32
memory_optimization::Int32
memory_optimizer_target_node_name_scope::AbstractString
meta_optimizer_timeout_ms::Int64
auto_parallel::AutoParallelOptions
fail_on_optimizer_errors::Bool
scoped_allocator_opts::ScopedAllocatorOptions
optimizers::Base.Vector{AbstractString}
custom_optimizers::Base.Vector{RewriterConfig_CustomGraphOptimizer}
RewriterConfig(; kwargs...) = (o=new(); fillunset(o); isempty(kwargs) || ProtoBuf._protobuild(o, kwargs); o)
end #mutable struct RewriterConfig
const __fnum_RewriterConfig = Int[1,3,13,14,7,8,9,10,11,2,15,18,19,12,17,4,6,5,16,100,200]
const __fnum_RewriterConfig = Int[1,3,13,14,7,8,9,10,11,2,15,18,19,12,17,4,6,20,5,21,16,100,200]
meta(t::Type{RewriterConfig}) = meta(t, ProtoBuf.DEF_REQ, __fnum_RewriterConfig, ProtoBuf.DEF_VAL, true, ProtoBuf.DEF_PACK, ProtoBuf.DEF_WTYPES, ProtoBuf.DEF_ONEOFS, ProtoBuf.DEF_ONEOF_NAMES, ProtoBuf.DEF_FIELD_TYPES)

export AutoParallelOptions, ScopedAllocatorOptions, RewriterConfig_Toggle, RewriterConfig_NumIterationsType, RewriterConfig_MemOptType, RewriterConfig_CustomGraphOptimizer_ParameterMapEntry, RewriterConfig_CustomGraphOptimizer, RewriterConfig
Expand Down
1 change: 0 additions & 1 deletion src/protobufs/saved_model_pb.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# syntax: proto3
using Compat
using ProtoBuf
import ProtoBuf.meta

Expand Down
1 change: 0 additions & 1 deletion src/protobufs/saver_pb.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# syntax: proto3
using Compat
using ProtoBuf
import ProtoBuf.meta

Expand Down
1 change: 0 additions & 1 deletion src/protobufs/step_stats_pb.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# syntax: proto3
using Compat
using ProtoBuf
import ProtoBuf.meta

Expand Down
1 change: 0 additions & 1 deletion src/protobufs/tensor_bundle_pb.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# syntax: proto3
using Compat
using ProtoBuf
import ProtoBuf.meta

Expand Down
1 change: 0 additions & 1 deletion src/protobufs/tensor_description_pb.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# syntax: proto3
using Compat
using ProtoBuf
import ProtoBuf.meta

Expand Down
1 change: 0 additions & 1 deletion src/protobufs/tensor_pb.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# syntax: proto3
using Compat
using ProtoBuf
import ProtoBuf.meta

Expand Down
1 change: 0 additions & 1 deletion src/protobufs/tensor_shape_pb.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# syntax: proto3
using Compat
using ProtoBuf
import ProtoBuf.meta

Expand Down
1 change: 0 additions & 1 deletion src/protobufs/tensor_slice_pb.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# syntax: proto3
using Compat
using ProtoBuf
import ProtoBuf.meta

Expand Down
4 changes: 0 additions & 4 deletions src/protobufs/tensorflow.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
module tensorflow
using Compat
const _ProtoBuf_Top_ = @static isdefined(parentmodule(@__MODULE__), :_ProtoBuf_Top_) ? (parentmodule(@__MODULE__))._ProtoBuf_Top_ : parentmodule(@__MODULE__)
include("checkpointable_object_graph_pb.jl")
include("cluster_pb.jl")
Expand Down Expand Up @@ -27,7 +26,6 @@ module tensorflow
include("tensorflow_server_pb.jl")
include("named_tensor_pb.jl")
module error
using Compat
const _ProtoBuf_Top_ = @static isdefined(parentmodule(@__MODULE__), :_ProtoBuf_Top_) ? (parentmodule(@__MODULE__))._ProtoBuf_Top_ : parentmodule(@__MODULE__)
include("error_codes_pb.jl")
end
Expand All @@ -42,12 +40,10 @@ module tensorflow
include("transport_options_pb.jl")
include("worker_pb.jl")
module eager
using Compat
const _ProtoBuf_Top_ = @static isdefined(parentmodule(@__MODULE__), :_ProtoBuf_Top_) ? (parentmodule(@__MODULE__))._ProtoBuf_Top_ : parentmodule(@__MODULE__)
include("eager_service_pb.jl")
end
module grpc
using Compat
const _ProtoBuf_Top_ = @static isdefined(parentmodule(@__MODULE__), :_ProtoBuf_Top_) ? (parentmodule(@__MODULE__))._ProtoBuf_Top_ : parentmodule(@__MODULE__)
include("master_service_pb.jl")
include("worker_service_pb.jl")
Expand Down
1 change: 0 additions & 1 deletion src/protobufs/tensorflow_server_pb.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# syntax: proto3
using Compat
using ProtoBuf
import ProtoBuf.meta

Expand Down
3 changes: 1 addition & 2 deletions src/protobufs/transport_options_pb.jl
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# syntax: proto3
using Compat
using ProtoBuf
import ProtoBuf.meta

mutable struct RecvBufRespExtra <: ProtoType
tensor_content::Array{UInt8,1}
tensor_content::Base.Vector{Array{UInt8,1}}
RecvBufRespExtra(; kwargs...) = (o=new(); fillunset(o); isempty(kwargs) || ProtoBuf._protobuild(o, kwargs); o)
end #mutable struct RecvBufRespExtra

Expand Down
1 change: 0 additions & 1 deletion src/protobufs/types_pb.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# syntax: proto3
using Compat
using ProtoBuf
import ProtoBuf.meta

Expand Down
1 change: 0 additions & 1 deletion src/protobufs/versions_pb.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# syntax: proto3
using Compat
using ProtoBuf
import ProtoBuf.meta

Expand Down
2 changes: 1 addition & 1 deletion src/protobufs/worker_pb.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# syntax: proto3
using Compat
using ProtoBuf
import ProtoBuf.meta
import ProtoBuf.google.protobuf
Expand Down Expand Up @@ -244,6 +243,7 @@ meta(t::Type{CompleteInstanceRequest}) = meta(t, ProtoBuf.DEF_REQ, ProtoBuf.DEF_
mutable struct CompleteInstanceResponse <: ProtoType
instance_key::Int32
source_rank::Int32
communicator_key::Array{UInt8,1}
CompleteInstanceResponse(; kwargs...) = (o=new(); fillunset(o); isempty(kwargs) || ProtoBuf._protobuild(o, kwargs); o)
end #mutable struct CompleteInstanceResponse

Expand Down
1 change: 0 additions & 1 deletion src/protobufs/worker_service_pb.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# syntax: proto3
using Compat
using ProtoBuf
import ProtoBuf.meta
import ._ProtoBuf_Top_.tensorflow
Expand Down

0 comments on commit 5b8ff66

Please sign in to comment.