Skip to content

Bump actions/cache from 4 to 5 - #5

Merged
justinchuby merged 1 commit into
mainfrom
dependabot/github_actions/actions/cache-5
Mar 20, 2026
Merged

Bump actions/cache from 4 to 5#5
justinchuby merged 1 commit into
mainfrom
dependabot/github_actions/actions/cache-5

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps actions/cache from 4 to 5.

Release notes

Sourced from actions/cache's releases.

v5.0.0

[!IMPORTANT] actions/cache@v5 runs on the Node.js 24 runtime and requires a minimum Actions Runner version of 2.327.1.

If you are using self-hosted runners, ensure they are updated before upgrading.


What's Changed

Full Changelog: actions/cache@v4.3.0...v5.0.0

v4.3.0

What's Changed

New Contributors

Full Changelog: actions/cache@v4...v4.3.0

v4.2.4

What's Changed

New Contributors

Full Changelog: actions/cache@v4...v4.2.4

v4.2.3

What's Changed

  • Update to use @​actions/cache 4.0.3 package & prepare for new release by @​salmanmkc in actions/cache#1577 (SAS tokens for cache entries are now masked in debug logs)

New Contributors

Full Changelog: actions/cache@v4.2.2...v4.2.3

... (truncated)

Changelog

Sourced from actions/cache's changelog.

Releases

How to prepare a release

[!NOTE]
Relevant for maintainers with write access only.

  1. Switch to a new branch from main.
  2. Run npm test to ensure all tests are passing.
  3. Update the version in https://github.com/actions/cache/blob/main/package.json.
  4. Run npm run build to update the compiled files.
  5. Update this https://github.com/actions/cache/blob/main/RELEASES.md with the new version and changes in the ## Changelog section.
  6. Run licensed cache to update the license report.
  7. Run licensed status and resolve any warnings by updating the https://github.com/actions/cache/blob/main/.licensed.yml file with the exceptions.
  8. Commit your changes and push your branch upstream.
  9. Open a pull request against main and get it reviewed and merged.
  10. Draft a new release https://github.com/actions/cache/releases use the same version number used in package.json
    1. Create a new tag with the version number.
    2. Auto generate release notes and update them to match the changes you made in RELEASES.md.
    3. Toggle the set as the latest release option.
    4. Publish the release.
  11. Navigate to https://github.com/actions/cache/actions/workflows/release-new-action-version.yml
    1. There should be a workflow run queued with the same version number.
    2. Approve the run to publish the new version and update the major tags for this action.

Changelog

5.0.3

5.0.2

  • Bump @actions/cache to v5.0.3 #1692

5.0.1

  • Update @azure/storage-blob to ^12.29.1 via @actions/cache@5.0.1 #1685

5.0.0

[!IMPORTANT] actions/cache@v5 runs on the Node.js 24 runtime and requires a minimum Actions Runner version of 2.327.1. If you are using self-hosted runners, ensure they are updated before upgrading.

4.3.0

  • Bump @actions/cache to v4.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/cache](https://github.com/actions/cache) from 4 to 5.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](actions/cache@v4...v5)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-version: '5'
  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 9f79425 into main Mar 20, 2026
7 of 17 checks passed
@justinchuby
justinchuby deleted the dependabot/github_actions/actions/cache-5 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>
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