We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ollama
GIN_MODE
Current ollama version (0.1.43) ignore the GIN_MODE environment variable:
$ GIN_MODE=release ollama serve 2024/06/17 12:15:01 routes.go:1011: INFO server config env="map[OLLAMA_DEBUG:false OLLAMA_FLASH_ATTENTION:false OLLAMA_HOST: OLLAMA_KEEP_ALIVE: OLLAMA_LLM_LIBRARY: OLLAMA_MAX_LOADED_MODELS:1 OLLAMA_MAX_QUEUE:512 OLLAMA_MAX_VRAM:0 OLLAMA_MODELS: OLLAMA_NOHISTORY:false OLLAMA_NOPRUNE:false OLLAMA_NUM_PARALLEL:1 OLLAMA_ORIGINS:[http://localhost https://localhost http://localhost:* https://localhost:* http://127.0.0.1 https://127.0.0.1 http://127.0.0.1:* https://127.0.0.1:* http://0.0.0.0 https://0.0.0.0 http://0.0.0.0:* https://0.0.0.0:* app://* file://* tauri://*] OLLAMA_RUNNERS_DIR: OLLAMA_TMPDIR:]" time=2024-06-17T12:15:01.041+02:00 level=INFO source=images.go:740 msg="total blobs: 0" time=2024-06-17T12:15:01.041+02:00 level=INFO source=images.go:747 msg="total unused blobs removed: 0" [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached. [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production. - using env: export GIN_MODE=release - using code: gin.SetMode(gin.ReleaseMode)
Other related issues: https://gitlab.archlinux.org/archlinux/packaging/packages/ollama/-/issues/5
CC @abysssol
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered:
ldflags
58e03a2
ollama: fix ldflags
f4148e4
This fix NixOS#320503
Successfully merging a pull request may close this issue.
Current
ollama
version (0.1.43) ignore theGIN_MODE
environment variable:Other related issues: https://gitlab.archlinux.org/archlinux/packaging/packages/ollama/-/issues/5
CC @abysssol
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: