yaroslavvb / memory_probe_ops Goto Github PK
View Code? Open in Web Editor NEWTensorFlow kernels for probing memory
TensorFlow kernels for probing memory
Hi,
do this support multi-gpu?
Thanks
import urllib.request response = urllib.request.urlopen("https://raw.githubusercontent.com/yaroslavvb/memory_probe_ops/master/linux.memory_probe_ops.so") open("memory_probe_ops.so", "wb").write(response.read()) memory_probe_ops = tf.load_op_library("./memory_probe_ops.so")
NotFoundError Traceback (most recent call last)
in ()
2 response = urllib.request.urlopen("https://raw.githubusercontent.com/yaroslavvb/memory_probe_ops/master/linux.memory_probe_ops.so")
3 open("memory_probe_ops.so", "wb").write(response.read())
----> 4 memory_probe_ops = tf.load_op_library("./memory_probe_ops.so")
~/.local/lib/python3.6/site-packages/tensorflow/python/framework/load_library.py in load_op_library(library_filename)
54 """
55 with errors_impl.raise_exception_on_not_ok_status() as status:
---> 56 lib_handle = py_tf.TF_LoadLibrary(library_filename, status)
57
58 op_list_str = py_tf.TF_GetOpList(lib_handle)
~/.local/lib/python3.6/site-packages/tensorflow/python/framework/errors_impl.py in exit(self, type_arg, value_arg, traceback_arg)
471 None, None,
472 compat.as_text(c_api.TF_Message(self.status.status)),
--> 473 c_api.TF_GetCode(self.status.status))
474 # Delete the underlying status object from memory otherwise it stays alive
475 # as there is a reference to status from this from the traceback due to
NotFoundError: ./memory_probe_ops.so: undefined symbol: _ZTIN10tensorflow8OpKernelE
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.