tairov / llama2.mojo

Inference Llama 2 in one file of pure 🔥
https://www.modular.com/blog/community-spotlight-how-i-built-llama2-by-aydyn-tairov
MIT License
2.09k stars 139 forks source link

typo: Just a little fixing for the rnd_seed #45

Closed rd4com closed 10 months ago

rd4com commented 10 months ago

Unhandled exception caught during execution: String is not convertible to integer.

rng_seed = atol(args[i + 1])

if args[i] == "-i":
      prompt = args[i + 1]
      rng_seed = atol(args[i + 1]) #line for if args[i] == "-s":
tairov commented 10 months ago

fixed. TY!