Skip to content

Default cuda 0#23

Open
Tauheed-Elahee wants to merge 2 commits intoJoshEngels:mainfrom
Tauheed-Elahee:default-cuda-0
Open

Default cuda 0#23
Tauheed-Elahee wants to merge 2 commits intoJoshEngels:mainfrom
Tauheed-Elahee:default-cuda-0

Conversation

@Tauheed-Elahee
Copy link

Change default from cuda:4 to cuda:0

JasonGross and others added 2 commits September 9, 2024 13:14
Also allow passing `--device cpu`, `--device mps`, etc to
`circle_probe_interventions.py`, and remove the logic for special
handling of numbers *n* as `cuda:n` to simplify logic.
Most machines index GPUs from 0. The previous default of cuda:4
assumed a specific multi-GPU server setup and would fail on machines
with fewer than 5 GPUs.

Depends on PR JoshEngels#11 (CPU fallback).
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