mirror of
https://github.com/mw00/project-maya.git
synced 2026-12-03 19:04:50 +07:00
[PR #64] [MERGED] README: STRATA_GLM_CPU_PIN is Linux-only (on Windows and with one GPU, 0 changes nothing) #311
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
mw00/project-maya#311
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/mw00/project-maya/pull/64
Author: @needmorevram
Created: 10/9/2026
Status: ✅ Merged
Merged: 10/9/2026
Merged by: @mw00
Base:
main← Head:glm-cpu-pin-windows📝 Commits (1)
731d1bdREADME: STRATA_GLM_CPU_PIN is Linux-only - on Windows the engine pins nothing whatever it says, and one GPU is never pinned, so 0 changes nothing there; a two-socket Windows PC whose decode differs between starts (#56) differs in something else: compare the starts' CPU lane log lines📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
README.md(+1 -1)📄 Description
Summary
Refs #56. This documents, next to #44's notes in the README's tuning table, that
STRATA_GLM_CPU_PINis Linux-only.0changes nothing there. A two-socket Windows PC whose decode differs between two starts (#56: 15.1 and 19.4 tok/s) differs in something else between them, and the two starts'glm fast: CUDA<n> CPU lane:log lines are the place to compare.Why
In
src/core/glm_fast_path.cu, every piece of the pin is Linux-only:numa_nodes()reads/sys/devices/system/node/online, so on Windows it finds no nodes and the default is off.cpu_groups()andpart_cpus()read sysfs andsched_getaffinity, so on Windows they return no CPUs.gpu_numa_node()reads sysfs, so on Windows it returns -1.glmfast::pin_thread()callspthread_setaffinity_np, and elsewhere it does nothing.The pin also applies only to a layer split (
n_parts_ >= 2), so a single GPU runs unpinned on every OS.No code changes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.