Skip to content

Commit

Permalink
[Sample] Disable multi-threading for TFX demo notebook (#3170)
Browse files Browse the repository at this point in the history
* [Sample] Disable multi-threading for TFX demo notebook

In TFX 0.21.0 release it's not guaranteed to work well with 6 vCPU. Disable it for now.

* Update taxi_pipeline_notebook.ipynb

Co-authored-by: Yuan (Bob) Gong <gongyuan94@gmail.com>
  • Loading branch information
Jiaxiao Zheng and Bobgy authored Feb 26, 2020
1 parent 1d42e3f commit 9a96117
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@
" trainer, model_analyzer, model_validator, pusher\n",
" ],\n",
" enable_cache=True,\n",
" beam_pipeline_args=['--direct_num_workers=%d' % 4],\n",
" beam_pipeline_args=['--direct_num_workers=%d' % 0],\n",
")"
]
},
Expand Down Expand Up @@ -311,4 +311,4 @@
},
"nbformat": 4,
"nbformat_minor": 4
}
}

0 comments on commit 9a96117

Please sign in to comment.