jcmgray / cotengra

Hyper optimized contraction trees for large tensor networks and einsums
https://cotengra.readthedocs.io
Apache License 2.0
174 stars 32 forks source link

Instructions for building the rust lib #30

Open bnavigator opened 4 months ago

bnavigator commented 4 months ago

I noticed the Cargo.toml and src/lib.rs in the repository.

I am able to build a wheel with it by changing the build-backend from setuptools to maturin and changing the version in Cargo.toml

Any reasons why I can't find instructions on it and you don't publish an optimized version on pypi or conda-forge?

jcmgray commented 4 months ago

Hi @bnavigator, there are no reasons other than lack of time and bandwidth! Ideally the optimized versions would go into e.g. https://github.com/jcmgray/cotengrust as additional accelerated drop ins, keeping development of cotengra as a simple pure python package.

bnavigator commented 4 months ago

Okay, I will ignore the rust files in this repo then :)