Skip to content

[SYCL] fix error when use -mg 1 in SYCL script#23140

Merged
ggerganov merged 1 commit into
ggml-org:masterfrom
arthw:fix_mg
May 18, 2026
Merged

[SYCL] fix error when use -mg 1 in SYCL script#23140
ggerganov merged 1 commit into
ggml-org:masterfrom
arthw:fix_mg

Conversation

@arthw
Copy link
Copy Markdown
Contributor

@arthw arthw commented May 16, 2026

Fix the error issue: llama_prepare_model_devices: invalid value for main_gpu: 1 (available devices: 1), when use -mg 1 in scripts: example/sycl/*.bat/sh.

It's verified locally.

@arthw arthw marked this pull request as ready for review May 16, 2026 10:35
@github-actions github-actions Bot added examples SYCL https://en.wikipedia.org/wiki/SYCL - GPU programming language labels May 16, 2026
@arthw arthw added the merge ready A maintainer can use this label to indicate that they consider the changes final and ready to merge. label May 16, 2026
@ggerganov ggerganov merged commit e98bcfe into ggml-org:master May 18, 2026
3 checks passed
Jcfunk added a commit to Jcfunk/llama.cpp that referenced this pull request May 19, 2026
* master: (100 commits)
  Agent update
  hexagon: add support for TRI op (ggml-org#22822)
  ggml-hexagon: add PAD op HVX kernel (ggml-org#23078)
  docker : add OCI image labels for version and build date (ggml-org#21653)
  common : remove hf cache migration (ggml-org#23266)
  ui: Update KaTeX package and clean up logs from `sass` warnings (ggml-org#23275)
  feat: add scroll-to-bottom button to chat + prevent forced scroll down (ggml-org#23270)
  ui: Refactor models store, MCP service, and gate logs behind VITE_DEBUG (ggml-org#23236)
  ui: Centralize monospace font styles in app.css (ggml-org#23272)
  webui: fix Tailwind v4 utility classes missing when built via cmake (ggml-org#23253)
  llama: initialize pre-norm embedding mask flag (ggml-org#23256)
  add myself to conversion (ggml-org#23261)
  ci : added kleidiai-server to server-self-hosted workflow (ggml-org#22435)
  scripts : allow wc2wt with an existing branch (ggml-org#23189)
  sycl: scalar SWAR byte-subtract in Q6_K MMVQ dot product (ggml-org#22156)
  sycl: route small f32 matmuls to oneMKL, bypass oneDNN (ggml-org#22150)
  sycl : fix error when use -mg 1 error (ggml-org#23140)
  update bid to match each layers MTP source (ggml-org#23237)
  cmake : do not check for bin install dir (ggml-org#23234)
  feat: Support d_conv=15 for ssm-conv.cu (ggml-org#23017)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

examples merge ready A maintainer can use this label to indicate that they consider the changes final and ready to merge. SYCL https://en.wikipedia.org/wiki/SYCL - GPU programming language

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants