Skip to content

refactor code to remove dependency on THC/THCDeviceUtils.cuh #23

Open
ajonnavittula wants to merge 4 commits into
ddshan:masterfrom
ajonnavittula:master
Open

refactor code to remove dependency on THC/THCDeviceUtils.cuh #23
ajonnavittula wants to merge 4 commits into
ddshan:masterfrom
ajonnavittula:master

Conversation

@ajonnavittula
Copy link
Copy Markdown

@ajonnavittula ajonnavittula commented Sep 13, 2022

THC was deprecated in pytorch >= 1.11. Replaced THC class functions with C10 and ATen functions for compatibility with pytorch >= 1.11.

@Affonso-Gui
Copy link
Copy Markdown

Worked perfectly for me with the following!

  - python=3.8
  - cudatoolkit=11.3
  - pytorch=1.12.1

@pgrady3
Copy link
Copy Markdown

pgrady3 commented Apr 26, 2023

This worked for me as well, and let me use modern versions of PyTorch with the 100 DoH detector. Thank you!

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.

3 participants