Comments (3)
I don't exactly understand what you mean by "task running component".
Have you looked at the documentation (here)?
Have you looked into the code itself? There are lots of comments.
Please be more specific what you think should be documented better. Which part in the code, in what file, in what function is unclear?
from returnn.
That's fine; I can get by probing the code:
EngineTask.py:
class TaskThread:
def device_run(self):
batch_idx = self.run_start_batch_idx = self.devices_batches_idx
assert len(self.alloc_devices) == len(self.allocated_devices_batches)
self.running_devices_batches = self.allocated_devices_batches
for device, batches in zip(self.alloc_devices, self.running_devices_batches):
........
print("on device", device.name, file=log.v5)
**device.run(self.parent.task)**
I guess every network layer's computation graph node is tied to "task" !
from returnn.
See Device.py
. It creates two network computation graphs trainnet
and testnet
, one for training (e.g. Dropout etc enabled) and one for testing (Dropout disabled). A Device
instance is per process/GPU/device.
Note that this is for Theano, which is deprecated. The TensorFlow backend has a separate implementation, and has much more documentation in the code.
I'm closing this issue now as it is not really a bug.
from returnn.
Related Issues (20)
- PyTorch collect model statistics
- PyTorch recover after CUDA OOM with restart does not work with CUDA HOT 3
- PyTorch distributed training CPU OOM with sync_on_cpu HOT 1
- Support `torch.compile` for RF
- RF backend: PyTorch code
- Different effective learning rate reported over gpus HOT 11
- CUDA error: initialization error HOT 3
- MultiProcDataset inside PyTorch DataLoader with num_workers>0, multiple issues HOT 4
- RuntimeError: CUDA error: unspecified launch failure HOT 2
- NonDaemonicSpawnProcess hangs at exit HOT 2
- High memory usage with datasets (specifically when multi procs are used)
- Hang at exit in TDL worker in multiprocessing `_run_finalizers`, deadlock in `_wait_for_tstate_lock`? HOT 6
- Hang HOT 2
- Returnn Native after using different apptainer uses old compilation HOT 6
- MetaDataset with sequence list filter file
- HDFDataset (or generic dataset) post processing HOT 15
- Dataset batching like ESPnet support
- torch.nn.functional.conv2d: RuntimeError: GET was unable to find an engine to execute this computation HOT 1
- TensorFlow 2.14 degradation in WER HOT 2
- Updates for recent TensorFlow version
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from returnn.