mcvine / acc

Accelerated mcvine engine
0 stars 1 forks source link

Move Numba patch script into the distribution #125

Closed yxqd closed 12 months ago

yxqd commented 1 year ago

Refs https://numba.discourse.group/t/avoid-multiple-copies-of-large-numpy-array-in-closure/2017

Usage:

Use python -m mcvine.acc.patch_numba to apply the patch

Use python -m mcvine.acc.patch_numba reverse to reverse the patch

yxqd commented 1 year ago

@granrothge @ckendrick I added the numba patch in the mcvine.acc distribution. This way, after conda installation of mcvine.acc, the sys admin can run

python -m mcvine.acc.patch_numba

to apply the patch.

I think we don't need to add it to the conda post-install script