Skip to content

Fix DeepSeek4HyperHead instantiation and usage in NNXDecoder - #4777

Closed
olufiyin19 wants to merge 1 commit into
test-pipeline-ckpt-validationfrom
fix-validation-pipeline-deepseek4-284b-dag_verify_checkpoint_shape-manual__ed8ceac0-checkpoint_shape_validation
Closed

Fix DeepSeek4HyperHead instantiation and usage in NNXDecoder#4777
olufiyin19 wants to merge 1 commit into
test-pipeline-ckpt-validationfrom
fix-validation-pipeline-deepseek4-284b-dag_verify_checkpoint_shape-manual__ed8ceac0-checkpoint_shape_validation

Conversation

@olufiyin19

Copy link
Copy Markdown
Collaborator

Fix DeepSeek4HyperHead instantiation and usage in NNXDecoder

@google-cla

google-cla Bot commented Aug 7, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request installs the Google Cloud CLI in the agent sidecar Dockerfile, increases retry attempts and sleep times for Gemini API calls, adds a mock failure log, and removes DeepSeek4 hyper-head logic from the NNX decoders. The review feedback highlights a duplicated comment line in nnx_decoders.py that was accidentally introduced during the refactoring.

Comment on lines +1970 to 1971
# After the final transformer layer, `y` holds the raw, un-normalized hidden state.
# After the final transformer layer, `y` holds the raw, un-normalized hidden state.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The comment explaining that y holds the raw, un-normalized hidden state is duplicated. Please remove the redundant line.

Suggested change
# After the final transformer layer, `y` holds the raw, un-normalized hidden state.
# After the final transformer layer, `y` holds the raw, un-normalized hidden state.
# After the final transformer layer, y holds the raw, un-normalized hidden state.

@olufiyin19 olufiyin19 closed this Aug 8, 2026
@olufiyin19
olufiyin19 deleted the fix-validation-pipeline-deepseek4-284b-dag_verify_checkpoint_shape-manual__ed8ceac0-checkpoint_shape_validation branch August 8, 2026 00:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant