zhangxiangxiao / tunnel Goto Github PK
View Code? Open in Web Editor NEWData Driven Framework for Distributed Computing in Torch 7
License: BSD 3-Clause "New" or "Revised" License
Data Driven Framework for Distributed Computing in Torch 7
License: BSD 3-Clause "New" or "Revised" License
Currently it is unsafe to use tunnel.Share, tunnel.Atomic, tunnel.Vector and tunnel.Hash as values for these data structures themselves. It would be nice if we can do something like this
a = tunnel.Vector()
b = tunnel.Vector()
-- Nested vector
a[1] = b
I have not yet figured out why. Opening an issue to mark it.
Using threads.sharedserialization assumes that the object will be deserialized only once (hence calling :retain() in the serialize call). However, if a share serialized data is stored in tunnel.Vector or tunnel.Hash, there is no guarantee that it will be deserialized only once.
We need to track the tunnel operations on whether the deserialization is done so as to remove it from the data structures. If not, retain must be called. Until then, it is not memory-safe to use tunnel.Vector and tunnel.Hash for share-serializable data (like *Tensor, *Storage, tds.Hash, tds.Vec etc).
Tunnel seems to get into deadlock with cutorch often. Such cases happen when the main thread is executing cutorch computation functions and multiple threads are waiting for items in tunnel.Vector.
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.