mirror of
https://github.com/tcsenpai/ollama.git
synced 2025-06-09 04:35:21 +00:00
Update README.md
This commit is contained in:
parent
a15ac52fbe
commit
905568a47f
@ -39,9 +39,9 @@ go build -tags avx .
|
|||||||
```shell
|
```shell
|
||||||
# go doesn't recognize `-mfma` as a valid compiler flag
|
# go doesn't recognize `-mfma` as a valid compiler flag
|
||||||
# see https://github.com/golang/go/issues/17895
|
# see https://github.com/golang/go/issues/17895
|
||||||
go env -w "CGO_CFLAGS_ALLOW=-mfma"
|
go env -w "CGO_CFLAGS_ALLOW=-mfma|-mf16c"
|
||||||
go env -w "CGO_CXXFLAGS_ALLOW=-mfma"
|
go env -w "CGO_CXXFLAGS_ALLOW=-mfma|-mf16c"
|
||||||
go build -tags=avx2 .
|
go build -tags=avx,avx2 .
|
||||||
```
|
```
|
||||||
|
|
||||||
### CUDA
|
### CUDA
|
||||||
|
Loading…
x
Reference in New Issue
Block a user