DeepRec
DeepRec copied to clipboard
How to use multi level embedding?
I read https://mp.weixin.qq.com/s/aEi6ooG9wDL-GXVWcGWRCw and found DeepRec supports multi level embedding, which can put feature in HBM or DRAM by its hotness. It sounds a very good feature.
Then I read https://deeprec.readthedocs.io/zh/latest/Embedding-Variable.html but I can not found how to use multi level embedding.
My question is:
-
How to use multi level embedding?
-
If document is missing recently, could you give some config name or variable name as a clue? Then I can find related source code by myself.
Thanks.
Multi-level doc haven't been added. @candyzone pls add a user doc asap. U can check the tensorflow/core/kernels/embedding_variable_ops_test.cc, 'StorageConfig' how to setup different storage level.
BTW, is HBM_DRAM fully implemented in current master? It seems will use LocklessHashMap by default, which is only for cpu.
@allenlz here is document. https://deeprec.readthedocs.io/zh/latest/Multi-tier-Embedding-Storage.html
BTW, is HBM_DRAM fully implemented in current master? It seems will use LocklessHashMap by default, which is only for cpu.
Yes, we'll commit HBM_DRAM this month.