Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
codingl2k1 committed Jan 25, 2025
1 parent acbc8f3 commit 6d1de8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xinference/model/llm/transformers/qwen2_audio.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ def load(self):

device = self._pytorch_model_config.get("device", "auto")
device = select_device(device)
self._device = device
# for multiple GPU, set back to auto to make multiple devices work
device = "auto" if device == "cuda" else device
self._device = device

self._processor = AutoProcessor.from_pretrained(
self.model_path,
Expand Down

0 comments on commit 6d1de8a

Please sign in to comment.