Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
399 changes: 398 additions & 1 deletion docs/source/data.rst

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/source/notes/cuda.rst
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ also preserve :class:`torch.device` and :class:`torch.dtype` of a Tensor).
y_cpu = torch.ones_like(x_cpu)
y_gpu = torch.zeros_like(x_gpu)

.. _cuda-memory-pinning:

Use pinned memory buffers
^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down
4 changes: 4 additions & 0 deletions docs/source/notes/multiprocessing.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _multiprocessing-best-practices:

Multiprocessing best practices
==============================

Expand All @@ -20,6 +22,8 @@ memory and will only send a handle to another process.
This allows to implement various training methods, like Hogwild, A3C, or any
others that require asynchronous operation.

.. _multiprocessing-cuda-note:

CUDA in multiprocessing
-----------------------

Expand Down
Loading