Skip to content

[AMD] Fix Quark quantization on CPU-only systems#2370

Open
poganesh wants to merge 2 commits intomicrosoft:mainfrom
poganesh:fix/quark-cpu
Open

[AMD] Fix Quark quantization on CPU-only systems#2370
poganesh wants to merge 2 commits intomicrosoft:mainfrom
poganesh:fix/quark-cpu

Conversation

@poganesh
Copy link
Copy Markdown
Contributor

Describe your changes

  • Set multi_gpu and multi_device to False when no GPU is available.
  • Fixes SafetensorError: device disk is invalid caused by accelerate attempting disk offloading on CPU-only systems.

@poganesh
Copy link
Copy Markdown
Contributor Author

@devang-ml @jambayk could you please help review this PR.

@jambayk
Copy link
Copy Markdown
Contributor

jambayk commented Mar 27, 2026

CI failures not related to this PR. Caused by new transformers version. Will rerun once main is fixed.

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