patrick-kidger / signatory

Differentiable computations of the signature and logsignature transforms, on both CPU and GPU. (ICLR 2021)
Apache License 2.0
262 stars 35 forks source link

Apple support/build instructions #47

Open YannickLimmer opened 2 years ago

YannickLimmer commented 2 years ago

Hi, I figured out how to run the latest version of this package on MacOS. I thought I share this with you.

patrick-kidger commented 2 years ago

Great, thanks!

I think it should be possible to still require OpenMP, though. (We used to have Mac builds with OpenMP.) Either way I don't want to remove the ifndef statement. (And instead require users to modify the source code, as you're currently instructing.)

Could you add a disclaimer at the top that these are experimental/not-officially-supported instructions?

Also I don't think the business with site should be necessary - you should be able to clone anywhere.

hans-riess commented 10 months ago

Thanks for the instructions @patrick-kidger. I'm personally having some trouble still, but it could easily be just me! torch=2.2.0.dev20231018 python=3.11.5 I'm running macOS Sonoma 14.2 on M1 Pro. If you have any further tips, greatly appreciated!