Skip to content

Implementations of polygamma, lgamma, and beta functions for PyTorch

License

Notifications You must be signed in to change notification settings

rachtsingh/lgamma

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lgamma

Implementations of polygamma, lgamma, and beta functions for PyTorch. It's very hacky, but that's usually ok for research use.

To build, run:

./make.sh

You'll probably need to pass in the correct CUDA path to build.py, which is run inside make.sh, so modify it to instead call

python build.py --cuda-path YOUR_CUDA_PATH

Also, you'll probably need to change the architecture version/CUDA compute capability inside make.sh, so replace sm_35 with whatever your GPU supports. Feel free to open an issue if you run into another problem!

About

Implementations of polygamma, lgamma, and beta functions for PyTorch

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published