mirror of
https://github.com/mw00/project-maya.git
synced 2026-12-03 21:08:26 +07:00
[PR #465] [CLOSED] ds4_gguf_test: compile on Windows (_fseeki64 instead of fseeko) #545
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#545
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/465
Author: @OscarSheng
Created: 10/24/2026
Status: ❌ Closed
Base:
main← Head:ds4-test-windows-seek📝 Commits (1)
bd0eb87ds4_gguf_test: builds on Windows again (--real seeks with _fseeki64 there)📊 Changes
1 file changed (+6 additions, -1 deletions)
View changed files
📝
tests/ds4_gguf_test.cu(+6 -1)📄 Description
v1.1.27's
tests/ds4_gguf_test.cuusesfseekoin--realmode. MSVC has nofseeko, so on Windows the test does not compile:tests\ds4_gguf_test.cu(2152): error: identifier "fseeko" is undefined, and a build ofmaya-ds4together withds4_gguf_teststops there.This uses
_fseeki64on Windows and keepsfseekoeverywhere else, the same waysrc/core/weights.cpp,src/core/pinned.cuandsrc/core/mtp.cppalready do.What it leaves alone: only this one seek in
--realchanges. On Linux and macOS the code is the same as before. The engine is not touched.How I checked (Windows 11, RTX PRO 6000 Blackwell, CUDA 12.8, MSVC 2022, sm_120):
maya-ds4andds4_gguf_testbuild,ds4_gguf_testprintsALL OK (0 failed), andtools/check_hip_compat.pypasses.--realon rows of ISTA-DASLab's GSQ-RCO IQ2_XS GGUF, from 0.01 GB to 31.8 GB into the files (past the 2 GB and 4 GB marks where a 32-bit seek would go wrong): IQ2_XXS, IQ2_XS, IQ2_S and IQ3_XXS experts, a Q5_K dense matrix and the Q5_K token embedding are all ok.🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.