Closed yxqd closed 12 months 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
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 patchUse
python -m mcvine.acc.patch_numba reverse
to reverse the patch