From 2816d6b83185cbde5abd6780a9f5ac903a655154 Mon Sep 17 00:00:00 2001
From: Alex-Wengg
Date: Tue, 15 Sep 2026 16:01:39 -0400
Subject: [PATCH 1/2] feat(music): add INT8 quality preview
---
README.md | 2 +
music.html | 24 ++++-
packages/acestep/optimization/LEDGER.md | 3 +-
.../OPT-0090-int8-quality-preview.md | 70 ++++++++++++++
packages/acestep/src/model/package.ts | 10 +-
packages/acestep/src/runtime/protocol.ts | 11 ++-
.../acestep/src/runtime/webgpu-pipeline.ts | 43 ++++++++-
.../acestep/src/webgpu/dit-fp16-package.ts | 37 ++++++-
...-compact-semantic-head-ab-contract.test.ts | 9 +-
...production-family-profile-contract.test.ts | 11 ++-
.../test/opt-0077-result-contract.test.ts | 2 +-
.../test/opt-0078-result-contract.test.ts | 2 +-
.../test/opt-0079-result-contract.test.ts | 2 +-
.../opt-0081-registration-contract.test.ts | 2 +-
.../opt-0090-int8-quality-preview.test.ts | 96 +++++++++++++++++++
packages/acestep/test/webgpu-pipeline.test.ts | 2 +-
src/engines/musicgen-acestep/config.ts | 16 +++-
src/engines/musicgen-acestep/style.css | 23 ++++-
src/music.ts | 52 +++++++---
test/music-model-variant.test.ts | 36 +++++++
test/music-preparation.test.ts | 43 +++++++++
21 files changed, 457 insertions(+), 39 deletions(-)
create mode 100644 packages/acestep/optimization/experiments/OPT-0090-int8-quality-preview.md
create mode 100644 packages/acestep/test/opt-0090-int8-quality-preview.test.ts
create mode 100644 test/music-model-variant.test.ts
diff --git a/README.md b/README.md
index bc79613..c58be7a 100644
--- a/README.md
+++ b/README.md
@@ -40,6 +40,8 @@ the downloaded model.
The site uses ACE-Step 1.5 Turbo in direct mode. The optional planner is
available in the underlying runtime but disabled on the public music page.
+Advanced settings includes a full-size, experimental INT8 quality preview for
+listening comparisons; it does not yet provide a smaller download.
See the [ACE-Step README](packages/acestep/README.md) for implementation and
validation details.
diff --git a/music.html b/music.html
index a13657b..82d6897 100644
--- a/music.html
+++ b/music.html
@@ -100,11 +100,9 @@ ACE-Step 1.5
>Ace-Step 1.5 music generation model.
-
- The model is downloaded on first generation and cached for later visits.
-
-
- Total download size is 5.75 GB
+
+ The first generation downloads 5.75 GB, then caches
+ the model for later visits.
ACE-Step 1.5
placeholder="e.g. English"
/>
+
@@ -274,6 +284,10 @@
Preparing
Generation time
—
+
+
Model
+ —
+