Parallelization bug in Graphlab Create 2.1

There seems to be a parallelization bug in Graphlab Create 2.1.

When calling SGraph.triple_apply() with a function which updates edge attributes, the result becomes non-deterministic in the parallel processing situation.

To solve this problem, set the number of Graphlab’s worker threads to 1, which can be done as follows.

graphlab.set_runtime_config('GRAPHLAB_DEFAULT_NUM_GRAPH_LAMBDA_WORKERS', 1)

Though it seems OK to update node attributes in parallel, I’m not sure whether the number of workers can be changed after once initiated.

2 thoughts on “Parallelization bug in Graphlab Create 2.1

  1. ピンバック: Graphlab Create Tips | Technooooootes

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です

このサイトはスパムを低減するために Akismet を使っています。コメントデータの処理方法の詳細はこちらをご覧ください