modkit icon indicating copy to clipboard operation
modkit copied to clipboard

Documentation for libtorch installation

Open SuhasSrinivasan opened this issue 5 months ago • 4 comments

Dear ONT Team,

Thank you for developing modkit.

Users with Nvidia GPUs and CUDA, typically have set $LD_LIBRARY_PATH

$ echo $LD_LIBRARY_PATH
/usr/local/cuda/lib64:/usr/local/cuda/lib64

https://github.com/nanoporetech/modkit/blob/bc8a0f118e29aef0dcefdb7aa31044e343a163c9/BUILD_NOTES_tch.txt#L12

It would be better if this was

$ export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${DYLD_LIBRARY_PATH}

SuhasSrinivasan avatar Aug 04 '25 06:08 SuhasSrinivasan

It will also be helpful to learn for which modkit tools is GPU processing and torch/candle needed?

SuhasSrinivasan avatar Aug 05 '25 05:08 SuhasSrinivasan

Hello @SuhasSrinivasan,

Thanks for the suggestion. I'd be happy to accept a pull request if you like or I'll make the change in the next version.

ArtRand avatar Aug 06 '25 13:08 ArtRand

Hello @ArtRand ,

Thank you for reviewing. Happy to submit a PR, but would like clarification for the above question.

Is open chromatin the only modkit tool which is accelerated on GPU and needs torch/candle modkit versions and relevant torch libraries?

SuhasSrinivasan avatar Aug 06 '25 15:08 SuhasSrinivasan

Hi @ArtRand ,

Following up on the earlier query, I can do a PR to help!

SuhasSrinivasan avatar Aug 13 '25 04:08 SuhasSrinivasan