Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Isa-rentacs/72ca156134a172d56cbe4ae5da827003 to your computer and use it in GitHub Desktop.
Save Isa-rentacs/72ca156134a172d56cbe4ae5da827003 to your computer and use it in GitHub Desktop.
$ python ./pymc_trial.py
2020-07-02 20:44:13.600428: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory
2020-07-02 20:44:13.601242: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
4.0a2
2.4.0-dev20200701
0.11.0-dev20200702
2020-07-02 20:44:20.525474: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcuda.so.1'; dlerror: libcuda.so.1: cannot open shared object file: No such file or directory
2020-07-02 20:44:20.526310: W tensorflow/stream_executor/cuda/cuda_driver.cc:312] failed call to cuInit: UNKNOWN ERROR (303)
2020-07-02 20:44:20.527459: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:156] kernel driver does not appear to be running on this host (HND-1800149369): /proc/driver/nvidia/version does not exist
2020-07-02 20:44:20.530400: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN)to use the following CPU instructions in performance-critical operations: AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2020-07-02 20:44:20.563799: I tensorflow/core/platform/profile_utils/cpu_utils.cc:104] CPU Frequency: 2496000000 Hz
2020-07-02 20:44:20.568888: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x5f9b370 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2020-07-02 20:44:20.569519: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version
WARNING:tensorflow:AutoGraph could not transform <function _convert_function_call.<locals>.f at 0x7f2d04ec3f70> and will run it as-is.
Please report this to the TensorFlow team. When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output.
Cause: Inconsistent ASTs detected. This is a bug. Cause:
inconsistent values for field args: [<gast.gast.Name object at 0x7f2d04d7b370>] and []Diff:
*** Original nodes
--- Reparsed nodes
***************
*** 30,51 ****
| | | ]
| | | value=Constant:
| | | | value=None
| | | | kind=None
| | FunctionDef:
| | | name=u"inner_factory"
| | | args=arguments:
! | | | | args=[
| | | | | Name:
| | | | | | id=u"ag__"
| | | | | | ctx=Param()
| | | | | | annotation=None
| | | | | | type_comment=None
| | | | ]
- | | | | posonlyargs=[]
| | | | vararg=None
| | | | kwonlyargs=[]
| | | | kw_defaults=[]
| | | | kwarg=None
| | | | defaults=[]
| | | body=[
| | | | FunctionDef:
--- 30,51 ----
| | | ]
| | | value=Constant:
| | | | value=None
| | | | kind=None
| | FunctionDef:
| | | name=u"inner_factory"
| | | args=arguments:
! | | | | args=[]
! | | | | posonlyargs=[
| | | | | Name:
| | | | | | id=u"ag__"
| | | | | | ctx=Param()
| | | | | | annotation=None
| | | | | | type_comment=None
| | | | ]
| | | | vararg=None
| | | | kwonlyargs=[]
| | | | kw_defaults=[]
| | | | kwarg=None
| | | | defaults=[]
| | | body=[
| | | | FunctionDef:
***************
*** 506,549 ****
| | | | | | | | | ]
| | | | | | | | | decorator_list=[]
| | | | | | | | | returns=None
| | | | | | | | | type_comment=None
| | | | | | | | FunctionDef:
| | | | | | | | | name=u"set_state"
| | | | | | | | | args=arguments:
! | | | | | | | | | | args=[
| | | | | | | | | | | Name:
| | | | | | | | | | | | id=u"block_vars"
| | | | | | | | | | | | ctx=Param()
| | | | | | | | | | | | annotation=None
| | | | | | | | | | | | type_comment=None
| | | | | | | | | | ]
- | | | | | | | | | | posonlyargs=[]
| | | | | | | | | | vararg=None
| | | | | | | | | | kwonlyargs=[]
| | | | | | | | | | kw_defaults=[]
| | | | | | | | | | kwarg=None
| | | | | | | | | | defaults=[]
| | | | | | | | | body=[
! | | | | | | | | | | Pass()
| | | | | | | | | ]
| | | | | | | | | decorator_list=[]
| | | | | | | | | returns=None
| | | | | | | | | type_comment=None
| | | | | | | | FunctionDef:
| | | | | | | | | name=u"loop_body"
| | | | | | | | | args=arguments:
! | | | | | | | | | | args=[
| | | | | | | | | | | Name:
| | | | | | | | | | | | id=u"itr"
| | | | | | | | | | | | ctx=Param()
| | | | | | | | | | | | annotation=None
| | | | | | | | | | | | type_comment=None
| | | | | | | | | | ]
- | | | | | | | | | | posonlyargs=[]
| | | | | | | | | | vararg=None
| | | | | | | | | | kwonlyargs=[]
| | | | | | | | | | kw_defaults=[]
| | | | | | | | | | kwarg=None
| | | | | | | | | | defaults=[]
| | | | | | | | | body=[
| | | | | | | | | | Assign:
--- 506,549 ----
| | | | | | | | | ]
| | | | | | | | | decorator_list=[]
| | | | | | | | | returns=None
| | | | | | | | | type_comment=None
| | | | | | | | FunctionDef:
| | | | | | | | | name=u"set_state"
| | | | | | | | | args=arguments:
! | | | | | | | | | | args=[]
! | | | | | | | | | | posonlyargs=[
| | | | | | | | | | | Name:
| | | | | | | | | | | | id=u"block_vars"
| | | | | | | | | | | | ctx=Param()
| | | | | | | | | | | | annotation=None
| | | | | | | | | | | | type_comment=None
| | | | | | | | | | ]
| | | | | | | | | | vararg=None
| | | | | | | | | | kwonlyargs=[]
| | | | | | | | | | kw_defaults=[]
| | | | | | | | | | kwarg=None
| | | | | | | | | | defaults=[]
| | | | | | | | | body=[
! | | | | | | | | | | Pass:
| | | | | | | | | ]
| | | | | | | | | decorator_list=[]
| | | | | | | | | returns=None
| | | | | | | | | type_comment=None
| | | | | | | | FunctionDef:
| | | | | | | | | name=u"loop_body"
| | | | | | | | | args=arguments:
! | | | | | | | | | | args=[]
! | | | | | | | | | | posonlyargs=[
| | | | | | | | | | | Name:
| | | | | | | | | | | | id=u"itr"
| | | | | | | | | | | | ctx=Param()
| | | | | | | | | | | | annotation=None
| | | | | | | | | | | | type_comment=None
| | | | | | | | | | ]
| | | | | | | | | | vararg=None
| | | | | | | | | | kwonlyargs=[]
| | | | | | | | | | kw_defaults=[]
| | | | | | | | | | kwarg=None
| | | | | | | | | | defaults=[]
| | | | | | | | | body=[
| | | | | | | | | | Assign:
To silence this warning, decorate the function with @tf.autograph.experimental.do_not_convert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment