repo
stringclasses
15 values
fix_commit
stringlengths
40
40
buggy_commit
stringlengths
40
40
message
stringlengths
3
64.3k
files
listlengths
1
300
timestamp
timestamp[s]date
2013-03-13 20:45:00
2026-04-11 07:48:46
rust-lang/rust
c00a5c08897b72e0aad2984101e1a2a938e6b365
90384941aae4ea38de00e4702b50757e9b882a19
Fix post-merge workflow The command is called `post-merge-report` not `post-merge-analysis`.
[ { "path": ".github/workflows/post-merge.yml", "patch": "@@ -36,7 +36,7 @@ jobs:\n cd src/ci/citool\n \n echo \"Post-merge analysis result\" > output.log\n- cargo run --release post-merge-analysis ${PARENT_COMMIT} ${{ github.sha }} >> output.log\n+ cargo run --release po...
2025-03-11T04:06:38
ollama/ollama
bd1d119ba9369804b71fb7e8564a16d98c8a26cd
a03be18189b5cc3b8eb07efde68d358a4293471e
fixed japanese characters deleted at end of line
[ { "path": "cmd/cmd.go", "patch": "@@ -755,7 +755,11 @@ func displayResponse(content string, wordWrap bool, state *displayResponseState)\n \t\t\t\t}\n \n \t\t\t\t// backtrack the length of the last word and clear to the end of the line\n-\t\t\t\tfmt.Printf(\"\\x1b[%dD\\x1b[K\\n\", runewidth.StringWidth(state...
2024-05-30T17:24:21
huggingface/transformers
0fdea8607d7e01eb0e38a1ebeb7feee30a22f0cf
fe008d6ebea1f5770b740991daeefd9322fa434a
Fix tests after `huggingface_hub` 0.24 (#32054) * adapt tests * style * comment
[ { "path": "tests/trainer/test_trainer.py", "patch": "@@ -3739,47 +3739,60 @@ def get_commit_history(self, repo):\n \n def test_push_to_hub_with_saves_each_epoch(self):\n with tempfile.TemporaryDirectory() as tmp_dir:\n- trainer = get_regression_trainer(\n- output_dir=os...
2024-07-19T18:32:39
ggml-org/llama.cpp
1d6d4cf7a5361046f778414c5b1f5ecbc07eeb77
744c0c7310aad90e99a29c5739e4ee317fb6a748
fix: tool call parsing for LFM2 and LFM2.5 models (#21242) * fix: tool call parsing for LFM2 and LFM2.5 models' * refactor: add test / break out lfm2 and lfm2.5 parsing logic
[ { "path": "common/chat.cpp", "patch": "@@ -1274,11 +1274,12 @@ static common_chat_params common_chat_params_init_kimi_k2(const common_chat_temp\n return data;\n }\n \n-// LFM2 format:\n-// - Reasoning: <think>{reasoning}</think> (optional, only if enable_thinking is true)\n-// - Content: text after reas...
2026-04-01T14:22:44
golang/go
979e1376096a4c1c7525f33dd4e76414f63c93fb
cb4df9833474d36c6e4cb005682215047b5f0979
cmd/go: add GOVCS setting to control version control usage The go command runs commands like git and hg to download modules. In the past, we have had problems with security bugs in version control systems becoming security bugs in “go get”. The original modules draft design removed use of these commands entirely, say...
[ { "path": "src/cmd/go/alldocs.go", "patch": "@@ -49,10 +49,11 @@\n // \tmodules modules, module versions, and more\n // \tmodule-get module-aware go get\n // \tmodule-auth module authentication using go.sum\n-// \tmodule-private module configuration for non-public modules\n // \tpackages ...
2020-10-29T14:57:38
rust-lang/rust
55505ab1d3da2ad201303674cb6d3ebeb53e395d
c9c838795554901fa22ad14c2d34f270567aaa27
Add `unreachable_pub` to `RUSTC_LINT_FLAGS` for `compiler/` crates. And fix the new errors in the handful of crates that didn't have a `#![warn(unreachable_pub)]`.
[ { "path": "compiler/rustc_baked_icu_data/src/lib.rs", "patch": "@@ -23,6 +23,7 @@\n // tidy-alphabetical-start\n #![allow(elided_lifetimes_in_paths)]\n #![allow(internal_features)]\n+#![allow(unreachable_pub)] // because this crate is mostly generated code\n #![doc(rust_logo)]\n #![feature(rustdoc_internals...
2025-03-11T00:51:07
nodejs/node
3549d9c2bced4031a6887a86e4eaaafd8a7e3538
69a68c0b24b68a9f2d3e64fb0f968772f113f813
2017-12-05, Version 6.12.1 'Boron' (LTS) Notable Changes: * build: - fix npm install with --shared (Ben Noordhuis) https://github.com/nodejs/node/pull/16438 * build: - building with python 3 is now supported (Emily Marigold Klassen) https://github.com/nodejs/node/pull/16058 * src: - v8 options can be sp...
[ { "path": "CHANGELOG.md", "patch": "@@ -53,7 +53,8 @@ release.\n <a href=\"doc/changelogs/CHANGELOG_V8.md#8.0.0\">8.0.0</a><br/>\n </td>\n <td valign=\"top\">\n-<b><a href=\"doc/changelogs/CHANGELOG_V6.md#6.12.0\">6.12.0</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V6.md#6.12.1\">6.12.1</a></b...
2017-11-21T10:08:10
huggingface/transformers
fe008d6ebea1f5770b740991daeefd9322fa434a
62aa270f2ab3acca2a58cde8f08400ec49330b03
Chameleon: not supported with fast load (#32091) fixes
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -761,7 +761,7 @@\n - local: model_doc/bros\n title: BROS\n - local: model_doc/chameleon\n- title: chameleon\n+ title: Chameleon\n - local: model_doc/chinese_clip\n title: Chinese-CLIP\n - local: model...
2024-07-19T14:21:45
ollama/ollama
a03be18189b5cc3b8eb07efde68d358a4293471e
96bc232b43b072a0ffa8cb1d633c6d55f96c9cbb
Fix OLLAMA_LLM_LIBRARY with wrong map name and add more env vars to help message (#4663) * envconfig/config.go: Fix wrong description of OLLAMA_LLM_LIBRARY Signed-off-by: Lei Jitang <leijitang@outlook.com> * serve: Add more env to help message of ollama serve Add more enviroment variables to `ollama serve --...
[ { "path": "cmd/cmd.go", "patch": "@@ -1251,6 +1251,9 @@ func NewCLI() *cobra.Command {\n \t\t\t\tenvVars[\"OLLAMA_NOPRUNE\"],\n \t\t\t\tenvVars[\"OLLAMA_ORIGINS\"],\n \t\t\t\tenvVars[\"OLLAMA_TMPDIR\"],\n+\t\t\t\tenvVars[\"OLLAMA_FLASH_ATTENTION\"],\n+\t\t\t\tenvVars[\"OLLAMA_LLM_LIBRARY\"],\n+\t\t\t\tenvVa...
2024-05-30T16:36:51
rust-lang/rust
c9c838795554901fa22ad14c2d34f270567aaa27
9fb94b32df38073bf63d009df77ed10cb1c989d0
Use `RUSTC_LINT_FLAGS` more. For the `Mode::Rustc` lints as well. Because, unlike `RUSTC_FLAGS`, `RUSTC_LINT_FLAGS` is not ignored for proc macro crates. Fixes #138106.
[ { "path": "src/bootstrap/src/core/builder/cargo.rs", "patch": "@@ -1045,8 +1045,11 @@ impl Builder<'_> {\n // so this line allows the use of custom libcs.\n cargo.env(\"LIBC_CHECK_CFG\", \"1\");\n \n+ let mut lint_flags = Vec::new();\n+\n+ // Lints for all in-tree code: compile...
2025-03-11T00:46:54
golang/go
f858c221270addffaceb668196caf7fd8ceb0019
22312437ee1e72451c70b79c90e36ad0b849e3f6
cmd/go/internal/modget: fix a typo introduced in CL 263267 Updates #37438 Change-Id: I78f377afd73dad75aed219836725a27fbaa5b69c Reviewed-on: https://go-review.googlesource.com/c/go/+/268117 Trust: Bryan C. Mills <bcmills@google.com> Run-TryBot: Bryan C. Mills <bcmills@google.com> Reviewed-by: Dan Peterson <dpiddy@gmai...
[ { "path": "src/cmd/go/alldocs.go", "patch": "@@ -617,8 +617,8 @@\n // dependency should be removed entirely, downgrading or removing modules\n // depending on it as needed.\n //\n-// The version suffix @latest explicitly requests the latest minor release ofthe\n-// module named by the given path. The suffix...
2020-11-06T20:15:44
nodejs/node
a322b8e31671a1e6b1a4581e76dd696e00a393e6
cf4448cbd48e2da0f9461709f27b6cb41ddd2c87
test: make common.mustNotCall show file:linenumber When a test fails via `common.mustNotCall` it is sometimes hard to determine exactly what was called. This modification stores the caller's file and line number by using the V8 Error API to capture a stack at the time `common.mustNotCall()` is called. In the event of ...
[ { "path": "test/common/README.md", "patch": "@@ -133,6 +133,12 @@ a reason otherwise.\n \n Returns an instance of all possible `ArrayBufferView`s of the provided Buffer.\n \n+### getCallSite(func)\n+* `func` [&lt;Function>]\n+* return [&lt;String>]\n+\n+Returns the file name and line number for the provided...
2017-11-22T18:49:50
ggml-org/llama.cpp
0356e33aafcc1cb409910244482fac1ec8bafe9f
6422036fcb32d72e3aca93dcf97fdfeeca20c27d
scripts: add function call test script (#21234) * scripts: add function call test script * add reasoning_content * fix lint
[ { "path": "scripts/server-test-function-call.py", "patch": "@@ -0,0 +1,1135 @@\n+#!/usr/bin/env python3\n+\"\"\"\n+Test tool calling capability via chat completions endpoint.\n+\n+Each test case contains:\n+ - tools: list of tool definitions (OpenAI-compatible)\n+ - messages: initial conversation messages...
2026-04-01T13:31:58
huggingface/transformers
89575b567e061fd87bdd655ba188b6c7a922d54a
46835ec6aed62e9a73784f1b6a43030afd601e5e
Support generating with fallback for short form audio in Whisper (#30984) * remove is_shortform * adapt _retrieve_max_frames_and_seek for short_form * return bos token in short and long form * add decoder_input_ids to short form audios * add eos token for short form * handle short form token_timestamps...
[ { "path": "src/transformers/models/whisper/generation_whisper.py", "patch": "@@ -23,6 +23,8 @@\n import torch.nn.functional as F\n from torch import nn\n \n+from transformers.cache_utils import EncoderDecoderCache\n+\n from ...generation.configuration_utils import GenerationConfig\n from ...generation.logit...
2024-07-19T12:42:22
ollama/ollama
45cbfc5aee6af8e53b99b38e6aa49152df10db81
6d423b383b340b4fd5e99ab03c1e22ad8a59c56d
fix wsl2 status check for nvidia cards (#4689)
[ { "path": "scripts/install.sh", "patch": "@@ -134,7 +134,7 @@ fi\n # WSL2 only supports GPUs via nvidia passthrough\n # so check for nvidia-smi to determine if GPU is available\n if [ \"$IS_WSL2\" = true ]; then\n- if available nvidia-smi && [ -z \"$(nvidia-smi | grep -o \"CUDA Version: [0-9]*\\.[0-9]*\"...
2024-05-28T21:49:46
rust-lang/rust
3c74d02319ea8ebbfd16f70f3154ce0aef87ae5c
3ea711f17e3946ac3f4df11691584e2c56b4b0cf
debug-assert that the size_hint is well-formed in `collect`
[ { "path": "library/core/src/iter/traits/iterator.rs", "patch": "@@ -1968,6 +1968,15 @@ pub trait Iterator {\n where\n Self: Sized,\n {\n+ // This is too aggressive to turn on for everything all the time, but PR#137908\n+ // accidentally noticed that some rustc iterators had mal...
2025-03-11T01:22:28
golang/go
22312437ee1e72451c70b79c90e36ad0b849e3f6
7307e86afda3c5c7f6158d2469c39606fd1dba65
crypto/tls: pool Conn's outBuf to reduce memory cost of idle connections Derived from CL 263277, which includes benchmarks. Fixes #42035 Co-authored-by: Filippo Valsorda <filippo@golang.org> Change-Id: I5f28673f95d4568b7d13dbc20e9d4b48d481a93d Reviewed-on: https://go-review.googlesource.com/c/go/+/267957 Run-TryBot:...
[ { "path": "src/crypto/tls/conn.go", "patch": "@@ -94,7 +94,6 @@ type Conn struct {\n \trawInput bytes.Buffer // raw input, starting with a record header\n \tinput bytes.Reader // application data waiting to be read, from rawInput.Next\n \thand bytes.Buffer // handshake data waiting to be read\n-\t...
2020-10-19T12:55:46
ggml-org/llama.cpp
e1cb817483ebda4e3ebc30fd07f4292c654f4339
88d5f8ffc398f9d6dbe529e3f0f0c739eabeafa7
memory: respect unified KV cache in hybrid memory for eval tasks (#21224) The hybrid memory paths (`llama-memory-hybrid.cpp` and `llama-memory-hybrid-iswa.cpp`) always used sequential equal split, ignoring the unified KV cache flag. This caused hellaswag, winogrande, and multiple-choice evaluations to fail on hybrid m...
[ { "path": "src/llama-memory-hybrid-iswa.cpp", "patch": "@@ -73,9 +73,9 @@ llama_memory_context_ptr llama_memory_hybrid_iswa::init_batch(llama_batch_allocr\n // if all tokens are output, split by sequence\n ubatch = balloc.split_seq(n_ubatch);\n } else {\n- ...
2026-04-01T09:50:17
huggingface/transformers
46835ec6aed62e9a73784f1b6a43030afd601e5e
4bd8f12972c6ad06e264baa39f17ec9dfa9a5cb2
Add image-text-to-text task guide (#31777) * Add image-text-to-text task page * Update docs/source/en/tasks/image_text_to_text.md Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com> * Update docs/source/en/tasks/image_text_to_text.md Co-authored-by: Steven Liu <59462357+stevhliu@users.n...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -92,6 +92,8 @@\n title: Visual Question Answering\n - local: tasks/text-to-speech\n title: Text to speech\n+ - local: tasks/image_text_to_text\n+ title: Image-text-to-text\n title: Multimodal\n - isExpanded: false\n sect...
2024-07-19T12:40:40
nodejs/node
f29992206807ca3c483301a88688f456cbcd3bf6
f9660b71668c2edb20d13760a9a5bcbb76a20fbd
test: remove fixturesDir from common module Remove common.fixturesDir. All tests now use the the common/fixtures module instead. PR-URL: https://github.com/nodejs/node/pull/17400 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Anna Henningsen <anna@addaleax.net> Re...
[ { "path": "test/common/README.md", "patch": "@@ -127,11 +127,6 @@ Returns a new promise that will propagate `promise` resolution or rejection if\n that happens within the `timeoutMs` timespan, or rejects with `error` as\n a reason otherwise.\n \n-### fixturesDir\n-* [&lt;String>]\n-\n-Path to the 'fixtures'...
2017-12-02T09:26:35
ollama/ollama
ad897080a299bf86aee16b498edb5ddb250edd35
b7d316d98d6f6393c58eb8235c07d896d7a479ea
working on integration of multi-byte and multi-width runes (#4549) * integrated runewidth for display management - fixed cursor movement for mutli-width char * updated input and deletion of multi-byte chars * fixed line history with some exceptions * improved insert and add * fixed issues with moving acros...
[ { "path": "readline/buffer.go", "patch": "@@ -5,16 +5,20 @@ import (\n \t\"os\"\n \n \t\"github.com/emirpasic/gods/lists/arraylist\"\n+\t\"github.com/mattn/go-runewidth\"\n \t\"golang.org/x/term\"\n )\n \n type Buffer struct {\n-\tPos int\n-\tBuf *arraylist.List\n-\tPrompt *Prompt\n-\tLineWid...
2024-05-28T19:04:03
ggml-org/llama.cpp
88d5f8ffc398f9d6dbe529e3f0f0c739eabeafa7
d43375ff7f73e5098837c20512aa58f4bc8edb02
CUDA/HIP: Fix kernel slection for mmvq mmid kernel to align host selection with device launch bounds (#21238) The conditions cc == GGML_CUDA_CC_VOLTA || cc >= GGML_CUDA_CC_ADA_LOVELACE and cc >= GGML_CUDA_CC_TURING match all non-nvidia devices. This causes us to attempt to launch the kernel for batch sizes with larger...
[ { "path": "ggml/src/ggml-cuda/mmvq.cu", "patch": "@@ -235,30 +235,33 @@ static constexpr __host__ __device__ int get_mmvq_mmid_max_batch_rdna4(ggml_type\n // Host function: returns the max batch size for the current arch+type at runtime.\n int get_mmvq_mmid_max_batch(ggml_type type, int cc) {\n // NVIDI...
2026-04-01T08:21:20
golang/go
7307e86afda3c5c7f6158d2469c39606fd1dba65
afe7c8d0b25f26f0abd749ca52c7e1e7dfdee8cb
test/codegen: go fmt Fixes #42445 Change-Id: I9653ef094dba2a1ac2e3daaa98279d10df17a2a1 Reviewed-on: https://go-review.googlesource.com/c/go/+/268257 Trust: Alberto Donizetti <alb.donizetti@gmail.com> Trust: Martin Möhrmann <moehrmann@google.com> Run-TryBot: Alberto Donizetti <alb.donizetti@gmail.com> TryBot-Result: G...
[ { "path": "test/codegen/bits.go", "patch": "@@ -344,11 +344,11 @@ func bitSetTest(x int) bool {\n // mask contiguous one bits\n func cont1Mask64U(x uint64) uint64 {\n \t// s390x:\"RISBGZ\\t[$]16, [$]47, [$]0,\"\n-\treturn x&0x0000ffffffff0000\n+\treturn x & 0x0000ffffffff0000\n }\n \n // mask contiguous zer...
2020-11-08T08:44:33
nodejs/node
f9660b71668c2edb20d13760a9a5bcbb76a20fbd
c84710d062dfa4b39f0aa819a61c91d513ab5d1b
test: remove common.fixturesDir from tests Use common/fixtures module instead of common.fixturesDir. PR-URL: https://github.com/nodejs/node/pull/17400 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luig...
[ { "path": "test/parallel/test-tls-interleave.js", "patch": "@@ -26,15 +26,13 @@ if (!common.hasCrypto)\n common.skip('missing crypto');\n \n const assert = require('assert');\n-\n const tls = require('tls');\n \n-const fs = require('fs');\n+const fixtures = require('../common/fixtures');\n \n-const dir = ...
2017-12-02T09:26:03
ollama/ollama
b7d316d98d6f6393c58eb8235c07d896d7a479ea
d7339fad520df940d4d1ff6aa8553c7be421ccd2
fix nvidia detection in install script (#4683)
[ { "path": "scripts/install.sh", "patch": "@@ -153,6 +153,11 @@ check_gpu() {\n esac\n }\n \n+if check_gpu nvidia-smi; then\n+ status \"NVIDIA GPU installed.\"\n+ exit 0\n+fi\n+\n if ! check_gpu lspci nvidia && ! check_gpu lshw nvidia && ! check_gpu lspci amdgpu && ! check_gpu lshw amdgpu; then\n ...
2024-05-28T16:59:36
ggml-org/llama.cpp
d43375ff7f73e5098837c20512aa58f4bc8edb02
2b86e5cae616c167b9c730c93138f26bba724adf
ggml : fix RWKV ops thread assignment (#21226)
[ { "path": "ggml/src/ggml-cpu/ggml-cpu.c", "patch": "@@ -2350,11 +2350,15 @@ static int ggml_get_n_tasks(struct ggml_tensor * node, int n_threads) {\n case GGML_OP_FLASH_ATTN_BACK:\n case GGML_OP_SSM_CONV:\n case GGML_OP_SSM_SCAN:\n+ {\n+ n_tasks = n_threads;...
2026-04-01T08:10:25
golang/go
afe7c8d0b25f26f0abd749ca52c7e1e7dfdee8cb
5e371e0f93c5618a36f66afdd9c6047a5955c101
testing: increase benchmark output to four significant figures Currently, the benchmark output from the testing package prints small values with three significant figures. This means it can only distinguish 1 part in 100, or a 1% error, which can be enough to throw off further analysis of the output. This CL increases...
[ { "path": "src/testing/benchmark.go", "patch": "@@ -451,23 +451,27 @@ func (r BenchmarkResult) String() string {\n \n func prettyPrint(w io.Writer, x float64, unit string) {\n \t// Print all numbers with 10 places before the decimal point\n-\t// and small numbers with three sig figs.\n+\t// and small number...
2020-11-02T13:48:23
ollama/ollama
7487229c343e5177356a40ddc5061a9fc6dfaded
8a8e7afa968f9c241a6bf85e2e9f711e8be41c7c
llm/server.go: Fix 2 minor typos (#4661) Signed-off-by: Lei Jitang <leijitang@outlook.com>
[ { "path": "llm/server.go", "patch": "@@ -24,9 +24,9 @@ import (\n \t\"golang.org/x/sync/semaphore\"\n \n \t\"github.com/ollama/ollama/api\"\n+\t\"github.com/ollama/ollama/envconfig\"\n \t\"github.com/ollama/ollama/format\"\n \t\"github.com/ollama/ollama/gpu\"\n-\t\"github.com/ollama/ollama/envconfig\"\n )\n...
2024-05-28T00:21:10
nodejs/node
845633a7c62ad9ffd33880a43e05a49382bb76bb
31e0dbc0c700e7bb8fa453258ba0233975ece575
crypto: better docs for cases where peer's public key is invalid changes in c++ are in the computeSecret function, but the thrown exception that was moved to JS land was in BufferToPoint function, here i let the allocation error be thrown so the only value returned is the nullptr that i use later to catch the error in...
[ { "path": "doc/api/crypto.md", "patch": "@@ -651,7 +651,11 @@ added: v0.11.14\n changes:\n - version: v6.0.0\n pr-url: https://github.com/nodejs/node/pull/5522\n- description: The default `inputEncoding` changed from `binary` to `utf8`.\n+ description: The default `inputEncoding` changed from `b...
2017-11-06T22:22:42
ggml-org/llama.cpp
2b86e5cae616c167b9c730c93138f26bba724adf
88458164c77509d2022e45f71aaf97040667abe2
ggml-cpu: fix fallback for RVV kernels without zvfh (#21157) * ggml-cpu: refactor sgemm; fix rvv checks * ggml-cpu: refactor rvv kernels; set zvfbfwma default to off
[ { "path": "ggml/CMakeLists.txt", "patch": "@@ -166,15 +166,16 @@ if (NOT MSVC)\n option(GGML_AMX_INT8 \"ggml: enable AMX-INT8\" OFF)\n option(GGML_AMX_BF16 \"ggml: enable AMX-BF16\" OFF)\n endif()\n-option(GGML_LASX \"ggml: enable lasx\" ON)\n-option(G...
2026-04-01T08:10:03
golang/go
2c80de74d57de74cc50ba7195392cada4e9c3ea2
bb9a96d03a35ab56f3e1a3e6a6c835f7f2120d54
cmd/link: fix invalid usage of reflect.SliceHeader Caught by "go vet" built with golang.org/cl/248192. Change-Id: I446083533dd82ecef8db591beb7bd3d70b040d4a Reviewed-on: https://go-review.googlesource.com/c/go/+/268099 Trust: Cuong Manh Le <cuong.manhle.vn@gmail.com> Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.co...
[ { "path": "src/cmd/link/internal/ld/outbuf_windows.go", "patch": "@@ -35,7 +35,10 @@ func (out *OutBuf) Mmap(filesize uint64) error {\n \tif err != nil {\n \t\treturn err\n \t}\n-\t*(*reflect.SliceHeader)(unsafe.Pointer(&out.buf)) = reflect.SliceHeader{Data: ptr, Len: int(filesize), Cap: int(filesize)}\n+\t...
2020-11-07T05:03:36
ggml-org/llama.cpp
88458164c77509d2022e45f71aaf97040667abe2
49512502359b9d3a5ea589c215396513c53fe064
CUDA: Add Flash Attention Support for Head Dimension 512 (#20998) * flash attention support for head dimension 512 added * FA D=512 - match 576 configs, limit ncols2, revert vec cap * fix HIP tile kernel build for D=512 * fix HIP tile kernel occupancy for D=512 on AMD * Apply suggestions from code review Co-autho...
[ { "path": "ggml/src/ggml-cuda/fattn-mma-f16.cuh", "patch": "@@ -66,6 +66,11 @@ static constexpr __host__ __device__ fattn_mma_config ggml_cuda_fattn_mma_get_co\n GGML_CUDA_FATTN_MMA_CONFIG_CASE(256, 256, 32, 128, 2, 32, 128, 128, 128, 2, true);\n GGML_CUDA_FATTN_MMA_CONFIG_CASE(256, 256, 64, 128, 2...
2026-04-01T07:07:24
ollama/ollama
8a8e7afa968f9c241a6bf85e2e9f711e8be41c7c
c79f8c9c3934ee8c9507ab89d4ec31c16bbd0fd8
small fix on examples/python-simplechat/client.py to actually get a streamed response and get tokens printed as we receive it (#4671)
[ { "path": "examples/python-simplechat/client.py", "patch": "@@ -9,6 +9,7 @@ def chat(messages):\n r = requests.post(\n \"http://0.0.0.0:11434/api/chat\",\n json={\"model\": model, \"messages\": messages, \"stream\": True},\n+\tstream=True\n )\n r.raise_for_status()\n output =...
2024-05-28T00:19:20
nodejs/node
4b30287966e13c33b2ff7c02baf9be865e38d2dd
19221d1d6f8a4371a3cef76b0aa9f5d5c7b5a2a9
test: add test case for throwing an exception with vm.Script It failed with `FATAL ERROR: v8::ToLocalChecked Empty MaybeLocal`. PR-URL: https://github.com/nodejs/node/pull/17343 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmai...
[ { "path": "test/parallel/test-vm-script-throw-in-tostring.js", "patch": "@@ -0,0 +1,14 @@\n+'use strict';\n+\n+require('../common');\n+const assert = require('assert');\n+\n+const vm = require('vm');\n+\n+assert.throws(() => {\n+ new vm.Script({\n+ toString() {\n+ throw new Error();\n+ }\n+ });...
2017-11-28T14:13:38
huggingface/transformers
4bd8f12972c6ad06e264baa39f17ec9dfa9a5cb2
566b0f1fbf5feb53a18591ca215a8d1245a790ef
Fixes to chameleon docs (#32078) * Fixes * Let's not use auto
[ { "path": "docs/source/en/model_doc/chameleon.md", "patch": "@@ -34,13 +34,13 @@ being competitive with models such as Mixtral 8x7B and Gemini-Pro, and performs\n generation, all in a single model. It also matches or exceeds the performance of much larger models,\n including Gemini Pro and GPT-4V, according...
2024-07-19T11:50:34
golang/go
bb9a96d03a35ab56f3e1a3e6a6c835f7f2120d54
a6755fc0debc3005e8bd730521ecc8dba61a24e8
os/exec: use "pfiles" for fd debugging on illumos On illumos (and Solaris) systems, the native "pfiles" tool provides the best information about open file descriptors for a process: https://illumos.org/man/1/pfiles Use that instead of "lsof" when debugging file descriptor leaks. Updates #42431. Change-Id: If12...
[ { "path": "src/os/exec/read3.go", "patch": "@@ -56,7 +56,7 @@ func main() {\n \t\t\tswitch runtime.GOOS {\n \t\t\tcase \"plan9\":\n \t\t\t\targs = []string{fmt.Sprintf(\"/proc/%d/fd\", os.Getpid())}\n-\t\t\tcase \"aix\":\n+\t\t\tcase \"aix\", \"solaris\", \"illumos\":\n \t\t\t\targs = []string{fmt.Sprint(os...
2020-11-06T21:11:58
rust-lang/rust
9e5c942286f8d2367987daac856300447ee43776
2b4694a69804f89ff9d47d1a427f72c876f7f44c
Mark some std tests as requiring `panic = "unwind"` This allows these test modules to pass on builds/targets without unwinding support, where `panic = "abort"` - the ignored tests are for functionality that's not supported on those targets.
[ { "path": "library/std/src/thread/tests.rs", "patch": "@@ -108,6 +108,7 @@ fn test_is_finished() {\n }\n \n #[test]\n+#[cfg_attr(not(panic = \"unwind\"), ignore = \"test requires unwinding support\")]\n fn test_join_panic() {\n match thread::spawn(move || panic!()).join() {\n result::Result::Err...
2025-03-10T15:31:06
ggml-org/llama.cpp
0fcb3760b2b9a3a496ef14621a7e4dad7a8df90f
6307ec07d3ad730f21886fb484cdb4abe1e74091
fix: Use lower-case proxy headers naming (#21235)
[ { "path": "tools/server/public/index.html", "patch": "@@ -18,7 +18,7 @@\n \t\t<div style=\"display: contents\">\n \t\t\t<script>\n \t\t\t\t{\n-\t\t\t\t\t__sveltekit_1snwavw = {\n+\t\t\t\t\t__sveltekit_1trm5n9 = {\n \t\t\t\t\t\tbase: new URL('.', location).pathname.slice(0, -1)\n \t\t\t\t\t};\n ", "addit...
2026-03-31T15:47:46
nodejs/node
19221d1d6f8a4371a3cef76b0aa9f5d5c7b5a2a9
e9e9863ca7ba61ea4e1b5a28c18b29e449f87f00
src: use non-deprecated versions of `->To*()` utils Squashed from multiple commits: - src: replace ->To*(isolate) with ->To*(context).ToLocalChecked() - test: use .As<Object> on Exception::Error > Exception::Error always returns an object, so e.As<Object>() should also work fine See https://github.com/nodejs/no...
[ { "path": "src/node.cc", "patch": "@@ -589,7 +589,7 @@ Local<Value> ErrnoException(Isolate* isolate,\n }\n e = Exception::Error(cons);\n \n- Local<Object> obj = e->ToObject(env->isolate());\n+ Local<Object> obj = e.As<Object>();\n obj->Set(env->errno_string(), Integer::New(env->isolate(), errorno));...
2017-11-27T07:16:32
huggingface/transformers
566b0f1fbf5feb53a18591ca215a8d1245a790ef
e316c5214fe51de0bf8e824245bfd6225c9925aa
Fix progress callback deepcopy (#32070) * Replacing ProgressCallbacks deepcopy with a shallowcopy * Using items instead of entries * code cleanup for copy in trainer callback * Style fix for ProgressCallback
[ { "path": "src/transformers/trainer_callback.py", "patch": "@@ -16,7 +16,6 @@\n Callbacks to use with the Trainer class and customize the training loop.\n \"\"\"\n \n-import copy\n import dataclasses\n import json\n from dataclasses import dataclass\n@@ -617,13 +616,16 @@ def on_predict(self, args, state, c...
2024-07-19T10:56:45
golang/go
a6755fc0debc3005e8bd730521ecc8dba61a24e8
d51ae669363fdd4a741db7f0193e7e6ebc639ff3
cmd/compile: check indirect connection between if block and phi block in addLocalInductiveFacts CL 244579 added guard clauses to prevent a faulty state that was possible under the incorrect logic of the uniquePred loop in addLocalInductiveFacts. That faulty state was still making the intended optimization, but not for...
[ { "path": "src/cmd/compile/internal/ssa/prove.go", "patch": "@@ -1082,7 +1082,7 @@ func addLocalInductiveFacts(ft *factsTable, b *Block) {\n \t\t\treturn nil\n \t\t}\n \t\tpred, child := b.Preds[1].b, b\n-\t\tfor ; pred != nil; pred = uniquePred(pred) {\n+\t\tfor ; pred != nil; pred, child = uniquePred(pred...
2020-07-31T05:57:48
ggml-org/llama.cpp
632219af73c0cabeae44e8f2e8d6d5478d153f52
4a00bbfed62a9714bc94a3431e6cc37615b175a2
CANN: fix multi-thread set_tensor race conditions (#20151) * CANN: fix multi-thread set_tensor race conditions When ollama calls ggml_backend_tensor_set from multiple threads (each writing a different chunk of the same tensor), the CANN backend had three concurrency issues: 1. Quantized tensors (Q4_0/Q8_0) require a...
[ { "path": "ggml/src/ggml-cann/aclnn_ops.cpp", "patch": "@@ -434,6 +434,9 @@ void ggml_cann_norm(ggml_backend_cann_context & ctx, ggml_tensor * dst) {\n void ggml_cann_l2_norm(ggml_backend_cann_context & ctx, ggml_tensor * dst) {\n ggml_tensor * src = dst->src[0];\n \n+ float eps;\n+ memcpy(&eps, d...
2026-03-31T14:00:51
huggingface/transformers
e316c5214fe51de0bf8e824245bfd6225c9925aa
22f888b3fab3d914882b8f44896a5658712f535c
VideoLLaVa: fix chat format in docs (#32083) fix chat format
[ { "path": "docs/source/en/model_doc/video_llava.md", "patch": "@@ -98,7 +98,7 @@ indices = np.arange(0, total_frames, total_frames / 8).astype(int)\n video = read_video_pyav(container, indices)\n \n # For better results, we recommend to prompt the model in the following format\n-prompt = \"USER: <video>Why ...
2024-07-19T10:38:01
nodejs/node
e9e9863ca7ba61ea4e1b5a28c18b29e449f87f00
5ebfaa88917ebcef1dd69e31e40014ce237c60e2
errors: fix typo in TLS_SESSION_ATTACK message PR-URL: https://github.com/nodejs/node/pull/17388 Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Benjamin Gruenbaum <benja...
[ { "path": "lib/internal/errors.js", "patch": "@@ -466,7 +466,7 @@ E('ERR_TLS_HANDSHAKE_TIMEOUT', 'TLS handshake timeout');\n E('ERR_TLS_RENEGOTIATION_FAILED', 'Failed to renegotiate');\n E('ERR_TLS_REQUIRED_SERVER_NAME',\n '\"servername\" is required parameter for Server.addContext');\n-E('ERR_TLS_SESSION...
2017-11-29T15:44:35
golang/go
d51ae669363fdd4a741db7f0193e7e6ebc639ff3
33bc8ce8de855c78ec537e53e7814fa85bd90944
archive/zip: fix documentation to mention fs.FS interface Fixes #42374 Change-Id: I0ed1eb052d79bcc65810b74bff48f1e615e1dc1e Reviewed-on: https://go-review.googlesource.com/c/go/+/267657 Reviewed-by: Ian Lance Taylor <iant@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
[ { "path": "src/archive/zip/reader.go", "patch": "@@ -695,7 +695,7 @@ func fileEntryLess(x, y string) bool {\n }\n \n // Open opens the named file in the ZIP archive,\n-// using the semantics of io.FS.Open:\n+// using the semantics of fs.FS.Open:\n // paths are always slash separated, with no\n // leading / ...
2020-11-04T12:28:25
ggml-org/llama.cpp
4a00bbfed62a9714bc94a3431e6cc37615b175a2
624733d631ac3197afa4f9aa701f56f184fdde69
server: (webui) no more gzip compression (#21073) * webui: no more gzip * try changing a small line * Revert "try changing a small line" This reverts commit 0d7a3531593d87b724d404c8727a96becab3ab07. * fix lint * fix test * rebuild * split into html/css/js * lint * chore: update webui build output * chore: Up...
[ { "path": ".editorconfig", "patch": "@@ -21,14 +21,6 @@ indent_style = tab\n [prompts/*.txt]\n insert_final_newline = unset\n \n-[tools/server/public/*]\n-indent_size = 2\n-\n-[tools/server/public/deps_*]\n-trim_trailing_whitespace = unset\n-indent_style = unset\n-indent_size = unset\n-\n [tools/server/deps...
2026-03-31T13:44:26
huggingface/transformers
22f888b3fab3d914882b8f44896a5658712f535c
cd48553fc8375e1a28d4d82cfe231dedf6a23af8
[mistral] Fix FA2 attention reshape for Mistral Nemo (#32065) * [mistral] Fix FA2 attention reshape * [run-slow] mistral
[ { "path": "src/transformers/models/mistral/modeling_mistral.py", "patch": "@@ -387,7 +387,7 @@ def forward(\n is_causal=self.is_causal,\n )\n \n- attn_output = attn_output.reshape(bsz, q_len, self.hidden_size).contiguous()\n+ attn_output = attn_output.reshape(bsz, q_len, se...
2024-07-19T09:19:35
nodejs/node
6aee5fbf993b4e8a2b62d45259f324bc8513f2aa
12c8b4d15471cb6211b39c3a2ca5b10fa4b9f12b
test: use v8 Default Allocator in cctest fixture This commit updates the node_test_fixture to use v8::ArrayBuffer::Allocator::NewDefaultAllocator() and removes the custom allocator. PR-URL: https://github.com/nodejs/node/pull/17366 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Timothy Gu <timothygu99@...
[ { "path": "test/cctest/node_test_fixture.h", "patch": "@@ -9,21 +9,6 @@\n #include \"v8.h\"\n #include \"libplatform/libplatform.h\"\n \n-class ArrayBufferAllocator : public v8::ArrayBuffer::Allocator {\n- public:\n- virtual void* Allocate(size_t length) {\n- return AllocateUninitialized(length);\n- }\...
2017-11-28T07:45:35
ggml-org/llama.cpp
0b6ff47996019d559862d279ccb66dd9390934cd
eec6f85d7b84c368b2e59e1dab9f2bad56d239f7
fix: correct misspellings in code comments (#21217) - emdeddings → embeddings (gemma3.cpp, gemma3n-iswa.cpp, gemma-embedding.cpp) - imlpemented → implemented (llama-adapter.cpp) - interere → interfere (llama-graph.cpp) - overridde → overridden (chat.cpp) - stastistics → statistics (ngram-map.h) - layed → laid (llama-k...
[ { "path": "common/chat.cpp", "patch": "@@ -221,7 +221,7 @@ using chat_template_caps = jinja::caps;\n struct common_chat_templates {\n bool add_bos;\n bool add_eos;\n- bool has_explicit_template; // Model had builtin template or template overridde was specified.\n+ bool has_explicit_template; ...
2026-03-31T11:50:51
golang/go
c9b9cd73bb7a7828d34f4a7844f16c3fbc0674dd
f7ef5ca54a103ed67425e1efe6d39d3bc8067bad
crypto/tls: set Deadline before sending close notify alert This change also documents the need to set a Deadline before calling Read or Write. Fixes #31224 Change-Id: I89d6fe3ecb0a0076b4c61765f61c88056f951406 Reviewed-on: https://go-review.googlesource.com/c/go/+/266037 Trust: Katie Hockman <katie@golang.org> Run-Tr...
[ { "path": "doc/go1.16.html", "patch": "@@ -237,12 +237,18 @@ <h3 id=\"crypto/tls\"><a href=\"/pkg/crypto/tls\">crypto/tls</a></h3>\n \n <p><!-- CL 256897 -->\n I/O operations on closing or closed TLS connections can now be detected using\n- the new <a href=\"/pkg/net/#ErrClosed\">ErrClosed</a> error. A ...
2020-10-28T19:13:33
huggingface/transformers
cd48553fc8375e1a28d4d82cfe231dedf6a23af8
56a7745704261919dd8117e3a8aa4fb43fade30e
Incorrect Whisper long-form decoding timestamps (#32003) * fix lo form timestamps in decode_batch * Update src/transformers/models/whisper/tokenization_whisper.py Co-authored-by: Yoach Lacombe <52246514+ylacombe@users.noreply.github.com> * Update src/transformers/models/whisper/tokenization_whisper.py Co-...
[ { "path": "src/transformers/models/clvp/processing_clvp.py", "patch": "@@ -73,7 +73,6 @@ def __call__(self, *args, **kwargs):\n inputs[\"attention_mask\"] = encodings[\"attention_mask\"]\n return inputs\n \n- # Copied from transformers.models.whisper.processing_whisper.WhisperProc...
2024-07-19T08:26:38
ollama/ollama
8f440d579aad22faf191ef2f7e9b38b4f614e070
4cc3be30358efcbd463ec30c30998dacdb0cfb5c
fix q5_0, q5_1
[ { "path": "llm/ggml.go", "patch": "@@ -127,7 +127,7 @@ func (t Tensor) blockSize() uint64 {\n \tswitch t.Kind {\n \tcase 0, 1, 24, 25, 26, 27, 28, 31: // F32, F16, I8, I16, I32, I64, F64, BF16\n \t\treturn 1\n-\tcase 2, 3, 8, 9, 20: // Q4_0, Q4_1, Q8_0, Q8_1, IQ4_NL\n+\tcase 2, 3, 4, 5, 6, 7, 8, 9, 20: // Q...
2024-05-24T23:01:37
ggml-org/llama.cpp
41361c8599d04b5792edbcda22b168cc58212b17
62278cedde81e0ed79d0f647999eef02daebbae5
common : move up common_init() and fix Windows UTF-8 logs (#21176) The build info is now only for debug, so we avoid the duplicate with `--version`. The UTF-8 setup at the beginning is needed to avoid logging garbage on Windows. Signed-off-by: Adrien Gallouët <angt@huggingface.co>
[ { "path": "common/common.cpp", "patch": "@@ -359,6 +359,11 @@ bool parse_cpu_mask(const std::string & mask, bool (&boolmask)[GGML_MAX_N_THREAD\n }\n \n void common_init() {\n+#if defined(_WIN32)\n+ SetConsoleOutputCP(CP_UTF8);\n+ SetConsoleCP(CP_UTF8);\n+#endif\n+\n llama_log_set(common_log_defaul...
2026-03-31T10:53:41
golang/go
f7ef5ca54a103ed67425e1efe6d39d3bc8067bad
3a81338622eb5c8b94f11001855e2a68a9e36bed
crypto/x509: add Unwrap to SystemRootsError This change modifies Go to add the Unwrap method to SystemRootsError Updates #30322 Change-Id: Ibe63d1d0bc832fc0607f09053908d55275a6f350 GitHub-Last-Rev: 9a95bc66019d25f02a0a5f92a87e9405a52802e4 GitHub-Pull-Request: golang/go#41981 Reviewed-on: https://go-review.googlesour...
[ { "path": "src/crypto/x509/verify.go", "patch": "@@ -187,6 +187,8 @@ func (se SystemRootsError) Error() string {\n \treturn msg\n }\n \n+func (se SystemRootsError) Unwrap() error { return se.Err }\n+\n // errNotParsed is returned when a certificate without ASN.1 contents is\n // verified. Platform-specific ...
2020-10-14T19:42:13
huggingface/transformers
56a7745704261919dd8117e3a8aa4fb43fade30e
b873234cb649a24865021f0d598627ce2b24d34a
[Chameleon, Hiera] Improve docs (#32038) * Improve docs * Fix docs * Fix code snippet
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -326,8 +326,6 @@\n title: CamemBERT\n - local: model_doc/canine\n title: CANINE\n- - local: model_doc/chameleon\n- title: chameleon\n - local: model_doc/codegen\n title: CodeGen\n - local: model_doc/c...
2024-07-19T08:20:03
nodejs/node
12c8b4d15471cb6211b39c3a2ca5b10fa4b9f12b
e32bbbf4d7adfdb22822c39991ea0e972a0a3453
tools: add cpplint rule for NULL usage This commit is a suggestion for adding a rule for NULL usages in the code base. This will currently report a number of errors which could be ignored using // NOLINT (readability/null_usage) PR-URL: https://github.com/nodejs/node/pull/17373 Reviewed-By: Jon Moss <me@jonathanmoss....
[ { "path": "src/node.h", "patch": "@@ -501,13 +501,13 @@ extern \"C\" NODE_EXTERN void node_module_register(void* mod);\n { \\\n NODE_MODULE_VERSION, \\\n flags, ...
2017-11-28T17:04:49
ollama/ollama
db2ffa79f10ebcb6cd702bfceb3533a97e892409
afd2b058b4ee36230ab2a06927bdc0ff41b1e7ae
Fix download retry issue
[ { "path": "server/download.go", "patch": "@@ -221,7 +221,7 @@ func (b *blobDownload) downloadChunk(ctx context.Context, requestURL *url.URL, w\n \t\t}\n \t\tdefer resp.Body.Close()\n \n-\t\tn, err := io.CopyN(w, io.TeeReader(resp.Body, part), part.Size)\n+\t\tn, err := io.CopyN(w, io.TeeReader(resp.Body, pa...
2024-05-24T18:30:42
ggml-org/llama.cpp
90aa83c6bdaa6ea82e1af5a02f77ff80088653d0
fcc2d598c8da431d260da560f8aeeeb181702063
common: add bounds check in common_init_result::sampler to prevent segfault on failed model load (#21082) * common: add bounds check in common_init_result::sampler to prevent segfault on failed model load * Revert a308e584cae3fa8cee1d739a858a2d780f1de009 * Add regression test * Remove regression test for init-fail ...
[ { "path": "common/common.cpp", "patch": "@@ -1243,6 +1243,9 @@ llama_context * common_init_result::context() {\n }\n \n common_sampler * common_init_result::sampler(llama_seq_id seq_id) {\n+ if (seq_id < 0 || seq_id >= (int) pimpl->samplers.size()) {\n+ return nullptr;\n+ }\n return pimpl->...
2026-03-31T10:04:42
huggingface/transformers
b873234cb649a24865021f0d598627ce2b24d34a
271fd8e60d26b1773321c8b01fb67ed831fd3494
Llava: add default chat templates (#31691) * add default chat templates * Update src/transformers/models/llava/processing_llava.py Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com> * Update src/transformers/models/llava_next/processing_llava_next.py Co-authored-by: amyeroberts <22...
[ { "path": "docs/source/en/model_doc/llava.md", "patch": "@@ -40,7 +40,42 @@ The original code can be found [here](https://github.com/haotian-liu/LLaVA/tree/\n \n - Note the model has not been explicitly trained to process multiple images in the same prompt, although this is technically possible, you may exp...
2024-07-19T05:08:56
golang/go
3a81338622eb5c8b94f11001855e2a68a9e36bed
5736eb0013cb8c9b67432c98b08f68e9f370810c
runtime: make stack traces of endless recursion print only top and bottom 50 This CL makes it so that instead of printing massive stack traces during endless recursion, which spams users and aren't useful, it now prints out the top and bottom 50 frames. If the number of frames <= 100 (_TracebackMaxFrames), we'll just ...
[ { "path": "src/runtime/crash_test.go", "patch": "@@ -240,6 +240,132 @@ func TestStackOverflow(t *testing.T) {\n \t}\n }\n \n+func TestStackOverflowTopAndBottomTraces(t *testing.T) {\n+\toutput := runTestProg(t, \"testprog\", \"StackOverflowTopAndBottomTraces\")\n+\n+\t// 1. First things first, we expect to ...
2017-02-18T10:03:32
nodejs/node
85e34b0c73794d3a241aa9e0c6139292f445c30a
701dc9a86e117a2da8a0db4aa45217a73b30ecce
tools: add docs for prefer-util-format-errors rule I had a little trouble understanding what the rule was trying to say, so am documenting what would pass/fail. PR-URL: https://github.com/nodejs/node/pull/17376 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-B...
[ { "path": "tools/eslint-rules/prefer-util-format-errors.js", "patch": "@@ -26,6 +26,11 @@ module.exports = {\n if (!isArrowFunctionWithTemplateLiteral(msg))\n return;\n \n+ // Checks to see if order of arguments to function is the same as the\n+ // order of them being concate...
2017-11-28T21:56:45
ggml-org/llama.cpp
fcc2d598c8da431d260da560f8aeeeb181702063
4453e77561145a350a37141659654d25da113681
fix: include API key in CORS proxy requests for MCP connections (#21193) * fix: include API key in CORS proxy requests for MCP connections When llama-server is started with --api-key-file and --webui-mcp-proxy, the /cors-proxy endpoint requires authentication. The WebUI was not including the Authorization header in p...
[ { "path": "tools/server/webui/src/lib/services/mcp.service.ts", "patch": "@@ -42,6 +42,7 @@ import type {\n import {\n \tbuildProxiedUrl,\n \tbuildProxiedHeaders,\n+\tgetAuthHeaders,\n \tthrowIfAborted,\n \tisAbortError,\n \tcreateBase64DataUrl\n@@ -124,7 +125,14 @@ export class MCPService {\n \t\tconst req...
2026-03-31T08:52:34
huggingface/transformers
271fd8e60d26b1773321c8b01fb67ed831fd3494
8f0d26c55e5350be3aefdc94a106a24b147204bc
docs: Fixed 2 links in the docs along with some minor fixes (#32058) * Fixed 2 links in the docs along with some minor fixes. * Updated Contributing.md
[ { "path": "CONTRIBUTING.md", "patch": "@@ -132,7 +132,7 @@ You will need basic `git` proficiency to contribute to\n manual. Type `git --help` in a shell and enjoy! If you prefer books, [Pro\n Git](https://git-scm.com/book/en/v2) is a very good reference.\n \n-You'll need **[Python 3.8](https://github.com/hu...
2024-07-18T20:28:36
golang/go
5736eb0013cb8c9b67432c98b08f68e9f370810c
362d25f2c82980860cb4eb5bfd0648116504788d
cmd/compile: support inlining of type switches This CL adds support for inlining type switches, including exporting and importing them. Type switches are represented mostly the same as expression switches. However, if the type switch guard includes a short variable declaration, then there are two differences: (1) the...
[ { "path": "src/cmd/compile/internal/gc/iexport.go", "patch": "@@ -1138,13 +1138,10 @@ func (w *exportWriter) stmt(n *Node) {\n \t\tw.pos(n.Pos)\n \t\tw.stmtList(n.Ninit)\n \t\tw.exprsOrNil(n.Left, nil)\n-\t\tw.stmtList(n.List)\n+\t\tw.caseList(n)\n \n-\tcase OCASE:\n-\t\tw.op(OCASE)\n-\t\tw.pos(n.Pos)\n-\t\...
2020-10-29T08:13:16
nodejs/node
701dc9a86e117a2da8a0db4aa45217a73b30ecce
61d46dd7e05021ac1e5f9add415fbaf36b17d5ff
src: fix typo in NODE_OPTIONS whitelist The whitelist of allowed cli flags that can be passed in the NODE_OPTIONS environment variable had --trace-events-categories, but the cli flag is actually --trace-event-categories. PR-URL: https://github.com/nodejs/node/pull/17369 Reviewed-By: Anna Henningsen <anna@addaleax.net...
[ { "path": "src/node.cc", "patch": "@@ -3578,7 +3578,7 @@ static void CheckIfAllowedInEnv(const char* exe, bool is_env,\n \"--trace-sync-io\",\n \"--no-force-async-hooks-checks\",\n \"--trace-events-enabled\",\n- \"--trace-events-categories\",\n+ \"--trace-event-categories\",\n \"--trac...
2017-11-28T11:46:35
rust-lang/rust
bc4f0bb486bcba6e6e40d0dd7c9df0f9e6aebca9
2b285cd5f0877e30ad1d83e04f8cc46254e43391
Pass InferCtxt to InlineAsmCtxt to properly taint on error Split up some of the tests bc tainting causes some errors to become suppressed
[ { "path": "compiler/rustc_hir_analysis/src/check/intrinsicck.rs", "patch": "@@ -3,8 +3,11 @@ use rustc_ast::InlineAsmTemplatePiece;\n use rustc_data_structures::fx::FxIndexSet;\n use rustc_hir::def_id::DefId;\n use rustc_hir::{self as hir, LangItem};\n+use rustc_infer::infer::InferCtxt;\n use rustc_middle::...
2025-03-06T22:01:01
ggml-org/llama.cpp
4453e77561145a350a37141659654d25da113681
26dac845cc433e35f50374c198c937a0c92b09d3
server/webui: cleanup dual representation approach, simplify to openai-compat (#21090) * server/webui: cleanup dual representation approach, simplify to openai-compat * feat: Fix regression for Agentic Loop UI * chore: update webui build output * refactor: Post-review code improvements * chore: update webui build ...
[ { "path": "tools/server/webui/src/lib/components/app/chat/ChatMessages/ChatMessage.svelte", "patch": "@@ -4,7 +4,7 @@\n \timport { getChatActionsContext, setMessageEditContext } from '$lib/contexts';\n \timport { chatStore, pendingEditMessageId } from '$lib/stores/chat.svelte';\n \timport { conversationsSto...
2026-03-31T08:42:06
huggingface/transformers
8f0d26c55e5350be3aefdc94a106a24b147204bc
c75969ee28eb293388bd587669e414c5a4f8d79f
fix: Removed `duplicate entries` in a dictionary (#32041) Removed duplicate key in a dictionary.
[ { "path": "src/transformers/image_utils.py", "patch": "@@ -64,7 +64,6 @@\n PILImageResampling.HAMMING: InterpolationMode.HAMMING,\n PILImageResampling.BICUBIC: InterpolationMode.BICUBIC,\n PILImageResampling.LANCZOS: InterpolationMode.LANCZOS,\n- PILImageResamp...
2024-07-18T16:26:08
golang/go
d21af00dd22d478d0026797c91961168ba83aff9
854e892ce17e2555c59fce5b92f64bc505ba5d8c
path/filepath: add WalkDir WalkDir is like Walk but can use ReadDir to read directories, instead of Readdirnames + Lstat on every entry, which is usually a significant performance improvement. (The Lstat can still happen if the walk function calls d.Info.) Fixes #42027. [Replay of CL 266240 after it was reverted due...
[ { "path": "src/path/filepath/export_test.go", "patch": "@@ -5,3 +5,5 @@\n package filepath\n \n var LstatP = &lstat\n+\n+type DirEntryFromInfo = dirEntryFromInfo", "additions": 2, "deletions": 0, "language": "Go" }, { "path": "src/path/filepath/path.go", "patch": "@@ -336,25 +336,130...
2020-10-29T16:20:53
nodejs/node
58adb3cedf11800566b62c357fbef78ff8af2b72
f5ec28daac8f70736debfc37447171018f9296f9
deps: backport 3c8195d from V8 upstream Original commit message: Fix map constructor to correctly throw. We need to throw before rethrowing, otherwise the exception does not trigger a debugger event and is not reported if uncaught. R=gsathya@chromium.org, jgruber@chromium.org Bug: v8:7047 Ch...
[ { "path": "common.gypi", "patch": "@@ -27,7 +27,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.14',\n+ 'v8_embedder_string': '-node.15',\n \n # Enable disassembler for `--print-co...
2017-11-08T12:06:37
rust-lang/rust
61122d18298d1b82829a4717db896003b7d14c4d
30f168ef811aec63124eac677e14699baa9395bd
Delegation: fix ICE with invalid MethodCall generation
[ { "path": "compiler/rustc_ast_lowering/src/delegation.rs", "patch": "@@ -60,25 +60,27 @@ pub(crate) struct DelegationResults<'hir> {\n }\n \n impl<'hir> LoweringContext<'_, 'hir> {\n- pub(crate) fn delegation_has_self(&self, item_id: NodeId, path_id: NodeId, span: Span) -> bool {\n+ /// Defines whethe...
2025-03-10T14:08:29
ggml-org/llama.cpp
08f21453aec846867b39878500d725a05bd32683
84ae8434d0d00b52a8bab7f584b2963e129ccbfc
opencl: add q4_K gemm and gemv kernels for Adreno (#20919) * opencl: add q4_K gemm and gemv kernels for Adreno * opencl: fix whitespace * opencl: add workarounds for compiler bugs on older devices * opencl: handle fp16 denorm on X Elite * opencl: fix kernel build error * opencl: fix whitespace * opencl: make q4_...
[ { "path": "ggml/src/ggml-opencl/CMakeLists.txt", "patch": "@@ -114,6 +114,8 @@ set(GGML_OPENCL_KERNELS\n gemv_noshuffle_q4_1_f32\n gemm_noshuffle_q4_1_f32\n gemv_noshuffle_general_q8_0_f32\n+ gemv_noshuffle_q4_k_f32\n+ gemm_noshuffle_q4_k_f32\n gemv_noshuffle_q6_k_f32\n gemm_noshuf...
2026-03-30T19:19:16
ollama/ollama
4434d7f4475083d0a87c7f6558d2d42bdf3c8b4b
2f81b3dce24c77030d5e45a34b4f0c747d79067b
Correct typo in error message (#4535) The spelling of the term "request" has been corrected, which was previously mistakenly written as "requeset" in the error log message.
[ { "path": "server/sched.go", "patch": "@@ -220,7 +220,7 @@ func (s *Scheduler) processCompleted(ctx context.Context) {\n \t\t\trunner := s.loaded[finished.model.ModelPath]\n \t\t\ts.loadedMu.Unlock()\n \t\t\tif runner == nil {\n-\t\t\t\tslog.Error(\"finished requeset signal received after model unloaded\", ...
2024-05-21T20:39:01
huggingface/transformers
c75969ee28eb293388bd587669e414c5a4f8d79f
4c040aba02b0283619a06bdc40ecf868508b9e52
Add torch.compile Support For Mamba (#31247) * modify mamba cache * set up cache * add test * [run-slow] mamba * [run-slow] mamba * address comments * [run-slow] mamba * use_cache_position * [run-slow] mamba * [run-slow] mamba * [run-slow] mamba * [run-slow] mamba * fix * cache i...
[ { "path": "src/transformers/cache_utils.py", "patch": "@@ -1249,3 +1249,77 @@ def reset(self):\n # In-place ops prevent breaking the static address\n self.key_cache[layer_idx].zero_()\n self.value_cache[layer_idx].zero_()\n+\n+\n+class MambaCache:\n+ \"\"\"\n+ Cache...
2024-07-18T15:54:54
rust-lang/rust
9213cb80c29941a7fb752413613c2c68f7e7d7b3
4f521991945886709a875ba2aeaa859574126c0e
fix ICE in pretty-printing `global_asm!`
[ { "path": "compiler/rustc_middle/src/mir/pretty.rs", "patch": "@@ -653,7 +653,10 @@ fn write_mir_sig(tcx: TyCtxt<'_>, body: &Body<'_>, w: &mut dyn io::Write) -> io:\n write!(w, \"static mut \")?\n }\n (_, _) if is_function => write!(w, \"fn \")?,\n- (DefKind::AnonConst | D...
2025-03-09T15:47:38
golang/go
854e892ce17e2555c59fce5b92f64bc505ba5d8c
b7e0adfee28b516a0dcceb5ecf0e5a695b38c61f
cmd/compile: optimize shift pairs and masks on s390x Optimize combinations of left and right shifts by a constant value into a 'rotate then insert selected bits [into zero]' instruction. Use the same instruction for contiguous masks since it has some benefits over 'and immediate' (not restricted to 32-bits, does not o...
[ { "path": "src/cmd/compile/internal/s390x/ssa.go", "patch": "@@ -188,6 +188,18 @@ func ssaGenValue(s *gc.SSAGenState, v *ssa.Value) {\n \t\t\t{Type: obj.TYPE_REG, Reg: r2},\n \t\t})\n \t\tp.To = obj.Addr{Type: obj.TYPE_REG, Reg: r1}\n+\tcase ssa.OpS390XRISBGZ:\n+\t\tr1 := v.Reg()\n+\t\tr2 := v.Args[0].Reg()...
2020-05-11T16:44:48
nodejs/node
c9d1704216f48578762a786f9f2210b0ed2621ec
b1e6c0d44c075d8d3fee6c60fc92b90876700a30
doc: fix doc example for cctest cctest guide example wasn't working because of a few typos. PR-URL: https://github.com/nodejs/node/pull/17355 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Colin Ihrig <cjihrig@gm...
[ { "path": "doc/guides/writing-tests.md", "patch": "@@ -312,8 +312,8 @@ TEST_F(EnvTest, RunAtExit) {\n v8::Local<v8::Context> context = v8::Context::New(isolate_);\n node::IsolateData* isolateData = node::CreateIsolateData(isolate_, uv_default_loop());\n Argv argv{\"node\", \"-e\", \";\"};\n- auto env...
2017-11-27T19:27:23
ggml-org/llama.cpp
84ae8434d0d00b52a8bab7f584b2963e129ccbfc
ead417f01ce9769249e26fd1aaf700de83003a5c
CI : Enable CUDA and Vulkan ARM64 runners and fix CI/CD (#21122) * CI: Enable CUDA and Vulkan ARM64 runners and fix CI/CD Co-authored-by: Ts-sound <44093942+Ts-sound@users.noreply.github.com> * Obtain source tag name from git tag Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com> --------- Co-authored...
[ { "path": ".devops/cpu.Dockerfile", "patch": "@@ -36,7 +36,7 @@ RUN mkdir -p /app/full \\\n FROM ubuntu:$UBUNTU_VERSION AS base\n \n RUN apt-get update \\\n- && apt-get install -y libgomp1 curl\\\n+ && apt-get install -y libgomp1 curl \\\n && apt autoremove -y \\\n && apt clean -y \\\n && ...
2026-03-30T18:24:37
ollama/ollama
34d5ef29b3d01e2a0785af96df1135dfec567a3e
bbbd9f20f313af308bf4d573994e01fd5d5f7170
fix conversion for f16 or f32 inputs
[ { "path": "convert/gemma.go", "patch": "@@ -1,14 +1,11 @@\n package convert\n \n import (\n-\t\"encoding/binary\"\n \t\"fmt\"\n \t\"io\"\n \t\"log/slog\"\n-\t\"os\"\n \t\"strings\"\n \n-\t\"github.com/d4l3k/go-bfloat16\"\n \t\"github.com/pdevine/tensor\"\n \t\"github.com/pdevine/tensor/native\"\n \n@@ -19,4...
2024-05-17T19:11:49
huggingface/transformers
673d30b8268b584f9c600be27e048de0c714c0af
765732e92c17a17682a5efd4aa4323e5ab01fe07
Chameleon: minor fixes after shipping (#32037) * fix merging * make chameleon conditional
[ { "path": "docs/source/en/model_doc/chameleon.md", "patch": "@@ -64,13 +64,13 @@ The original code can be found [here](https://github.com/facebookresearch/chamel\n Here's how to load the model and perform inference in half-precision (`torch.float16`):\n \n ```python\n-from transformers import ChameleonProce...
2024-07-18T11:54:07
rust-lang/rust
c3c02a517ca1ce8526abf0d1ed4201a888265b87
b9fe8def52c996dcb7dd2d7ab3c362854caee8b7
Use __xpg_strerror_r on cygwin
[ { "path": "library/std/src/sys/pal/unix/os.rs", "patch": "@@ -119,7 +119,12 @@ pub fn error_string(errno: i32) -> String {\n unsafe extern \"C\" {\n #[cfg_attr(\n all(\n- any(target_os = \"linux\", target_os = \"hurd\", target_env = \"newlib\"),\n+ any(\...
2025-03-07T14:23:39
ggml-org/llama.cpp
ead417f01ce9769249e26fd1aaf700de83003a5c
64ac9ab66afa57f7012c83841022827dafb4aebe
jinja : handle empty expressions correctly (#20913) * Reject empty computed member expressions before returning slices[0] from parse_member_expression_arguments(). * Treat empty computed member expressions with Jinja2 undefined semantics Treat empty computed member expressions like `a[]` as undefined instead of rais...
[ { "path": "common/jinja/parser.cpp", "patch": "@@ -539,6 +539,9 @@ class parser {\n statement_ptr step = slices.size() > 2 ? std::move(slices[2]) : nullptr;\n return mk_stmt<slice_expression>(start_pos, std::move(start), std::move(stop), std::move(step));\n }\n+ if (sl...
2026-03-30T18:08:46
nodejs/node
b1e6c0d44c075d8d3fee6c60fc92b90876700a30
59e48329d00cd91f6836cd91bcb8aca92acac1f6
errors, child_process: use internal/errors codes PR-URL: https://github.com/nodejs/node/pull/14998 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Ste...
[ { "path": "doc/api/errors.md", "patch": "@@ -642,6 +642,17 @@ Node.js was unable to watch for the `SIGINT` signal.\n \n A child process was closed before the parent received a reply.\n \n+<a id=\"ERR_CHILD_PROCESS_IPC_REQUIRED\"></a>\n+### ERR_CHILD_PROCESS_IPC_REQUIRED\n+\n+Used when a child process is bei...
2017-08-23T22:20:54
ollama/ollama
d355d2020fcfc54c375eb697b7873742c3851881
c8cf0d94edeae0c71e3a0877895d9519b5d4d5e3
add fixes for llama
[ { "path": "cmd/cmd.go", "patch": "@@ -208,7 +208,7 @@ func tempZipFiles(path string) (string, error) {\n \t\t// pytorch files might also be unresolved git lfs references; skip if they are\n \t\t// covers pytorch_model-x-of-y.bin, pytorch_model.fp32-x-of-y.bin, pytorch_model.bin\n \t\tfiles = append(files, p...
2024-05-08T23:07:46
huggingface/transformers
1c37e8c1a6274e6e87b45c6319eb190757214c2a
b31d59504003c8140adf66a4077b1c50799fbe89
Add `sdpa` and FA2 for CLIP (#31940) * Squashed commit of the following: commit 102842cd477219b9f9bcb23a0bca3a8b92bd732f Author: Pavel Iakubovskii <qubvel@gmail.com> Date: Fri Jul 12 18:23:52 2024 +0000 Add model-specific sdpa tests commit 60e4c88581abf89ec098da84ed8e92aa904c997d Author: Pavel Iakub...
[ { "path": "docs/source/en/model_doc/clip.md", "patch": "@@ -79,6 +79,123 @@ encode the text and prepare the images. The following example shows how to get t\n >>> probs = logits_per_image.softmax(dim=1) # we can take the softmax to get the label probabilities\n ```\n \n+\n+### Combining CLIP and Flash Atte...
2024-07-18T05:00:37
rust-lang/rust
d24c6a29f5dca8c52ecf1ff88e4786e537078fb6
abcbd881754651af73f7454cbcbdab953d2e4e30
Fix code style
[ { "path": "library/std/src/sys/fs/unix.rs", "patch": "@@ -543,7 +543,12 @@ impl FileAttr {\n SystemTime::new(self.stat.st_atim.tv_sec as i64, self.stat.st_atim.tv_nsec as i64)\n }\n \n- #[cfg(any(target_os = \"freebsd\", target_os = \"openbsd\", target_vendor = \"apple\", target_os = \"cygwin...
2025-02-25T16:05:55
golang/go
ecc3f5112ebaf23c4b1ac4c5eedfa406d82ecc9a
8e5778ed70ec3d371615a663520a586745fb7bee
cmd/compile: improve atomic swap intrinsics on arm64 ARMv8.1 has added new instructions for atomic memory operations. This change builds on the previous change which added support for atomic add, 0a7ac93c27c9ade79fe0f66ae0bb81484c241ae5, to include similar support for atomic-compare-and-swap, atomic-swap, atomic-or, a...
[ { "path": "src/cmd/compile/internal/arm64/ssa.go", "patch": "@@ -581,6 +581,24 @@ func ssaGenValue(s *gc.SSAGenState, v *ssa.Value) {\n \t\tp2.From.Reg = arm64.REGTMP\n \t\tp2.To.Type = obj.TYPE_BRANCH\n \t\tgc.Patch(p2, p)\n+\tcase ssa.OpARM64LoweredAtomicExchange64Variant,\n+\t\tssa.OpARM64LoweredAtomicEx...
2020-11-04T16:18:23
ggml-org/llama.cpp
64ac9ab66afa57f7012c83841022827dafb4aebe
cad2d3884c75e3b2e4736654295d1f1a5c29aa48
CUDA : Fix CUB's argsort when nrows % block_size == 0 CCCL < 3.1 (#21181) * CUDA: Fix CUB's argsort when nrows % block_size == 0 CCCL < 3.1 We wrongly calculated offset_grid as `ceildiv(nrows, block_size)`, while it must be `ceildiv(nrows + 1, block_size)`. As a consequence, we had uninitialized values in `offset_ite...
[ { "path": "ggml/src/ggml-cuda/argsort.cu", "patch": "@@ -47,9 +47,11 @@ void argsort_f32_i32_cuda_cub(ggml_cuda_pool & pool,\n #ifdef STRIDED_ITERATOR_AVAILABLE\n auto offset_iterator = cuda::make_strided_iterator(cuda::make_counting_iterator(0), ncols);\n #else\n- ggml_cuda_pool_alloc<int> offsets_a...
2026-03-30T14:20:00
nodejs/node
b28af4dc26139778223fe61a886093a7d0e85c1f
4503da8a3a3b0b71d950a63de729ce495965f6ea
deps: cherry-pick 1420e44db0 from upstream V8 Original commit message: [coverage] Correctly free DebugInfo in the absence of breakpoints It's quite possible for DebugInfos to exist without the presence of a bytecode array, since DebugInfos are created for all functions for which we have a CoverageInf...
[ { "path": "common.gypi", "patch": "@@ -27,7 +27,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.12',\n+ 'v8_embedder_string': '-node.13',\n \n # Enable disassembler for `--print-co...
2017-11-27T07:33:17
huggingface/transformers
cb23d1b20b4450195564f107ac873e5ecd616def
bc36c26fa62fce8b89b13d42e2dbdfafeeb102ca
Pass missing arguments to `SeamlessM4Tv2ConformerEncoderLayer.forward()` when gradient checkpointing is enabled (#31945) * pass missing arguments when gradient checkpointing is enabled for SeamlessM4Tv2 * fix same bug in SeamlessM4Tv1 * pass args, not kwargs
[ { "path": "src/transformers/models/seamless_m4t/modeling_seamless_m4t.py", "patch": "@@ -842,6 +842,8 @@ def forward(\n hidden_states,\n attention_mask,\n relative_position_embeddings,\n+ output_attentions,\n+ ...
2024-07-17T19:42:53
rust-lang/rust
1aad114afda473ccda8b0eb5e0d5a3dcfc35c40e
e3e98c84d3eb64181c25ff88f31aee432363ca12
Fix building for cygwin
[ { "path": "library/std/src/os/unix/net/mod.rs", "patch": "@@ -45,6 +45,7 @@ pub use self::stream::*;\n target_os = \"openbsd\",\n target_os = \"nto\",\n target_vendor = \"apple\",\n+ target_os = \"cygwin\",\n ))]\n #[unstable(feature = \"peer_credentials_unix_socket\", issue = \"42839\", reas...
2024-12-29T20:00:20
golang/go
8e5778ed70ec3d371615a663520a586745fb7bee
2822bae168fa5d7b14c87d2b2ee22cb85fc90cce
cmd/link: report error if builtin referenced but not defined When the compiler refers to a runtime builtin, it emits an indexed symbol reference in the object file via predetermined/preassigned ID within the PkgIdxBuiltin pseudo-package. At link time when the loader encounters these references, it redirects them to th...
[ { "path": "src/cmd/link/internal/loader/loader.go", "patch": "@@ -633,7 +633,11 @@ func (l *Loader) resolve(r *oReader, s goobj.SymRef) Sym {\n \t\ti := int(s.SymIdx) + r.ndef + r.nhashed64def + r.nhasheddef\n \t\treturn r.syms[i]\n \tcase goobj.PkgIdxBuiltin:\n-\t\treturn l.builtinSyms[s.SymIdx]\n+\t\tif b...
2020-11-05T19:19:47
ggml-org/llama.cpp
cad2d3884c75e3b2e4736654295d1f1a5c29aa48
389c7d4955ba55c7418afaebf7c23d9ed64ef707
rpc : fix misleading error log (#21184) When RPC is running with a remote backend which doesn't have init_tensor function (like CPU and Metal), the server log gets full with error messages saying that init_tensor is being called with null buffer which is incorrect. This patch fixes this.
[ { "path": "ggml/src/ggml-rpc/ggml-rpc.cpp", "patch": "@@ -1340,7 +1340,9 @@ bool rpc_server::init_tensor(const rpc_msg_init_tensor_req & request) {\n if (buffer && buffer->iface.init_tensor) {\n buffer->iface.init_tensor(buffer, tensor);\n } else {\n- GGML_LOG_ERROR(\"Null buffer for ...
2026-03-30T14:05:11
huggingface/transformers
bc36c26fa62fce8b89b13d42e2dbdfafeeb102ca
63be8e6f3963d424793e52b85d09e53f509e8618
doc: fix broken BEiT and DiNAT model links on Backbone page (#32029) Signed-off-by: Dmitry Rogozhkin <dmitry.v.rogozhkin@intel.com>
[ { "path": "docs/source/en/main_classes/backbones.md", "patch": "@@ -25,11 +25,11 @@ A backbone is a model used for feature extraction for higher level computer visi\n \n Backbones are supported for the following models:\n \n-* [BEiT](..model_doc/beit)\n+* [BEiT](../model_doc/beit)\n * [BiT](../model_doc/bit...
2024-07-17T19:24:10
nodejs/node
4503da8a3a3b0b71d950a63de729ce495965f6ea
04e3aa28bbcdf62f677dd314ad8c12556c18c15f
process: add flag for uncaught exception abort Introduce `process.shouldAbortOnUncaughtException` to control `--abort-on-uncaught-exception` behaviour, and implement some of the domains functionality on top of it. PR-URL: https://github.com/nodejs/node/pull/17159 Refs: https://github.com/nodejs/node/issues/17143 Revi...
[ { "path": "doc/api/cli.md", "patch": "@@ -183,6 +183,10 @@ added: v0.10\n Aborting instead of exiting causes a core file to be generated for post-mortem\n analysis using a debugger (such as `lldb`, `gdb`, and `mdb`).\n \n+*Note*: If this flag is passed, the behavior can still be set to not abort\n+through [...
2017-11-20T18:57:20
rust-lang/rust
e3e98c84d3eb64181c25ff88f31aee432363ca12
c9ccec93fa5e87f1363f0ce6edc897340e8c3884
Fix `std::sys::unix::set_linger` for Cygwin Signed-off-by: Ookiineko <chiisaineko@protonmail.com>
[ { "path": "library/std/src/sys/net/connection/socket/unix.rs", "patch": "@@ -424,6 +424,7 @@ impl Socket {\n Ok(())\n }\n \n+ #[cfg(not(target_os = \"cygwin\"))]\n pub fn set_linger(&self, linger: Option<Duration>) -> io::Result<()> {\n let linger = libc::linger {\n l_...
2024-03-04T10:34:47
ollama/ollama
807d092761a1100704d260fccb6f0bc679f9b98e
f36f1d6be988848d24d269a6bc5e3697fa0fb18a
fix quantize file types
[ { "path": "server/images.go", "patch": "@@ -415,10 +415,17 @@ func CreateModel(ctx context.Context, name, modelFileDir, quantization string, m\n \t\t\t\t\t\t\treturn err\n \t\t\t\t\t\t}\n \n-\t\t\t\t\t\tbaseLayer.Layer, err = NewLayer(temp, baseLayer.Layer.MediaType)\n+\t\t\t\t\t\tlayers, err := parseFromFi...
2024-05-17T18:29:04
ggml-org/llama.cpp
389c7d4955ba55c7418afaebf7c23d9ed64ef707
278521c33a11b89d9d7ed2afe5c20502840816b1
webui: Fix branching logic on edit message (#21175) * fix: Branching logic + small refactor * chore: update webui build output
[ { "path": "tools/server/webui/src/lib/stores/chat.svelte.ts", "patch": "@@ -28,6 +28,7 @@ import {\n \tfilterByLeafNodeId,\n \tfindDescendantMessages,\n \tfindLeafNode,\n+\tfindMessageById,\n \tisAbortError\n } from '$lib/utils';\n import {\n@@ -416,7 +417,7 @@ class ChatStore {\n \t\tif (!activeConv) retur...
2026-03-30T12:40:50
golang/go
2822bae168fa5d7b14c87d2b2ee22cb85fc90cce
d508d86cf12a3c4ee139d31f5f5c9e5e53566ecc
go/types: add unexported start and end positions to type checker errors Tools often need to associate errors not with a single position, but with a span of source code. For example, gopls currently estimates diagnostic spans using heuristics to expand the positions reported by the type checker to surrounding source co...
[ { "path": "src/go/types/api.go", "patch": "@@ -49,7 +49,9 @@ type Error struct {\n \t// to preview this feature may read go116code using reflection (see\n \t// errorcodes_test.go), but beware that there is no guarantee of future\n \t// compatibility.\n-\tgo116code errorCode\n+\tgo116code errorCode\n+\tgo11...
2020-10-27T02:44:54
huggingface/transformers
63be8e6f3963d424793e52b85d09e53f509e8618
72fb02c47dbbe1999ae105319f24631cad6e2e00
Fix typo in classification function selection logic to improve code consistency (#32031) Make problem_type condition consistent with num_labels condition The latter condition generally overrides the former, so this is more of a code reading issue. I'm not sure the bug would ever actually get triggered under normal ...
[ { "path": "src/transformers/pipelines/image_classification.py", "patch": "@@ -171,9 +171,9 @@ def _forward(self, model_inputs):\n \n def postprocess(self, model_outputs, function_to_apply=None, top_k=5):\n if function_to_apply is None:\n- if self.model.config.problem_type == \"multi_l...
2024-07-17T19:20:39