Closed camegone closed 10 months ago
Fixed error happen on run with Mojo v0.5.0:
$ mojo -v mojo 0.5.0 (6e50a738) $ mojo llama2.mojo stories15M.bin -s 100 -n 256 -t 0.5 -i "Mojo is a language" ./llama2.mojo/read/__init__.mojo:99:24: error: 'DTypePointer[ui8]' value has no attribute 'as_scalar_pointer' buffer.data.as_scalar_pointer(), sizeof[UInt8](), BUF_SIZE, self.handle ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ mojo: error: failed to parse the provided Mojo
Thanks @camegone for taking time to add support for 050. We just had another PR that removes dependency on read module. I merged it just now, so you should be able to run inference safely on 0.5.0
read
Fixed error happen on run with Mojo v0.5.0: