[GH-ISSUE #3096] [BUG] Windows bech.bat error 0.1.45 #1238

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

Originally created by @mistral13 on GitHub (Oct 18, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3096

What happened

Starting bench.bat in 0.1.45 same in version 0.1.43: bench.bat
When the benchmark starts running, the following error appears.

Traceback (most recent call last):
  File "C:\Strata-0.1.45.0\tools\strata_bench.py", line 1037, in <module>
    sys.exit(main())
             ~~~~^^
  File "C:\Strata-0.1.45.0\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

Even explicitly setting the port via the command --port 8080 results in the same error.
same problem with powershell

Hardware and software

  • GPU and VRAM: AMD Radeon(TM) 8060S Graphics (Strix Halo APU, gfx1151), unified memory: 64.0 GB BIOS carve-out
  • CPU: AMD Ryzen AI MAX+ PRO 395 w/ Radeon 8060S (16 cores / 32 threads, AVX-512)
  • Installed RAM: 128 GB unified memory (64GB RAM; 64GB VRAM)
  • OS: Windows 11 (10.0.26200)
  • Driver / ROCm: not recorded (HIP backend; the prebuilt gfx1151 AMD engine was used)
  • Strata: release 0.1.45 prebuilt release binary
  • Python: 3.15.0

Model and configuration

same bug for all models

Originally created by @mistral13 on GitHub (Oct 18, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/3096 # What happened Starting bench.bat in 0.1.45 same in version 0.1.43: `bench.bat` When the benchmark starts running, the following error appears. ``` Traceback (most recent call last): File "C:\Strata-0.1.45.0\tools\strata_bench.py", line 1037, in <module> sys.exit(main()) ~~~~^^ File "C:\Strata-0.1.45.0\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 ``` Even explicitly setting the port via the command `--port 8080` results in the same error. same problem with powershell ## Hardware and software - GPU and VRAM: AMD Radeon(TM) 8060S Graphics (Strix Halo APU, `gfx1151`), unified memory: 64.0 GB BIOS carve-out - CPU: AMD Ryzen AI MAX+ PRO 395 w/ Radeon 8060S (16 cores / 32 threads, AVX-512) - Installed RAM: 128 GB unified memory (64GB RAM; 64GB VRAM) - OS: Windows 11 (10.0.26200) - Driver / ROCm: not recorded (HIP backend; the prebuilt gfx1151 AMD engine was used) - Strata: release 0.1.45 **prebuilt release binary** - Python: 3.15.0 ## Model and configuration same bug for all models
Author
Owner

@cooperdk commented on GitHub (Oct 18, 2026):

It's a silly mistake in the update. Just change (around line 973 in strata_bench.py):

From:

    if a.url:
        base = a.url.rstrip("/")
    else:
        base = server_base(cfg.get("host"), a.port or int(cfg.get("port", 8080)))
    red = redactor(key=key)
    started = False
    try:

to how it worked until this update:

    if a.url:
        base = a.url.rstrip("/")
    else:
        port = a.port or int(cfg.get("port", 8080))
        base = server_base(cfg.get("host"), port)
    red = redactor(key=key)
    started = False
    try:
<!-- gh-comment-id:6255587692 --> @cooperdk commented on GitHub (Oct 18, 2026): It's a silly mistake in the update. Just change (around line 973 in strata_bench.py): From: ``` if a.url: base = a.url.rstrip("/") else: base = server_base(cfg.get("host"), a.port or int(cfg.get("port", 8080))) red = redactor(key=key) started = False try: ``` to how it worked until this update: ``` if a.url: base = a.url.rstrip("/") else: port = a.port or int(cfg.get("port", 8080)) base = server_base(cfg.get("host"), port) red = redactor(key=key) started = False try: ```
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:6271471063 --> @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).
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#1238
No description provided.