on macs, /bin/bash is an old version but many users have installed newer versions via homebrew. In this case, env bash will return the proper bash, which is needed to run the shell scripts as they depend on bash 4+ while mac ships an ancient bash version.
on macs, /bin/bash is an old version but many users have installed newer versions via homebrew. In this case, env bash will return the proper bash, which is needed to run the shell scripts as they depend on bash 4+ while mac ships an ancient bash version.
Idea from @anentropic, see https://github.com/juncongmoo/pyllama/issues/47#issuecomment-1499265114