- 29 Jan, 2025 1 commit
-
-
Michael Yang authored
* add build to .dockerignore * test: only build one arch * add build to .gitignore * fix ccache path * filter amdgpu targets * only filter if autodetecting * Don't clobber gpu list for default runner This ensures the GPU specific environment variables are set properly * explicitly set CXX compiler for HIP * Update build_windows.ps1 This isn't complete, but is close. Dependencies are missing, and it only builds the "default" preset. * build: add ollama subdir * add .git to .dockerignore * docs: update development.md * update build_darwin.sh * remove unused scripts * llm: add cwd and build/lib/ollama to library paths * default DYLD_LIBRARY_PATH to LD_LIBRARY_PATH in runner on macOS * add additional cmake output vars for msvc * interim edits to make server detection logic work with dll directories like lib/ollama/cuda_v12 * remove unncessary filepath.Dir, cleanup * add hardware-specific directory to path * use absolute server path * build: linux arm * cmake install targets * remove unused files * ml: visit each library path once * build: skip cpu variants on arm * build: install cpu targets * build: fix workflow * shorter names * fix rocblas install * docs: clean up development.md * consistent build dir removal in development.md * silence -Wimplicit-function-declaration build warnings in ggml-cpu * update readme * update development readme * llm: update library lookup logic now that there is one runner (#8587) * tweak development.md * update docs * add windows cuda/rocm tests --------- Co-authored-by:
jmorganca <jmorganca@gmail.com> Co-authored-by:
Daniel Hiltgen <daniel@ollama.com>
-
- 23 Jan, 2025 1 commit
-
-
Daniel Jalkut authored
-
- 21 Jan, 2025 1 commit
-
-
frob authored
-
- 20 Jan, 2025 1 commit
-
-
EndoTheDev authored
-
- 15 Jan, 2025 1 commit
-
-
Gloryjaw authored
-
- 14 Jan, 2025 1 commit
-
-
Patrick Devine authored
-
- 13 Jan, 2025 1 commit
-
-
Parth Sareen authored
-
- 29 Dec, 2024 1 commit
-
-
Anas Khan authored
Co-authored-by:Jeffrey Morgan <jmorganca@gmail.com>
-
- 27 Dec, 2024 1 commit
-
-
CIIDMike authored
-
- 20 Dec, 2024 1 commit
-
-
Patrick Devine authored
-
- 13 Dec, 2024 1 commit
-
-
Anuraag (Rag) Agrawal authored
* openai: return usage as final chunk for streams --------- Co-authored-by:ParthSareen <parth.sareen@ollama.com>
-
- 11 Dec, 2024 1 commit
-
-
Jeffrey Morgan authored
-
- 10 Dec, 2024 3 commits
-
-
Stefan Weil authored
-
Daniel Hiltgen authored
The "F" was missing.
-
Daniel Hiltgen authored
* llama: wire up builtin runner This adds a new entrypoint into the ollama CLI to run the cgo built runner. On Mac arm64, this will have GPU support, but on all other platforms it will be the lowest common denominator CPU build. After we fully transition to the new Go runners more tech-debt can be removed and we can stop building the "default" runner via make and rely on the builtin always. * build: Make target improvements Add a few new targets and help for building locally. This also adjusts the runner lookup to favor local builds, then runners relative to the executable, and finally payloads. * Support customized CPU flags for runners This implements a simplified custom CPU flags pattern for the runners. When built without overrides, the runner name contains the vector flag we check for (AVX) to ensure we don't try to run on unsupported systems and crash. If the user builds a customized set, we omit the naming scheme and don't check for compatibility. This avoids checking requirements at runtime, so that logic has been removed as well. This can be used to build GPU runners with no vector flags, or CPU/GPU runners with additional flags (e.g. AVX512) enabled. * Use relative paths If the user checks out the repo in a path that contains spaces, make gets really confused so use relative paths for everything in-repo to avoid breakage. * Remove payloads from main binary * install: clean up prior libraries This removes support for v0.3.6 and older versions (before the tar bundle) and ensures we clean up prior libraries before extracting the bundle(s). Without this change, runners and dependent libraries could leak when we update and lead to subtle runtime errors.
-
- 08 Dec, 2024 2 commits
-
-
Yannick Gloster authored
-
湛露先生 authored
-
- 06 Dec, 2024 1 commit
-
-
Parth Sareen authored
-
- 03 Dec, 2024 2 commits
- 02 Dec, 2024 1 commit
-
-
Tigran authored
-
- 30 Nov, 2024 1 commit
-
-
Jeffrey Morgan authored
-
- 21 Nov, 2024 2 commits
-
-
Jeffrey Morgan authored
-
Daniel Hiltgen authored
-
- 20 Nov, 2024 1 commit
-
-
rohitanshu authored
change 'containg' to 'containing'
-
- 19 Nov, 2024 1 commit
-
-
Patrick Devine authored
-
- 17 Nov, 2024 1 commit
-
-
Jeffrey Morgan authored
-
- 15 Nov, 2024 1 commit
-
-
Daniel Hiltgen authored
Fix a rebase glitch from the old C++ runner build model
-
- 12 Nov, 2024 2 commits
-
-
Daniel Hiltgen authored
Docker uses the container filesystem for name resolution, so we can't guide users to use the name of the host group. Instead they must specify the numeric ID.
-
Daniel Hiltgen authored
GPU support can break on some systems after a while. This captures a known workaround to solve the problem.
-
- 11 Nov, 2024 1 commit
-
-
frances720 authored
-
- 08 Nov, 2024 1 commit
-
-
Edward J. Schwartz authored
-
- 06 Nov, 2024 2 commits
-
-
Jesse Gross authored
-
Jesse Gross authored
Now that server.cpp is gone, we don't need to keep passing arguments that were only ignored and only kept for compatibility.
-
- 30 Oct, 2024 4 commits
-
-
Daniel Hiltgen authored
This will no longer error if built with regular gcc on windows. To help triage issues that may come in related to different compilers, the runner now reports the compier used by cgo.
-
Daniel Hiltgen authored
* Remove llama.cpp submodule and shift new build to top * CI: install msys and clang gcc on win Needed for deepseek to work properly on windows
-
Daniel Hiltgen authored
-
Daniel Hiltgen authored
* windows: Support alt install paths Advanced users are leveraging innosetup's /DIR switch to target an alternate location, but we get confused by things not existing in the LocalAppData dir. This also hardens the server path lookup code for a future attempt to unify with a ./bin prefix * Fit and finish improvements for windows app Document alternate install location instructions for binaries and model. Pop up progress UI for upgrades (automatic, with cancel button). Expose non-default port in menu to disambiguate mutiple instances. Set minimum Windows version to 10 22H2
-
- 29 Oct, 2024 1 commit
-
-
Daniel Hiltgen authored
* Switch over to clang for deepseek on windows The patch for deepseek requires clang on windows. gcc on windows has a buggy c++ library and can't handle the unicode characters * Fail fast with wrong compiler on windows Avoid users mistakenly building with GCC when we need clang
-
- 26 Oct, 2024 1 commit
-
-
Daniel Hiltgen authored
* Better support for AMD multi-GPU This resolves a number of problems related to AMD multi-GPU setups on linux. The numeric IDs used by rocm are not the same as the numeric IDs exposed in sysfs although the ordering is consistent. We have to count up from the first valid gfx (major/minor/patch with non-zero values) we find starting at zero. There are 3 different env vars for selecting GPUs, and only ROCR_VISIBLE_DEVICES supports UUID based identification, so we should favor that one, and try to use UUIDs if detected to avoid potential ordering bugs with numeric IDs * ROCR_VISIBLE_DEVICES only works on linux Use the numeric ID only HIP_VISIBLE_DEVICES on windows
-