Skip to content

Fix Windows CUDA dependency resolution marker mismatch#600

Closed
Copilot wants to merge 2 commits intomainfrom
copilot/fix-broken-deps-issue
Closed

Fix Windows CUDA dependency resolution marker mismatch#600
Copilot wants to merge 2 commits intomainfrom
copilot/fix-broken-deps-issue

Conversation

Copy link
Contributor

Copilot AI commented Feb 16, 2026

uv dependency resolution failed on Windows because required-environments specified platform_machine == 'AMD64' but torch dependencies only used sys_platform == 'win32'.

Changes

  • Dependencies: Added platform_machine == 'AMD64' marker to Windows torch/torchvision/torchaudio dependencies
  • Sources: Updated [tool.uv.sources] markers from sys_platform == 'win32' to (sys_platform == 'win32' and platform_machine == 'AMD64')
# Before
"torch==2.7.1+cu128; sys_platform == 'win32'",

# After  
"torch==2.7.1+cu128; sys_platform == 'win32' and platform_machine == 'AMD64'",

This aligns dependency markers with the environment specification, allowing uv to correctly resolve torch packages for Windows AMD64.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • astral.sh
    • Triggering command: /usr/bin/curl curl -LsSf REDACTED (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>[Bug] Broken Deps in Latest Commits [Win10/CUDA]</issue_title>
<issue_description>Describe the bug
Was working great for weeks, but just updated and get the log below:

To Reproduce
Steps to reproduce the behavior:

  1. Have repo from 3 days ago
  2. Update repo
  3. Run

Expected behavior
Logs

./start_gradio_ui.sh
[Update] Checking for updates...
[Update] Already up to date (2b1ad8c).

Starting ACE-Step Gradio Web UI...
Server will be available at: http://127.0.0.1:7860

[Environment] Using uv package manager...

Starting ACE-Step Gradio UI...

  × No solution found when resolving dependencies for split (platform_machine == 'AMD64' and sys_platform == 'win32'):
  ╰─▶ Because torch{sys_platform == 'win32'}==2.7.1+cu128 has no `platform_machine == 'AMD64' and sys_platform == 'win32'`-compatible wheels and your
      project depends on torch{sys_platform == 'win32'}==2.7.1+cu128, we can conclude that your project's requirements are unsatisfiable.

[Retry] Online dependency resolution failed, retrying in offline mode...

  × No solution found when resolving dependencies for split (platform_machine != 'aarch64' and sys_platform == 'win32'):
  ╰─▶ Because there is no version of torch{sys_platform == 'win32'}==2.7.1+cu128 and your project depends on torch{sys_platform == 'win32'}==2.7.1+cu128,
      we can conclude that your project's requirements are unsatisfiable.

========================================
[Error] Failed to start ACE-Step
========================================

Both online and offline modes failed.
Please check:
  1. Your internet connection (for first-time setup)
  2. If dependencies were previously installed (offline mode requires a prior successful install)
  3. Try running: uv sync --offline

 ACE-Step-1.5  (main)  "Fierce Fabe" 
☾ git log
commit 2b1ad8c229c786d0ae9f7ef9afa984d25640c51a (HEAD -> main, origin/main, origin/HEAD)
Author: Richard Beech <rp.beech@gmail.com>
Date:   Mon Feb 16 00:20:13 2026 +0000

    Refactor(handler part 12):  vae decode (#591)

commit 30fe0bfe50272aa21e141da9c3f6284202ca5cac
Author: Richard Beech <rp.beech@gmail.com>
Date:   Sun Feb 15 23:33:50 2026 +0000

    refactor(handler): extract VAE encode mixins (Part 13) (#594)

commit f76459311ae0534371ac70c0df151aa8256055d1
Author: Qing Long <qinglongshengzhe@gmail.com>
Date:   Mon Feb 16 07:33:07 2026 +0800

    Add lycoris lokr load and load lora api (#582)

commit f3d2f2aa1408c658c77ee36e37e3641fa8e0656e
Author: Sayo <ws11579@gmail.com>
Date:   Mon Feb 16 07:32:24 2026 +0800

    feat: add lora training tutorial (#593)

commit e4c4aeed5b870c0a31fea1ccaa80e024d65b21a8
Author: Richard Beech <rp.beech@gmail.com>
Date:   Sun Feb 15 23:30:19 2026 +0000

    chore(workflow): enforce independent PR branches with pre-push guard (#595)

commit 3bb3ea664dbe78b8ba42ce3dce3212382fe5d364
Author: Richard Beech <rp.beech@gmail.com>
Date:   Sun Feb 15 23:20:40 2026 +0000

    refactor(handler): decompose generate_music orchestration and add upload audio validation (Part 10 PR-1) (#590)

commit eec034ae2d9f69951879625013c79cc30cbe1158
Merge: 45d9783 248053a
Author: Sayo <ws11579@gmail.com>
Date:   Mon Feb 16 01:59:34 2026 +0800

    Merge pull request ace-step/ACE-Step-1.5#592 from ace-step/fix_start_scripts

    Fix start scripts

commit 248053a508ca9626cf49be255df008ea5926a21a (origin/fix_start_scripts)
Author: Sayo <ws11579@gmail.com>
Date:   Sun Feb 15 21:45:06 2026 +0800

    feat: add linux rocm sh

commit 626c5416253280d6b28fe0deae927b7c69842c2d
Author: Sayo <ws11579@gmail.com>
Date:   Sun Feb 15 21:44:52 2026 +0800

    feat: uv sync add offline mode

commit 2b562e57827c6f5f9bdd7f5ff33869a2b100b0f9
Author: Sayo <ws11579@gmail.com>
Date:   Sun Feb 15 09:24:37 2026 +0800

    fix: tier check auto quantization

commit 45d9783b50233a4ed8f7ef9c299e11ef2bbba120
Author: Richard Beech <rp.beech@gmail.com>
Date:   Sun Feb 15 14:09:14 2026 +0000

    Refactor(handler part 10): decompose generate_music orchestration into reques… (#588)

commit 3dbf44e154e743fa2108330211447e6e5c3676e5 (tag: v0.1.0-rc.1)
Author: Gong Junmin <1836678486@qq.com>
Date:   Sun Feb 15 20:34:47 2026 +0800

    fix: prevent stale src_audio from leaking into text2music (Custom) mode (#584)

    Custom/text2music mode operates exclusively on LM-generated audio codes
    or user-provided LM Codes Hints. It should never use src_audio.

    When switching from Remix/Repaint back to Custom, the Gradio UI hides
    the src_audio widget but does not clear its value. This caused the
    residual source audio to be processed and affect duration calculation
    and padding in text2music generation.

    Fix applied at three defence layers:
    - results_handlers.py: clear src_audio before building GenerationParams
    - inference.py: pass None to handler for text2music task_type
    - handler.py: skip process_src_audio when task_type is text2music

    Added 13...

</details>



<!-- START COPILOT CODING AGENT SUFFIX -->

- Fixes ace-step/ACE-Step-1.5#598

<!-- START COPILOT CODING AGENT TIPS -->
---

✨ Let Copilot coding agent [set things up for you](https://github.com/ace-step/ACE-Step-1.5/issues/new?title=✨+Set+up+Copilot+instructions&body=Configure%20instructions%20for%20this%20repository%20as%20documented%20in%20%5BBest%20practices%20for%20Copilot%20coding%20agent%20in%20your%20repository%5D%28https://gh.io/copilot-coding-agent-tips%29%2E%0A%0A%3COnboard%20this%20repo%3E&assignees=copilot) — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: ChuxiJ <30956809+ChuxiJ@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix broken dependencies in latest commits for Windows 10 Fix Windows CUDA dependency resolution marker mismatch Feb 16, 2026
Copilot AI requested a review from ChuxiJ February 16, 2026 02:42
"torch==2.7.1+cu128; sys_platform == 'win32'",
"torchvision==0.22.1+cu128; sys_platform == 'win32'",
"torchaudio==2.7.1+cu128; sys_platform == 'win32'",
"torch==2.7.1+cu128; sys_platform == 'win32' and platform_machine == 'AMD64'",
Copy link
Contributor

Choose a reason for hiding this comment

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

@copilot I need broader environmental compatibility. Won’t such superficial changes lead to incompatibility with many other devices?

@ChuxiJ
Copy link
Contributor

ChuxiJ commented Feb 16, 2026

@copilot

@ChuxiJ ChuxiJ closed this Feb 16, 2026
Copilot AI requested a review from ChuxiJ February 16, 2026 04:20
Copilot stopped work on behalf of ChuxiJ due to an error February 16, 2026 04:20
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