This tool is used to help you configure proper workspace_size_per_gpu_in_mb
required by hugectr.SparseEmbedding. It will calculate least required workspace_size_per_gpu_in_mb
based on:
slot_size_array
: the cardinality array of input features.vvgpu
: gpu configuration.emb_vec_size
: the embedding vector size.optimizer
: optimizer type. Can beadam
,adagrad
,momentumsgd
,nesterov
andsgd
optimzer update type
: optimizer update type. Can belocal
,global
,lazy_global
The default configuration is:
vvgpu = [[0]]
emb_vec_size = 16
optimizer = "adam"
optimizer_update_type = "global"
slot_size_array = [39884, 39043, 17289, 7420, 20263, 3, 7120, 1543, 39884, 39043, 17289, 7420, 20263, 3, 7120, 1543, 63, 63, 39884, 39043, 17289, 7420, 20263, 3, 7120, 1543]
Please refer more details in QAList.md#24