profile
viewpoint
Amit Patankar av8ramit Mountain View, CA http://amitpatankar.com/ I'm chasing perfection

tensorflow/models 61713

Models and examples built with TensorFlow

tensorflow/workshops 1367

A few exercises for use at events.

tensorflow/addons 675

Useful extra functionality for TensorFlow 2.x maintained by SIG-addons

av8ramit/pybind_example 4

A simple math pybind example that exports C++ functions to Python with Bazel.

av8ramit/django-template 1

This is a Django website template to branch and create new projects from. It will contain barebones user authorization apps as well as bootstrap.

av8ramit/aamaa 0

This is the AAMAA website code base.

av8ramit/addons 0

Useful extra functionality for TensorFlow maintained by SIG-addons

av8ramit/amitpatankar 0

The amitpatankar.com website.

av8ramit/caprende 0

Caprende django website source code.

issue closedtensorflow/tensorflow

_pywrap_tensorflow_internal.so: undefined symbol: _ZTIN10tensorflow8OpKernelE

System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 16.04.6
  • Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: N/A
  • TensorFlow installed from (source or binary): source
  • TensorFlow version: 2.1.0 (master)
  • Python version: Python 3.5.2
  • Installed using virtualenv? pip? conda?: apt
  • Bazel version (if compiling from source): 1.2.1
  • GCC/Compiler version (if compiling from source): gcc 5.4.0
  • CUDA/cuDNN version: CUDA 10.2 / cuDNN 7.6.5.32-1+cuda10.2
  • GPU model and memory: NVIDIA Tesla V100

Describe the problem Observed after 00befcdeb87f1fc490d247d127ee438f63fe3666 commit. TensorFlow building fails with the error:

05:24:13  ./tensorflow/c/eager/tape.h: In instantiation of 'tensorflow::Status tensorflow::eager::{anonymous}::InitialGradients(const tensorflow::eager::VSpace<Gradient, BackwardFunction, TapeTensor>&, tensorflow::gtl::ArraySlice<long long int>, const std::unordered_map<long long int, TapeTensor>&, tensorflow::gtl::ArraySlice<Gradient*>, const TensorTape&, tensorflow::eager::OpTape<BackwardFunction, TapeTensor>&, std::unordered_map<long long int, std::vector<LhsScalar*> >*) [with Gradient = _object; BackwardFunction = std::function<_object*(_object*, const std::vector<long long int>&)>; TapeTensor = PyTapeTensor; tensorflow::gtl::ArraySlice<long long int> = absl::Span<const long long int>; tensorflow::gtl::ArraySlice<Gradient*> = absl::Span<_object* const>; tensorflow::eager::TensorTape = std::unordered_map<long long int, long long int>; tensorflow::eager::OpTape<BackwardFunction, TapeTensor> = std::unordered_map<long long int, tensorflow::eager::OpTapeEntry<std::function<_object*(_object*, const std::vector<long long int>&)>, PyTapeTensor>, std::hash<long long int>, std::equal_to<long long int>, std::allocator<std::pair<const long long int, tensorflow::eager::OpTapeEntry<std::function<_object*(_object*, const std::vector<long long int>&)>, PyTapeTensor> > > >]':
05:24:13  ./tensorflow/c/eager/tape.h:663:30:   required from 'tensorflow::Status tensorflow::eager::GradientTape<Gradient, BackwardFunction, TapeTensor>::ComputeGradient(const tensorflow::eager::VSpace<Gradient, BackwardFunction, TapeTensor>&, tensorflow::gtl::ArraySlice<long long int>, tensorflow::gtl::ArraySlice<long long int>, const std::unordered_map<long long int, TapeTensor>&, tensorflow::gtl::ArraySlice<Gradient*>, std::vector<LhsScalar*>*) [with Gradient = _object; BackwardFunction = std::function<_object*(_object*, const std::vector<long long int>&)>; TapeTensor = PyTapeTensor; tensorflow::gtl::ArraySlice<long long int> = absl::Span<const long long int>; tensorflow::gtl::ArraySlice<Gradient*> = absl::Span<_object* const>]'
05:24:13  tensorflow/python/eager/pywrap_tfe_src.cc:2566:27:   required from here
05:24:13  ./tensorflow/c/eager/tape.h:576:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
05:24:13     for (int i = 0; i < target_tensor_ids.size(); ++i) {
05:24:13                       ^
05:24:13  ./tensorflow/c/eager/tape.h:588:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
05:24:13           for (int j = 0; j < op_it->second.output_tensor_info.size(); ++j) {
05:24:13                             ^
05:24:52  ERROR: /scrap/jenkins/workspace/_ML_DevOps_team/ml-tensorflow-ci-pipeline/tensorflow/tensorflow/python/keras/api/BUILD:130:1: Executing genrule //tensorflow/python/keras/api:keras_python_api_gen_compat_v2 failed (Exit 1)
05:24:52  Traceback (most recent call last):
05:24:52    File "/home/swx-jenkins/.cache/bazel/_bazel_swx-jenkins/2c3650f385da66a5652cb752baf8a83c/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/python/keras/api/create_tensorflow.python_api_keras_python_api_gen_compat_v2.runfiles/org_tensorflow/tensorflow/python/pywrap_tensorflow.py", line 58, in <module>
05:24:52      from tensorflow.python.pywrap_tensorflow_internal import *
05:24:52    File "/home/swx-jenkins/.cache/bazel/_bazel_swx-jenkins/2c3650f385da66a5652cb752baf8a83c/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/python/keras/api/create_tensorflow.python_api_keras_python_api_gen_compat_v2.runfiles/org_tensorflow/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in <module>
05:24:52      _pywrap_tensorflow_internal = swig_import_helper()
05:24:52    File "/home/swx-jenkins/.cache/bazel/_bazel_swx-jenkins/2c3650f385da66a5652cb752baf8a83c/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/python/keras/api/create_tensorflow.python_api_keras_python_api_gen_compat_v2.runfiles/org_tensorflow/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
05:24:52      _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
05:24:52    File "/usr/lib/python3.5/imp.py", line 242, in load_module
05:24:52      return load_dynamic(name, filename, file)
05:24:52    File "/usr/lib/python3.5/imp.py", line 342, in load_dynamic
05:24:52      return _load(spec)
05:24:52  ImportError: /home/swx-jenkins/.cache/bazel/_bazel_swx-jenkins/2c3650f385da66a5652cb752baf8a83c/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/python/keras/api/create_tensorflow.python_api_keras_python_api_gen_compat_v2.runfiles/org_tensorflow/tensorflow/python/_pywrap_tensorflow_internal.so: undefined symbol: _ZTIN10tensorflow8OpKernelE
05:24:52  
05:24:52  During handling of the above exception, another exception occurred:
05:24:52  
05:24:52  Traceback (most recent call last):
05:24:52    File "/home/swx-jenkins/.cache/bazel/_bazel_swx-jenkins/2c3650f385da66a5652cb752baf8a83c/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/python/keras/api/create_tensorflow.python_api_keras_python_api_gen_compat_v2.runfiles/org_tensorflow/tensorflow/python/tools/api/generator/create_python_api.py", line 27, in <module>
05:24:52      from tensorflow.python.tools.api.generator import doc_srcs
05:24:52    File "/home/swx-jenkins/.cache/bazel/_bazel_swx-jenkins/2c3650f385da66a5652cb752baf8a83c/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/python/keras/api/create_tensorflow.python_api_keras_python_api_gen_compat_v2.runfiles/org_tensorflow/tensorflow/python/__init__.py", line 50, in <module>
05:24:52      from tensorflow.python import pywrap_tensorflow
05:24:52    File "/home/swx-jenkins/.cache/bazel/_bazel_swx-jenkins/2c3650f385da66a5652cb752baf8a83c/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/python/keras/api/create_tensorflow.python_api_keras_python_api_gen_compat_v2.runfiles/org_tensorflow/tensorflow/python/pywrap_tensorflow.py", line 69, in <module>
05:24:52      raise ImportError(msg)
05:24:52  ImportError: Traceback (most recent call last):
05:24:52    File "/home/swx-jenkins/.cache/bazel/_bazel_swx-jenkins/2c3650f385da66a5652cb752baf8a83c/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/python/keras/api/create_tensorflow.python_api_keras_python_api_gen_compat_v2.runfiles/org_tensorflow/tensorflow/python/pywrap_tensorflow.py", line 58, in <module>
05:24:52      from tensorflow.python.pywrap_tensorflow_internal import *
05:24:52    File "/home/swx-jenkins/.cache/bazel/_bazel_swx-jenkins/2c3650f385da66a5652cb752baf8a83c/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/python/keras/api/create_tensorflow.python_api_keras_python_api_gen_compat_v2.runfiles/org_tensorflow/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in <module>
05:24:52      _pywrap_tensorflow_internal = swig_import_helper()
05:24:52    File "/home/swx-jenkins/.cache/bazel/_bazel_swx-jenkins/2c3650f385da66a5652cb752baf8a83c/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/python/keras/api/create_tensorflow.python_api_keras_python_api_gen_compat_v2.runfiles/org_tensorflow/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
05:24:52      _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
05:24:52    File "/usr/lib/python3.5/imp.py", line 242, in load_module
05:24:52      return load_dynamic(name, filename, file)
05:24:52    File "/usr/lib/python3.5/imp.py", line 342, in load_dynamic
05:24:52      return _load(spec)
05:24:52  ImportError: /home/swx-jenkins/.cache/bazel/_bazel_swx-jenkins/2c3650f385da66a5652cb752baf8a83c/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/python/keras/api/create_tensorflow.python_api_keras_python_api_gen_compat_v2.runfiles/org_tensorflow/tensorflow/python/_pywrap_tensorflow_internal.so: undefined symbol: _ZTIN10tensorflow8OpKernelE

Provide the exact sequence of commands / steps that you executed before running into the problem .tf_configure.bazelrc:

build --action_env PYTHON_BIN_PATH="/usr/bin/python3"
build --action_env PYTHON_LIB_PATH="/usr/local/lib/python3.5/dist-packages"
build --python_path="/usr/bin/python3"
build:xla --define with_xla_support=true
build --action_env TF_CUDA_VERSION="10.2"
build --action_env TF_CUDNN_VERSION="7"
build --action_env TF_NCCL_VERSION="2.6.0"
build --action_env TF_CUDA_PATHS="/hpc/local/oss/cuda10.2/cuda-toolkit,/usr,/usr/local/cuda"
build --action_env CUDA_TOOLKIT_PATH="/hpc/local/oss/cuda10.2/cuda-toolkit"
build --action_env CUDNN_INSTALL_PATH="/usr"
build --action_env NCCL_INSTALL_PATH="<cut>/nccl/stable"
build --action_env TF_CUDA_COMPUTE_CAPABILITIES="7.0"
build --action_env LD_LIBRARY_PATH="<cut>/nccl/stable/lib:<cut>/ci_tools_do_not_remove/hpcx-v2.6.pre-gcc-MLNX_OFED_LINUX-4.7-1.0.0.1-ubuntu16.04-x86_64/nccl_rdma_sharp_plugin/lib:<cut>/ci_tools_do_not_remove/hpcx-v2.6.pre-gcc-MLNX_OFED_LINUX-4.7-1.0.0.1-ubuntu16.04-x86_64/ucx/lib/ucx:<cut>/ci_tools_do_not_remove/hpcx-v2.6.pre-gcc-MLNX_OFED_LINUX-4.7-1.0.0.1-ubuntu16.04-x86_64/ucx/lib:<cut>/ci_tools_do_not_remove/hpcx-v2.6.pre-gcc-MLNX_OFED_LINUX-4.7-1.0.0.1-ubuntu16.04-x86_64/sharp/lib:<cut>/ci_tools_do_not_remove/hpcx-v2.6.pre-gcc-MLNX_OFED_LINUX-4.7-1.0.0.1-ubuntu16.04-x86_64/hcoll/lib:<cut>/ci_tools_do_not_remove/hpcx-v2.6.pre-gcc-MLNX_OFED_LINUX-4.7-1.0.0.1-ubuntu16.04-x86_64/ompi/lib:/hpc/local/oss/cuda10.2/cuda-toolkit/lib64:/hpc/local/oss/cuda10.2/cuda-toolkit/lib64/stubs:/usr/local/nvidia/lib:/usr/local/nvidia/lib64"
build --action_env GCC_HOST_COMPILER_PATH="/usr/bin/gcc-5"
build --config=cuda
build:opt --copt=-march=native
build:opt --host_copt=-march=native
build:opt --define with_default_optimizations=true
test --flaky_test_attempts=3
test --test_size_filters=small,medium
test --test_env=LD_LIBRARY_PATH
test:v1 --test_tag_filters=-benchmark-test,-no_oss,-no_gpu,-oss_serial
test:v1 --build_tag_filters=-benchmark-test,-no_oss,-no_gpu
test:v2 --test_tag_filters=-benchmark-test,-no_oss,-no_gpu,-oss_serial,-v1only
test:v2 --build_tag_filters=-benchmark-test,-no_oss,-no_gpu,-v1only
build --action_env TF_CONFIGURE_IOS="0"

CC @av8ramit

closed time in 8 hours

artemry-mlnx

issue commenttensorflow/tensorflow

_pywrap_tensorflow_internal.so: undefined symbol: _ZTIN10tensorflow8OpKernelE

That error seems unrelated. I'd recommend filing a new issue or seeing if another exists. I'll also keep a lookout. Closing this for now.

artemry-mlnx

comment created time in 8 hours

issue commenttensorflow/tensorflow

_pywrap_tensorflow_internal.so: undefined symbol: _ZTIN10tensorflow8OpKernelE

That should be fixed now as well: https://github.com/tensorflow/tensorflow/commit/a15fe8f6066932e53c171519a011282cdb6ea451

artemry-mlnx

comment created time in 5 days

issue commenttensorflow/tensorflow

_pywrap_tensorflow_internal.so: undefined symbol: _ZTIN10tensorflow8OpKernelE

Sorry for the inconvenience @artemry-mlnx I'll try and see what I can do about that right away.

artemry-mlnx

comment created time in 5 days

issue commenttensorflow/tensorflow

_pywrap_tensorflow_internal.so: undefined symbol: _ZTIN10tensorflow8OpKernelE

Can you check if https://github.com/tensorflow/tensorflow/commit/c4c8b17313e3a1dbdfb6ca0c5702d247a26604c5 fixes it for you? I've been able to reproduce and fix that issue on an 18.04 docker container with gcc5.

artemry-mlnx

comment created time in 5 days

issue commenttensorflow/addons

Update kokoro run command

Sent a change request to @karmel internally.

seanpmorgan

comment created time in 7 days

issue commenttensorflow/addons

Update kokoro run command

So you want me to update /bin/bash tools/run_docker.sh -s linux -d gpu -c 'make gpu-unit-test' with tools/run_google_cloud_tests.sh?

seanpmorgan

comment created time in 7 days

issue commenttensorflow/tensorflow

Is python 3.7.x supported with Tensorflow

Your log says No matching distribution found for tensroflow

tensroflow

guppythegod

comment created time in 14 days

issue closedtensorflow/tensorflow

dll loading failed in tensorflow

raise ImportError(msg)

ImportError: Traceback (most recent call last): File "C:\Users\sidha\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 58, in <module> from tensorflow.python.pywrap_tensorflow_internal import * File "C:\Users\sidha\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 28, in <module> _pywrap_tensorflow_internal = swig_import_helper() File "C:\Users\sidha\Anaconda3\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description) File "C:\Users\sidha\Anaconda3\lib\imp.py", line 242, in load_module return load_dynamic(name, filename, file) File "C:\Users\sidha\Anaconda3\lib\imp.py", line 342, in load_dynamic return _load(spec) ImportError: DLL load failed: The specified module could not be found.

closed time in 17 days

sidharth1805

issue commenttensorflow/tensorflow

dll loading failed in tensorflow

Please fill out the template in the future so we are able to better assist you. Looks like this comment can help and is related? We are updating documentation very soon.

sidharth1805

comment created time in 17 days

issue closedtensorflow/tensorflow

Tensorflow team is so disappointing in documenting installation on windows pc

Please go to Stack Overflow for help and support:

https://stackoverflow.com/questions/tagged/tensorflow

If you open a GitHub issue, here is our policy:

  1. It must be a bug, a feature request, or a significant problem with documentation (for small docs fixes please send a PR instead).
  2. The form below must be filled out.
  3. It shouldn't be a TensorBoard issue. Those go here.

Here's why we have that policy: TensorFlow developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.


System information

  • Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
  • Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
  • TensorFlow installed from (source or binary):
  • TensorFlow version (use command below):
  • Python version:
  • Bazel version (if compiling from source):
  • GCC/Compiler version (if compiling from source):
  • CUDA/cuDNN version:
  • GPU model and memory:
  • Exact command to reproduce:

You can collect some of this information using our environment capture script:

https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh

You can obtain the TensorFlow version with:

python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"

Describe the problem

Describe the problem clearly here. Be sure to convey here why it's a bug in TensorFlow or a feature request.

Source code / logs

Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. Try to provide a reproducible test case that is the bare minimum necessary to generate the problem.

closed time in 17 days

psyg0501

issue commenttensorflow/tensorflow

Tensorflow team is so disappointing in documenting installation on windows pc

Please fill out the template in the future so we are able to better assist you. Looks like this comment can help and is related? We are updating documentation very soon.

psyg0501

comment created time in 17 days

issue closedtensorflow/tensorflow

ImportError: DLL load failed: The specified module could not be found. OS Windows 10 , Tensorflow cpu version

python -c "import tensorflow as tf;print(tf.reduce_sum(tf.random.normal([1000, 1000])))" Traceback (most recent call last): File "C:\Users\skmishra\AppData\Local\Continuum\anaconda3\envs\FOODRECOGNITION\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 58, in <module> from tensorflow.python.pywrap_tensorflow_internal import * File "C:\Users\skmishra\AppData\Local\Continuum\anaconda3\envs\FOODRECOGNITION\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 28, in <module> _pywrap_tensorflow_internal = swig_import_helper() File "C:\Users\skmishra\AppData\Local\Continuum\anaconda3\envs\FOODRECOGNITION\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description) File "C:\Users\skmishra\AppData\Local\Continuum\anaconda3\envs\FOODRECOGNITION\lib\imp.py", line 242, in load_module return load_dynamic(name, filename, file) File "C:\Users\skmishra\AppData\Local\Continuum\anaconda3\envs\FOODRECOGNITION\lib\imp.py", line 342, in load_dynamic return _load(spec) ImportError: DLL load failed: The specified module could not be found.

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "<string>", line 1, in <module> File "C:\Users\skmishra\AppData\Local\Continuum\anaconda3\envs\FOODRECOGNITION\lib\site-packages\tensorflow_init_.py", line 101, in <module> from tensorflow_core import * File "C:\Users\skmishra\AppData\Local\Continuum\anaconda3\envs\FOODRECOGNITION\lib\site-packages\tensorflow_core_init_.py", line 40, in <module> from tensorflow.python.tools import module_util as module_util File "C:\Users\skmishra\AppData\Local\Continuum\anaconda3\envs\FOODRECOGNITION\lib\site-packages\tensorflow_init.py", line 50, in getattr module = self.load() File "C:\Users\skmishra\AppData\Local\Continuum\anaconda3\envs\FOODRECOGNITION\lib\site-packages\tensorflow_init.py", line 44, in _load module = importlib.import_module(self.name) File "C:\Users\skmishra\AppData\Local\Continuum\anaconda3\envs\FOODRECOGNITION\lib\importlib_init.py", line 127, in import_module return _bootstrap.gcd_import(name[level:], package, level) File "C:\Users\skmishra\AppData\Local\Continuum\anaconda3\envs\FOODRECOGNITION\lib\site-packages\tensorflow_core\python_init.py", line 49, in <module> from tensorflow.python import pywrap_tensorflow File "C:\Users\skmishra\AppData\Local\Continuum\anaconda3\envs\FOODRECOGNITION\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 74, in <module> raise ImportError(msg) ImportError: Traceback (most recent call last): File "C:\Users\skmishra\AppData\Local\Continuum\anaconda3\envs\FOODRECOGNITION\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 58, in <module> from tensorflow.python.pywrap_tensorflow_internal import * File "C:\Users\skmishra\AppData\Local\Continuum\anaconda3\envs\FOODRECOGNITION\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 28, in <module> _pywrap_tensorflow_internal = swig_import_helper() File "C:\Users\skmishra\AppData\Local\Continuum\anaconda3\envs\FOODRECOGNITION\lib\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description) File "C:\Users\skmishra\AppData\Local\Continuum\anaconda3\envs\FOODRECOGNITION\lib\imp.py", line 242, in load_module return load_dynamic(name, filename, file) File "C:\Users\skmishra\AppData\Local\Continuum\anaconda3\envs\FOODRECOGNITION\lib\imp.py", line 342, in load_dynamic return _load(spec) ImportError: DLL load failed: The specified module could not be found.

Failed to load the native TensorFlow runtime.

See https://www.tensorflow.org/install/errors

for some common reasons and solutions. Include the entire stack trace above this error message when asking for help.

closed time in 17 days

MISSEY

issue closedtensorflow/tensorflow

unable to import tensorflow after installation- DLL load failed: The specified module could not be found error comes up

Please go to Stack Overflow for help and support:

https://stackoverflow.com/questions/tagged/tensorflow

If you open a GitHub issue, here is our policy:

  1. It must be a bug, a feature request, or a significant problem with documentation (for small docs fixes please send a PR instead).
  2. The form below must be filled out.
  3. It shouldn't be a TensorBoard issue. Those go here.

Here's why we have that policy: TensorFlow developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.


System information

  • Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
  • Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
  • TensorFlow installed from (source or binary):
  • TensorFlow version (use command below):
  • Python version:
  • Bazel version (if compiling from source):
  • GCC/Compiler version (if compiling from source):
  • CUDA/cuDNN version:
  • GPU model and memory:
  • Exact command to reproduce:

You can collect some of this information using our environment capture script:

https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh

You can obtain the TensorFlow version with:

python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"

Describe the problem

Describe the problem clearly here. Be sure to convey here why it's a bug in TensorFlow or a feature request.

Source code / logs

Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. Try to provide a reproducible test case that is the bare minimum necessary to generate the problem.

closed time in 17 days

rajeshr157

issue commenttensorflow/tensorflow

ImportError: DLL load failed: The specified module could not be found. OS Windows 10 , Tensorflow cpu version

What version of TensorFlow is this? Is this 2.1, nightly, are you building from source etc.?

MISSEY

comment created time in 17 days

issue commenttensorflow/tensorflow

dll loading failed in tensorflow

What version of TensorFlow is this happening on? If this is in nightly do you mind seeing if it is possible to repro in the latest official release?

sidharth1805

comment created time in 17 days

issue commenttensorflow/tensorflow

Update `nogpu` tag references to be `no_gpu` instead?

Ping @chsigg has this been done? Removing myself from assignees. Thanks!

deven-amd

comment created time in 18 days

issue closedtensorflow/tensorflow

documentation request: Prebuilt binary build configuration

There are many flags/options for tensorflow build, some of them are performance related. User may want to build a whl from source (with some modifications) , using exactly the same build configuration that prebuilt binary used

With previous Jenkins CI server, we can still figure out the build configuration from log of a release-xxxx build job. But now with the new internal build system, it is not quite clear what build configuration is used for prebuilt binary anymore. e.g. cuda compute capability: default value in configure.py (3.5,7.0) seems not complete. cpu simd option: one may have to search release note to figure out whether it is still AVX.

It will be great to document the build setting somewhere, or introduce some script to produce prebuilt binary for a release. Thanks.

closed time in 18 days

nbcsm

issue commenttensorflow/tensorflow

documentation request: Prebuilt binary build configuration

So all our build scripts are now externally available. Closing this now. Presubmit example

nbcsm

comment created time in 18 days

issue commenttensorflow/tensorflow

Can't run TensorFlow Model Benchmark Tool

@Saduf2019 are you able to see this on 1.15? Unfortunately I don't think we are taking any patches to 1.14 at the moment.

ffriande

comment created time in 18 days

pull request commenttensorflow/tensorflow

Initial implementation of SavedModel I/O for Graph Transform Tool

So I'm okay with this from the Python side of things. But I'll leave the functionality decision up to @petewarden who seems to own these files.

frreiss

comment created time in 18 days

issue closedpybind/pybind11

Windows SEGFAULT when returning an empty list with pybind11

Issue description

When trying to return a py::list or PyObject* that is a list I'm getting a seg fault on Windows. This code works on Linux and MacOS. On Windows I'm using MSVC 2019 and Python3.6.8. The other functions that return vector of ints or other values are working fine. This only manifests when creating a list of py::objects.

I even tried using the native Python C API implementation which ran into the same issue. The logic works with SWIG, I'm porting that code over to pybind11.

My apologies if this is a naive error or trivial mistake I am making.

Reproducible example code

I modified it a little bit for simplicity. Let's say py_outputs is a std::vector<PyObject*>

I'm getting that output from an API which I cannot modify.

    py::list result;
    for (int i = 0; i < py_outputs.size(); ++i) {
      result.append(py::cast<py::object>(py_outputs[i]));
    }
    return result;
    PyObject* result = PyList_New(py_outputs.size());
    if (result == nullptr) {
      PyErr_SetString(PyExc_MemoryError, "Failed to create a list.");
      throw py::error_already_set();
    }
    for (int i = 0; i < py_outputs.size(); ++i) {
      PyList_SET_ITEM(result, i, py_outputs.at(i));
    }
    return py::reinterpret_steal<py::object>(result);

Output Log on Windows:

*** Received signal 11 ***
*** BEGIN STACK TRACE POINTERS ***
0x00007ff9cc205dff
0x00007ff9cc205fe7
0x00007ff9f975cfa3
0x00007ff7cb4423d8
0x00007ff9ebfdc720
0x00007ff9fd3c477f
0x00007ff9fd324bef
0x00007ff9fd3c34ee
0x00007ff9d402faa3
0x00007ff9d4033227
0x00007ff9d401a486
0x00007ff9d404727f
0x00007ff9d85ad255
0x00007ff9d85adb17
0x00007ff9d85ae5e2
0x00007ff9d85adab3
0x00007ff9d85ae133
0x00007ff9d85ab146
0x00007ff9d85aa49a
0x00007ff9d857e47d
0x00007ff9d85aeea5
0x00007ff9d85ab146
0x00007ff9d85adbcc
0x00007ff9d85ae133
0x00007ff9d85ab146
0x00007ff9d85adbcc
0x00007ff9d85ae133
0x00007ff9d85adab3
0x00007ff9d85ae133
0x00007ff9d85ab146
0x00007ff9d85adbcc
0x00007ff9d85ae133
0x00007ff9d85ab146
0x00007ff9d85adbcc
0x00007ff9d85aed2a
0x00007ff9d85ab146
0x00007ff9d85aa49a
0x00007ff9d857e47d
0x00007ff9d85aeea5
0x00007ff9d85ab146
0x00007ff9d85adbcc
0x00007ff9d85aed2a
0x00007ff9d85ab146
0x00007ff9d85aa49a
0x00007ff9d857e47d
0x00007ff9d85aeea5
0x00007ff9d85ab146
0x00007ff9d85adbcc
0x00007ff9d85aed2a
0x00007ff9d85adab3
0x00007ff9d85ae133
0x00007ff9d85aa3bd
0x00007ff9d857e47d
0x00007ff9d85aeea5
0x00007ff9d85ab146
0x00007ff9d85adbcc
0x00007ff9d85ae1df
0x00007ff9d85ab146
0x00007ff9d85aa49a
0x00007ff9d85aa1de
0x00007ff9d857e3f4
0x00007ff9d85aeea5
0x00007ff9d85ab146
0x00007ff9d85aa49a
*** END STACK TRACE POINTERS ***

0x00007FF9CC27FF35      tensorflow::CurrentStackTrace
0x00007FF9CC205FF1      tensorflow::testing::InstallStacktraceHandler
0x00007FF9F975CFA3      seh_filter_exe
0x00007FF7CB4423D8      (unknown)
0x00007FF9EBFDC720      _C_specific_handler
0x00007FF9FD3C477F      _chkstk
0x00007FF9FD324BEF      RtlWalkFrameChain
0x00007FF9FD3C34EE      KiUserExceptionDispatcher
0x00007FF9D402FAA3      <lambda_0912e22d35fbab310af0c92f011e0238>::operator()
0x00007FF9D4033227      <lambda_47e3d2b03da658f948654964f65179a5>::operator()
0x00007FF9D401A486      <lambda_47e3d2b03da658f948654964f65179a5>::<lambda_invoker_cdecl>
0x00007FF9D404727F      pybind11::cpp_function::dispatcher
0x00007FF9D85AD255      PyMethodDef_RawFastCallKeywords
0x00007FF9D85ADB17      PyMethodDef_RawFastCallKeywords
0x00007FF9D85AE5E2      PyEval_EvalFrameDefault
0x00007FF9D85ADAB3      PyMethodDef_RawFastCallKeywords
0x00007FF9D85AE133      PyEval_EvalFrameDefault
0x00007FF9D85AB146      PyEval_EvalCodeWithName
0x00007FF9D85AA49A      PyFunction_FastCallDict
0x00007FF9D857E47D      PyObject_IsAbstract
0x00007FF9D85AEEA5      PyEval_EvalFrameDefault
0x00007FF9D85AB146      PyEval_EvalCodeWithName
0x00007FF9D85ADBCC      PyMethodDef_RawFastCallKeywords
0x00007FF9D85AE133      PyEval_EvalFrameDefault
0x00007FF9D85AB146      PyEval_EvalCodeWithName
0x00007FF9D85ADBCC      PyMethodDef_RawFastCallKeywords
0x00007FF9D85AE133      PyEval_EvalFrameDefault
0x00007FF9D85ADAB3      PyMethodDef_RawFastCallKeywords
0x00007FF9D85AE133      PyEval_EvalFrameDefault
0x00007FF9D85AB146      PyEval_EvalCodeWithName
0x00007FF9D85ADBCC      PyMethodDef_RawFastCallKeywords
0x00007FF9D85AE133      PyEval_EvalFrameDefault
0x00007FF9D85AB146      PyEval_EvalCodeWithName
0x00007FF9D85ADBCC      PyMethodDef_RawFastCallKeywords
0x00007FF9D85AED2A      PyEval_EvalFrameDefault
0x00007FF9D85AB146      PyEval_EvalCodeWithName
0x00007FF9D85AA49A      PyFunction_FastCallDict
0x00007FF9D857E47D      PyObject_IsAbstract
0x00007FF9D85AEEA5      PyEval_EvalFrameDefault
0x00007FF9D85AB146      PyEval_EvalCodeWithName
0x00007FF9D85ADBCC      PyMethodDef_RawFastCallKeywords
0x00007FF9D85AED2A      PyEval_EvalFrameDefault
0x00007FF9D85AB146      PyEval_EvalCodeWithName
0x00007FF9D85AA49A      PyFunction_FastCallDict
0x00007FF9D857E47D      PyObject_IsAbstract
0x00007FF9D85AEEA5      PyEval_EvalFrameDefault
0x00007FF9D85AB146      PyEval_EvalCodeWithName
0x00007FF9D85ADBCC      PyMethodDef_RawFastCallKeywords
0x00007FF9D85AED2A      PyEval_EvalFrameDefault
0x00007FF9D85ADAB3      PyMethodDef_RawFastCallKeywords
0x00007FF9D85AE133      PyEval_EvalFrameDefault
0x00007FF9D85AA3BD      PyFunction_FastCallDict
0x00007FF9D857E47D      PyObject_IsAbstract
0x00007FF9D85AEEA5      PyEval_EvalFrameDefault
0x00007FF9D85AB146      PyEval_EvalCodeWithName
0x00007FF9D85ADBCC      PyMethodDef_RawFastCallKeywords
0x00007FF9D85AE1DF      PyEval_EvalFrameDefault
0x00007FF9D85AB146      PyEval_EvalCodeWithName
0x00007FF9D85AA49A      PyFunction_FastCallDict
0x00007FF9D85AA1DE      PyMember_GetOne
0x00007FF9D857E3F4      PyObject_IsAbstract
0x00007FF9D85AEEA5      PyEval_EvalFrameDefault
0x00007FF9D85AB146      PyEval_EvalCodeWithName
0x00007FF9D85AA49A      PyFunction_FastCallDict

closed time in 18 days

av8ramit

issue commentpybind/pybind11

Windows SEGFAULT when returning an empty list with pybind11

So updating to the latest pybind11 seemed to work. Thanks! I'm also convinced this has something to do with my setup, since I can't repro it on another Windows machine with 2.3.

av8ramit

comment created time in 18 days

issue commentpybind/pybind11

Windows fatal exception: access violation when returning py:list of py::objects

So unfortunately I cannot repro this on any Linux or MacOS distro. The issue only appears to happen when returning a PyObject* which is a list of size 0. I tried using py::list as well which appears to have the same error.

I'm running Windows Server 2019 with pybind 2.3.

av8ramit

comment created time in a month

issue commentpybind/pybind11

Windows fatal exception: access violation when returning py:list of py::objects

So I am able to return the objects individually in the PyObject*s in the vector using reinterpret_borrow, the issue happens when I add it into a new py_list or Python list using PyList_New. I will play around with the reference counting on the new py_list I create.

I'll update the thread with any new experiments I try. Thanks @YannickJadoul

av8ramit

comment created time in a month

issue openedpybind/pybind11

Windows fatal exception: access violation when returning py:list of py::objects

Issue description

When trying to return a py::list or PyObject* that is a list I'm getting a seg fault on Windows. This code works on Linux and MacOS. On Windows I'm using MSVC 2019 and Python3.6.8. The other functions that return vector of ints or other values are working fine. This only manifests when creating a list of py::objects.

I even tried using the native Python C API implementation which ran into the same issue. The logic works with SWIG, I'm porting that code over to pybind11.

My apologies if this is a naive error or trivial mistake I am making.

Reproducible example code

I modified it a little bit for simplicity. Let's say py_outputs is a std::vector<PyObject*>

I'm getting that output from an API which I cannot modify.

    py::list result;
    for (int i = 0; i < py_outputs.size(); ++i) {
      result.append(py::cast<py::object>(py_outputs[i]));
    }
    return result;
    PyObject* result = PyList_New(py_outputs.size());
    if (result == nullptr) {
      PyErr_SetString(PyExc_MemoryError, "Failed to create a list.");
      throw py::error_already_set();
    }
    for (int i = 0; i < py_outputs.size(); ++i) {
      PyList_SET_ITEM(result, i, py_outputs.at(i));
    }
    return py::reinterpret_steal<py::object>(result);

Output Log on Windows:

Windows fatal exception: access violation
....
*** Received signal 11 ***
*** BEGIN STACK TRACE POINTERS ***
.......

*** END STACK TRACE POINTERS ***

0x00007FFA65E5B015	CurrentStackTrace
0x00007FFA65DE19F1	testing::InstallStacktraceHandler
0x00007FFA7CEECFA3	seh_filter_exe
0x000000001CB223D8	(unknown)
0x00007FFA6EE2C090	_C_specific_handler
0x00007FFA8071477F	_chkstk
0x00007FFA80674BEF	RtlWalkFrameChain
0x00007FFA807134EE	KiUserExceptionDispatcher
0x00007FFA5F5266C2	<lambda_56f00d314c6146fba0aa43380d7ba842>::operator()
0x00007FFA5F52A571	<lambda_9043eba65c855751f21d74134c8948ba>::operator()
0x00007FFA5F50AD46	<lambda_9043eba65c855751f21d74134c8948ba>::<lambda_invoker_cdecl>
0x00007FFA5F538373	pybind11::cpp_function::dispatcher
0x0000000067577BCE	PyCFunction_FastCallDict
0x0000000067578119	PyObject_GetAttr
0x0000000067578B4E	PyEval_EvalFrameDefault
0x00000000675782E0	PyObject_GetAttr
0x0000000067578B4E	PyEval_EvalFrameDefault
0x0000000067575728	PyObject_Free
0x0000000067562DF5	PyCompile_OpcodeStackEffect
0x000000006756D7B0	PyObject_IsSubclass
0x0000000067579955	PyEval_EvalFrameDefault
0x0000000067575728	PyObject_Free
0x0000000067578587	PyObject_GetAttr
0x0000000067578B4E	PyEval_EvalFrameDefault
0x0000000067575728	PyObject_Free
0x0000000067578587	PyObject_GetAttr
0x0000000067578B4E	PyEval_EvalFrameDefault
0x00000000675782E0	PyObject_GetAttr
0x0000000067578B4E	PyEval_EvalFrameDefault
0x0000000067575728	PyObject_Free
0x0000000067573C23	PyFunction_FastCallDict
0x0000000067573A06	PyObject_ClearWeakRefs
0x000000006756D7B0	PyObject_IsSubclass
0x0000000067579955	PyEval_EvalFrameDefault
0x0000000067575728	PyObject_Free
0x0000000067578587	PyObject_GetAttr
0x00000000675797A2	PyEval_EvalFrameDefault
0x0000000067575728	PyObject_Free
0x0000000067562DF5	PyCompile_OpcodeStackEffect
0x000000006756D7B0	PyObject_IsSubclass
0x0000000067579955	PyEval_EvalFrameDefault
0x0000000067575728	PyObject_Free
0x0000000067578587	PyObject_GetAttr
0x0000000067578B4E	PyEval_EvalFrameDefault
0x0000000067575728	PyObject_Free
0x0000000067573C23	PyFunction_FastCallDict
0x0000000067573A06	PyObject_ClearWeakRefs
0x000000006756D7B0	PyObject_IsSubclass
0x0000000067579955	PyEval_EvalFrameDefault
0x0000000067575728	PyObject_Free
0x0000000067573C23	PyFunction_FastCallDict
0x0000000067573A06	PyObject_ClearWeakRefs
0x000000006756F99C	PyObject_Call
0x0000000067583FB7	PyUnicode_EqualToASCIIId
0x000000006757846A	PyObject_GetAttr
0x0000000067578B4E	PyEval_EvalFrameDefault
0x0000000067575728	PyObject_Free
0x0000000067573C23	PyFunction_FastCallDict
0x0000000067573A06	PyObject_ClearWeakRefs
0x000000006756D7B0	PyObject_IsSubclass
0x0000000067579955	PyEval_EvalFrameDefault
0x0000000067575728	PyObject_Free
0x0000000067573C23	PyFunction_FastCallDict
0x0000000067573A06	PyObject_ClearWeakRefs


created time in a month

issue commenttensorflow/addons

Update kokoro tests in order to drop Py2 support

I have sent @karmel an internal change that will only keep the Python3 GPU build and remove the -p parameter.

seanpmorgan

comment created time in a month

pull request commenttensorflow/community

RFC: tf-nightly renovations

Hey Everyone,

Sorry I was on vacation for the past week, looking at it now seems like nightlies are working. I'll mark this as resolved for now.

Sorry for the inconvenience.

-Amit

On Fri, Dec 13, 2019 at 4:22 PM Bairen Yi notifications@github.com wrote:

Seems to be resolved by now. Thanks :)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/tensorflow/community/pull/31?email_source=notifications&email_token=ABKUKMFBVIUJ4FCBBPST2UDQYQRLXA5CNFSM4F7S3UKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG3UHCQ#issuecomment-565658506, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABKUKMFZHERLLEBGJEJCR4LQYQRLXANCNFSM4F7S3UKA .

av8ramit

comment created time in 2 months

issue commenttensorflow/tensorflow

Cannot deploy Tensorflow 2.0.0 to Google cloud functions

I know we changed TensorFlow 2.0 official to be manylinux2010 compliant between beta and official which requires an updated pip. Could that potentially be the issue?

There is definitely a Python3.7 binary for tensorflow==2.0.0.

m4recek

comment created time in 2 months

issue closedtensorflow/tensorflow

Pull Requests: Ubuntu CC test is flakey

When testing pull requests the "Ubuntu CC" test seems to never(?) complete. See two examples here:

https://github.com/tensorflow/tensorflow/pull/33492 https://github.com/tensorflow/tensorflow/pull/32168

This makes it hard to for contributors to tell if their changes have broken the project, or if it's an unrelated flake (as it seems to be in these cases). This is the most obvious example of the problem, but we see many unrelated failures on the CI tests for PRs.

closed time in 3 months

petewarden

issue commenttensorflow/tensorflow

Pull Requests: Ubuntu CC test is flakey

@gunan removed "Ubuntu CC" from the GitHub setting.

petewarden

comment created time in 3 months

issue commenttensorflow/tensorflow

tensorflow-1.15.0 manylinux wheel on PyPi is invalid

@goldiegadde any idea on what changed between 2.0.0 and 1.15?

fhoering

comment created time in 4 months

issue commenttensorflow/tensorflow

C binding for tensorflow 2.0

@sjamesr is the Java SIG taking ownership of the libtensorflow releases?

oak-tree

comment created time in 4 months

delete branch av8ramit/community

delete branch : pybind_rfc

delete time in 5 months

PR opened tensorflow/tensorflow

Reviewers
Fix presubmits for 1.15
+22 -0

0 comment

2 changed files

pr created time in 5 months

create barnchtensorflow/tensorflow

branch : fix_presubmits_1_15

created branch time in 5 months

PR opened tensorflow/tensorflow

Reviewers
Fix presubmits for 2.0
+12296 -6031

0 comment

386 changed files

pr created time in 5 months

create barnchtensorflow/tensorflow

branch : fix_presubmits_2_0

created branch time in 5 months

push eventav8ramit/tensorboard

Amit Patankar

commit sha 27f146c4897f4b7117bb3a8a2f31fbe84d95745a

Adding the try catch import logic as requested by TB team.

view details

push time in 5 months

PR opened tensorflow/tensorboard

Use _pywrap_events_writer

Updating the EventsWriter import to _pywrap_events_writer from pywrap_tensorflow.

  • Motivation for features / changes This is part of a larger effort in TensorFlow to break up pywrap_tensorflow and migrate from SWIG to pybind11. Please refer to this RFC for more information.

  • Technical description of changes Changes the import package to point to the new one.

  • Detailed steps to verify changes work correctly (as executed by you)

This is an example of a pywrap import and how it works. Unfortunately I cannot provide an exact EventsWriter example, because the nightly binary has not been built yet.

In [1]: from tensorflow.python import _pywrap_utils                                                                                                                                                                

In [2]: _pywrap_utils.IsSequence(1)                                                                                                                                                                                
Out[2]: False

In [3]: _pywrap_utils.IsSequence([1])                                                                                                                                                                              
Out[3]: True

NOTE: Please only submit this PR if you are pulling TensorFlow from tf-nightly-2.0-preview. If you are using tf-nightly, that has not been updated since 08/21 and is still using old code.

+5 -5

0 comment

2 changed files

pr created time in 5 months

create barnchav8ramit/tensorboard

branch : pywrap_events_writer

created branch time in 5 months

fork av8ramit/tensorboard

TensorFlow's Visualization Toolkit

fork in 5 months

issue commenttensorflow/tensorflow

[TF 2.0.0rc0] dependency on functools32 prevents python3.7 installation

Unfortunately we only support pip installation as of right now, which is why we made the move to manylinux2010. I'm not sure what I can do to help fix this issue, but I think once this issue is resolved on poetry's side it will work.

We cannot provide manylinux1 whls as pypi will reject them and they are not even technically compliant with the packaging standard. Sorry for the inconvenience.

PgLoLo

comment created time in 5 months

issue closedtensorflow/tensorflow

[TF 2.0.0rc0] dependency on functools32 prevents python3.7 installation

Somewhy poetry thinks, that tensorflow-gpu = "2.0.0-rc0" depends on functools32 on python3.7 environment, because of what poetry install / update fails.

Found this issue, but it did not help because tensorflow-gpu = "2.0.0-beta1" works greate with poetry.

closed time in 5 months

PgLoLo

issue commenttensorflow/tensorflow

[TF2] Nightly-20190904 broken import

Sorry for the breakage, we are in the process of adding smoke tests prior to pushing binaries. Thanks for your patience!

seanpmorgan

comment created time in 5 months

more