[GH-ISSUE #3130] ### Title: [SYCL / Arc Pro B70] strata_bench.py NameError (port) + native (non-Docker) /work/ path handling on 2x Arc Pro B70 (55.3 tok/s) #1256

Closed
opened 2026-11-04 01:49:47 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @jaynu2 on GitHub (Oct 19, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3130

Hardware & Environment

  • GPUs: 2× Intel Arc Pro B70 (32 GB each, bmg-g31, xe driver, GPU 1 & GPU 2) + 1× Intel Arc Pro B50 (16 GB, bmg-g21, GPU 0 left idle)
  • CPU / RAM: Intel Xeon 6521P (24C/48T, AVX-512) + 384 GB DDR5 (single NUMA node)
  • Compiler / Toolchain: Native host build with Intel oneAPI DPC++ 2026.2 (icpx + oneMKL 2026.2), -DSTRATA_SYCL_AOT=bmg-g31
  • Model / Config: unsloth/UD-IQ4_XS, --gpus 1,2, --layer-split auto, STRATA_STAGE_TRIM=1, --max-context 262144, --kv q4_0, --spec 4 (MTP)

1. Bug: NameError: name 'port' is not defined in tools/strata_bench.py

At the end of ./setup.sh --setup --backend sycl ..., answering y to "Run a quick benchmark now?" crashes immediately at line 990 of tools/strata_bench.py:

Traceback (most recent call last):
  File "/mnt/models/Strata/tools/strata_bench.py", line 1037, in <module>
    sys.exit(main())
  File "/mnt/models/Strata/tools/strata_bench.py", line 990, in main
    say(f"Starting {cfg_path.name} on port {port} (loading takes 1-3 minutes; the PC may be slow meanwhile) ...")
NameError: name 'port' is not defined.

Fix: Use cfg.get("port", 8080) (or define port before line 990).
Originally created by @jaynu2 on GitHub (Oct 19, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/3130 #### Hardware & Environment - **GPUs:** 2× Intel Arc Pro B70 (32 GB each, `bmg-g31`, `xe` driver, `GPU 1` & `GPU 2`) + 1× Intel Arc Pro B50 (16 GB, `bmg-g21`, `GPU 0` left idle) - **CPU / RAM:** Intel Xeon 6521P (24C/48T, AVX-512) + 384 GB DDR5 (single NUMA node) - **Compiler / Toolchain:** Native host build with Intel oneAPI DPC++ `2026.2` (`icpx` + `oneMKL 2026.2`), `-DSTRATA_SYCL_AOT=bmg-g31` - **Model / Config:** `unsloth/UD-IQ4_XS`, `--gpus 1,2`, `--layer-split auto`, `STRATA_STAGE_TRIM=1`, `--max-context 262144`, `--kv q4_0`, `--spec 4` (MTP) --- #### 1. Bug: `NameError: name 'port' is not defined` in `tools/strata_bench.py` At the end of `./setup.sh --setup --backend sycl ...`, answering `y` to *"Run a quick benchmark now?"* crashes immediately at line 990 of `tools/strata_bench.py`: ```text Traceback (most recent call last): File "/mnt/models/Strata/tools/strata_bench.py", line 1037, in <module> sys.exit(main()) File "/mnt/models/Strata/tools/strata_bench.py", line 990, in main say(f"Starting {cfg_path.name} on port {port} (loading takes 1-3 minutes; the PC may be slow meanwhile) ...") NameError: name 'port' is not defined. Fix: Use cfg.get("port", 8080) (or define port before line 990).
Author
Owner

@Niko1221 commented on GitHub (Oct 19, 2026):

Thanks for taking the time to report this.

We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected.

To reopen it takes about two minutes:

  1. Re-test on 0.2.0-beta. It may already be fixed. Write down what you see.
  2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other].
  3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system.
  4. Comment /reopen. A check runs and either reopens the issue or lists what is still missing.

The rules are in CONTRIBUTING.md.

<!-- gh-comment-id:6271496819 --> @Niko1221 commented on GitHub (Oct 19, 2026): Thanks for taking the time to report this. We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected. To reopen it takes about two minutes: 1. Re-test on 0.2.0-beta. It may already be fixed. Write down what you see. 2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other]. 3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system. 4. Comment `/reopen`. A check runs and either reopens the issue or lists what is still missing. The rules are in [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md).
Author
Owner

@jaynu2 commented on GitHub (Oct 19, 2026):

ok, thanks. The new version of gemini 4 argon figured out the problems and
fixed them quickly. These were all just script issues. Otherwise, I
haven't seen any issues.

My third prompt was a relatively difficult task, generating Scala code with
an embedded DSL, and it handled it.

[strata] done: 26961 tokens in 430 s (63.1 tok/s) (stop, cancel=False),
expert cache 99.8% hit

On Mon, Oct 19, 2026 at 11:00 AM Niko @.***> wrote:

Niko1221 left a comment (Niko1221/Strata#3130)
https://github.com/Niko1221/Strata/issues/3130#issuecomment-6271496819

Thanks for taking the time to report this.

We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open
issues and pull requests, too many for us to read properly, so we're
closing everything that isn't being worked on right now. Closed here does
not mean rejected.

To reopen it takes about two minutes:

  1. Re-test on 0.2.0-beta. It may already be fixed. Write down what you
    see.
  2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark],
    [Docs] or [Other].
  3. Fill in the parts of the issue form: what happened, the Strata
    version, your graphics card, memory and system.
  4. Comment /reopen. A check runs and either reopens the issue or lists
    what is still missing.

The rules are in CONTRIBUTING.md
https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md.

—
Reply to this email directly, view it on GitHub
https://github.com/Niko1221/Strata/issues/3130?email_source=notifications&email_token=BS3MCXCX27WUA44K3K3WI7T5UY3C3A5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTMMRXGE2DSNRYGE42M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-6271496819,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BS3MCXFQ4OGZSE2RNT24PP35UY3C3AVCNFSNUABGKJSXA33TNF2G64TZHMYTGOBVHE2DMMZQGE5US43TOVSTWNJZGE4TKMJUGU4DRILWAI
.
Triage notifications, keep track of coding agent tasks and review pull
requests on the go with GitHub Mobile for iOS
https://github.com/notifications/mobile/ios/BS3MCXEHD67ID4LV5W6UV5T5UY3C3A5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTMMRXGE2DSNRYGE42M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KUZTPN52GK4S7NFXXG
and Android
https://github.com/notifications/mobile/android/BS3MCXGCVLWFRBLBJXJ6Y735UY3C3A5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTMMRXGE2DSNRYGE42M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA.
Download it today!
You are receiving this because you authored the thread.Message ID:
@.***>

<!-- gh-comment-id:6271942716 --> @jaynu2 commented on GitHub (Oct 19, 2026): ok, thanks. The new version of gemini 4 argon figured out the problems and fixed them quickly. These were all just script issues. Otherwise, I haven't seen any issues. My third prompt was a relatively difficult task, generating Scala code with an embedded DSL, and it handled it. [strata] done: 26961 tokens in 430 s (63.1 tok/s) (stop, cancel=False), expert cache 99.8% hit On Mon, Oct 19, 2026 at 11:00 AM Niko ***@***.***> wrote: > *Niko1221* left a comment (Niko1221/Strata#3130) > <https://github.com/Niko1221/Strata/issues/3130#issuecomment-6271496819> > > Thanks for taking the time to report this. > > We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open > issues and pull requests, too many for us to read properly, so we're > closing everything that isn't being worked on right now. Closed here does > not mean rejected. > > To reopen it takes about two minutes: > > 1. Re-test on 0.2.0-beta. It may already be fixed. Write down what you > see. > 2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], > [Docs] or [Other]. > 3. Fill in the parts of the issue form: what happened, the Strata > version, your graphics card, memory and system. > 4. Comment /reopen. A check runs and either reopens the issue or lists > what is still missing. > > The rules are in CONTRIBUTING.md > <https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md>. > > — > Reply to this email directly, view it on GitHub > <https://github.com/Niko1221/Strata/issues/3130?email_source=notifications&email_token=BS3MCXCX27WUA44K3K3WI7T5UY3C3A5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTMMRXGE2DSNRYGE42M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-6271496819>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/BS3MCXFQ4OGZSE2RNT24PP35UY3C3AVCNFSNUABGKJSXA33TNF2G64TZHMYTGOBVHE2DMMZQGE5US43TOVSTWNJZGE4TKMJUGU4DRILWAI> > . > Triage notifications, keep track of coding agent tasks and review pull > requests on the go with GitHub Mobile for iOS > <https://github.com/notifications/mobile/ios/BS3MCXEHD67ID4LV5W6UV5T5UY3C3A5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTMMRXGE2DSNRYGE42M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KUZTPN52GK4S7NFXXG> > and Android > <https://github.com/notifications/mobile/android/BS3MCXGCVLWFRBLBJXJ6Y735UY3C3A5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTMMRXGE2DSNRYGE42M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA>. > Download it today! > You are receiving this because you authored the thread.Message ID: > ***@***.***> >
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#1256
No description provided.