【问题标题】:Difference between GPU_0_bfc allocator and GPU_host_bfc allocoator in TensorFlow TimelineTensorFlow Timeline 中 GPU_0_bfc 分配器和 GPU_host_bfc 分配器的区别
【发布时间】:2020-03-16 16:24:47
【问题描述】:

当我尝试在TensorFlow中分析模型训练的内存使用情况时,我发现TensorFlow Timeline工具收集了两个相关信息,GPU_0_bfc和GPU_host_bfc(见下图),我想知道哪一个能反映最准确内存使用情况?或者它们之间有什么区别?谢谢。

Sample TensorFlow Timeline Profiling Result

【问题讨论】:

标签: tensorflow gpu tensorboard


【解决方案1】:

GPU_host_bfc 似乎是主机上分配内存的使用情况(例如 CPU 旁边的 RAM)。这通常小于物理(和/或通过swap)可用内存。 延伸阅读here.

【讨论】:

    猜你喜欢
    • 2021-11-01
    • 2010-09-27
    • 2014-01-26
    • 1970-01-01
    • 1970-01-01
    • 2018-04-16
    • 2023-02-13
    • 2012-07-06
    • 1970-01-01
    相关资源
    最近更新 更多