juncongmoo / pyllama

LLaMA: Open and Efficient Foundation Language Models
GNU General Public License v3.0
2.8k stars 312 forks source link

add a shebang to all shell files #70

Closed llimllib closed 1 year ago

llimllib commented 1 year ago

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