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 |
|---|---|---|---|---|---|
ggml-org/llama.cpp | 492bc319782b1f13f302911f4c73437382cc8bb9 | 77d6ae4ac89bb879ada3989a748276dfe4553674 | quantize : add --dry-run option (#19526)
* clean slate for branch
* use 6 characters for tensor dims
* add --dry-run to llama-quantize
* use 6 characters for tensor dims (cont.)
* no need to re-calculate ggml_nbytes for tensor
* fix indent
* show model and quant BPW when quant completes
* add example to --help
... | [
{
"path": "include/llama.h",
"patch": "@@ -389,6 +389,7 @@ extern \"C\" {\n bool only_copy; // only copy tensors - ftype, allow_requantize and quantize_output_tensor are ignored\n bool pure; // quantize all tensors to the default type\n ... | 2026-02-20T08:20:16 |
nodejs/node | e232cd8d2244fb40d838f100aa41b08b55a5d57b | 94fb298819d9f4b3a575f64c71963e600d353067 | test: replace common.fixturesDir with fixtures.readSync()
Replace common.fixturesDir with fixtures.readSync() in
test-tls-getprotocol.
PR-URL: https://github.com/nodejs/node/pull/16802
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Rich Trott <rtrott@gmai... | [
{
"path": "test/parallel/test-tls-getprotocol.js",
"patch": "@@ -3,9 +3,12 @@ const common = require('../common');\n if (!common.hasCrypto)\n common.skip('missing crypto');\n \n+// This test ensures that `getProtocol` returns the right protocol\n+// from a TLS connection\n+\n const assert = require('asser... | 2017-11-06T15:03:43 |
huggingface/transformers | 3af7bf30ad076c0b6d60d6854adc50b1f6a05b51 | ab19f907fd6607865fbe4b46b6ffa253ac8d1e52 | skip `test_multi_gpu_data_parallel_forward` for `vit` and `deit` (#31086)
fix
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> | [
{
"path": "tests/models/deit/test_modeling_deit.py",
"patch": "@@ -227,6 +227,13 @@ def setUp(self):\n self.model_tester = DeiTModelTester(self)\n self.config_tester = ConfigTester(self, config_class=DeiTConfig, has_text_modality=False, hidden_size=37)\n \n+ @unittest.skip(\n+ \"Si... | 2024-05-28T15:44:52 |
ollama/ollama | a0a199b108e1ae241df357c9b989fd27e0bd19d9 | ab0d37fde489510f49b927139379d46d64dc39e1 | Fix hanging issue when sending empty content (#2399) | [
{
"path": "server/images.go",
"patch": "@@ -181,16 +181,19 @@ func (m *Model) ChatPrompts(msgs []api.Message) (*ChatHistory, error) {\n \t\t\t}\n \n \t\t\tcurrentVars.Prompt = msg.Content\n-\t\t\tfor i := range msg.Images {\n-\t\t\t\tid := len(images) + i\n-\t\t\t\tcurrentVars.Prompt += fmt.Sprintf(\" [img-... | 2024-02-08T00:30:33 |
ggml-org/llama.cpp | 3dadc88b589ca43b8fca0e1beb22d4b78a09b4dd | 39e4b1dc9bd00eb21a4e9cc6950855f94bc66de0 | common : fix Step-3.5-Flash format detection and thinking support (#19635)
* common : fix Step-3.5-Flash format detection and thinking support
Step-3.5-Flash uses the same XML-style tool call format as Qwen3-Coder
(<tool_call><function=...><parameter=...>) but its Jinja template lacks
the bare <function> and plural <... | [
{
"path": "common/chat.cpp",
"patch": "@@ -3141,15 +3141,15 @@ static common_chat_params common_chat_templates_apply_jinja(\n }\n \n // Qwen3-Coder XML format detection (must come before Hermes 2 Pro)\n- // Detect via explicit XML markers unique to Qwen3-Coder to avoid false positives in other te... | 2026-02-19T21:40:52 |
huggingface/transformers | ab19f907fd6607865fbe4b46b6ffa253ac8d1e52 | 94d416f018e3599affe53dbe43f26d9aded2fe29 | FIX / OPT: Fix OPT multi-GPU training for `OPTForQuestionAnswering` (#31092)
Update modeling_opt.py | [
{
"path": "src/transformers/models/opt/modeling_opt.py",
"patch": "@@ -1427,8 +1427,8 @@ def forward(\n end_positions = end_positions.squeeze(-1)\n # sometimes the start/end positions are outside our model inputs, we ignore these terms\n ignored_index = start_logits.s... | 2024-05-28T15:06:00 |
nodejs/node | b55106fcab5d06688a1f998ece9bdcb8b683c0f9 | 6fb5f64e096ef0dadea76600021f5cccf1cd2271 | test: replace `common.fixturesDir` usage
Use `common/fixtures` module instead in test-http2-client-upload.js
PR-URL: https://github.com/nodejs/node/pull/16800
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed... | [
{
"path": "test/parallel/test-http2-client-upload.js",
"patch": "@@ -8,9 +8,9 @@ if (!common.hasCrypto)\n const assert = require('assert');\n const http2 = require('http2');\n const fs = require('fs');\n-const path = require('path');\n+const fixtures = require('../common/fixtures');\n \n-const loc = path.jo... | 2017-11-06T14:32:49 |
golang/go | 59202c4204205ee019cf25efcb814b72c8703f4b | 7602d4119663b234f655e3bb282b7127a048a5cd | net/http: deflake TestServerEmptyBodyRace_h1, or at least try
Fixes #22540.
For #33585.
Change-Id: I504b5a91ce1a39cd4ffd2380178a1b8f82f49dd3
Reviewed-on: https://go-review.googlesource.com/c/go/+/261698
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Rev... | [
{
"path": "src/net/http/serve_test.go",
"patch": "@@ -4275,8 +4275,14 @@ func testServerEmptyBodyRace(t *testing.T, h2 bool) {\n \t\t\tdefer wg.Done()\n \t\t\tres, err := cst.c.Get(cst.ts.URL)\n \t\t\tif err != nil {\n-\t\t\t\tt.Error(err)\n-\t\t\t\treturn\n+\t\t\t\t// Try to deflake spurious \"connection r... | 2020-10-13T01:09:18 |
ggml-org/llama.cpp | 39e4b1dc9bd00eb21a4e9cc6950855f94bc66de0 | 11c325c6e0666a30590cde390d5746a405e536b9 | common : fix gpt-oss Jinja error when assistant message has both content and thinking with tool calls (#19704) | [
{
"path": "common/chat.cpp",
"patch": "@@ -2043,6 +2043,7 @@ static common_chat_params common_chat_params_init_gpt_oss(const common_chat_temp\n if (has_reasoning_content && has_tool_calls) {\n auto adjusted_message = msg;\n adjusted_message[\"thinking\"] = msg.at(\"reasoning_... | 2026-02-19T20:59:20 |
huggingface/transformers | 94d416f018e3599affe53dbe43f26d9aded2fe29 | 22dab246c5605d2fca0597eed84d16a783bc3e22 | FIX: Add `accelerate` as a hard requirement (#31090)
add accelerate | [
{
"path": "src/transformers/modeling_utils.py",
"patch": "@@ -3048,6 +3048,9 @@ def from_pretrained(\n \" ignored.\"\n )\n \n+ if gguf_file is not None and not is_accelerate_available():\n+ raise ValueError(\"accelerate is required when loading a GGUF file `pip ... | 2024-05-28T15:05:44 |
nodejs/node | 6fb5f64e096ef0dadea76600021f5cccf1cd2271 | 40237024b30cf8eb199fcbd5485f547fa6fddb10 | test: update test to use fixtures
Update test-repl-require-context to use fixtures module.
PR-URL: https://github.com/nodejs/node/pull/16799
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com> | [
{
"path": "test/parallel/test-repl-require-context.js",
"patch": "@@ -2,10 +2,9 @@\n const common = require('../common');\n const assert = require('assert');\n const cp = require('child_process');\n-const path = require('path');\n const child = cp.spawn(process.execPath, ['--interactive']);\n-const fixture ... | 2017-11-06T14:42:19 |
ollama/ollama | e805ac1d59977725547ed57ee3f166c2d41d4185 | b9229ffca577ca0360706770a077de2ac519e0c3 | fix response on token error | [
{
"path": "server/auth.go",
"patch": "@@ -111,8 +111,14 @@ func getAuthToken(ctx context.Context, redirData AuthRedirect) (string, error) {\n \tdefer resp.Body.Close()\n \n \tif resp.StatusCode >= http.StatusBadRequest {\n-\t\tbody, _ := io.ReadAll(resp.Body)\n-\t\treturn \"\", fmt.Errorf(\"on pull registry... | 2024-02-07T19:00:06 |
golang/go | 21e441c461a79be41de20a99e6001098142946e6 | 748c0d87e23eaae0ba133d2f613b82c009ac8cb4 | cmd/go: rewrite paths for overlaid files using -trimpath
Pass the trimpath flag to cmd/compile to use the correct file paths
for files that are overlaid: that is, the "destination" path in the
overlay's Replace mapping rather than the "source" path.
Also fix paths to go source files provided to the gccgo compiler.
F... | [
{
"path": "src/cmd/go/internal/work/exec.go",
"patch": "@@ -2214,6 +2214,8 @@ func (b *Builder) ccompile(a *Action, p *load.Package, outfile string, flags []s\n \t// when -trimpath is enabled.\n \tif b.gccSupportsFlag(compiler, \"-fdebug-prefix-map=a=b\") {\n \t\tif cfg.BuildTrimpath {\n+\t\t\t// TODO(#3995... | 2020-10-14T20:21:39 |
ggml-org/llama.cpp | 11c325c6e0666a30590cde390d5746a405e536b9 | 237958db339300bdd8028608cc08b2ba2685ec33 | ggml-webgpu: Add unary op (SQR, SQRT, SIN, COS) support. (#19700)
* ggml-webgpu: Add unary op (SQR, SQRT, SIN, COS) support.
* Fix to cast the src value to f32 before sin/cos computing. | [
{
"path": "docs/ops.md",
"patch": "@@ -31,7 +31,7 @@ Legend:\n | CONV_3D | ❌ | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |\n | CONV_TRANSPOSE_1D | ❌ | ✅ | ✅ | ✅ | ✅ | ❌ | ✅ | ✅ | ❌ | ❌ | ❌ |\n | CONV_TRANSPOSE_2D | ❌ | ❌ | ✅ | ✅ | ✅ | ❌ | ❌ | ✅ | ❌ | ❌ | ❌ ... | 2026-02-19T16:18:30 |
huggingface/transformers | 779bc360ff4f3965a1ac29fdc02c43db7ede08c0 | a3c7b59e31710f76492146db1d87ba77e3ae265d | Watermark: fix tests (#30961)
* fix tests
* style
* Update tests/generation/test_utils.py
Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>
---------
Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com> | [
{
"path": "tests/generation/test_utils.py",
"patch": "@@ -2148,6 +2148,8 @@ def test_watermark_generation(self):\n watermark_config = WatermarkingConfig(bias=2.5, seeding_scheme=\"selfhash\")\n _ = model.generate(**model_inputs, watermarking_config=watermark_config, do_sample=False, max_leng... | 2024-05-28T12:07:42 |
nodejs/node | 52e84541fda1b069f1e96db70dcedbf151be7987 | b5f05786924f7d2722d5dc98b0da4fabd2ad633c | doc: correct effects to affects
PR-URL: https://github.com/nodejs/node/pull/16794
Fixes: https://github.com/nodejs/node/issues/16793
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
Reviewed-By: Gireesh Punathil <gpuna... | [
{
"path": "doc/api/events.md",
"patch": "@@ -268,7 +268,7 @@ property can be used. If this value is not a positive number, a `TypeError`\n will be thrown.\n \n Take caution when setting the `EventEmitter.defaultMaxListeners` because the\n-change effects *all* `EventEmitter` instances, including those create... | 2017-11-06T10:15:04 |
ollama/ollama | 09a6f76f4c30fb8a9708680c519d08feeb504197 | e135167484c9867cfe6d406ed8ef2d84c4b1780f | fix error on `ollama run` with a non-existent model | [
{
"path": "cmd/cmd.go",
"patch": "@@ -147,6 +147,7 @@ func RunHandler(cmd *cobra.Command, args []string) error {\n \t}\n \n \tname := args[0]\n+\n \t// check if the model exists on the server\n \tshow, err := client.Show(cmd.Context(), &api.ShowRequest{Name: name})\n \tvar statusError api.StatusError\n@@ -1... | 2024-02-02T07:11:52 |
ggml-org/llama.cpp | abb9f3c42b5e6acee9e8e37836ef691d1a41bdb8 | da348c9dfbcfab16584f4640ee53146fdf85a741 | vulkan: fix MMQ shader push constants and multi-dispatch (#19732) | [
{
"path": "ggml/src/ggml-vulkan/vulkan-shaders/mul_mmq.comp",
"patch": "@@ -57,6 +57,8 @@ layout (push_constant) uniform parameter\n uint nbi1;\n uint ne11;\n #else\n+ uint base_work_group_z;\n+ uint num_batches;\n uint k_split;\n uint ne02;\n uint ne12;\n@@ -108,7 +110,7 @@ void m... | 2026-02-19T13:59:16 |
golang/go | e9e58a4d49f518ab6ce3a2b2ed4efb34e022c1d4 | 73f529845c91818c58f26994099db17c8ee2b2f3 | [dev.typeparams] cmd/compile/internal/syntax: fix printing of channel types
Change-Id: I80a3ca77d0642711913c9584e70059e4ed668860
Reviewed-on: https://go-review.googlesource.com/c/go/+/262444
Trust: Robert Griesemer <gri@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com> | [
{
"path": "src/cmd/compile/internal/syntax/printer.go",
"patch": "@@ -484,7 +484,15 @@ func (p *printer) printRawNode(n Node) {\n \t\tif n.Dir == SendOnly {\n \t\t\tp.print(_Arrow)\n \t\t}\n-\t\tp.print(blank, n.Elem)\n+\t\tp.print(blank)\n+\t\tif e, _ := n.Elem.(*ChanType); n.Dir == 0 && e != nil && e.Dir ... | 2020-10-15T05:09:47 |
huggingface/transformers | a3c7b59e31710f76492146db1d87ba77e3ae265d | 90da0b1c9f0892d43ef5e963cbf9bf4b93f1a911 | Fix failing tokenizer tests (#31083)
* Fix failing tokenizer tests
* Use small tokenizer
* Fix remaining reference | [
{
"path": "tests/models/cohere/test_tokenization_cohere.py",
"patch": "@@ -29,7 +29,7 @@ class CohereTokenizationTest(TokenizerTesterMixin, unittest.TestCase):\n test_rust_tokenizer = True\n test_slow_tokenizer = False\n from_pretrained_vocab_key = \"tokenizer_file\"\n- from_pretrained_id = \... | 2024-05-28T11:34:23 |
rust-lang/rust | e4c1eb803dccfb1d3398d0a4ac7464e9d1d87f78 | 968a7d0b7cdc071e866711a28466ae94e7c2b166 | Revert "ci: Pin the nightly toolchain for aarch64-unknown-linux-gnu"
The fix to this issue was synced in [1] so we should no longer need to
keep aarch64 pinned.
This reverts commit b2bcfc838e2a4b72fa62b333e3eb91f250aa4539.
[1]: https://github.com/rust-lang/rust/pull/137661 | [
{
"path": "library/compiler-builtins/.github/workflows/main.yml",
"patch": "@@ -20,8 +20,7 @@ jobs:\n rust: nightly\n - target: aarch64-unknown-linux-gnu\n os: ubuntu-latest\n- # FIXME: pinned due to https://github.com/llvm/llvm-project/issues/127804\n- rust: ni... | 2025-03-05T03:06:35 |
nodejs/node | b5f05786924f7d2722d5dc98b0da4fabd2ad633c | 0a84e95cd9293bfcf1e746857921684f0732dd60 | doc: correct EventEmitter reference
PR-URL: https://github.com/nodejs/node/pull/16791
Fixes: https://github.com/nodejs/node/issues/16789
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: James M Snell <j... | [
{
"path": "doc/api/events.md",
"patch": "@@ -77,7 +77,7 @@ myEmitter.emit('event', 'a', 'b');\n \n ## Asynchronous vs. Synchronous\n \n-The `EventListener` calls all listeners synchronously in the order in which\n+The `EventEmitter` calls all listeners synchronously in the order in which\n they were registe... | 2017-11-06T09:37:50 |
ggml-org/llama.cpp | da348c9dfbcfab16584f4640ee53146fdf85a741 | e6267a935901313dc727ec74d159fc66e206e9c4 | models : fix qwen3.5 beta/gate shapes (#19730)
* models : fix qwen3.5 beta/gate shapes
* cont : avoid extra reshapes | [
{
"path": "src/models/kimi-linear.cpp",
"patch": "@@ -149,17 +149,19 @@ llm_build_kimi_linear::llm_build_kimi_linear(const llama_model & model, const ll\n g1 = ggml_mul(ctx0, g1, A);\n cb(g1, \"kda_g1\", il);\n \n+ g1 = ggml_reshape_4d(ctx0, g1, head_dim, n_head, n_seq_tok... | 2026-02-19T13:19:53 |
huggingface/transformers | 66add161dcaa91f4e60c8e3224ed297ab72e7b0f | 98e2d48e9af3631e8f8f2070198912fc5d6bc19e | Fix typo in trainer.py (#31048) | [
{
"path": "src/transformers/trainer.py",
"patch": "@@ -3565,7 +3565,7 @@ def evaluate(\n When used with `load_best_model_at_end`, make sure `metric_for_best_model` references exactly one\n of the datasets. If you, for example, pass in `{\"data1\": data1, \"data2\": data2}` fo... | 2024-05-28T11:09:32 |
golang/go | 64fb6ae95f1c322486cbfb758552bb8439a8e6e8 | 497ea0610ea3757c6171cae3a85627459b572e5d | runtime: stop preemption during syscall.Exec on Darwin
On current macOS versions a program that receives a signal during an
execve can fail with a SIGILL signal. This appears to be a macOS
kernel bug. It has been reported to Apple.
This CL partially works around the problem by using execLock to not
send preemption si... | [
{
"path": "src/runtime/signal_unix.go",
"patch": "@@ -356,6 +356,13 @@ func preemptM(mp *m) {\n \t\t// required).\n \t\treturn\n \t}\n+\n+\t// On Darwin, don't try to preempt threads during exec.\n+\t// Issue #41702.\n+\tif GOOS == \"darwin\" {\n+\t\texecLock.rlock()\n+\t}\n+\n \tif atomic.Cas(&mp.signalPen... | 2020-10-14T23:03:48 |
ollama/ollama | 3d6f48507a3a729334c68a70bb5133bf1bc4fe42 | 1ca386aa9e211450f2be33d7ba60b326786f1871 | structured debug prompt | [
{
"path": "server/routes.go",
"patch": "@@ -253,7 +253,7 @@ func GenerateHandler(c *gin.Context) {\n \t\tprompt = rebuild.String()\n \t}\n \n-\tslog.Debug(fmt.Sprintf(\"prompt: %s\", prompt))\n+\tslog.Debug(\"generate handler\", \"prompt\", prompt)\n \n \tch := make(chan any)\n \tvar generated strings.Build... | 2024-02-01T00:47:26 |
huggingface/transformers | 98e2d48e9af3631e8f8f2070198912fc5d6bc19e | c31473ed4492fdf26aec4173451f31590021862f | Fix OWLv2 post_process_object_detection for multiple images (#31082)
* Add test for multiple images
* [run slow] owlv2
* Fix box rescaling
* [run slow] owlv2 | [
{
"path": "src/transformers/models/owlv2/image_processing_owlv2.py",
"patch": "@@ -524,19 +524,11 @@ def post_process_object_detection(\n else:\n img_h, img_w = target_sizes.unbind(1)\n \n- # rescale coordinates\n- width_ratio = 1\n- height_ratio ... | 2024-05-28T11:06:06 |
ggml-org/llama.cpp | 2bf318fd2f690f12ba0ee87ac63157f5b9300886 | c78e682245f856ab5cfc2ffc0f8c20e8e12f163f | model : add JAIS-2 architecture support (#19488)
* model: add JAIS-2 architecture support
Add support for the JAIS-2 family of Arabic-English bilingual models
from Inception AI (https://huggingface.co/inceptionai/Jais-2-8B-Chat).
Architecture characteristics:
- LayerNorm (not RMSNorm) with biases
- ReLU² (ReLU squar... | [
{
"path": "convert_hf_to_gguf.py",
"patch": "@@ -1163,6 +1163,9 @@ def get_vocab_base_pre(self, tokenizer) -> str:\n if chkhsh == \"b53802fb28e26d645c3a310b34bfe07da813026ec7c7716883404d5e0f8b1901\":\n # ref: https://huggingface.co/core42/jais-13b\n res = \"jais\"\n+ i... | 2026-02-19T12:30:17 |
nodejs/node | 0a84e95cd9293bfcf1e746857921684f0732dd60 | 11a9f36cae0d1e6e11c9f40ec82d9f887aa0a911 | http: improve errors thrown in header validation
PR-URL: https://github.com/nodejs/node/pull/16719
Fixes: https://github.com/nodejs/node/issues/16714
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "doc/api/errors.md",
"patch": "@@ -754,6 +754,11 @@ more headers.\n Used when an invalid character is found in an HTTP response status message\n (reason phrase).\n \n+<a id=\"ERR_HTTP_INVALID_HEADER_VALUE\"></a>\n+### ERR_HTTP_INVALID_HEADER_VALUE\n+\n+Used to indicate that an invalid HTTP header ... | 2017-11-03T12:04:12 |
golang/go | 497ea0610ea3757c6171cae3a85627459b572e5d | c0417df15664a84c3cc6de8292f78debce111def | cmd/compile: allow inlining of "for" loops
We already allow inlining "if" and "goto" statements, so we might as
well allow "for" loops too. The majority of frontend support is
already there too.
The critical missing feature at the moment is that inlining doesn't
properly reassociate OLABEL nodes with their control st... | [
{
"path": "src/cmd/compile/internal/gc/inl.go",
"patch": "@@ -385,25 +385,35 @@ func (v *hairyVisitor) visit(n *Node) bool {\n \tcase OCLOSURE,\n \t\tOCALLPART,\n \t\tORANGE,\n-\t\tOFOR,\n-\t\tOFORUNTIL,\n \t\tOSELECT,\n \t\tOTYPESW,\n \t\tOGO,\n \t\tODEFER,\n \t\tODCLTYPE, // can't print yet\n-\t\tOBREAK,\... | 2020-09-22T03:20:00 |
ggml-org/llama.cpp | c78e682245f856ab5cfc2ffc0f8c20e8e12f163f | c5897995a726dc9ebdafd91d4cd552b95f4ac199 | CUDA: fix kernel selection logic for tile FA (#19686)
* CUDA: fix kernel selection logic for tile FA
* add comment | [
{
"path": "ggml/src/ggml-cuda/fattn-tile.cuh",
"patch": "@@ -1186,8 +1186,10 @@ static void launch_fattn_tile_switch_ncols2(ggml_backend_cuda_context & ctx, ggm\n GGML_ASSERT(Q->ne[2] % K->ne[2] == 0);\n const int gqa_ratio = Q->ne[2] / K->ne[2];\n \n+ // On NVIDIA (Pascal and older) the GQA opti... | 2026-02-19T11:42:58 |
huggingface/transformers | 936ab7bae5e040ec58994cb722dd587b9ab26581 | 537deb7869f7711ec67aad9459b9f78ad5df5161 | fix from_pretrained in offline mode when model is preloaded in cache (#31010)
* Unit test to verify fix
Signed-off-by: Raphael Glon <oOraph@users.noreply.github.com>
* fix from_pretrained in offline mode when model is preloaded in cache
Signed-off-by: Raphael Glon <oOraph@users.noreply.github.com>
* minor:... | [
{
"path": "src/transformers/modeling_utils.py",
"patch": "@@ -3392,70 +3392,70 @@ def from_pretrained(\n )\n if resolved_archive_file is not None:\n is_sharded = True\n-\n- if not local_files_only and resolved_arc... | 2024-05-28T09:56:05 |
ollama/ollama | e49dc9f3d882ca5a4d56f9b4dea1987c39ab8aef | d125510b4b7fef09b8a5795f30692da354a0d9cd | fix tests | [
{
"path": "server/images_test.go",
"patch": "@@ -238,18 +238,37 @@ func chatHistoryEqual(a, b ChatHistory) bool {\n \tif len(a.Prompts) != len(b.Prompts) {\n \t\treturn false\n \t}\n-\tif len(a.CurrentImages) != len(b.CurrentImages) {\n-\t\treturn false\n-\t}\n \tfor i, v := range a.Prompts {\n-\t\tif v != ... | 2024-02-01T19:48:11 |
nodejs/node | 11a9f36cae0d1e6e11c9f40ec82d9f887aa0a911 | 916e1cb72016333635e24fd49966e1295dfeb436 | http2: improve errors thrown in header validation
PR-URL: https://github.com/nodejs/node/pull/16718
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com> | [
{
"path": "doc/api/errors.md",
"patch": "@@ -837,7 +837,7 @@ requests and responses.\n <a id=\"ERR_HTTP2_INVALID_HEADER_VALUE\"></a>\n ### ERR_HTTP2_INVALID_HEADER_VALUE\n \n-Used to indicate that an invalid HTTP/2 header value has been specified.\n+Used to indicate that an invalid HTTP2 header value has be... | 2017-11-03T14:50:32 |
golang/go | 8773d141641708574654c617b686a7fd687c3f70 | 3c9488edff40f9837dfef94554ac638433708a65 | cmd/compile: make assignop/convertop reason a return param
On a negative answer, the assignop and convertop functions write the
reason why to a string pointer passed as an argument, likely a C-ism
leftover since the compiler's machine assisted translation to Go.
This change makes why a return parameter.
It also fixe... | [
{
"path": "src/cmd/compile/internal/gc/range.go",
"patch": "@@ -112,21 +112,24 @@ func typecheckrangeExpr(n *Node) {\n \t\tv2 = nil\n \t}\n \n-\tvar why string\n \tif v1 != nil {\n \t\tif v1.Name != nil && v1.Name.Defn == n {\n \t\t\tv1.Type = t1\n-\t\t} else if v1.Type != nil && assignop(t1, v1.Type, &why)... | 2020-10-13T13:58:10 |
huggingface/transformers | dd4654eab7593be34294dc16279f52e4efa8869e | e18da4e3f292b05a81eef6925e19caea22d4e14b | Update quicktour.md to fix broken link to Glossary (#31072)
Update quicktour.md to fix broken link
Missing '/' in attention mask link in the transformers quicktour | [
{
"path": "docs/source/en/quicktour.md",
"patch": "@@ -204,7 +204,7 @@ Pass your text to the tokenizer:\n The tokenizer returns a dictionary containing:\n \n * [input_ids](./glossary#input-ids): numerical representations of your tokens.\n-* [attention_mask](.glossary#attention-mask): indicates which tokens ... | 2024-05-28T09:50:45 |
ggml-org/llama.cpp | c5897995a726dc9ebdafd91d4cd552b95f4ac199 | 03fd9d3bb43f7d5132ded9d7a47740c07cffc76d | mtmd : chat : Fix extra \n between text and media marker (#19595)
* mtmd : chat : Fix extra \n between text and media marker
Thanks to @tugot17 for detecting and reporting the issue.
For vision models (e.g. LFM2.5-VL-1.6B and Qwen/Qwen3-VL-4B-Instruct) `llama-mtmd-cli` produces identical output to HF implementation.... | [
{
"path": "common/chat.cpp",
"patch": "@@ -65,14 +65,25 @@ json common_chat_msg::to_json_oaicompat(bool concat_typed_text) const {\n } else if (!content_parts.empty()) {\n if (concat_typed_text) {\n std::string text;\n+ bool last_was_media_marker = false;\n+ // ... | 2026-02-19T11:18:57 |
ollama/ollama | 8ac08a0eec1e59a10dd1dab4513d4640013cdb3b | 60f47be64c5934dc41af8b1860e4dfe4f7d30309 | update slog handler options
- consistent format by using text handler for debug and non-debug
- truncate source file to just the file name | [
{
"path": "server/routes.go",
"patch": "@@ -938,13 +938,26 @@ func (s *Server) GenerateRoutes() http.Handler {\n }\n \n func Serve(ln net.Listener) error {\n+\tlevel := slog.LevelInfo\n \tif debug := os.Getenv(\"OLLAMA_DEBUG\"); debug != \"\" {\n-\t\tvar programLevel = new(slog.LevelVar)\n-\t\th := slog.New... | 2024-01-31T22:59:32 |
nodejs/node | 9f3d59eabb6564ad337a762d61ac767f9130e8a5 | 1f045f491a6a8d6ac193474f3856e2bdbd6847be | http2: refactor multiple internals
* eliminate pooling of Nghttp2Stream instances. After testing,
the pooling is not having any tangible benefit
and makes things more complicated. Simplify. Simplify.
* refactor inbound headers
* Enforce MAX_HEADERS_LIST setting and limit the number of header
pairs accepted fro... | [
{
"path": "doc/api/http2.md",
"patch": "@@ -1470,11 +1470,18 @@ not be emitted.\n ### http2.createServer(options[, onRequestHandler])\n <!-- YAML\n added: v8.4.0\n+changes:\n+ - version: REPLACEME\n+ pr-url: https://github.com/nodejs/node/pull/16676\n+ description: Added the `maxHeaderListPairs` opti... | 2017-11-01T18:48:11 |
golang/go | 2517f4946b42b8deedb864c884f1b41311d45850 | aa161e799df7e1eba99d2be10271e76b6f758142 | runtime: remove debugCachedWork
debugCachedWork and all of its dependent fields and code were added to
aid in debugging issue #27993. Now that the source of the problem is
known and mitigated (via the extra work check after STW in gcMarkDone),
these extra checks are no longer required and simply make the code more
dif... | [
{
"path": "src/cmd/compile/internal/gc/inl_test.go",
"patch": "@@ -83,7 +83,7 @@ func TestIntendedInlining(t *testing.T) {\n \t\t\t\"puintptr.ptr\",\n \t\t\t\"spanOf\",\n \t\t\t\"spanOfUnchecked\",\n-\t\t\t//\"(*gcWork).putFast\", // TODO(austin): For debugging #27993\n+\t\t\t\"(*gcWork).putFast\",\n \t\t\t... | 2020-10-14T21:18:27 |
huggingface/transformers | e18da4e3f292b05a81eef6925e19caea22d4e14b | 8e3b1fef9792673c8900c303cb93f65b70fd48e1 | fix "piano" typo (#31027) | [
{
"path": "src/transformers/models/pop2piano/modeling_pop2piano.py",
"patch": "@@ -71,7 +71,7 @@\n so you should be able to pad the inputs on both the right and the left. Indices can be obtained using\n [`AutoTokenizer`]. See [`PreTrainedTokenizer.encode`] and [`PreTrainedTokenizer._... | 2024-05-28T09:48:23 |
ggml-org/llama.cpp | 03fd9d3bb43f7d5132ded9d7a47740c07cffc76d | 8004f3a8d1f9e66ed534bc46f98c3a16c27f8c4a | webui: Fix Attachments not being included in completion request (#19731)
* fix: Add missing argument
* chore: update webui build output | [
{
"path": "tools/server/webui/src/lib/stores/chat.svelte.ts",
"patch": "@@ -498,7 +498,8 @@ class ChatStore {\n \t\t\t\tMessageRole.USER,\n \t\t\t\tcontent,\n \t\t\t\tMessageType.TEXT,\n-\t\t\t\tparentIdForUserMessage ?? '-1'\n+\t\t\t\tparentIdForUserMessage ?? '-1',\n+\t\t\t\textras\n \t\t\t);\n \t\t\tif (... | 2026-02-19T09:27:38 |
ollama/ollama | f2245c7c770fdb36e26253045382e3428f30b484 | e4b9b72f2af1d66e9b806e670c955a6cd60a9a47 | print prompt with `OLLAMA_DEBUG=1` (#2245) | [
{
"path": "server/routes.go",
"patch": "@@ -253,6 +253,8 @@ func GenerateHandler(c *gin.Context) {\n \t\tprompt = rebuild.String()\n \t}\n \n+\tslog.Debug(fmt.Sprintf(\"prompt: %s\", prompt))\n+\n \tch := make(chan any)\n \tvar generated strings.Builder\n \tgo func() {\n@@ -1125,6 +1127,8 @@ func ChatHandle... | 2024-01-28T23:22:35 |
nodejs/node | 291ff72f859df3c4c3849021419f37cd542840a6 | 7eb5ee3ca8afdb3ca22d329195ae1f9dc4313081 | tls: accept array of protocols in TLSSocket
Brings the ALPNProtocols & NPNProtocols options of TLSSocket in line
with the documentation. i.e. an array of strings for protocols may be
used, not only a buffer.
PR-URL: https://github.com/nodejs/node/pull/16655
Fixes: https://github.com/node/issues/16643
Reviewed-By: Ben... | [
{
"path": "lib/_tls_wrap.js",
"patch": "@@ -280,11 +280,15 @@ function initRead(tls, wrapped) {\n * Provides a wrap of socket stream to do encrypted communication.\n */\n \n-function TLSSocket(socket, options) {\n- if (options === undefined)\n- this._tlsOptions = {};\n- else\n- this._tlsOptions = ... | 2017-10-31T20:03:28 |
golang/go | aa161e799df7e1eba99d2be10271e76b6f758142 | 8cd75f3da094931c59636b85a87b4f680a208799 | cmd/go: make sure CC and CXX are absolute
Add check in cmd/go/internal/work.BuildInit and
cmd/go/internal/envcmd.checkEnvWrite.
Fixes #38372
Change-Id: I196ea93a0469e4667ef785f7c1dc4574bdf7ff78
Reviewed-on: https://go-review.googlesource.com/c/go/+/228517
Run-TryBot: Jay Conrod <jayconrod@google.com>
TryBot-Result: ... | [
{
"path": "src/cmd/go/internal/envcmd/env.go",
"patch": "@@ -424,6 +424,11 @@ func checkEnvWrite(key, val string) error {\n \t\tif !filepath.IsAbs(val) && val != \"\" {\n \t\t\treturn fmt.Errorf(\"GOPATH entry is relative; must be absolute path: %q\", val)\n \t\t}\n+\t// Make sure CC and CXX are absolute pa... | 2020-04-16T11:45:37 |
huggingface/transformers | 8e3b1fef9792673c8900c303cb93f65b70fd48e1 | 8f0f7271d00903d1f0d6c08d11b5ad05b30e5faa | Remove `ninja` from docker image build (#31080)
fix
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> | [
{
"path": "docker/transformers-all-latest-gpu/Dockerfile",
"patch": "@@ -51,6 +51,10 @@ RUN python3 -m pip install --no-cache-dir bitsandbytes\n # Some tests require quanto\n RUN python3 -m pip install --no-cache-dir quanto\n \n+# `quanto` will install `ninja` which leads to many `CUDA error: an illegal mem... | 2024-05-28T09:36:26 |
ggml-org/llama.cpp | c0d04303400e64a798506e3f2342940ae268db15 | 3bb2fcc8567e139a0ef70b8d43f82a3130147c00 | model : full modern bert support (#18330)
* full modern bert support
* added gelu op in rank pooling for modern bert
* still working on stuff, added mean calculation before classifier head
* Update convert_hf_to_gguf.py
Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com>
* first layer is dense, as per ... | [
{
"path": "convert_hf_to_gguf.py",
"patch": "@@ -11003,13 +11003,17 @@ def set_gguf_parameters(self):\n self.gguf_writer.add_vocab_size(self.hparams[\"vocab_size\"])\n \n def modify_tensors(self, data_torch: Tensor, name: str, bid: int | None) -> Iterable[tuple[str, Tensor]]:\n- # these l... | 2026-02-19T07:52:21 |
ollama/ollama | f07f8b7a9ed8cd8c07860a5b7852702ef9737429 | e02ecfb6c8ab236a1d8db1eda51320316d6fb214 | Harden for zero detected GPUs
At least with the ROCm libraries, its possible to have the library
present with zero GPUs. This fix avoids a divide by zero bug in llm.go
when we try to calculate GPU memory with zero GPUs. | [
{
"path": "gpu/gpu.go",
"patch": "@@ -135,7 +135,7 @@ func GetGPUInfo() GpuInfo {\n \t\tif memInfo.err != nil {\n \t\t\tslog.Info(fmt.Sprintf(\"error looking up CUDA GPU memory: %s\", C.GoString(memInfo.err)))\n \t\t\tC.free(unsafe.Pointer(memInfo.err))\n-\t\t} else {\n+\t\t} else if memInfo.count > 0 {\n \... | 2024-01-28T21:13:10 |
nodejs/node | 04ffa36e2307ede5a5d94afc3cca659b70fb4011 | 92f86632d534125aa7a86fe11a34d7b794b22991 | tools: add fixer for no-let-in-for-declaration
PR-URL: https://github.com/nodejs/node/pull/16642
Refs: https://github.com/nodejs/node/issues/16636
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de> | [
{
"path": "test/parallel/test-eslint-no-let-in-for-declaration.js",
"patch": "@@ -24,14 +24,17 @@ ruleTester.run('no-let-in-for-declaration', rule, {\n invalid: [\n {\n code: 'for (let foo = 1;;);',\n+ output: 'for (var foo = 1;;);',\n errors: [{ message }]\n },\n {\n co... | 2017-10-31T15:51:59 |
golang/go | 8cd75f3da094931c59636b85a87b4f680a208799 | e4ec30965b9ca629922e83b8d335224ae4bdf062 | token: more descriptive panics
Currently, there are several panics in token that simply say "illegal!". This CL
adds the values.
This is valuable when the token call is wrapped under several layers and you
can't easily see which value is being passed to token.
Change-Id: Ib04b55cafcd9b9ec6820dcf416fc4d49afaea15f
Rev... | [
{
"path": "src/go/token/position.go",
"patch": "@@ -150,12 +150,12 @@ func (f *File) AddLine(offset int) {\n //\n func (f *File) MergeLine(line int) {\n \tif line < 1 {\n-\t\tpanic(\"illegal line number (line numbering starts at 1)\")\n+\t\tpanic(fmt.Sprintf(\"invalid line number %d (should be >= 1)\", line... | 2020-10-13T22:16:24 |
huggingface/transformers | d355741eca40b38db48bde33210404169a0eb337 | b84cd67526eb8bac5bfba47bac72003bacc0eb5a | Fix pad_to_max_length Whisper (#30787)
* fix pad_to_max_length Whisper
* add tests
* make style | [
{
"path": "src/transformers/models/whisper/generation_whisper.py",
"patch": "@@ -122,7 +122,9 @@ def _get_attr_from_logit_processors(logits_processor, logit_processor_class, att\n return None\n \n \n-def _pad_to_max_length(current_segments, pad_token_id, padding=\"right\", bos_token_tensor=None, cut_off... | 2024-05-27T14:09:05 |
rust-lang/rust | 892016766a70e929f9325f315d0a9fd953f54853 | a9a52ddc04d45dcf06622f360ad9e784adfedc65 | search.js: remove incorrect outdated comment | [
{
"path": "src/librustdoc/html/static/js/search.js",
"patch": "@@ -2102,8 +2102,6 @@ class DocSearch {\n // an array of [(Number) item type,\n // (String) name]\n const rawPaths = crateCorpus.p;\n- // an array of [(String) alias name\n- ... | 2025-03-04T21:54:48 |
ggml-org/llama.cpp | ad9f692f8ffd552648bff68e1d8cf30512677ffe | 8a70973557ff2605dada63f0dd2c08aa1cfcceb2 | models : dedup Kimi Linear delta net implementation (#19668)
* models : add llm_build_delta_net_base
* cont : keep qwen35 and qwen35moe graphs intact
* cont : add comments [no ci]
* add kimi linear to delta-net-base
* removed unnecessary ggml_cont from g_exp_t
* removed ggml_cont from g_diff_exp_t. moved ggml_con... | [
{
"path": "src/models/delta-net-base.cpp",
"patch": "@@ -27,6 +27,7 @@ std::pair<ggml_tensor *, ggml_tensor *> llm_build_delta_net_base::build_delta_ne\n \n const int64_t S_v = v->ne[0];\n const int64_t H_v = v->ne[1];\n+ const bool kda = (g->ne[0] == S_k && g->ne[1] == H_k);\n \n GGML_ASSERT... | 2026-02-19T06:15:17 |
huggingface/transformers | b84cd67526eb8bac5bfba47bac72003bacc0eb5a | cd797778e4063aea27ed01374f35f95dd559d3b5 | Fix quanto tests (#31062)
fix quanto tests | [
{
"path": "tests/quantization/quanto_integration/test_quanto.py",
"patch": "@@ -413,18 +413,18 @@ class QuantoQuantizationSerializationCudaTest(QuantoQuantizationTest):\n \n \n class QuantoQuantizationQBitsTensorTest(QuantoQuantizationTest):\n- EXPECTED_OUTPUTS = \"Hello my name is John, I am a young man... | 2024-05-27T13:53:45 |
rust-lang/rust | 7635f2bfc61b353b83c244cf758459486a2ea442 | 60c5855346576dea6666adb9e00479156242b495 | fix whitespace | [
{
"path": "src/librustdoc/html/static/js/search.js",
"patch": "@@ -1584,17 +1584,17 @@ class DocSearch {\n * This is effectively string interning, so that function matching can be\n * done more quickly. Two types with the same name but different item kinds\n * get the same ID.\n-\t *\n-\t * @... | 2025-03-04T17:03:55 |
golang/go | 2ec71e57323c4801bb70a8dab687991e551229f4 | fbf62beb4ed00bd4f93cf64316757be065c4249b | crypto/x509: add signature verification to CreateCertificate
This changes checks the signature generated during CreateCertificate
and returns an error if the verification fails. A benchmark is also
added. For RSA keys the delta looks to be insignificant, but for
ECDSA keys it introduces a much larger delta which is no... | [
{
"path": "doc/go1.16.html",
"patch": "@@ -201,6 +201,13 @@ <h3 id=\"crypto/x509\"><a href=\"/pkg/crypto/x509\">crypto/x509</a></h3>\n contain strings with characters within the ASCII range.\n </p>\n \n+<p><!-- CL 259697 -->\n+ <a href=\"/pkg/crypto/x509/#CreateCertificate\">CreateCertificate</a> now\n+ ... | 2020-10-05T20:18:20 |
nodejs/node | 92f86632d534125aa7a86fe11a34d7b794b22991 | a5f3b3a6dab18e32ee5e7d0d79a63cec0d5d5cc5 | deps: cherry-pick e7f4e9e from upstream libuv
Original commit message:
tty, win: get SetWinEventHook pointer at startup
SetWinEventHook is not available on some Windows versions.
Fixes: https://github.com/nodejs/node/issues/16603
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin ... | [
{
"path": "deps/uv/src/win/tty.c",
"patch": "@@ -2285,13 +2285,16 @@ static DWORD WINAPI uv__tty_console_resize_message_loop_thread(void* param) {\n uv__tty_console_width = sb_info.dwSize.X;\n uv__tty_console_height = sb_info.srWindow.Bottom - sb_info.srWindow.Top + 1;\n \n- if (!SetWinEventHook(EVENT_... | 2017-11-03T11:18:52 |
ggml-org/llama.cpp | 8a70973557ff2605dada63f0dd2c08aa1cfcceb2 | e7f2f95c9a6d103d13bf25a1a2227ba8e51052b2 | Add Jinja support for "indent" string filter (#19529)
* Add partial Jinja support for "indent" string filter
* Fully implement indent
* Add tests for all width variants.
* Update tests/test-jinja.cpp
Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com>
* Fix getline ignoring trailing newlines
* Update ... | [
{
"path": "common/jinja/value.cpp",
"patch": "@@ -4,6 +4,7 @@\n // for converting from JSON to jinja values\n #include <nlohmann/json.hpp>\n \n+#include <sstream>\n #include <string>\n #include <cctype>\n #include <vector>\n@@ -715,8 +716,46 @@ const func_builtins & value_string_t::get_builtins() const {\n ... | 2026-02-18T23:25:52 |
huggingface/transformers | 0a064dc0fcba31092868f911772df087901d90fb | d7942d9d27476bddd48af49f1f9492de614d2fe7 | Follow up: Fix link in dbrx.md (#30514)
* Fix link in dbrx.md
* remove "though this may not be up to date"
---------
Co-authored-by: Lysandre Debut <hi@lysand.re> | [
{
"path": "docs/source/en/model_doc/dbrx.md",
"patch": "@@ -31,8 +31,7 @@ We used curriculum learning for pretraining, changing the data mix during traini\n \n More detailed information about DBRX Instruct and DBRX Base can be found in our [technical blog post](https://www.databricks.com/blog/introducing-db... | 2024-05-27T12:57:43 |
ollama/ollama | 667a2ba18add1031cc4b208eba7cedf8b33548e6 | e054ebe059d5a40c5f0b6e93b684e4ec402a33cb | Detect lack of AVX and fallback to CPU mode
We build the GPU libraries with AVX enabled to ensure that if not all
layers fit on the GPU we get better performance in a mixed mode.
If the user is using a virtualization/emulation system that lacks AVX
this used to result in an illegal instruction error and crash before t... | [
{
"path": "gpu/gpu.go",
"patch": "@@ -122,9 +122,15 @@ func GetGPUInfo() GpuInfo {\n \t\tinitGPUHandles()\n \t}\n \n+\t// All our GPU builds have AVX enabled, so fallback to CPU if we don't detect at least AVX\n+\tcpuVariant := GetCPUVariant()\n+\tif cpuVariant == \"\" {\n+\t\tslog.Warn(\"CPU does not have ... | 2024-01-26T19:11:09 |
golang/go | fbf62beb4ed00bd4f93cf64316757be065c4249b | 9c56300e62d126875dcd6508c0ca7dce3985ad50 | sort: document requirements of Less relation
Fixes #34915
Change-Id: Ia62ff3b6f198ddcd79e8afc7b4f5514a44f2442c
Reviewed-on: https://go-review.googlesource.com/c/go/+/261959
Reviewed-by: Rob Pike <r@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Akhil Indurti <aindurti@gmail.com>
Trust: Alber... | [
{
"path": "src/sort/sort.go",
"patch": "@@ -11,6 +11,12 @@ package sort\n // A type, typically a collection, that satisfies sort.Interface can be\n // sorted by the routines in this package. The methods require that the\n // elements of the collection be enumerated by an integer index.\n+//\n+// The sort ro... | 2020-10-13T20:22:29 |
nodejs/node | a5f3b3a6dab18e32ee5e7d0d79a63cec0d5d5cc5 | 5d0436fbeafeb0498d82430d38650b65a5c4220d | src: add method to compute storage in WriteWrap
`WriteWrap` instances may contain extra storage space.
`self_size()` returns the size of the *entire* struct, member fields as
well as storage space, so it is not an accurate measure for the
storage space available.
Add a method `ExtraSize()` (like the existing `Extra()... | [
{
"path": "src/node_http2_core-inl.h",
"patch": "@@ -503,7 +503,7 @@ inline void Nghttp2Session::SendPendingData() {\n while ((srcLength = nghttp2_session_mem_send(session_, &src)) > 0) {\n if (req == nullptr) {\n req = AllocateSend();\n- destRemaining = req->self_size();\n+ destRemain... | 2017-11-03T19:13:18 |
ggml-org/llama.cpp | e7f2f95c9a6d103d13bf25a1a2227ba8e51052b2 | b55dcdef5dcd74dc75c4921090e928d43453c157 | ggml webgpu: Fix bug in dispatching large matrix-vector multiplication (#19535)
* Fix bug in dispatching large matrix-vector multiplication | [
{
"path": "ggml/src/ggml-webgpu/ggml-webgpu.cpp",
"patch": "@@ -1121,7 +1121,8 @@ static webgpu_command ggml_webgpu_mul_mat(webgpu_context & ctx,\n uint32_t batches = dst->ne[2] * dst->ne[3];\n uint32_t output_groups = CEIL_DIV(dst->ne[0], decisions->outputs_per_wg);\n uint32_t... | 2026-02-18T23:06:29 |
huggingface/transformers | bdb9106f247fca48a71eb384be25dbbd29b065a8 | deba7655e6e54fb885e79204dec9f767393dd2df | Paligemma- fix devices and dtype assignments (#31008)
* fix devices and dtype assignments
* [run-slow]paligemma | [
{
"path": "src/transformers/models/paligemma/modeling_paligemma.py",
"patch": "@@ -301,14 +301,15 @@ def _merge_input_ids_with_image_features(\n pad_mask = input_ids == self.pad_token_id\n \n # expand masks to match embedding dimension\n- text_mask_expanded = text_mask.unsqueeze(-1).e... | 2024-05-24T17:02:55 |
rust-lang/rust | 2a7ad952a7a7120a76feadc72b24c40233aedf31 | 81d8edc2000aa38b08ad09fce22d90f1990b6459 | Fix test hangs on AIX | [
{
"path": "library/std/src/net/test.rs",
"patch": "@@ -31,3 +31,14 @@ pub fn tsa<A: ToSocketAddrs>(a: A) -> Result<Vec<SocketAddr>, String> {\n Err(e) => Err(e.to_string()),\n }\n }\n+\n+pub fn compare_ignore_zoneid(a: &SocketAddr, b: &SocketAddr) -> bool {\n+ match (a, b) {\n+ (Socket... | 2025-03-03T20:40:23 |
golang/go | 9c56300e62d126875dcd6508c0ca7dce3985ad50 | b95f0b123160a67c9e0b1d8c03993fe1e8208800 | net/http: return 505 status for rejected protocol version
When rejecting a request with an unsupported HTTP protocol version,
return a 505 error ("HTTP Version Not Supported") instead of 400.
Fixes #40454.
Change-Id: I0269f0f5755d90d1b772ba0094a6bb24b5eb4701
Reviewed-on: https://go-review.googlesource.com/c/go/+/261... | [
{
"path": "src/net/http/serve_test.go",
"patch": "@@ -4622,7 +4622,7 @@ func TestServerValidatesHostHeader(t *testing.T) {\n \t\thost string\n \t\twant int\n \t}{\n-\t\t{\"HTTP/0.9\", \"\", 400},\n+\t\t{\"HTTP/0.9\", \"\", 505},\n \n \t\t{\"HTTP/1.1\", \"\", 400},\n \t\t{\"HTTP/1.1\", \"Host: \\r\\n\", 20... | 2020-10-13T20:02:45 |
ggml-org/llama.cpp | b55dcdef5dcd74dc75c4921090e928d43453c157 | eeef3cfcedf853a938e3a7ea7f537ff3b8499474 | server: save generated text for the /slots endpoint (for LLAMA_SERVER_SLOTS_DEBUG=1) (#19622)
* save generated text for the /slots endpoint
* update debug_generated_text only when LLAMA_SERVER_SLOTS_DEBUG > 0
* Apply suggestions from code review
---------
Co-authored-by: Matteo <matteo@matteo>
Co-authored-by: Xuan... | [
{
"path": "tools/server/server-context.cpp",
"patch": "@@ -77,6 +77,7 @@ struct server_slot {\n size_t last_nl_pos = 0;\n \n std::string generated_text;\n+ std::string debug_generated_text;\n llama_tokens generated_tokens;\n \n // idx of draft tokens in the main batch\n@@ -425,7 +426,7 ... | 2026-02-18T17:53:37 |
nodejs/node | 72f21d248f0140910a3c5d5eea1165adadd99c86 | 4db1bc8f2052a1cd2bab267e026b5ee330f25aad | doc: add 9.x to version picker and mark 8.x as LTS
PR-URL: https://github.com/nodejs/node/pull/16672
Fixes: https://github.com/node/issues/16671
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Lu... | [
{
"path": "tools/doc/html.js",
"patch": "@@ -211,7 +211,8 @@ function altDocs(filename) {\n }\n \n const versions = [\n- { num: '8.x' },\n+ { num: '9.x' },\n+ { num: '8.x', lts: true },\n { num: '7.x' },\n { num: '6.x', lts: true },\n { num: '5.x' },",
"additions": 2,
"delet... | 2017-11-01T19:20:14 |
huggingface/transformers | deba7655e6e54fb885e79204dec9f767393dd2df | e5103a76cc57f4944456d2bca4d59eade3a514f6 | Add split special tokens (#30772)
* seems like `split_special_tokens` is used here
* split special token
* add new line at end of file
* moving split special token test to common tests
* added assertions
* test
* fixup
* add co-author
* passing rest of args to gptsan_japanese, fixing tests
*... | [
{
"path": "src/transformers/models/gptsan_japanese/tokenization_gptsan_japanese.py",
"patch": "@@ -353,6 +353,7 @@ def _batch_encode_plus(\n return_offsets_mapping: bool = False,\n return_length: bool = False,\n verbose: bool = True,\n+ **kwargs,\n ) -> BatchEncoding:\n ... | 2024-05-24T15:38:58 |
rust-lang/rust | 694214b20025ea04c9cd95fdc682bab3521a90cb | f5a577c2d7aae7e9dbed4f4818d90d12a84ad2b3 | fix unnecessary unsafe error in doctest | [
{
"path": "library/stdarch/crates/core_arch/src/x86/sse41.rs",
"patch": "@@ -189,6 +189,7 @@ pub fn _mm_blend_ps<const IMM4: i32>(a: __m128, b: __m128) -> __m128 {\n /// # fn main() {\n /// # if is_x86_feature_detected!(\"sse4.1\") {\n /// # #[target_feature(enable = \"sse4.1\")]\n+/// # #[al... | 2025-03-04T07:25:38 |
ollama/ollama | 9d3dcfd0ec94df07f9b10be3c09b93d6ad52c95e | 6e0ea5ecc8fa7a162cd63455c8e2319e443c98c4 | fix logging | [
{
"path": "server/download.go",
"patch": "@@ -247,7 +247,7 @@ func (b *blobDownload) downloadChunk(ctx context.Context, requestURL *url.URL, w\n \t\t\t\t}\n \n \t\t\t\tif !part.lastUpdated.IsZero() && time.Since(part.lastUpdated) > 5*time.Second {\n-\t\t\t\t\tlog.Printf(\"%s part %d stalled; retrying\", b.D... | 2024-01-26T19:04:27 |
ggml-org/llama.cpp | e99f1083a0c093f510a1914809056735370cea6f | 238856ec8fb79b7968e43f1e612af6ab2e3cfe9a | docs: Fix broken links for preparing models in Backends (#19684) | [
{
"path": "docs/backend/CANN.md",
"patch": "@@ -246,7 +246,7 @@ cmake --build build --config release\n \n 1. **Retrieve and prepare model**\n \n- You can refer to the general [*Prepare and Quantize*](../../README.md#prepare-and-quantize) guide for model prepration.\n+ You can refer to the general [*Ob... | 2026-02-18T15:50:23 |
golang/go | b95f0b123160a67c9e0b1d8c03993fe1e8208800 | 1671509ea3ff539500c89ba83753ed3caeec3ced | io: add a new ReadSeekCloser interface
Research showed that this interface is defined frequently enough in
real-world usage to justify its addition to the standard library.
Fixes #40962
Change-Id: I522fe8f9b8753c3fa42ccc1def49611cf88cd340
GitHub-Last-Rev: 6a45be66b42e482a06d9809d9da20c195380988b
GitHub-Pull-Request:... | [
{
"path": "src/io/io.go",
"patch": "@@ -152,6 +152,14 @@ type ReadSeeker interface {\n \tSeeker\n }\n \n+// ReadSeekCloser is the interface that groups the basic Read, Seek and Close\n+// methods.\n+type ReadSeekCloser interface {\n+\tReader\n+\tSeeker\n+\tCloser\n+}\n+\n // WriteSeeker is the interface tha... | 2020-10-13T02:26:19 |
nodejs/node | cd4194a07fc67a9b0a921d28711d25331684a465 | 4184239953a91339870c1a2662e215e546097226 | deps: add -no_rand_screen to openssl s_client
In openssl s_client on Windows, RAND_screen() is invoked to initialize
random state but it takes several seconds in each connection.
This added -no_rand_screen to openssl s_client on Windows to skip
RAND_screen() and gets a better performance in the unit test of
test-tls-s... | [
{
"path": "deps/openssl/openssl/apps/app_rand.c",
"patch": "@@ -124,7 +124,16 @@ int app_RAND_load_file(const char *file, BIO *bio_e, int dont_warn)\n char buffer[200];\n \n #ifdef OPENSSL_SYS_WINDOWS\n- RAND_screen();\n+ /*\n+ * allocate 2 to dont_warn not to use RAND_screen() via\n+ * -n... | 2015-05-27T01:33:38 |
ggml-org/llama.cpp | 238856ec8fb79b7968e43f1e612af6ab2e3cfe9a | ea003229d30148d0cd268a25e93e57ba51bb354a | ggml webgpu: shader library organization (#19530)
* Basic JIT compilation for mul_mat, get_rows, and scale (#17)
* scale jit working
* preliminary working jit for getrows and mulmat, needs refining
* simplified mul_mat preprocessing switch statement
* get_rows fixes, mul_mat refinement
* formatted + last edits
*... | [
{
"path": "ggml/src/ggml-webgpu/ggml-webgpu-shader-lib.hpp",
"patch": "@@ -1,11 +1,16 @@\n #ifndef GGML_WEBGPU_SHADER_LIB_HPP\n #define GGML_WEBGPU_SHADER_LIB_HPP\n \n+#include \"ggml-wgsl-shaders.hpp\"\n #include \"ggml.h\"\n #include \"pre_wgsl.hpp\"\n \n+#include <webgpu/webgpu_cpp.h>\n+\n+#include <algo... | 2026-02-18T14:51:02 |
golang/go | a3bc52b7862621ea2ca246d6637d0490cae91988 | d83168eb385f7ae38710028fff5c84252267adbc | sync: fix typo in pooldequeue
.
Change-Id: I26fa26d67d01bcd583a1efaaf9a38398cbf793f7
GitHub-Last-Rev: ded020d02ca2e429f7c31065e5a27dae6eb7a611
GitHub-Pull-Request: golang/go#41932
Reviewed-on: https://go-review.googlesource.com/c/go/+/261477
Trust: Alberto Donizetti <alb.donizetti@gmail.com>
Reviewed-by: Austin Cleme... | [
{
"path": "src/sync/poolqueue.go",
"patch": "@@ -57,7 +57,7 @@ const dequeueBits = 32\n // the index. We divide by 4 so this fits in an int on 32-bit.\n const dequeueLimit = (1 << dequeueBits) / 4\n \n-// dequeueNil is used in poolDeqeue to represent interface{}(nil).\n+// dequeueNil is used in poolDequeue ... | 2020-10-14T03:34:57 |
nodejs/node | 4184239953a91339870c1a2662e215e546097226 | 3ecb3a64d6a6d59a2fe9c1ce62a43090d8e2ccad | openssl: fix keypress requirement in apps on win32
Reapply b910613792dac946b295855963869933a9089044 .
Fixes: https://github.com/iojs/io.js/issues/589
PR-URL: https://github.com/iojs/io.js/pull/1389
Reviewed-By: Fedor Indutny <fedor@indutny.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> | [
{
"path": "deps/openssl/openssl/apps/s_client.c",
"patch": "@@ -180,6 +180,13 @@ typedef unsigned int u_int;\n # include <fcntl.h>\n #endif\n \n+/* Use Windows API with STD_INPUT_HANDLE when checking for input?\n+ Don't look at OPENSSL_SYS_MSDOS for this, since it is always defined if\n+ OPENSSL_SYS_WIN... | 2015-02-17T02:30:28 |
rust-lang/rust | a3d63fb0d488e4db52e0fe672f0cf2040840f2e5 | da3e73654f311869c052f218e37871a2f4381c85 | InhabitedPredicate: avoid using a wildcard branch
This is error-prone. Explicitly write down which cases don't need
anything substituted. Turn the `OpaqueType` case, which currently
seems to be unreachable, into a `bug!`. | [
{
"path": "compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs",
"patch": "@@ -265,7 +265,10 @@ impl<'tcx> InhabitedPredicate<'tcx> {\n Some(InhabitedPredicate::True) => Some(InhabitedPredicate::True),\n Some(a) => Some(a.or(tcx, b.instantiate_opt(tcx, args).unw... | 2025-03-03T22:52:22 |
ollama/ollama | 5d9c4a5f5a5d6aab0e8b4aedf504c6a0e526b2f4 | 197e420a97167c702973243563b72eb70b0e6786 | Fix crash on cuda ml init failure
The new driver lookup code was triggering after init failure due to a missing return | [
{
"path": "gpu/gpu_info_cuda.c",
"patch": "@@ -70,6 +70,7 @@ void cuda_init(char *cuda_lib_path, cuda_init_resp_t *resp) {\n resp->ch.handle = NULL;\n snprintf(buf, buflen, \"nvml vram init failure: %d\", ret);\n resp->err = strdup(buf);\n+ return;\n }\n \n // Report driver version if we'... | 2024-01-26T17:18:33 |
ggml-org/llama.cpp | a569bda44579f64fa2676063848c6d2a8c5f7b30 | e2f19b320fa358bb99cee41e2f4606f4ee93cc0c | common : make small string helpers as inline functions (#19693)
Also use string_view when it make sense and fix some corner cases.
Signed-off-by: Adrien Gallouët <angt@huggingface.co> | [
{
"path": "common/common.cpp",
"patch": "@@ -452,34 +452,6 @@ void string_replace_all(std::string & s, const std::string & search, const std::\n s = std::move(builder);\n }\n \n-bool string_ends_with(const std::string_view & str, const std::string_view & suffix) {\n- return str.size() >= suffix.size(... | 2026-02-18T07:03:01 |
golang/go | 7c58ef732efd9bf0d0882bb95371ce1909924a75 | f46a5b1e4559191363dbd4f510105dd31ae97aaa | runtime: implement GODEBUG=inittrace=1 support
Setting inittrace=1 causes the runtime to emit a single line to standard error for
each package with init work, summarizing the execution time and memory allocation.
The emitted debug information for init functions can be used to find bottlenecks
or regressions in Go sta... | [
{
"path": "doc/diagnostics.html",
"patch": "@@ -454,6 +454,8 @@ <h3 id=\"godebug\">GODEBUG</h3>\n <li>GODEBUG=gctrace=1 prints garbage collector events at\n each collection, summarizing the amount of memory collected\n and the length of the pause.</li>\n+<li>GODEBUG=inittrace=1 prints a summary of execution... | 2020-09-14T14:55:34 |
rust-lang/rust | da3e73654f311869c052f218e37871a2f4381c85 | 60493b8973ac5ba632952eaa2f212b56bb97ccfe | Clarify why InhabitedPredicate::instantiate_opt exists
At first glance, the extra casework seems pointless and needlessly
error-prone. Clarify that there is a reason for it being there. | [
{
"path": "compiler/rustc_middle/src/ty/inhabitedness/inhabited_predicate.rs",
"patch": "@@ -236,6 +236,11 @@ impl<'tcx> InhabitedPredicate<'tcx> {\n self.instantiate_opt(tcx, args).unwrap_or(self)\n }\n \n+ /// Same as [`Self::instantiate`], but if there is no generics to\n+ /// instantia... | 2025-02-28T19:54:10 |
huggingface/transformers | e5103a76cc57f4944456d2bca4d59eade3a514f6 | a3cdff417bb3db94d5402dc009a07df97954a863 | added interpolation for vitmae model in pytorch as well as tf. (#30732)
* added interpolation for vitmae model in pytorch as well as tf.
* Update modeling_vit_mae.py
irreugalr import fixed
* small changes and proper formatting
* changes suggested in review.
* modified decoder interpolate_func
* argum... | [
{
"path": "src/transformers/models/vit_mae/modeling_tf_vit_mae.py",
"patch": "@@ -240,6 +240,38 @@ def build(self, input_shape=None):\n with tf.name_scope(self.patch_embeddings.name):\n self.patch_embeddings.build(None)\n \n+ def interpolate_pos_encoding(self, embeddings, heig... | 2024-05-24T15:20:09 |
nodejs/node | 3ecb3a64d6a6d59a2fe9c1ce62a43090d8e2ccad | f4c5144a65cae75f9e6ed6c32435b3d0d01c5633 | deps: fix asm build error of openssl in x86_win32
See
https://mta.openssl.org/pipermail/openssl-dev/2015-February/000651.html
iojs needs to stop using masm and move to nasm or yasm on Win32.
Fixes: https://github.com/iojs/io.js/issues/589
PR-URL: https://github.com/iojs/io.js/pull/1389
Reviewed-By: Fedor Indutny <fe... | [
{
"path": "deps/openssl/openssl/crypto/perlasm/x86masm.pl",
"patch": "@@ -18,10 +18,10 @@ sub ::generic\n \n if ($opcode =~ /lea/ && @arg[1] =~ s/.*PTR\\s+(\\(.*\\))$/OFFSET $1/)\t# no []\n {\t$opcode=\"mov\";\t}\n- elsif ($opcode !~ /movq/)\n+ elsif ($opcode !~ /mov[dq]$/)\n {\t# fix xmm ... | 2015-02-13T09:33:59 |
ggml-org/llama.cpp | ae2d3f28a86f7132af742e89e212fcd874cf27f2 | ad8207af7730bd6675652319263b578e24a5c0e4 | ggml: ggml-cpu: force-no-lto-for-cpu-feats (#19609)
When LTO enabled in build environments it forces all builds to have LTO
in place. But feature detection logic is fragile, and causing Illegal
instruction errors with lto. This disables LTO for the feature
detection code to prevent cross-module optimization from inlin... | [
{
"path": "ggml/src/ggml-cpu/CMakeLists.txt",
"patch": "@@ -9,6 +9,11 @@ function(ggml_add_cpu_backend_features cpu_name arch)\n target_compile_definitions(${GGML_CPU_FEATS_NAME} PRIVATE ${ARGN})\n target_compile_definitions(${GGML_CPU_FEATS_NAME} PRIVATE GGML_BACKEND_DL GGML_BACKEND_BUILD GGML_BACK... | 2026-02-17T11:22:46 |
huggingface/transformers | 658b849aeb0ae56de47aab259f76d3fe075075e5 | fd3c128040561a9f67abaf6af30f8b50029ff083 | Quantization / TST: Fix remaining quantization tests (#31000)
* Fix remaining quant tests
* Update test_quanto.py | [
{
"path": "docker/transformers-all-latest-gpu/Dockerfile",
"patch": "@@ -45,9 +45,6 @@ RUN python3 -m pip install --no-cache-dir git+https://github.com/huggingface/opt\n # For video model testing\n RUN python3 -m pip install --no-cache-dir decord av==9.2.0\n \n-# For GGUF tests\n-RUN python3 -m pip install ... | 2024-05-24T12:35:59 |
golang/go | 85bb4294c07cc63fb21743594f3c7872387ff0f4 | c9211577eb77df9c51f0565f1da7d20ff91d59df | cmd/compile: fix and improve alias detection
"aliased" is the function responsible for detecting whether we can
turn "a, b = x, y" into just "a = x; b = y", or we need to pre-compute
y and save it in a temporary variable because it might depend on a.
It currently has two issues:
1. It suboptimally treats assignments... | [
{
"path": "src/cmd/compile/internal/gc/walk.go",
"patch": "@@ -2157,7 +2157,7 @@ func reorder3(all []*Node) []*Node {\n // The result of reorder3save MUST be assigned back to n, e.g.\n // \tn.Left = reorder3save(n.Left, all, i, early)\n func reorder3save(n *Node, all []*Node, i int, early *[]*Node) *Node {\... | 2020-10-12T21:02:36 |
rust-lang/rust | 84dd2a77769be235c19302d69b3bd1916718819e | fd17deacce374a4185c882795be162e17b557050 | Remove obsolete comment from DeduceReadOnly
The situation described in the comment does arise in practice now and
described panic is long gone. | [
{
"path": "compiler/rustc_mir_transform/src/deduce_param_attrs.rs",
"patch": "@@ -80,35 +80,6 @@ impl<'tcx> Visitor<'tcx> for DeduceReadOnly {\n // `f` passes. Note that function arguments are the only situation in which this problem can\n // arise: every other use of `move` in MIR doesn't a... | 2025-03-04T11:24:09 |
nodejs/node | f4c5144a65cae75f9e6ed6c32435b3d0d01c5633 | 8aca4f304582de6a1773630dfe6320ebbbce0c76 | deps: fix openssl assembly error on ia32 win32
`x86masm.pl` was mistakenly using .486 instruction set, why `cpuid` (and
perhaps others) are requiring .686 .
Fixes: https://github.com/iojs/io.js/issues/589
PR-URL: https://github.com/iojs/io.js/pull/1389
Reviewed-By: Fedor Indutny <fedor@indutny.com>
Reviewed-By: Ben N... | [
{
"path": "deps/openssl/openssl/crypto/perlasm/x86masm.pl",
"patch": "@@ -82,7 +82,7 @@ sub ::file\n IF \\@Version LT 800\n ECHO MASM version 8.00 or later is strongly recommended.\n ENDIF\n-.486\n+.686\n .MODEL\tFLAT\n OPTION\tDOTNAME\n IF \\@Version LT 800",
"additions": 1,
"deletions": 1,
"la... | 2014-01-08T19:05:01 |
ggml-org/llama.cpp | 667b694278e98a26974a50a3d809274ddd28f092 | e48349a49d55a02785ebf55c5531131c6d90d453 | model-conversion : make printing of config values optional (#19681)
* model-conversion : make printing of config values optional
This commit updates run-org-model.py to make the printing of model
configuration values optional.
The motivation for this change is that not all models have these
configuration values defi... | [
{
"path": "examples/model-conversion/scripts/causal/run-org-model.py",
"patch": "@@ -42,11 +42,15 @@ def load_model_and_tokenizer(model_path, device=\"auto\"):\n config = config.text_config\n multimodal = True\n \n- print(\"Vocab size: \", config.vocab_size)\n- print(\"Hidden siz... | 2026-02-17T09:46:53 |
huggingface/transformers | fd3c128040561a9f67abaf6af30f8b50029ff083 | acbfaf69ccca28efbde397ec55ce9f2c4ee8b509 | Fix resume_download future warning (#31007)
* Fix resume_download future warning
* better like this
* Add regression test | [
{
"path": "src/transformers/configuration_utils.py",
"patch": "@@ -648,7 +648,7 @@ def _get_config_dict(\n ) -> Tuple[Dict[str, Any], Dict[str, Any]]:\n cache_dir = kwargs.pop(\"cache_dir\", None)\n force_download = kwargs.pop(\"force_download\", False)\n- resume_download = kwargs... | 2024-05-24T12:35:40 |
rust-lang/rust | 9275ae994bb37415b490634a3b9bf7a5090b7afc | cdc1d9d87ab8c50a2ab2771906a1573c061ce02b | Walk back to the root context to compute the span
Since the error kind (`io::ErrorKind::other`) is in the root context,
the error message must be found in the root context as well to compute
the correct span to remove. | [
{
"path": "clippy_lints/src/methods/io_other_error.rs",
"patch": "@@ -27,7 +27,7 @@ pub(super) fn check(cx: &LateContext<'_>, expr: &Expr<'_>, path: &Expr<'_>, args\n \"use `std::io::Error::other`\",\n vec![\n (new_segment.ident.span, \"other\"... | 2025-03-04T10:57:23 |
golang/go | c9211577eb77df9c51f0565f1da7d20ff91d59df | 3a65abfbdac7ab29f693d69bd1eb12b2148a11ae | cmd/go/internal/modfetch: remove error return from Lookup
We generally don't care about errors in resolving a repo if the result
we're looking for is already in the module cache. Moreover, we can
avoid some expense in initializing the repo if all of the methods we
plan to call on it hit in the cache — especially when ... | [
{
"path": "src/cmd/go/internal/modfetch/cache.go",
"patch": "@@ -14,6 +14,7 @@ import (\n \t\"os\"\n \t\"path/filepath\"\n \t\"strings\"\n+\t\"sync\"\n \n \t\"cmd/go/internal/base\"\n \t\"cmd/go/internal/cfg\"\n@@ -155,16 +156,30 @@ func SideLock() (unlock func(), err error) {\n type cachingRepo struct {\n ... | 2020-10-02T20:25:17 |
ollama/ollama | a64570dcae17794adf100a85667180e03b6d7ef2 | 7c40a67841fd32073b66984e24605e5a0cc46f1a | Fix clearing kv cache between requests with the same prompt (#2186)
* Fix clearing kv cache between requests with the same prompt
* fix powershell script | [
{
"path": "llm/dyn_ext_server.go",
"patch": "@@ -190,6 +190,7 @@ func (llm *dynExtServer) Predict(ctx context.Context, predict PredictOpts, fn fu\n \t\t\"seed\": predict.Options.Seed,\n \t\t\"stop\": predict.Options.Stop,\n \t\t\"image_data\": imageData,\n+\t\t\"cache_prompt... | 2024-01-25T21:46:20 |
nodejs/node | 3d4d5e0c60f00693947c940b09249f3952bb0cdc | 562ea8986fc7ea94db3a901710eff0ffe53b4bde | test: fix test-cli-node-options on Windows
https://github.com/nodejs/node/pull/16495 broke the Windows build,
accounting for `\r\n` newlines should fix it.
Ref: https://github.com/nodejs/node/pull/16495
PR-URL: https://github.com/nodejs/node/pull/16709
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Rich... | [
{
"path": "test/parallel/test-cli-node-options.js",
"patch": "@@ -34,7 +34,7 @@ if (common.hasCrypto) {\n expect('--abort_on-uncaught_exception', 'B\\n');\n expect('--max-old-space-size=0', 'B\\n');\n expect('--stack-trace-limit=100',\n- /(\\s*at f \\(\\[eval\\]:1:\\d*\\)\\n){100}/,\n+ /(\\s*at ... | 2017-11-03T07:58:51 |
ggml-org/llama.cpp | 5f28c53d11210f3521328d6dac620c4b6ae0044b | 44084941448d841c9b12ad250da5619cddb58bd6 | model: Add support for Tiny Aya Models (#19611)
* changes for tiny aya
* changes to hash
* changes to vocab
* fix some tokenizer regex edge cases
* update comment
* add some comments for regex
* Apply suggestion from @ngxson
---------
Co-authored-by: Xuan-Son Nguyen <thichthat@gmail.com> | [
{
"path": "convert_hf_to_gguf.py",
"patch": "@@ -1124,6 +1124,9 @@ def get_vocab_base_pre(self, tokenizer) -> str:\n if chkhsh == \"9c2227e4dd922002fb81bde4fc02b0483ca4f12911410dee2255e4987644e3f8\":\n # ref: https://huggingface.co/CohereForAI/c4ai-command-r-v01\n res = \"com... | 2026-02-16T15:28:46 |
huggingface/transformers | ae87f9797bd387b5d9d9501f05b1a0ac8161256a | 04c7c176d7f70ec4b43c8c2a0327ff8d193f5c1d | FIX / TST: Fix expected results on Mistral AWQ test (#30971)
fix awq mistral test | [
{
"path": "tests/quantization/autoawq/test_awq.py",
"patch": "@@ -288,7 +288,7 @@ class AwqFusedTest(unittest.TestCase):\n \"You end up exactly where you started. Where are you?\"\n )\n \n- EXPECTED_GENERATION = prompt + \"\\n\\nYou are at the starting point.\\n\\nIf\"\n+ EXPECTED_GENERATI... | 2024-05-24T12:06:31 |
rust-lang/rust | 4dab55bcaa3f1a60f11b3ff36159c199bc210616 | 6efacfb7a59ebde2620398861713fae136060a04 | Revert "add fix for full tools and sanitizer"
This reverts commit 6efacfb7a59ebde2620398861713fae136060a04. | [
{
"path": "Cargo.lock",
"patch": "@@ -1997,22 +1997,22 @@ dependencies = [\n ]\n \n [[package]]\n-name = \"libffi-sys2\"\n-version = \"2.4.0\"\n+name = \"libffi\"\n+version = \"3.2.0\"\n source = \"registry+https://github.com/rust-lang/crates.io-index\"\n-checksum = \"47aedd9774ffb3dcab5c96f593cb5a0caf421a5... | 2025-03-04T09:38:06 |
golang/go | 3a65abfbdac7ab29f693d69bd1eb12b2148a11ae | 076a45acd5b8d2ce08a2dbe898dc9228554db92d | cmd/go: adjust ImportMissingError when module lookup is disabled
Previously, ImportMissingError said
"cannot find module providing package …"
even when we didn't even attempt to find such a module.
Now, we write "no module requirement provides package …"
when we did not attempt to identify a suitable module,
and sugg... | [
{
"path": "src/cmd/go/internal/modload/import.go",
"patch": "@@ -26,13 +26,15 @@ import (\n \t\"golang.org/x/mod/semver\"\n )\n \n-var errImportMissing = errors.New(\"import missing\")\n-\n type ImportMissingError struct {\n \tPath string\n \tModule module.Version\n \tQueryErr error\n \n+\t// inAll in... | 2020-09-29T21:45:02 |
nodejs/node | 5c475a722357b1d4ddf099992e3f5df7e51583e1 | 75095d700137e29ad1413972b8f6eed7c3473a65 | test: fix malformed parallel.status line
PR-URL: https://github.com/nodejs/node/pull/16702
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com> | [
{
"path": "test/parallel/parallel.status",
"patch": "@@ -6,7 +6,7 @@ prefix parallel\n \n [true] # This section applies to all platforms\n # https://github.com/nodejs/node/issues/16210\n-test-async-wrap-uncaughtexception\n+test-async-wrap-uncaughtexception: PASS,FLAKY\n \n [$system==win32]\n ",
"additio... | 2017-11-03T03:30:08 |
Subsets and Splits
Assembly Language GitHub Issues
Retrieves a sample of assembly-language related commits with their details, but doesn't provide meaningful analysis or patterns beyond basic filtering.
Swift Compiler Issues Analysis
Retrieves all training data for the Swift programming language repository, providing basic filtering but offering limited analytical insight beyond identifying relevant code examples.