mirror of
https://github.com/astral-sh/uv.git
synced 2025-11-20 03:49:54 +00:00
Add XPU to --torch-backend (#14172)
## Summary Like ROCm, no auto-detection for now.
This commit is contained in:
parent
0133bcc8ca
commit
e59835d50c
5 changed files with 27 additions and 0 deletions
|
|
@ -86,4 +86,10 @@ mod tests {
|
|||
let url = DisplaySafeUrl::parse("https://download.pytorch.org/whl/cpu").unwrap();
|
||||
assert_eq!(SystemDependency::from_index(&url), None);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn pytorch_xpu() {
|
||||
let url = DisplaySafeUrl::parse("https://download.pytorch.org/whl/xpu").unwrap();
|
||||
assert_eq!(SystemDependency::from_index(&url), None);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue