Skip to content

updates webgpu ep version to be decoupled from foundry local version in cpp core#758

Open
prathikr wants to merge 2 commits into
mainfrom
prathikrao/webgpu-ep-cpp-core
Open

updates webgpu ep version to be decoupled from foundry local version in cpp core#758
prathikr wants to merge 2 commits into
mainfrom
prathikrao/webgpu-ep-cpp-core

Conversation

@prathikr
Copy link
Copy Markdown
Contributor

@prathikr prathikr commented Jun 2, 2026

No description provided.

Copilot AI review requested due to automatic review settings June 2, 2026 20:32
@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 2, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
foundry-local Ready Ready Preview, Comment Jun 2, 2026 9:29pm

Request Review

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the C++ WebGPU execution provider (EP) bootstrapper to decouple WebGPU EP package updates from Foundry Local releases by switching from a hard-coded package URL+hashes to a manifest-driven download and verification flow.

Changes:

  • Fetch a platform-specific WebGPU EP package URL + expected SHA-256 hashes from a CDN-hosted JSON manifest.
  • Install via a staging directory + lock file, then promote to the final install directory.
  • Move binary verification to a map-driven VerifyPackage(...) helper.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
sdk_v2/cpp/src/ep_detection/webgpu_ep_bootstrapper.h Updates class documentation and adds a VerifyPackage helper signature for manifest-driven verification.
sdk_v2/cpp/src/ep_detection/webgpu_ep_bootstrapper.cc Implements manifest fetching/parsing, staging-based install, and hash verification based on manifest contents.

Comment thread sdk_v2/cpp/src/ep_detection/webgpu_ep_bootstrapper.cc Outdated
Comment thread sdk_v2/cpp/src/ep_detection/webgpu_ep_bootstrapper.cc
Comment thread sdk_v2/cpp/src/ep_detection/webgpu_ep_bootstrapper.cc
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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants