Skip to content

Fix duplicate $feature_opts in run.sh LeafNodeRank invocation#754

Open
excelle08 wants to merge 1 commit into
facebookresearch:v2-betafrom
excelle08:export-D111533997-to-v2-beta
Open

Fix duplicate $feature_opts in run.sh LeafNodeRank invocation#754
excelle08 wants to merge 1 commit into
facebookresearch:v2-betafrom
excelle08:export-D111533997-to-v2-beta

Conversation

@excelle08

Copy link
Copy Markdown
Contributor

Summary:
run.sh line 866 and 870 both expand $feature_opts, causing LeafNodeRank to receive --feature_extractors twice. gengetopt rejects any bare flag given more than once and LeafNodeRank exits immediately during startup. run.sh's driver then times out waiting for LeafNodeRank on port 21212, and the shell's downstream bc-based aggregation trips a divide-by-zero on empty results (Runtime error (func=(main), adr=18): Divide by zero). Net effect: since the t43 c7 default-baking landed on 2026-07-03, every feedsim_dlrm run has silently produced null metrics — the JSON output has "metrics": null and no final_achieved_qps is emitted.

Remove the duplicate expansion at line 870. Verified locally that LeafNodeRank standalone with a single --feature_extractors starts and reaches port-listening state.

Differential Revision: D111533997

Summary:
run.sh line 866 and 870 both expand $feature_opts, causing LeafNodeRank to receive `--feature_extractors` twice. gengetopt rejects any bare flag given more than once and LeafNodeRank exits immediately during startup. run.sh's driver then times out waiting for LeafNodeRank on port 21212, and the shell's downstream `bc`-based aggregation trips a divide-by-zero on empty results (`Runtime error (func=(main), adr=18): Divide by zero`). Net effect: since the t43 c7 default-baking landed on 2026-07-03, every `feedsim_dlrm` run has silently produced null metrics — the JSON output has `"metrics": null` and no `final_achieved_qps` is emitted.

Remove the duplicate expansion at line 870. Verified locally that LeafNodeRank standalone with a single `--feature_extractors` starts and reaches port-listening state.

Differential Revision: D111533997
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 11, 2026
@meta-codesync

meta-codesync Bot commented Jul 11, 2026

Copy link
Copy Markdown

@excelle08 has exported this pull request. If you are a Meta employee, you can view the originating Diff in D111533997.

meta-codesync Bot pushed a commit that referenced this pull request Jul 11, 2026
Summary:
Pull Request resolved: #754

run.sh line 866 and 870 both expand $feature_opts, causing LeafNodeRank to receive `--feature_extractors` twice. gengetopt rejects any bare flag given more than once and LeafNodeRank exits immediately during startup. run.sh's driver then times out waiting for LeafNodeRank on port 21212, and the shell's downstream `bc`-based aggregation trips a divide-by-zero on empty results (`Runtime error (func=(main), adr=18): Divide by zero`). Net effect: since the t43 c7 default-baking landed on 2026-07-03, every `feedsim_dlrm` run has silently produced null metrics — the JSON output has `"metrics": null` and no `final_achieved_qps` is emitted.

Remove the duplicate expansion at line 870. Verified locally that LeafNodeRank standalone with a single `--feature_extractors` starts and reaches port-listening state.

___

Reviewed By: charles-typ

Differential Revision: D111533997

fbshipit-source-id: 940c0165991a54628ba2badc32d59bb2faa8d05c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant