SHARE
TWEET

Untitled

a guest Sep 15th, 2019 91 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 2019-09-04 20:04:55.629680: I tensorflow/compiler/xla/xla_client/xrt_computation_client.cc:196] XRT device (LOCAL) CPU:0 -> /job:localservice/replica:0/task:0/device:XLA_CPU:0
  2. 2019-09-04 20:04:55.629791: I tensorflow/compiler/xla/xla_client/xrt_computation_client.cc:200] Worker grpc://localhost:40934 for /job:localservice/replica:0/task:0
  3. 2019-09-04 20:04:55.629800: I tensorflow/compiler/xla/xla_client/xrt_computation_client.cc:204] XRT default device: CPU:0
  4. 2019-09-04 20:04:55.629828: I tensorflow/compiler/xla/xla_client/xrt_local_service.cc:40] Peer localservice 1 {localhost:40934}
  5. 2019-09-04 20:04:55.629959: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA
  6. 2019-09-04 20:04:55.655453: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 2300000000 Hz
  7. 2019-09-04 20:04:55.661129: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f63e4000b50 executing computations on platform Host. Devices:
  8. 2019-09-04 20:04:55.661219: I tensorflow/compiler/xla/service/service.cc:175]   StreamExecutor device (0): Host, Default Version
  9. 2019-09-04 20:04:55.664456: I tensorflow/core/distributed_runtime/rpc/grpc_channel.cc:258] Initialize GrpcChannelCache for job localservice -> {0 -> localhost:40934}
  10. 2019-09-04 20:04:55.671675: I tensorflow/core/distributed_runtime/rpc/grpc_server_lib.cc:365] Started server with target: grpc://localhost:40934
  11. 2019-09-04 20:04:55.733651: E tensorflow/compiler/xla/xla_client/tf_logging.cc:11] Check failed: status.status() == ::tensorflow::Status::OK() (Invalid argument: All components of the offset index in a gather op must either be a offset dimension or explicitly collapsed; got len(slice_sizes)=4, output_slice_sizes=1,2,3, collapsed_slice_dims=. vs. OK)
  12. *** Begin stack trace ***
  13.     tensorflow::CurrentStackTrace[abi:cxx11]()
  14.     xla::Shape ConsumeValue<xla::Shape>(stream_executor::port::StatusOr<xla::Shape>&&)
  15.     torch_xla::XlaHelpers::ShapeOfXlaOp(xla::XlaOp const&)
  16.     torch_xla::ir::ops::InferOutputShape(absl::Span<xla::Shape const>, std::function<xla::XlaOp (absl::Span<xla::XlaOp const>)> const&)
  17.    
  18.    
  19.    
  20.     std::function<xla::Shape ()>::operator()() const
  21.     torch_xla::ir::Node::GetOpShape(std::function<xla::Shape ()> const&) const
  22.     torch_xla::ir::Node::Node(torch_xla::ir::OpKind, absl::Span<torch_xla::ir::Value const>, std::function<xla::Shape ()> const&, unsigned long, unsigned long)
  23.     torch_xla::ir::ops::IndexSelect::IndexSelect(torch_xla::ir::Value const&, long long, torch_xla::ir::Value const&)
  24.     void __gnu_cxx::new_allocator<torch_xla::ir::ops::IndexSelect>::construct<torch_xla::ir::ops::IndexSelect, torch_xla::ir::Value, long long, torch_xla::ir::Value&>(torch_xla::ir::ops::IndexSelect*, torch_xla::ir::Value&&, long long&&, torch_xla::ir::Value&)
  25.     void std::allocator_traits<std::allocator<torch_xla::ir::ops::IndexSelect> >::construct<torch_xla::ir::ops::IndexSelect, torch_xla::ir::Value, long long, torch_xla::ir::Value&>(std::allocator<torch_xla::ir::ops::IndexSelect>&, torch_xla::ir::ops::IndexSelect*, torch_xla::ir::Value&&, long long&&, torch_xla::ir::Value&)
  26.     std::_Sp_counted_ptr_inplace<torch_xla::ir::ops::IndexSelect, std::allocator<torch_xla::ir::ops::IndexSelect>, (__gnu_cxx::_Lock_policy)2>::_Sp_counted_ptr_inplace<torch_xla::ir::Value, long long, torch_xla::ir::Value&>(std::allocator<torch_xla::ir::ops::IndexSelect>, torch_xla::ir::Value&&, long long&&, torch_xla::ir::Value&)
  27.     std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<torch_xla::ir::ops::IndexSelect, std::allocator<torch_xla::ir::ops::IndexSelect>, torch_xla::ir::Value, long long, torch_xla::ir::Value&>(std::_Sp_make_shared_tag, torch_xla::ir::ops::IndexSelect*, std::allocator<torch_xla::ir::ops::IndexSelect> const&, torch_xla::ir::Value&&, long long&&, torch_xla::ir::Value&)
  28.     std::__shared_ptr<torch_xla::ir::ops::IndexSelect, (__gnu_cxx::_Lock_policy)2>::__shared_ptr<std::allocator<torch_xla::ir::ops::IndexSelect>, torch_xla::ir::Value, long long, torch_xla::ir::Value&>(std::_Sp_make_shared_tag, std::allocator<torch_xla::ir::ops::IndexSelect> const&, torch_xla::ir::Value&&, long long&&, torch_xla::ir::Value&)
  29.     std::shared_ptr<torch_xla::ir::ops::IndexSelect>::shared_ptr<std::allocator<torch_xla::ir::ops::IndexSelect>, torch_xla::ir::Value, long long, torch_xla::ir::Value&>(std::_Sp_make_shared_tag, std::allocator<torch_xla::ir::ops::IndexSelect> const&, torch_xla::ir::Value&&, long long&&, torch_xla::ir::Value&)
  30.     std::shared_ptr<torch_xla::ir::ops::IndexSelect> std::allocate_shared<torch_xla::ir::ops::IndexSelect, std::allocator<torch_xla::ir::ops::IndexSelect>, torch_xla::ir::Value, long long, torch_xla::ir::Value&>(std::allocator<torch_xla::ir::ops::IndexSelect> const&, torch_xla::ir::Value&&, long long&&, torch_xla::ir::Value&)
  31.     std::shared_ptr<torch_xla::ir::ops::IndexSelect> std::make_shared<torch_xla::ir::ops::IndexSelect, torch_xla::ir::Value, long long, torch_xla::ir::Value&>(torch_xla::ir::Value&&, long long&&, torch_xla::ir::Value&)
  32.     std::shared_ptr<torch_xla::ir::Node> torch_xla::ir::MakeNode<torch_xla::ir::ops::IndexSelect, torch_xla::ir::Value, long long, torch_xla::ir::Value&>(torch_xla::ir::Value&&, long long&&, torch_xla::ir::Value&)
  33.     torch_xla::XLATensor::index_select(torch_xla::XLATensor const&, long long, torch_xla::XLATensor const&)
  34.     torch_xla::AtenXlaType::index_select(at::Tensor const&, long, at::Tensor const&)
  35.    
  36.    
  37.     torch::autograd::VariableType::index_select(at::Tensor const&, long, at::Tensor const&)
  38.     at::Tensor::index_select(long, at::Tensor const&) const
  39.    
  40.    
  41.     _PyCFunction_FastCallDict
  42.    
  43.     _PyEval_EvalFrameDefault
  44.     PyEval_EvalCodeEx
  45.     PyEval_EvalCode
  46.    
  47.     PyRun_FileExFlags
  48.     PyRun_SimpleFileExFlags
  49.     Py_Main
  50.     main
  51.     __libc_start_main
  52.    
  53. *** End stack trace ***
  54.  
  55. Traceback (most recent call last):
  56.   File "repro.py", line 10, in <module>
  57.     xla_result = a.index_select(0, ind_empty)
  58. RuntimeError: /home/ubuntu/pytorch_maskrcnn/xla_maskrcnn/third_party/tensorflow/bazel-tensorflow/tensorflow/compiler/xla/xla_client/debug_macros.h:27 : Check failed: status.status() == ::tensorflow::Status::OK() (Invalid argument: All components of the offset index in a gather op must either be a offset dimension or explicitly collapsed; got len(slice_sizes)=4, output_slice_sizes=1,2,3, collapsed_slice_dims=. vs. OK)
  59. *** Begin stack trace ***
  60.     tensorflow::CurrentStackTrace[abi:cxx11]()
  61.     xla::Shape ConsumeValue<xla::Shape>(stream_executor::port::StatusOr<xla::Shape>&&)
  62.     torch_xla::XlaHelpers::ShapeOfXlaOp(xla::XlaOp const&)
  63.     torch_xla::ir::ops::InferOutputShape(absl::Span<xla::Shape const>, std::function<xla::XlaOp (absl::Span<xla::XlaOp const>)> const&)
  64.    
  65.    
  66.    
  67.     std::function<xla::Shape ()>::operator()() const
  68.     torch_xla::ir::Node::GetOpShape(std::function<xla::Shape ()> const&) const
  69.     torch_xla::ir::Node::Node(torch_xla::ir::OpKind, absl::Span<torch_xla::ir::Value const>, std::function<xla::Shape ()> const&, unsigned long, unsigned long)
  70.     torch_xla::ir::ops::IndexSelect::IndexSelect(torch_xla::ir::Value const&, long long, torch_xla::ir::Value const&)
  71.     void __gnu_cxx::new_allocator<torch_xla::ir::ops::IndexSelect>::construct<torch_xla::ir::ops::IndexSelect, torch_xla::ir::Value, long long, torch_xla::ir::Value&>(torch_xla::ir::ops::IndexSelect*, torch_xla::ir::Value&&, long long&&, torch_xla::ir::Value&)
  72.     void std::allocator_traits<std::allocator<torch_xla::ir::ops::IndexSelect> >::construct<torch_xla::ir::ops::IndexSelect, torch_xla::ir::Value, long long, torch_xla::ir::Value&>(std::allocator<torch_xla::ir::ops::IndexSelect>&, torch_xla::ir::ops::IndexSelect*, torch_xla::ir::Value&&, long long&&, torch_xla::ir::Value&)
  73.     std::_Sp_counted_ptr_inplace<torch_xla::ir::ops::IndexSelect, std::allocator<torch_xla::ir::ops::IndexSelect>, (__gnu_cxx::_Lock_policy)2>::_Sp_counted_ptr_inplace<torch_xla::ir::Value, long long, torch_xla::ir::Value&>(std::allocator<torch_xla::ir::ops::IndexSelect>, torch_xla::ir::Value&&, long long&&, torch_xla::ir::Value&)
  74.     std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<torch_xla::ir::ops::IndexSelect, std::allocator<torch_xla::ir::ops::IndexSelect>, torch_xla::ir::Value, long long, torch_xla::ir::Value&>(std::_Sp_make_shared_tag, torch_xla::ir::ops::IndexSelect*, std::allocator<torch_xla::ir::ops::IndexSelect> const&, torch_xla::ir::Value&&, long long&&, torch_xla::ir::Value&)
  75.     std::__shared_ptr<torch_xla::ir::ops::IndexSelect, (__gnu_cxx::_Lock_policy)2>::__shared_ptr<std::allocator<torch_xla::ir::ops::IndexSelect>, torch_xla::ir::Value, long long, torch_xla::ir::Value&>(std::_Sp_make_shared_tag, std::allocator<torch_xla::ir::ops::IndexSelect> const&, torch_xla::ir::Value&&, long long&&, torch_xla::ir::Value&)
  76.     std::shared_ptr<torch_xla::ir::ops::IndexSelect>::shared_ptr<std::allocator<torch_xla::ir::ops::IndexSelect>, torch_xla::ir::Value, long long, torch_xla::ir::Value&>(std::_Sp_make_shared_tag, std::allocator<torch_xla::ir::ops::IndexSelect> const&, torch_xla::ir::Value&&, long long&&, torch_xla::ir::Value&)
  77.     std::shared_ptr<torch_xla::ir::ops::IndexSelect> std::allocate_shared<torch_xla::ir::ops::IndexSelect, std::allocator<torch_xla::ir::ops::IndexSelect>, torch_xla::ir::Value, long long, torch_xla::ir::Value&>(std::allocator<torch_xla::ir::ops::IndexSelect> const&, torch_xla::ir::Value&&, long long&&, torch_xla::ir::Value&)
  78.     std::shared_ptr<torch_xla::ir::ops::IndexSelect> std::make_shared<torch_xla::ir::ops::IndexSelect, torch_xla::ir::Value, long long, torch_xla::ir::Value&>(torch_xla::ir::Value&&, long long&&, torch_xla::ir::Value&)
  79.     std::shared_ptr<torch_xla::ir::Node> torch_xla::ir::MakeNode<torch_xla::ir::ops::IndexSelect, torch_xla::ir::Value, long long, torch_xla::ir::Value&>(torch_xla::ir::Value&&, long long&&, torch_xla::ir::Value&)
  80.     torch_xla::XLATensor::index_select(torch_xla::XLATensor const&, long long, torch_xla::XLATensor const&)
  81.     torch_xla::AtenXlaType::index_select(at::Tensor const&, long, at::Tensor const&)
  82.    
  83.    
  84.     torch::autograd::VariableType::index_select(at::Tensor const&, long, at::Tensor const&)
  85.     at::Tensor::index_select(long, at::Tensor const&) const
  86.    
  87.    
  88.     _PyCFunction_FastCallDict
  89.    
  90.     _PyEval_EvalFrameDefault
  91.     PyEval_EvalCodeEx
  92.     PyEval_EvalCode
  93.    
  94.     PyRun_FileExFlags
  95.     PyRun_SimpleFileExFlags
  96.     Py_Main
  97.     main
  98.     __libc_start_main
  99.    
  100. *** End stack trace ***
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top