Skip to content

Bump actions/github-script from 7 to 8 - #4

Merged
justinchuby merged 1 commit into
mainfrom
dependabot/github_actions/actions/github-script-8
Mar 20, 2026
Merged

Bump actions/github-script from 7 to 8#4
justinchuby merged 1 commit into
mainfrom
dependabot/github_actions/actions/github-script-8

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Mar 18, 2026

Copy link
Copy Markdown
Contributor

Bumps actions/github-script from 7 to 8.

Release notes

Sourced from actions/github-script's releases.

v8.0.0

What's Changed

⚠️ Minimum Compatible Runner Version

v2.327.1
Release Notes

Make sure your runner is updated to this version or newer to use this release.

New Contributors

Full Changelog: actions/github-script@v7.1.0...v8.0.0

v7.1.0

What's Changed

New Contributors

Full Changelog: actions/github-script@v7...v7.1.0

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [actions/github-script](https://github.com/actions/github-script) from 7 to 8.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](actions/github-script@v7...v8)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-version: '8'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Mar 18, 2026
@github-actions

Copy link
Copy Markdown

Performance Comparison

Model Metric Baseline Current Delta
bert model_size_bytes 359 KB 359 KB +0.0%
bert num_nodes 61 61 +0.0%
falcon model_size_bytes 364 KB 364 KB +0.0%
falcon num_nodes 66 66 +0.0%
gemma2 model_size_bytes 428 KB 428 KB +0.0%
gemma2 num_nodes 109 107 -1.8%
gpt2 model_size_bytes 388 KB 388 KB +0.0%
gpt2 num_nodes 60 60 +0.0%
llama model_size_bytes 425 KB 425 KB +0.0%
llama num_nodes 68 68 +0.0%
mamba model_size_bytes 360 KB 360 KB +0.0%
mamba num_nodes 109 109 +0.0%
phi3 model_size_bytes 421 KB 421 KB +0.0%
phi3 num_nodes 68 68 +0.0%
qwen2 model_size_bytes 425 KB 425 KB +0.0%
qwen2 num_nodes 68 68 +0.0%
t5 model_size_bytes 836 KB 836 KB +0.0%
t5 num_nodes 174 174 +0.0%
whisper model_size_bytes 1008 KB 1008 KB +0.0%
whisper num_nodes 140 140 +0.0%

No performance regressions.

@justinchuby
justinchuby merged commit aa1d642 into main Mar 20, 2026
7 of 17 checks passed
@justinchuby
justinchuby deleted the dependabot/github_actions/actions/github-script-8 branch March 20, 2026 18:38
justinchuby added a commit that referenced this pull request Apr 13, 2026
…tion, embed_scale

Issue #4: Remove extra post_layernorm from _Gemma4VisionEncoderCore.
HF Gemma4VisionEncoder has no post-encoder norm. The scale-free RMSNorm
(embedding_pre_projection_norm) lives only in _Gemma4VisionEncoderModel
as projector_norm, applied once before the projector.

Issue #5: Zero padding patches and pass attention mask to vision encoder.
Detect pixel_position_ids == -1 in _Gemma4VisionPatchEmbedder; zero
position embeddings for those patches (matching HF _position_embeddings).
Build additive attention bias [B,1,1,N] with -1e9 for padding columns
and thread it through Gemma4VisionEncoderLayer -> Gemma4VisionSelfAttention
-> op.Attention. After all encoder layers, zero padding patch hidden states
before scaling/norm/projection (matching HF VisionPooler masked_fill).

Issue #6: Replace Softmax with arithmetic normalization for MoE top-k weights.
HF: top_k_weights /= top_k_weights.sum(-1, keepdim=True). We were using
op.Softmax which applies exponential re-weighting. Fix: op.ReduceSum + op.Div.

Issue #7: Remove np.float16 cast on embed_scale.
HF uses hidden_size**0.5 as exact float32. np.float16 introduces ~0.01%
rounding error on every embedding lookup. Use math.sqrt() instead.
Both occurrences fixed (_Gemma4TextModel and Gemma4EmbeddingModel).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com>
justinchuby added a commit that referenced this pull request May 4, 2026
… tests (#240)

Addresses 4 review comments from PR #239:

### 1. GQA rewrite rule head_dim limit (#1)
Updated `_MAX_GQA_HEAD_DIM` from 256 to 512 in the Attention→GQA rewrite
rule to match latest ORT support for head_dim=512.

### 2. GGUF path missing `attention_k_eq_v` (#2)
Added `attention_k_eq_v=True` to Gemma4 GGUF postprocessor when
`num_global_key_value_heads` is detected. Fixes `build_from_gguf()` for
26b-a4b/31b checkpoints.

### 3. DRY expert weight rename (#3)
Extracted `_remap_moe_expert_weights()` shared helper used by both
`Gemma4CausalLMModel.preprocess_weights()` and
`Gemma4Model.preprocess_weights()`. Single source of truth for expert
rename + router scale folding.

### 4. Missing multimodal preprocess_weights test (#4)
Added `gemma4_test.py` with 5 targeted tests covering both
`Gemma4CausalLMModel` and `Gemma4Model` weight preprocessing: expert
rename, router scale folding, and per_expert_scale passthrough.

### Testing
- 5/5 new preprocess_weights tests pass
- 2668/2668 full suite pass

---------

Signed-off-by: Justin Chu <justinchu@microsoft.com>
Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant