You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/tutorials/technical_details.rst
+21-2Lines changed: 21 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,12 +39,31 @@ Optimizers are a key part of the training workloads. Intel® Extension for PyTor
39
39
2. SplitSGD for BF16 training, which reduces the memory footprint of the master weights by half. **[CPU]**
40
40
41
41
42
-
For more detailed information, check `Optimizer Fusion on CPU <technical_details/optimizer_fusion_cpu.md>`_, `Optimizer Fusion on GPU <technical_details/optimizer_fusion_gpu.md>`_ and `Split SGD <technical_details/split_sgd.html>`_
43
-
44
42
.. toctree::
45
43
:hidden:
46
44
:maxdepth:1
47
45
48
46
technical_details/optimizer_fusion_cpu
49
47
technical_details/optimizer_fusion_gpu
50
48
technical_details/split_sgd
49
+
50
+
51
+
.. _xpu-memory-management:
52
+
53
+
Memory Management [GPU]
54
+
---------------------------------
55
+
56
+
Intel® Extension for PyTorch* uses a caching memory allocator to speed up memory allocations. This allows fast memory deallocation without any overhead.
57
+
Allocations are associated with a sycl device. The allocator attempts to find the smallest cached block that will fit the requested size from the reserved block pool.
58
+
If it unable to find a appropriate memory block inside of already allocated ares, the allocator will delegate to allocate a new block memory.
59
+
60
+
For more detailed information, check `Memory Management <technical_details/memory_management.html>`_.
61
+
62
+
.. toctree::
63
+
:hidden:
64
+
:maxdepth:1
65
+
66
+
technical_details/memory_management
67
+
68
+
69
+
For more detailed information, check `Optimizer Fusion on CPU <technical_details/optimizer_fusion_cpu.md>`_, `Optimizer Fusion on GPU <technical_details/optimizer_fusion_gpu.md>`_, `Split SGD <technical_details/split_sgd.html>`_ and `Memory Management <technical_details/memory_management.html>`_
0 commit comments