Skip to content

Commit

Permalink
psi fix bug (bytedance#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
codemonkey-ll authored Jul 13, 2020
1 parent 10a325b commit 7fa02c0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if [ "$((WORKER_NUM % 2))" -ne "0" ]; then
echo "Error: WORKER_NUM should be the multiplies of 2."
exit 1
fi
if [ $INDEX -le $((WORKER_NUM / 2)) ]; then
if [ $INDEX -lt $((WORKER_NUM / 2)) ]; then
psi_preprocessor_cmd=/app/deploy/scripts/rsa_psi/run_psi_preprocessor.sh &
exec ${psi_preprocessor_cmd}
echo "launched run psi preprocessor"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if [ "$((WORKER_NUM % 2))" -ne "0" ]; then
echo "Error: WORKER_NUM should be the multiplies of 2."
exit 1
fi
if [ $INDEX -le $((WORKER_NUM / 2)) ]; then
if [ $INDEX -lt $((WORKER_NUM / 2)) ]; then
psi_signer_cmd="/app/deploy/scripts/rsa_psi/run_rsa_psi_signer.sh"
exec ${psi_signer_cmd} &
echo "launched psi signer"
Expand Down
2 changes: 1 addition & 1 deletion fedlearner/data_join/cmd/rsa_psi_preprocessor_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
batch_size=args.process_batch_size,
max_flying_item=args.max_flying_item
),
raw_data_options=dj_pb.RawDataOptions(
input_raw_data=dj_pb.RawDataOptions(
raw_data_iter=args.raw_data_iter,
compressed_type=args.compressed_type,
read_ahead_size=args.read_ahead_size
Expand Down

0 comments on commit 7fa02c0

Please sign in to comment.