Skip to content

Commit

Permalink
Add debug info
Browse files Browse the repository at this point in the history
  • Loading branch information
wbo4958 committed Oct 16, 2024
1 parent 3f9bfaf commit ac622ed
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions python-package/xgboost/spark/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1026,6 +1026,11 @@ def _train_booster(
from pyspark import BarrierTaskContext

context = BarrierTaskContext.get()
get_logger(_LOG_TAG, log_level).info("before entering barrier.")
print("before entering barrier.")
context.barrier()
get_logger(_LOG_TAG, log_level).info("after entering barrier.")
print("after entering barrier.")

dev_ordinal = None
use_qdm = _can_use_qdm(
Expand Down

0 comments on commit ac622ed

Please sign in to comment.