Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Got following error while running download.sh script #1045

Closed
Kshitij315 opened this issue Feb 27, 2024 · 1 comment
Closed

Got following error while running download.sh script #1045

Kshitij315 opened this issue Feb 27, 2024 · 1 comment

Comments

@Kshitij315
Copy link

Kshitij315 commented Feb 27, 2024

Hi I got following errors while running the bash script "download.sh"

download.sh: line 2: $'\r': command not found
download.sh: line 5: $'\r': command not found
: invalid optione 6: set: -
set: usage: set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]      
download.sh: line 7: $'\r': command not found
': not a valid identifier: `PRESIGNED_URL

': not a valid identifierd: `MODEL_SIZE
download.sh: line 13: $'\r': command not found
download.sh: line 27: syntax error near unexpected token `$'\r''
download.sh: line 27: `    (cd ${TARGET_FOLDER} && md5 tokenizer_checklist'chk)

My Runtime Environment

  • Model: [eg: llama-2-7b-chat]
  • Using via huggingface?: No
  • OS: WSL
  • GPU VRAM: AMD Radeon
  • Number of GPUs: 2
  • GPU Make: AMD
@Kshitij315
Copy link
Author

Anybody got this error you have to install dos2unix by sudo command

sudo apt-get install  dos2unix

then you can run the following

dos2unix download.sh

then you can run bash file as usual

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant