Skip to content

Compile with TORCH_USE_CUDA_DSA #232

Description

@NoOneEqualsToNone

i tried enabling and setting the variables and etc etc not working and please help

Traceback (most recent call last):
File "D:\OOTDiffusion\run\gradio_ootd.py", line 27, in
openpose_model_dc = OpenPose(1)
File "D:\OOTDiffusion\preprocess\openpose\run_openpose.py", line 30, in init
torch.cuda.set_device(gpu_id)
File "D:\OOTDiffusion\lib\site-packages\torch\cuda_init_.py", line 350, in set_device
torch._C._cuda_setDevice(device)
RuntimeError: CUDA error: invalid device ordinal
Compile with TORCH_USE_CUDA_DSA to enable device-side assertions.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions