3 ms·
Surprised to see no Linux support, considering that it's a project that manages... docker.
by politelemon 3y ago
Surprised to see no Linux support, considering that it's a project that manages... docker.
- mchiang 3y agoLinux support is coming, you can build it right now by running: `CGO_ENABLED=1 go build . `
- skanga 3y agoPlease note that you NEED to have Go 1.20 CGO_ENABLED=1 go build . # github.com/jmorganca/ollama/llama llama/llama.go:141:31: undefined: unsafe.SliceData llama/llama.go:172:52: undefined: unsafe.SliceData llama/llama.go:211:45: undefined: unsafe.SliceData llama/llama.go:274:10: undefined: unsafe.SliceData llama/llama.go:275:3: undefined: unsafe.SliceData note: module requires Go 1.20
- jmorgan 3y agoThanks for mentioning this!
- jmorgan 3y agoWhile we haven't built Linux binaries yet (waiting to make sure we have _fast_ GPU support before publishing a Linux and Windows binaries) it does run on Linux. For example it's used to create and publish the "library" images (e.g. "llama2") on a linux server today If you have the Go toolchain installed, there are some steps from building it from source here: https://github.com/jmorganca/ollama#building https://github.com/jmorganca/ollama#building
- williamstein 3y agoIs this a project that “manages docker” or is it a project that has an overall design and command line interface that is inspired by Docker?
- jmorgan 3y agoDefinitely the latter!