Skip to content

去重算子CPU利用率非常低 #879

@zjuAJW

Description

@zjuAJW

Before Asking 在提问之前

  • I have read the README carefully. 我已经仔细阅读了 README 上的操作指引。

  • I have pulled the latest code of main branch to run again and the problem still existed. 我已经拉取了主分支上最新的代码,重新运行之后,问题仍不能解决。

Search before asking 先搜索,再提问

  • I have searched the Data-Juicer issues and found no similar questions. 我已经在 issue列表 中搜索但是没有发现类似的问题。

Question

project_name: 
dataset_path: 
export_path: 

np: 64                                                            
text_keys: 'text'                                                

open_tracer: true
trace_num: 1000000000000

process:
  - document_minhash_deduplicator:
      jaccard_threshold: 0.7
      window_size: 10
      num_permutations: 128
      tokenization: 'character'
      num_cpus: 64

我的config只有一个算子,document_minhash_deduplicator,运行过程中,除了compute_hash阶段CPU能用满,其他阶段CPU利用率极低,只有3%左右,这是为什么呢?150w条数据去重需要跑接近2天的时间。

Additional 额外信息

No response

Metadata

Metadata

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions