[PR #1817] [CLOSED] sycl: use the source version for setup model checks #3695

Closed
opened 2026-11-07 15:30:07 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/1817
Author: @nekomario28
Created: 10/10/2026
Status: ❌ Closed

Base: main ← Head: fix-1794-sycl-version


📝 Commits (1)

  • b3b6b54 sycl: use the source version for setup model checks

📊 Changes

2 files changed (+28 additions, -2 deletions)

View changed files

📝 sycl/setup_intel.py (+1 -2)
📝 tools/test_setup_sycl.py (+27 -0)

📄 Description

Summary

Fixes #1794. Use setup.source_version() for the SYCL installer's stub BUILD.json. Its old parser expected a literal version in the SYCL project() declaration, which now uses ${STRATA_SYCL_VERSION}; it returned 0 and failed the Unsloth model version checks.

This follows the top-level project version without changing model minimums, build flags, or CUDA/HIP setup. Thanks to agnaylor for the reproduction.

Test plan

  • New tests fail before the fix and pass afterward: the current source version satisfies both model minimums, and a four-part source hotfix is retained despite the variable SYCL declaration.
  • tools.test_setup_sycl, tools.test_setup_choices, tools.test_setup_pins: 74 tests pass on Linux, Python 3.14.7.
  • Python syntax check.
  • Not tested: an Intel GPU build, full model setup, or inference. No engine/build sources changed.

Generated with Devin


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/1817 **Author:** [@nekomario28](https://github.com/nekomario28) **Created:** 10/10/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix-1794-sycl-version` --- ### 📝 Commits (1) - [`b3b6b54`](https://github.com/Niko1221/Strata/commit/b3b6b54c3a4195ff8d14e9fa1e34f96a03bf4eaa) sycl: use the source version for setup model checks ### 📊 Changes **2 files changed** (+28 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `sycl/setup_intel.py` (+1 -2) 📝 `tools/test_setup_sycl.py` (+27 -0) </details> ### 📄 Description ## Summary Fixes #1794. Use `setup.source_version()` for the SYCL installer's stub `BUILD.json`. Its old parser expected a literal version in the SYCL `project()` declaration, which now uses `${STRATA_SYCL_VERSION}`; it returned `0` and failed the Unsloth model version checks. This follows the top-level project version without changing model minimums, build flags, or CUDA/HIP setup. Thanks to agnaylor for the reproduction. ## Test plan - [x] New tests fail before the fix and pass afterward: the current source version satisfies both model minimums, and a four-part source hotfix is retained despite the variable SYCL declaration. - [x] `tools.test_setup_sycl`, `tools.test_setup_choices`, `tools.test_setup_pins`: 74 tests pass on Linux, Python 3.14.7. - [x] Python syntax check. - Not tested: an Intel GPU build, full model setup, or inference. No engine/build sources changed. Generated with [Devin](https://devin.ai) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 15:30:07 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#3695
No description provided.