Skip to content

Windows (MSVC) build docs and JSON inspect fix#1

Open
smanaton wants to merge 3 commits into
Apothic-AI:masterfrom
smanaton:windows-fixes
Open

Windows (MSVC) build docs and JSON inspect fix#1
smanaton wants to merge 3 commits into
Apothic-AI:masterfrom
smanaton:windows-fixes

Conversation

@smanaton

@smanaton smanaton commented Jul 17, 2026

Copy link
Copy Markdown
Collaborator

Summary

Windows-oriented fixes that make Miyagi usable on MSVC toolchains and fix machine-readable inspect output.

  • Document Windows (MSVC) build requirements (including CUDA/Ninja notes) in the README.
  • Fix --json inspect: ArchitectureMap.tensors used tuple map keys, which serde_json cannot serialize (key must be a string). Emit tensors as a JSON sequence; each TensorInfo already carries layer + projection.
  • Unit test: JSON serialize succeeds and tensors is an array.

Test plan

  • --json inspect succeeds after the serialization change (Windows).
  • Unit test architecture_map_json_serializes_tensors_as_array.
  • Fresh Windows build from README steps on a clean machine (optional).

Notes

Fork staging: smanaton#1

smanaton and others added 2 commits July 17, 2026 18:51
serde_json cannot serialize maps with tuple keys, so every --json inspect
run failed with "key must be a string" after a full model load. Emit the
tensor list instead; each TensorInfo already carries layer and projection.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
CMake >= 4.3 for the Visual Studio 18 generator, and Ninja + vcvars64 for
CUDA builds when VS is newer than the CUDA toolkit's VS integration.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 17, 2026 18:07

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The job was not started because the account is locked due to a billing issue.

Guards the serde_json tuple-key fix for --json inspect.
@smanaton smanaton changed the title Fix --json inspect tensor-map serialization; document Windows builds Windows (MSVC) build docs and JSON inspect fix Jul 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants