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 |
|---|---|---|---|---|---|
ollama/ollama | e6ad4813d3ae1ac229aed71c5e609f829f61a25d | 13ba6df5abba724fdd06b5671c1707d4098592b2 | dont crash when redirecting stderr | [
{
"path": "progress/bar.go",
"patch": "@@ -37,7 +37,7 @@ func NewBar(message string, maxValue, initialValue int64) *Bar {\n func (b *Bar) String() string {\n \ttermWidth, _, err := term.GetSize(int(os.Stderr.Fd()))\n \tif err != nil {\n-\t\tpanic(err)\n+\t\ttermWidth = 80\n \t}\n \n \tvar pre, mid, suf stri... | 2023-11-20T04:50:45 |
nodejs/node | 2146c88bc7383ce66839e08cc22da17a51f5cacf | 7a71cd7d0c34b0de4d03cd931710aefdbc95c710 | src: fix NewContext for --without-intl
PR-URL: https://github.com/nodejs/node/pull/16251
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "src/node.cc",
"patch": "@@ -4787,9 +4787,9 @@ Local<Context> NewContext(Isolate* isolate,\n auto intl_key = FIXED_ONE_BYTE_STRING(isolate, \"Intl\");\n auto break_iter_key = FIXED_ONE_BYTE_STRING(isolate, \"v8BreakIterator\");\n Local<Value> intl_v;\n- Local<Object> intl;\n if (context->... | 2017-10-17T05:29:41 |
golang/go | 4ffc2bc533ed39b3cbb343ad5873105bfd58ff10 | ddd35f8d71120b0d0508dd0d8f3a727ba681dfb3 | cmd/compile: rename retsigerr to sigerr
retsigerr was used to create error message for both wrong function
arguments and return arguments, so change its name to sigerr to reflect
that.
While at it, also add documentation for the wrong function arguments
case.
Passes toolstash-check.
Change-Id: I740c717ad38d4afab9e8... | [
{
"path": "src/cmd/compile/internal/gc/typecheck.go",
"patch": "@@ -2711,7 +2711,7 @@ func errorDetails(nl Nodes, tstruct *types.Type, isddd bool) string {\n \t\t\treturn \"\"\n \t\t}\n \t}\n-\treturn fmt.Sprintf(\"\\n\\thave %s\\n\\twant %v\", nl.retsigerr(isddd), tstruct)\n+\treturn fmt.Sprintf(\"\\n\\tha... | 2020-09-17T00:46:01 |
ggml-org/llama.cpp | 287a33017b32600bfc0e81feeb0ad6e81e0dd484 | 293a1565dce30ede7bc64cf8973a901ce986074a | llama : Extend fallback, fix fileno for dio file, exclude case that mmap uses dio file (#18887) | [
{
"path": "src/llama-mmap.cpp",
"patch": "@@ -265,7 +265,8 @@ struct llama_file::impl {\n continue; // Interrupted by signal, retry\n }\n // Fallback to std::fread in case the DMA controller cannot access the buffer\n- if (e... | 2026-01-18T16:35:57 |
ollama/ollama | f6b317e8c9556b1865dd87f509acdc80097e5198 | ac5076ce1ed64c62d2d40701d9dd53d45fa4a1aa | fix sending too little data in chunk upload body | [
{
"path": "server/upload.go",
"patch": "@@ -123,19 +123,6 @@ func (b *blobUpload) Run(ctx context.Context, opts *RegistryOptions) {\n \tdefer blobUploadManager.Delete(b.Digest)\n \tctx, b.CancelFunc = context.WithCancel(ctx)\n \n-\tp, err := GetBlobsPath(b.Digest)\n-\tif err != nil {\n-\t\tb.err = err\n-\t\... | 2023-11-19T01:36:34 |
huggingface/transformers | 5090ea3f68de825e5a51d0cb3c0fa75c12af40b0 | d57ffb487ffb669ad048eca64d4590ff524eb772 | Fix llava half precision and autocast issues (#29721)
* Ensure input_embeds and image_features are the same dtype in autocast
* Fix nans in half precision llava-next and fix autocasting behavior.
* Fix styling issues.
* fix randn newline instantiation
* fix broken slow llava test
* Fix llava next init.
... | [
{
"path": "src/transformers/models/llava/modeling_llava.py",
"patch": "@@ -438,6 +438,7 @@ def forward(\n )\n \n image_features = self.multi_modal_projector(selected_image_feature)\n+ inputs_embeds = inputs_embeds.to(image_features.dtype)\n ... | 2024-05-01T16:49:44 |
nodejs/node | 686e092202514dfc3cf93a463e9177a80dd42133 | 49e2651013c876376875c41621b3c96a9b6b6914 | doc: remove duplicate options
PR-URL: https://github.com/nodejs/node/pull/16339
Fixes: https://github.com/nodejs/node/issues/16332
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Yuta Hiroto <hello@about-hirop... | [
{
"path": "doc/api/child_process.md",
"patch": "@@ -135,7 +135,6 @@ changes:\n \n * `command` {string} The command to run, with space-separated arguments.\n * `options` {Object}\n- * `timeout` {number} (Default: `0`)\n * `cwd` {string} Current working directory of the child process.\n * `env` {Object} ... | 2017-10-20T14:33:50 |
ggml-org/llama.cpp | fe44d355748d3fe8f4765fb38c49bf1663d06805 | bbcdac0189b847718026c77023a9f2c24523c4ba | tests : add test-jinja -py option for cross-checking (#18906)
* tests : add test-jinja -py option or cross-checking
* Update tests/test-jinja.cpp
Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com>
* fix + add source
* SandboxedEnvironment
* fix array.map case
---------
Co-authored-by: Sigbjørn Skjær... | [
{
"path": "tests/test-jinja.cpp",
"patch": "@@ -4,6 +4,7 @@\n #include <cstdlib>\n \n #include <nlohmann/json.hpp>\n+#include <sheredom/subprocess.h>\n \n #include \"jinja/runtime.h\"\n #include \"jinja/parser.h\"\n@@ -31,12 +32,24 @@ static void test_array_methods(testing & t);\n static void test_object_me... | 2026-01-18T07:14:27 |
rust-lang/rust | 900aab72cd801926ee52ba02d982ae6d92c0df4d | 2cdb90d96136278732c6b1fbe6a79cce2f0292ea | Fix ICE in manual_map lint
node_args doesn't work with struct literals and expr_ty must be used instead | [
{
"path": "clippy_utils/src/lib.rs",
"patch": "@@ -3651,7 +3651,10 @@ pub fn expr_requires_coercion<'tcx>(cx: &LateContext<'tcx>, expr: &Expr<'tcx>) -\n ExprKind::Struct(qpath, _, _) => {\n let res = cx.typeck_results().qpath_res(qpath, expr.hir_id);\n if let Some((_, v_def))... | 2025-02-28T20:09:27 |
golang/go | ddd35f8d71120b0d0508dd0d8f3a727ba681dfb3 | 234e23d76351c31b191e25b688aa43248d9b3d5b | cmd/compile: more comprehensive tests for #24991
The revised test now checks that unsafe-uintptr correctly works for
variadic uintptr parameters too, and the CL corrects the code so this
code compiles again.
The pointers are still not kept alive properly. That will be fixed by
a followup CL. But this CL at least allo... | [
{
"path": "src/cmd/compile/internal/gc/syntax.go",
"patch": "@@ -716,7 +716,7 @@ const (\n \tODCLCONST // const pi = 3.14\n \tODCLTYPE // type Int int or type Int = int\n \n-\tODELETE // delete(Left, Right)\n+\tODELETE // delete(List)\n \tODOT // Left.Sym (Left is of struct type)\n ... | 2020-09-18T04:38:42 |
huggingface/transformers | d2feb545918a325a3a8373db706ef6fe4ec5776f | 6e0cba3cecdfb6284c45eda11c8ee50805f138ca | Fix image segmentation example - don't reopen image (#30481)
Fix image segmentation example - don't repoen image | [
{
"path": "docs/source/en/tasks/semantic_segmentation.md",
"patch": "@@ -60,15 +60,15 @@ image\n <img src=\"https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/transformers/tasks/segmentation_input.jpg\" alt=\"Segmentation Input\"/>\n </div>\n \n-We will use [nvidia/segformer-... | 2024-05-01T15:52:57 |
ollama/ollama | 258addc79911e3035cc77e17709f5264f359b6ba | c06b9b7304a53ed5526dc51fc4fcafc45d92be54 | fix comment in `progress.go` | [
{
"path": "progress/progress.go",
"patch": "@@ -51,7 +51,7 @@ func (p *Progress) StopAndClear() bool {\n \n \tstopped := p.Stop()\n \tif stopped {\n-\t\t// clear the progress bar by:\n+\t\t// clear all progress lines\n \t\tfor i := 0; i < p.pos; i++ {\n \t\t\tfmt.Fprint(p.w, \"\\033[A\\033[2K\\033[1G\")\n \... | 2023-11-19T18:46:19 |
nodejs/node | 49e2651013c876376875c41621b3c96a9b6b6914 | 023b95bf4abe5f37319ead5c5319bf531c3f4dbb | doc: fix comment in assert.md
PR-URL: https://github.com/nodejs/node/pull/16335
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
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: Tobias Nießen <tniessen@t... | [
{
"path": "doc/api/assert.md",
"patch": "@@ -441,7 +441,7 @@ assert.notDeepEqual(obj1, obj3);\n // AssertionError: { a: { b: 1 } } notDeepEqual { a: { b: 1 } }\n \n assert.notDeepEqual(obj1, obj4);\n-// OK, obj1 and obj2 are not deeply equal\n+// OK, obj1 and obj4 are not deeply equal\n ```\n \n If the valu... | 2017-10-20T09:26:10 |
ggml-org/llama.cpp | bbcdac0189b847718026c77023a9f2c24523c4ba | d03c45c9c56795af8b0e899762bf266c14fd2028 | jinja : fix object item order (and properly implement dictsort) (#18904)
* fix object item order
* as_ordered_object
* copy whole object | [
{
"path": "common/jinja/runtime.cpp",
"patch": "@@ -268,8 +268,7 @@ value binary_expression::execute_impl(context & ctx) {\n // String in object\n if (is_val<value_string>(left_val) && is_val<value_object>(right_val)) {\n auto key = left_val->as_string().str();\n- auto & obj = right_v... | 2026-01-18T02:40:06 |
rust-lang/rust | 2d3639d55915748aeef28cab982492581d2a0bfc | 2f581937e1c06adb4607df1b571c0bef6d98e6ec | tests: adapt for LLVM 21 changes
Per discussion in #137799 we don't really need this readonly attribute,
so let's just drop it so the test passes on LLVM 21.
Fixes #137799. | [
{
"path": "tests/codegen/issues/issue-114312.rs",
"patch": "@@ -15,7 +15,6 @@ pub enum Expr {\n #[no_mangle]\n pub extern \"C\" fn issue_114312(expr: Expr) {\n // CHECK-LABEL: @issue_114312(\n- // CHECK-NOT: readonly\n // CHECK-SAME: byval\n // CHECK-NEXT: start:\n // CHECK-NEXT: ret void... | 2025-02-28T19:27:22 |
huggingface/transformers | bbaa8ceff696c479aecdb4575b2deb1349efd3aa | 3c69d81eebb6738463585500b716dc5830f1cdfa | Fix canonical model --model_type in examples (#30480)
Fix --model_type in examples | [
{
"path": "docs/source/es/converting_tensorflow_models.md",
"patch": "@@ -89,7 +89,7 @@ Aquí hay un ejemplo del proceso para convertir un modelo OpenAI GPT-2 pre-entre\n ```bash\n export OPENAI_GPT2_CHECKPOINT_PATH=/path/to/openai-community/gpt2/pretrained/weights\n \n-transformers-cli convert --model_type ... | 2024-05-01T14:47:05 |
golang/go | 0b1cec7ad33a073be15db89da90efcba9797df83 | dc59469f5178a0715a582cbfcc4cf9c06a2c9e82 | cmd/compile: rotate phase's title 180 degrees in ssa/html.go
Modify phase's title according to html.go:122 TODO.
Fixes #41098
Change-Id: I58fa365e718600aaaa0a72cce72d35a484cde8b8
Reviewed-on: https://go-review.googlesource.com/c/go/+/251657
Reviewed-by: Bradford Lamson-Scribner <brad.lamson@gmail.com>
Reviewed-by: K... | [
{
"path": "src/cmd/compile/internal/ssa/html.go",
"patch": "@@ -119,7 +119,8 @@ td.collapsed {\n }\n \n td.collapsed div {\n- /* TODO: Flip the direction of the phase's title 90 degrees on a collapsed column. */\n+ text-align: right;\n+ transform: rotate(180deg);\n writing-mode: vertical-lr;\n ... | 2020-08-30T03:36:45 |
ollama/ollama | 02524a56ff167f6307454abdd3c63d090fdef392 | 1657c6abc7f2061debb285797ecf8d1d52c0ddce | check retry for authorization error | [
{
"path": "server/images.go",
"patch": "@@ -1131,6 +1131,7 @@ func makeRequestWithRetry(ctx context.Context, method string, requestURL *url.UR\n \t\tif !errors.Is(err, context.Canceled) {\n \t\t\tlog.Printf(\"request failed: %v\", err)\n \t\t}\n+\n \t\treturn nil, err\n \t}\n \n@@ -1150,7 +1151,13 @@ func m... | 2023-11-19T05:19:53 |
ggml-org/llama.cpp | d03c45c9c56795af8b0e899762bf266c14fd2028 | 10c98cbdf623d982f7491e8de5711e916a913192 | jinja : attribute support for join, map and sort (#18883)
* support negative array index and default value
* attribute support (int and str) for join, map and sort
* add tests
* update CODEOWNERS
* improve fixme sorting comment | [
{
"path": "CODEOWNERS",
"patch": "@@ -15,6 +15,7 @@\n /common/common.* @ggerganov\n /common/console.* @ggerganov\n /common/http.* @angt\n+/common/jinja/ @ngxson @CISC @aldehir\n /common/llguidance.* ... | 2026-01-18T01:53:01 |
nodejs/node | 023b95bf4abe5f37319ead5c5319bf531c3f4dbb | c28466a2a440eb10d8dd8f1fb9467eb3e1b1a0d9 | test: replace fixturesDir with fixtures module
PR-URL: https://github.com/nodejs/node/pull/16262
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Gireesh Punathil... | [
{
"path": "test/parallel/test-https-client-resume.js",
"patch": "@@ -30,11 +30,11 @@ if (!common.hasCrypto)\n const assert = require('assert');\n const https = require('https');\n const tls = require('tls');\n-const fs = require('fs');\n+const fixtures = require('../common/fixtures');\n \n const options = {... | 2017-10-17T18:34:01 |
huggingface/transformers | 1e05671d213642a67dd418c13a18a17a18c25117 | 4b4da18f53b2e659d1bd6ca6fbf1daf0ca245db1 | Fix QA example (#30580)
* Handle cases when CLS token is absent
* Use BOS token as a fallback | [
{
"path": "examples/pytorch/question-answering/run_qa.py",
"patch": "@@ -434,7 +434,12 @@ def prepare_train_features(examples):\n for i, offsets in enumerate(offset_mapping):\n # We will label impossible answers with the index of the CLS token.\n input_ids = tokenized_example... | 2024-05-01T07:43:02 |
golang/go | 9e9c030083491aa485152601ebb3b96faa6dec4c | 982ac06f3df4ea08ae0506e6f9fb53eb27ddb140 | debug/elf: add many PT_ and DT_ constants
Change-Id: Icbb5a0f0ff4aa0a425aa4a15477da7bd0d58339c
Reviewed-on: https://go-review.googlesource.com/c/go/+/255138
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Tobias Klauser <tob... | [
{
"path": "src/debug/elf/elf.go",
"patch": "@@ -745,18 +745,51 @@ func (i CompressionType) GoString() string { return stringName(uint32(i), compre\n type ProgType int\n \n const (\n-\tPT_NULL ProgType = 0 /* Unused entry. */\n-\tPT_LOAD ProgType = 1 /* Loadable segment. */\n-\tPT_DYN... | 2020-09-16T04:20:22 |
ollama/ollama | 43a726149df828e1557608bdffa97efc806ee448 | 984714f13182a6b32a8d456427536bbe51d6032e | fix potentially inaccurate error message | [
{
"path": "llm/llama.go",
"patch": "@@ -226,7 +226,7 @@ type llama struct {\n }\n \n var (\n-\terrNvidiaSMI = errors.New(\"nvidia-smi command failed\")\n+\terrNvidiaSMI = errors.New(\"warning: gpu support may not be enabled, check you have installed GPU drivers: nvidia-smi command failed\")\n \terrA... | 2023-11-17T23:05:28 |
ggml-org/llama.cpp | 420960ab9285993b6432c13f4f221a2447409070 | f55b033ae6ce58ea695b4af8a68da78eb9781e3a | jinja : fix lexing of float literals with sign (#18901)
* fix lexing of float literals with sign
* add test
* consume_numeric | [
{
"path": "common/jinja/lexer.cpp",
"patch": "@@ -91,6 +91,16 @@ lexer_result lexer::tokenize(const std::string & source) {\n return str;\n };\n \n+ auto consume_numeric = [&]() -> std::string {\n+ std::string num = consume_while(is_integer);\n+ if (pos < src.size() && src[pos] ... | 2026-01-17T23:57:51 |
rust-lang/rust | cdef38812dd4de2a3fa3b3512b64c28c278ff7cc | 2f581937e1c06adb4607df1b571c0bef6d98e6ec | Use correct error message casing for `io::const_error`s
Error messages are supposed to start with lowercase letters, but a lot
of `io::const_error` messages did not. This fixes them to start with a
lowercase letter.
I did consider adding a const check for this to the macro, but some of
them start with proper nouns tha... | [
{
"path": "library/std/src/io/error.rs",
"patch": "@@ -83,7 +83,7 @@ impl Error {\n \n pub(crate) const UNKNOWN_THREAD_COUNT: Self = const_error!(\n ErrorKind::NotFound,\n- \"The number of hardware threads is not known for the target platform\",\n+ \"the number of hardware threads ... | 2025-02-28T16:50:38 |
nodejs/node | 76abf0fae0d015bd2b12d94fdd69bb4a4b1ed75d | 3c0ebf5aca935ebacf4f5b862c2ad4fb67614bcb | test: replace fixturesDir with fixtures module
PR-URL: https://github.com/nodejs/node/pull/15947
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> | [
{
"path": "test/parallel/test-internal-util-decorate-error-stack.js",
"patch": "@@ -1,11 +1,11 @@\n // Flags: --expose_internals\n 'use strict';\n-const common = require('../common');\n+require('../common');\n+const fixtures = require('../common/fixtures');\n const assert = require('assert');\n const intern... | 2017-10-06T17:30:23 |
huggingface/transformers | 4b4da18f53b2e659d1bd6ca6fbf1daf0ca245db1 | 4bc9cb36b70bc90e3ecbea750a68ec2a95853633 | Refactor default chat template warnings (#30551)
* Temporarily silence warnings in apply_chat_template until we can properly deprecate default chat templates
* make fixup
* Move the default chat template warning into apply_chat_template itself
* make fixup | [
{
"path": "src/transformers/models/blenderbot/tokenization_blenderbot.py",
"patch": "@@ -411,13 +411,6 @@ def default_chat_template(self):\n \"\"\"\n A very simple chat template that just adds whitespace between messages.\n \"\"\"\n- logger.warning_once(\n- \"No cha... | 2024-05-01T07:42:11 |
golang/go | 7a095c32366593f637a95bc927c63454125e3015 | 9a702fd427645e4bcd42a68f9676bc1ab2adb6e4 | cmd/go/internal/modload: avoid a network fetch when querying a valid semantic version
Test this behavior incidentally in a test for ambiguous import errors.
(I rediscovered the error when writing the new test.)
For #32567
Updates #28806
Change-Id: I323f05145734e5cf99818b9f04d65075f7c0f787
Reviewed-on: https://go-rev... | [
{
"path": "src/cmd/go/internal/modload/query.go",
"patch": "@@ -212,7 +212,20 @@ func queryProxy(ctx context.Context, proxy, path, query, current string, allowed\n \n \tdefault:\n \t\t// Direct lookup of semantic version or commit identifier.\n-\t\t//\n+\n+\t\t// If the query is a valid semantic version and... | 2020-09-15T19:14:55 |
ggml-org/llama.cpp | d1b4757dedbb60a811c8d7012249a96b1b702606 | 57c0beaed0a8ed9122e9e42357ba960a7a7d8c69 | opencl: fix q6_K mv for m=1 (#18893) | [
{
"path": "ggml/src/ggml-opencl/kernels/mul_mv_q6_k.cl",
"patch": "@@ -111,6 +111,10 @@ kernel void kernel_mul_mv_q6_K_f32(\n \n int row = N_SIMDGROUP * r0 + get_sub_group_id();\n \n+ if (row >= ne01) {\n+ return;\n+ }\n+\n int i12 = im%ne12;\n int i13 = im/ne12;\n ",
"additions... | 2026-01-17T21:50:32 |
huggingface/transformers | 4bc9cb36b70bc90e3ecbea750a68ec2a95853633 | 38a4bf79ad4e390d0b6375eed59565177ae61f26 | Fix Marian model conversion (#30173)
* fix marian model coversion
* uncomment that line
* remove unnecessary code
* revert tie_weights, doesn't hurt | [
{
"path": "src/transformers/models/marian/convert_marian_tatoeba_to_pytorch.py",
"patch": "@@ -34,7 +34,6 @@\n \n DEFAULT_REPO = \"Tatoeba-Challenge\"\n DEFAULT_MODEL_DIR = os.path.join(DEFAULT_REPO, \"models\")\n-LANG_CODE_URL = \"https://datahub.io/core/language-codes/r/language-codes-3b2.csv\"\n ISO_URL ... | 2024-05-01T07:33:12 |
rust-lang/rust | 7d4d09eeeb7de6afae90b6cdbabed257eb77727f | f45d4acf1bb635aa010f19f8a749eed8293203b3 | Shorten span of panic failures in const context
Previously, we included a redundant prefix on the panic message and a postfix of the location of the panic. The prefix didn't carry any additional information beyond "something failed", and the location of the panic is redundant with the diagnostic's span, which gets pri... | [
{
"path": "compiler/rustc_const_eval/messages.ftl",
"patch": "@@ -109,6 +109,8 @@ const_eval_frame_note_inner = inside {$where_ ->\n *[other] {\"\"}\n }\n \n+const_eval_frame_note_last = the failure occurred here\n+\n const_eval_in_bounds_test = out-of-bounds pointer use\n const_eval_incompatible_callin... | 2025-02-03T18:43:55 |
nodejs/node | 3c0ebf5aca935ebacf4f5b862c2ad4fb67614bcb | bf1bacef6bc49fa39a272ca63b7635de3e5e7f08 | tools: enable additional eslint rules
Enable additional rules that node either already adheres to
or it makes sense to do so going forward: for-direction,
accessor-pairs, no-lonely-if and symbol-description.
Fix all instances of no-lonely-if in lib & test and disable
accessor-pairs in test-util-inspect.
PR-URL: http... | [
{
"path": ".eslintrc.yaml",
"patch": "@@ -18,6 +18,7 @@ overrides:\n rules:\n # Possible Errors\n # http://eslint.org/docs/rules/#possible-errors\n+ for-direction: error\n no-control-regex: error\n no-debugger: error\n no-dupe-args: error\n@@ -41,6 +42,7 @@ rules:\n \n # Best Practices\n # ht... | 2017-10-16T22:37:14 |
golang/go | 22053790fa2c0944df53ea95df476ad2f855424f | 6796a7fb127676b61375339076ae1c982a721dde | cmd/compile: propagate go:notinheap implicitly
//go:notinheap
type T int
type U T
We already correctly propagate the notinheap-ness of T to U. But we
have an assertion in the typechecker that if there's no explicit
//go:notinheap associated with U, then report an error. Get rid of
that error so that implicit propag... | [
{
"path": "src/cmd/compile/internal/gc/typecheck.go",
"patch": "@@ -2068,12 +2068,6 @@ func typecheck1(n *Node, top int) (res *Node) {\n \t\tok |= ctxStmt\n \t\tn.Left = typecheck(n.Left, ctxType)\n \t\tcheckwidth(n.Left.Type)\n-\t\tif n.Left.Type != nil && n.Left.Type.NotInHeap() && !n.Left.Name.Param.Alia... | 2020-09-17T16:55:23 |
ollama/ollama | c6e6c8ee7e86b774436a18e72bb3b5f1c495ae43 | a185b29719a5ed93d1a7b18ad9d0b489e2a312f0 | fix cross device rename | [
{
"path": "server/routes.go",
"patch": "@@ -666,8 +666,14 @@ func HeadBlobHandler(c *gin.Context) {\n }\n \n func CreateBlobHandler(c *gin.Context) {\n+\ttargetPath, err := GetBlobsPath(c.Param(\"digest\"))\n+\tif err != nil {\n+\t\tc.AbortWithStatusJSON(http.StatusInternalServerError, gin.H{\"error\": err.... | 2023-11-17T23:21:57 |
ggml-org/llama.cpp | 2fbde785bc106ae1c4102b0e82b9b41d9c466579 | a89002f07b55dace8671fc07b2e2418700716992 | kv-cache : optimize KQ mask construction (#18842)
* kv-cache : optimize KQ mask construction
* cont : add explanation + improve
* cont : fix | [
{
"path": "src/llama-hparams.cpp",
"patch": "@@ -200,42 +200,6 @@ uint32_t llama_hparams::n_layer_kv() const {\n return res;\n }\n \n-bool llama_hparams::is_masked_swa(uint32_t n_swa, llama_swa_type swa_type, llama_pos p0, llama_pos p1) {\n- assert(p0 >= 0 && p1 >= 0);\n-\n- switch (swa_type) {\n-... | 2026-01-17T13:42:42 |
huggingface/transformers | 38a4bf79ad4e390d0b6375eed59565177ae61f26 | 9d31b32e9d7b6d939f42035d6b5ee91cc395ac9a | Encoder-decoder models: move embedding scale to nn.Module (#30410)
* move scaling to nn.Module
* let the test be here for now (need to fix)
* failing tests
* last failing models
* Revert commit 4c14817f38
* clean-up
* oops forgot
* codestyle
* raise NotImplemented when possible
* Update test... | [
{
"path": "src/transformers/models/bart/modeling_bart.py",
"patch": "@@ -132,6 +132,19 @@ def forward(self, input_ids: torch.Tensor, past_key_values_length: int = 0):\n return super().forward(positions + self.offset)\n \n \n+class BartScaledWordEmbedding(nn.Embedding):\n+ \"\"\"\n+ This module... | 2024-05-01T07:33:00 |
rust-lang/rust | 18616dcd4fce257e2a994914d8680ea4ed0098fe | 4a9b8c6415c59ef81c023e1f1de01b7bdb3d9675 | fix: `map_entry` suggest wrongly when key is not `Copy` | [
{
"path": "clippy_lints/src/entry.rs",
"patch": "@@ -1,5 +1,6 @@\n-use clippy_utils::diagnostics::span_lint_and_sugg;\n+use clippy_utils::diagnostics::{span_lint, span_lint_and_sugg};\n use clippy_utils::source::{reindent_multiline, snippet_indent, snippet_with_applicability, snippet_with_context};\n+use cl... | 2025-02-27T16:28:45 |
nodejs/node | f2f391e575fc8072d10e1ad1601ef3f67f13a4db | d6ba14e5a52c393cbb9a01e55122ca9beff4df13 | http: send 400 bad request on parse error
A web server such as nginx assumes that upstream is dead
if upstream closes the socket without any response.
PR-URL: https://github.com/nodejs/node/pull/15324
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
Reviewed-By... | [
{
"path": "lib/_http_server.js",
"patch": "@@ -38,6 +38,7 @@ const {\n const { OutgoingMessage } = require('_http_outgoing');\n const { outHeadersKey, ondrain } = require('internal/http');\n const errors = require('internal/errors');\n+const Buffer = require('buffer').Buffer;\n \n const STATUS_CODES = {\n ... | 2017-09-11T02:00:10 |
golang/go | 6796a7fb127676b61375339076ae1c982a721dde | 35e413c5373538ca6e0516f454f78c74477eff2c | cmd/addr2line: don't assume that GOROOT_FINAL is clean
Fixes #41447
Change-Id: I4460c1c7962d02c41622a5ea1a3c4bc3714a1873
Reviewed-on: https://go-review.googlesource.com/c/go/+/255477
Trust: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Rev... | [
{
"path": "src/cmd/addr2line/addr2line_test.go",
"patch": "@@ -73,29 +73,37 @@ func testAddr2Line(t *testing.T, exepath, addr string) {\n \tif err != nil {\n \t\tt.Fatalf(\"Stat failed: %v\", err)\n \t}\n+\n \t// Debug paths are stored slash-separated, so convert to system-native.\n \tsrcPath = filepath.Fro... | 2020-09-17T13:09:39 |
ggml-org/llama.cpp | a89002f07b55dace8671fc07b2e2418700716992 | 388ce822415f24c60fcf164a321455f1e008cafb | ggml webgpu: support for backend sampling (#18880)
* ggml webgpu: add SOFTPLUS unary operator
Implements SOFTPLUS (log(1 + exp(x))) with f16/f32 support. Uses f32
precision for intermediate calculations to prevent f16 overflow.
* Add shader implementation and 4 variants (f32/f16, inplace/non-inplace)
* Register pipe... | [
{
"path": "docs/ops.md",
"patch": "@@ -20,10 +20,10 @@ Legend:\n | ADD1 | ❌ | ✅ | ✅ | ✅ | ❌ | ❌ | ✅ | ✅ | ❌ | ❌ | ❌ |\n | ADD_ID | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ❌ | ❌ |\n | ARANGE | ❌ | ✅ | ✅ | ✅ | ✅ | ❌ | ✅ | ✅ | ❌ | ❌ | ... | 2026-01-17T00:12:43 |
ollama/ollama | a185b29719a5ed93d1a7b18ad9d0b489e2a312f0 | dc84b20d6be6f78b524d8eb5588011105b5c7eb3 | fix install script error on linux | [
{
"path": "scripts/install.sh",
"patch": "@@ -97,16 +97,6 @@ Environment=\"PATH=$PATH\"\n [Install]\n WantedBy=default.target\n EOF\n-\n- mkdir -p /etc/systemd/system/ollama.service.d\n- cat <<EOF | $SUDO tee /etc/systemd/system/ollama.service.d/environment.conf >/dev/null\n-[Service]\n-#Environment=\... | 2023-11-17T23:00:41 |
huggingface/transformers | 78fdd64dcf79dba5f92b88bb297a801028b35515 | 87927b248e9154b74c58dc9aef1438b3eb327937 | Remove `use_square_size` after loading (#30567)
* fix
* add test
---------
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> | [
{
"path": "src/transformers/models/clip/image_processing_clip.py",
"patch": "@@ -143,6 +143,10 @@ def __init__(\n # for backwards compatibility of KOSMOS-2\n if \"use_square_size\" in kwargs:\n self.size = {\"height\": size[\"shortest_edge\"], \"width\": size[\"shortest_edge\"]}\... | 2024-04-30T19:11:37 |
rust-lang/rust | 476b0980f22f4a4de2102f2994da39600fc4546d | 2f581937e1c06adb4607df1b571c0bef6d98e6ec | adjust Layout debug printing to match the internal field names | [
{
"path": "compiler/rustc_abi/src/lib.rs",
"patch": "@@ -1812,7 +1812,7 @@ where\n f.debug_struct(\"Layout\")\n .field(\"size\", size)\n .field(\"align\", align)\n- .field(\"abi\", backend_repr)\n+ .field(\"backend_repr\", backend_repr)\n .fi... | 2025-02-28T15:30:59 |
nodejs/node | c9d5be4af098848ebb4573d47750c4798845458d | 33b4320cf9d5b99016fe9b619a8f930f99b59c56 | test: fix flaky test-make-doc
`test-make-doc` fails in CI on Raspberry Pi devices where `test-ci-js`
runs the test but does not build the docs. We do not want to build the
docs in these cases. Move the test to the `doctool` suite and add that
suite to `IGNORED_SUITES` in `test.py`. Specify `doctool` as a test
suite to... | [
{
"path": "Makefile",
"patch": "@@ -214,7 +214,7 @@ test: all\n \t\t$(CI_ASYNC_HOOKS) \\\n \t\t$(CI_JS_SUITES) \\\n \t\t$(CI_NATIVE_SUITES) \\\n-\t\tknown_issues\n+\t\tdoctool known_issues\n \t$(MAKE) lint\n endif\n \n@@ -392,7 +392,7 @@ test-ci: | clear-stalled build-addons build-addons-napi doc\n \tout/Re... | 2017-10-18T20:39:19 |
golang/go | 07d5eb075b6f270ae4443e9689821d2e403b72b5 | 0f7ac9b4f5f6bc20344feb8a2c32b8126df80baa | cmd/go: allow output in non-existent directory
When 'go build' is given an output path with -o, if the output path
ends with a path separator, always treat it as a directory.
Fixes #41313
Change-Id: I9a9c25448abfcd6297ad973f5ed2025b2568a4a7
GitHub-Last-Rev: 20a19bd63a2779a2c94b0efdf86146ffd551293c
GitHub-Pull-Reques... | [
{
"path": "src/cmd/go/alldocs.go",
"patch": "@@ -93,8 +93,9 @@\n //\n // The -o flag forces build to write the resulting executable or object\n // to the named output file or directory, instead of the default behavior described\n-// in the last two paragraphs. If the named output is a directory that exists,... | 2020-09-17T02:59:28 |
ggml-org/llama.cpp | 388ce822415f24c60fcf164a321455f1e008cafb | 6ba6a3c76f1981017bff8a8c0b8857e88db1cdb9 | ggml : extend ggml_pool_1d + metal (#16429)
* chore: resolve conflicts
* feat: ggml metal impl
* fix: ggml_metal_kargs_pool_1d struct
* fix: require contiguous input
* chore: test pool_1d
* chore: limit pool1d test cases to p0=0 and s0=k0 to conform with asserts
* chore: add p0 and s0 to testing
* fix: allow pa... | [
{
"path": "ggml/src/ggml-cpu/ops.cpp",
"patch": "@@ -7,10 +7,9 @@\n #include \"unary-ops.h\"\n #include \"vec.h\"\n \n-#include <cfloat>\n #include <algorithm>\n+#include <cfloat>\n #include <cmath>\n-#include <functional>\n \n // ggml_compute_forward_dup\n \n@@ -7110,12 +7109,13 @@ void ggml_compute_forwar... | 2026-01-16T14:59:56 |
huggingface/transformers | b8ac4d035c392bc518c6a12b28e84cc446911287 | 2ecefc3959705b3b4f696736fa1c5b44102f31c7 | Fix generation doctests (#30263)
* fix doctest
* fix torch doctest
* make CI happy
* raise error
* make fixup | [
{
"path": "src/transformers/generation/candidate_generator.py",
"patch": "@@ -19,12 +19,12 @@\n import torch\n \n from ..cache_utils import DynamicCache\n+from .logits_process import LogitsProcessorList, MinLengthLogitsProcessor\n \n \n if TYPE_CHECKING:\n from ..modeling_utils import PreTrainedModel\n ... | 2024-04-30T19:02:26 |
rust-lang/rust | 88f988cf139797edd56aea011998d5c9f07b5685 | 50a37ca56c1f13fdfc0df789a92d0052e731e9ba | use fixed-width integer types in C code | [
{
"path": "src/tools/miri/tests/native-lib/ptr_read_access.c",
"patch": "@@ -1,33 +1,34 @@\n #include <stdio.h>\n+#include <stdint.h>\n \n // See comments in build_native_lib()\n #define EXPORT __attribute__((visibility(\"default\")))\n \n /* Test: test_access_pointer */\n \n-EXPORT void print_pointer(const... | 2025-02-28T15:06:27 |
nodejs/node | ca12ae6015e6936ecc8cea89222eee42911d1bf1 | 35deef06765cdf5638a7d031ab7e832af3cf4c82 | test: replace fixturesDir with fixtures module
PR-URL: https://github.com/nodejs/node/pull/16095
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Gireesh Punathil... | [
{
"path": "test/parallel/test-module-children.js",
"patch": "@@ -1,10 +1,11 @@\n // Flags: --no-deprecation\n 'use strict';\n-const common = require('../common');\n+require('../common');\n+const fixtures = require('../common/fixtures');\n const assert = require('assert');\n const path = require('path');\n \... | 2017-10-18T22:06:37 |
ggml-org/llama.cpp | 0802d4cfb3e5e5b7340fdd4d41770f2f16379b4e | c945aaaef298ddb3eed72d36e45d6b3a2a1abd75 | ggml-blas: hide warnings from included BLAS headers (#18818)
* fix compile def openblas, blis for compat libs, nvpl compile def, warn if no blas vendor set
* ggml-blas: hide warnings from included BLAS headers | [
{
"path": "ggml/src/ggml-blas/CMakeLists.txt",
"patch": "@@ -93,7 +93,7 @@ if (BLAS_FOUND)\n endif()\n \n target_link_libraries (ggml-blas PRIVATE ${BLAS_LIBRARIES})\n- target_include_directories(ggml-blas PRIVATE ${BLAS_INCLUDE_DIRS})\n+ target_include_directories(ggml-blas SYSTEM PRIVATE... | 2026-01-16T11:38:25 |
huggingface/transformers | 2ecefc3959705b3b4f696736fa1c5b44102f31c7 | 0cdb6b3f92360df5bd78f26df6e44e7e2d649dbf | Add chat templating support for KeyDataset in text-generation pipeline (#30558)
* added chat templating support for keydataset in generation pipeline
* fixed and improved test
* fix formatting test failures
* Fix tests
* Fix tests | [
{
"path": "src/transformers/pipelines/text_generation.py",
"patch": "@@ -8,6 +8,7 @@\n \n if is_torch_available():\n from ..models.auto.modeling_auto import MODEL_FOR_CAUSAL_LM_MAPPING_NAMES\n+ from .pt_utils import KeyDataset\n \n if is_tf_available():\n import tensorflow as tf\n@@ -243,7 +244,9... | 2024-04-30T18:51:41 |
golang/go | 0f7ac9b4f5f6bc20344feb8a2c32b8126df80baa | 5abba0c73723a843315c0f7ed014617445af6243 | cmd/go: use the correct linker config in the buildID hash
The linker config is hashed into the buildID; however,
the GOROOT_FINAL environment variable that is
actually used when -trimpath is specified was not
reflected in that hash. This change fixes that.
Fixes #38989
Change-Id: I418a21a9f6293ca63c101d22b501dfdba8e... | [
{
"path": "src/cmd/go/internal/work/exec.go",
"patch": "@@ -1178,8 +1178,13 @@ func (b *Builder) printLinkerConfig(h io.Writer, p *load.Package) {\n \t\tkey, val := cfg.GetArchEnv()\n \t\tfmt.Fprintf(h, \"%s=%s\\n\", key, val)\n \n-\t\t// The linker writes source file paths that say GOROOT_FINAL.\n-\t\tfmt.... | 2020-09-17T04:31:50 |
nodejs/node | 31cde1c5118469889ec70eec72d6597ed2791687 | 7babce90c9c87ccfa63169e86c7c26cdef3ebc26 | test: skip test due to file size limit
The test requires a file size limit that is greater than the string
size limit. Some aix machines might not meet this criteria so in
which case we should skip the test.
PR-URL: https://github.com/nodejs/node/pull/16273
Fixes: https://github.com/nodejs/node/issues/16319
Reviewed-... | [
{
"path": "test/sequential/test-fs-readfile-tostring-fail.js",
"patch": "@@ -8,7 +8,10 @@ if (!common.enoughTestMem)\n const assert = require('assert');\n const fs = require('fs');\n const path = require('path');\n+const cp = require('child_process');\n const kStringMaxLength = process.binding('buffer').kSt... | 2017-10-18T00:01:31 |
ggml-org/llama.cpp | c945aaaef298ddb3eed72d36e45d6b3a2a1abd75 | c15395f73c42805d9609a55749a1d4b5b2251379 | mtmd : Fix ASR for LFM2.5-Audio-1.5B (#18876) | [
{
"path": "tools/mtmd/models/conformer.cpp",
"patch": "@@ -12,7 +12,6 @@ ggml_cgraph * clip_graph_conformer::build() {\n ggml_build_forward_expand(gf, pos_emb);\n \n ggml_tensor * inp = build_inp_raw(1);\n- cb(inp, \"input\", -1);\n \n auto * cur = ggml_cont(ctx0, ggml_transpose(ctx0, inp));\... | 2026-01-16T10:23:08 |
huggingface/transformers | 0cdb6b3f92360df5bd78f26df6e44e7e2d649dbf | 9112520b15722fe113c9119f0c4524653e37becc | BlipModel: get_multimodal_features method (#30438)
* add_blip_get_multimodal_feautres
* Fix docstring error
* reimplement get_multimodal_features
* fix error
* recheck code quality
* add new necessary tests | [
{
"path": "src/transformers/models/blip/modeling_blip.py",
"patch": "@@ -814,6 +814,59 @@ def get_image_features(\n \n return image_features\n \n+ @add_start_docstrings_to_model_forward(BLIP_INPUTS_DOCSTRING)\n+ def get_multimodal_features(\n+ self,\n+ input_ids: Optional[torch.L... | 2024-04-30T18:01:01 |
golang/go | 5abba0c73723a843315c0f7ed014617445af6243 | 967465da2975fe4322080703ce5a77ea90752829 | cmd/go: prepare tests for GO111MODULE=on by default
Set GO111MODULE=off explicitly in tests specific to GOPATH mode.
Added a go.mod file to other tests that assumed GOPATH mode.
Fixed an issue in the build metadata file generated in
modload/build.go, which did not end with a newline. This broke the
build_dash_x test... | [
{
"path": "src/cmd/go/internal/modload/build.go",
"patch": "@@ -355,13 +355,13 @@ func ModInfoProg(info string, isgccgo bool) []byte {\n import _ \"unsafe\"\n //go:linkname __debug_modinfo__ runtime.modinfo\n var __debug_modinfo__ = %q\n-\t`, string(infoStart)+info+string(infoEnd)))\n+`, string(infoStart)+i... | 2020-09-15T16:59:05 |
huggingface/transformers | 9112520b15722fe113c9119f0c4524653e37becc | 78a57c5e1a2eb79bdaec4ac0617bd757c998f16a | Fix seq2seq collator padding (#30556)
* fix seq2seq data collator to respect the given padding strategy
further added tests for the seq2seq data collator in the style of the `data_collator_for_token_classification` (pt, tf, np)
* formatting and change bool equals "==" to "is"
* add missed return types in test... | [
{
"path": "examples/pytorch/speech-recognition/run_speech_recognition_seq2seq.py",
"patch": "@@ -122,7 +122,8 @@ class ModelArguments:\n metadata={\"help\": \"Deprecated. Please use the `language` and `task` arguments instead.\"},\n )\n suppress_tokens: List[int] = field(\n- default=N... | 2024-04-30T17:32:30 |
nodejs/node | 10ef56359e5b4e3eb1e0ec96767375420b7e0fe5 | 1fd662c0e38a89308e0fcd85f1c98cc94dda5a98 | lib: fix extraneous space in module.js
An extra space was not caught by the linter due to what appears
to be a bug in eslint 4.3.0 — remove it.
PR-URL: https://github.com/nodejs/node/pull/16199
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Yuta Hiroto <hello@... | [
{
"path": "lib/module.js",
"patch": "@@ -535,7 +535,7 @@ Module.prototype.load = function(filename) {\n ESMLoader.moduleMap.set(urlString,\n new ModuleJob(ESMLoader, url, async () => ctx));\n } else {\n- const job = ESMLoader.moduleMap.get(urlString);\n+ co... | 2017-10-14T04:01:36 |
ollama/ollama | c82ead4d01411ac5b6b863e782faae066c00f2ad | 90860b6a7e1cd8ce6a200ff39f9779041d3726e3 | faq: fix heading and add more details | [
{
"path": "docs/faq.md",
"patch": "@@ -149,8 +149,8 @@ docker build -t ollama-with-ca .\n docker run -d -e HTTPS_PROXY=https://my.proxy.example.com -p 11434:11434 ollama-with-ca\n ```\n \n-### How do I use Ollama with GPU acceleration in Docker?\n+## How do I use Ollama with GPU acceleration in Docker?\n \n... | 2023-11-17T17:00:14 |
ggml-org/llama.cpp | c15395f73c42805d9609a55749a1d4b5b2251379 | aa1dc3770aaf0cefdfc38bde7bf34838248937c9 | common : implement new jinja template engine (#18462)
* jinja vm
* lexer
* add vm types
* demo
* clean up
* parser ok
* binary_expression::execute
* shadow naming
* bin ops works!
* fix map object
* add string builtins
* add more builtins
* wip
* use mk_val
* eval with is_user_input
* render gemma tmpl ... | [
{
"path": "README.md",
"patch": "@@ -585,6 +585,5 @@ $ echo \"source ~/.llama-completion.bash\" >> ~/.bashrc\n - [yhirose/cpp-httplib](https://github.com/yhirose/cpp-httplib) - Single-header HTTP server, used by `llama-server` - MIT license\n - [stb-image](https://github.com/nothings/stb) - Single-header im... | 2026-01-16T10:22:06 |
golang/go | 7f24142b7b289df7e98ed3e1ccd673824dd1d0ee | f5d59d0e382dc59195537a128fe9423a49a4cea8 | syscall, cmd/go/internal/lockedfile/internal/filelock: add and use Flock on illumos
Copy the syscall wrapper from golang.org/x/sys/unix CL 255377 to provide
Flock on illumos and switch cmd/go/internal/lockedfile/internal/filelock
to use it.
Fixes #35618
Change-Id: I876a2b782329a988fa85361fb1ea58eb6f329af1
Reviewed-o... | [
{
"path": "src/cmd/go/internal/lockedfile/internal/filelock/filelock_fcntl.go",
"patch": "@@ -2,7 +2,7 @@\n // Use of this source code is governed by a BSD-style\n // license that can be found in the LICENSE file.\n \n-// +build aix solaris\n+// +build aix solaris,!illumos\n \n // This code implements the f... | 2020-09-16T20:15:13 |
huggingface/transformers | 78a57c5e1a2eb79bdaec4ac0617bd757c998f16a | 1bff6a0b58eb96c97647c78b50f27d1d3500572d | DBRX: make fixup (#30578) | [
{
"path": "src/transformers/models/dbrx/modeling_dbrx.py",
"patch": "@@ -1215,6 +1215,7 @@ def _update_causal_mask(\n # KV cache is used. This is an issue for torch.compile which then recaptures cudagraphs at each decode steps due to the dynamic shapes.\n # (`recording cudagraph tree for sym... | 2024-04-30T17:30:23 |
ollama/ollama | a5ccf742c1ab0af3f350a42a5a4e511780c238b3 | e33ef391cd937f1e46e7f257e7722e3014c79981 | fix cross repo mounts | [
{
"path": "server/upload.go",
"patch": "@@ -77,6 +77,14 @@ func (b *blobUpload) Prepare(ctx context.Context, requestURL *url.URL, opts *Reg\n \n \tb.Total = fi.Size()\n \n+\t// http.StatusCreated indicates a blob has been mounted\n+\t// ref: https://distribution.github.io/distribution/spec/api/#cross-reposi... | 2023-11-16T20:18:03 |
ggml-org/llama.cpp | e20fa27a026b719df3b178cd33d6fb4db2a26578 | baa4ba0aecde5bce2e801b6bd7ecf020219bf2b7 | CANN: fix an issue where get_env was not fully renamed (#18796)
* CANN: fix an issue where get_env was not fully renamed
* ci: add cann with acl group
* ci: define use_acl_graph using GitHub Action
* ci: update cann dockerfile with acl graph | [
{
"path": ".devops/cann.Dockerfile",
"patch": "@@ -42,6 +42,7 @@ RUN source /usr/local/Ascend/ascend-toolkit/set_env.sh --force \\\n -DGGML_CANN=ON \\\n -DCMAKE_BUILD_TYPE=Release \\\n -DSOC_TYPE=ascend${CHIP_TYPE} \\\n+ -DUSE_ACL_GRAPH=ON \\\n . && \\\n cmake --bu... | 2026-01-16T08:24:04 |
nodejs/node | f8ef2e2bf95dd65cb06a7f5e581e856c302f0793 | 8f5fedb55548aedc24e0d8c12e1605281a685731 | doc: fix links in http2.md
PR-URL: https://github.com/nodejs/node/pull/16307
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> | [
{
"path": "doc/api/http2.md",
"patch": "@@ -2712,9 +2712,9 @@ if the stream is closed.\n [`ServerHttp2Stream`]: #http2_class_serverhttp2stream\n [`TypeError`]: errors.html#errors_class_typeerror\n [`http2.SecureServer`]: #http2_class_http2secureserver\n-[`http2.createSecureServer()`]: #http2_createsecureser... | 2017-10-18T22:42:06 |
golang/go | 7ee35cb301eddf4d53e7bb2d5bf0873922d63a6e | 10dfb1dd3d1d26122cf18f29468ec17eb7222c3f | cmd/compile: be more specific in cannot assign errors
"cannot assign to" compiler errors are very laconic: they never
explain why the lhs cannot be assigned to (with one exception, when
assigning to a struct field in a map).
This change makes them a little more specific, in two more cases: when
assigning to a string,... | [
{
"path": "src/cmd/compile/internal/gc/typecheck.go",
"patch": "@@ -3135,9 +3135,14 @@ func checkassign(stmt *Node, n *Node) {\n \t\treturn\n \t}\n \n-\tif n.Op == ODOT && n.Left.Op == OINDEXMAP {\n+\tswitch {\n+\tcase n.Op == ODOT && n.Left.Op == OINDEXMAP:\n \t\tyyerror(\"cannot assign to struct field %v ... | 2020-09-16T11:13:50 |
huggingface/transformers | 0ae789e04330e15a90e34cd723c851a8ab8d7ec5 | c712d05aa8fc8ba3ebe465079bd377d2dc9c2e07 | Enable multi-device for more models (#30409)
* feat: support for dinov2
* feat: support for depth_anything
* feat: support for efficientformer
* feat: support for bert (is this right?)
* update: embedding split
* remove: empty string
* feat: support for align
* fix: copies
* fix: QAQBertEmbeddi... | [
{
"path": "src/transformers/models/align/modeling_align.py",
"patch": "@@ -1203,6 +1203,7 @@ def _init_weights(self, module):\n )\n class AlignTextModel(AlignPreTrainedModel):\n config_class = AlignTextConfig\n+ _no_split_modules = [\"AlignTextEmbeddings\"]\n \n def __init__(self, config: AlignTe... | 2024-04-30T11:09:08 |
ollama/ollama | e33ef391cd937f1e46e7f257e7722e3014c79981 | 75295b952899daaa1ad188088c5f37e62a414b55 | fix push scope error for inherited model | [
{
"path": "server/upload.go",
"patch": "@@ -55,7 +55,7 @@ func (b *blobUpload) Prepare(ctx context.Context, requestURL *url.URL, opts *Reg\n \tif b.From != \"\" {\n \t\tvalues := requestURL.Query()\n \t\tvalues.Add(\"mount\", b.Digest)\n-\t\tvalues.Add(\"from\", b.From)\n+\t\tvalues.Add(\"from\", ParseModel... | 2023-11-16T19:44:09 |
huggingface/transformers | 9df8b301ceb6697a713fbe4034dc02395e5b28cd | 87be06ca77166e6a6215eee5a990ab9f07238a18 | Reenable SDPA's FA2 During Training with torch.compile (#30442)
* Reenable SDPA's FA2 during training with torch.compile
* fix Olmo's SDPA FA2 dispatching too
* update formatting
* improved SDPA comment
* formatting and explanatory comment
* is_causal if statement to one-liner | [
{
"path": "src/transformers/modeling_attn_mask_utils.py",
"patch": "@@ -240,6 +240,7 @@ def _ignore_causal_mask_sdpa(\n inputs_embeds: torch.Tensor,\n past_key_values_length: int,\n sliding_window: Optional[int] = None,\n+ is_training: bool = False,\n ) -> bool:\n ... | 2024-04-29T16:45:43 |
golang/go | 10dfb1dd3d1d26122cf18f29468ec17eb7222c3f | 37f261010f837f945eaa2d33d90cd822b4e93459 | runtime: actually fix locking in BenchmarkMSpanCountAlloc
I just submitted CL 255297 which mostly fixed this problem, but totally
forgot to actually acquire/release the heap lock. Oops.
Updates #41391.
Change-Id: I45b42f20a9fc765c4de52476db3654d4bfe9feb3
Reviewed-on: https://go-review.googlesource.com/c/go/+/255298
... | [
{
"path": "src/runtime/export_test.go",
"patch": "@@ -991,15 +991,19 @@ type MSpan mspan\n func AllocMSpan() *MSpan {\n \tvar s *mspan\n \tsystemstack(func() {\n+\t\tlock(&mheap_.lock)\n \t\ts = (*mspan)(mheap_.spanalloc.alloc())\n+\t\tunlock(&mheap_.lock)\n \t})\n \treturn (*MSpan)(s)\n }\n \n // Free an a... | 2020-09-16T17:08:55 |
nodejs/node | 8f5fedb55548aedc24e0d8c12e1605281a685731 | 7be4a84c667f41da130163d083747dbd4187f1bd | build, windows: use /bigobj for debug builds
PR-URL: https://github.com/nodejs/node/pull/16289
Fixes: https://github.com/nodejs/node/issues/16288
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Michaël Zasso <t... | [
{
"path": "common.gypi",
"patch": "@@ -118,6 +118,9 @@\n 'MinimalRebuild': 'false',\n 'OmitFramePointers': 'false',\n 'BasicRuntimeChecks': 3, # /RTC1\n+ 'AdditionalOptions': [\n+ '/bigobj', # prevent error C1128 in VS2015\n+ ],\n ... | 2017-10-18T11:39:33 |
huggingface/transformers | 87be06ca77166e6a6215eee5a990ab9f07238a18 | c02421883b2a59e075ec87de8d82f02a944fb5e8 | Fix repo. fetch/checkout in PR slow CI job (#30537)
fix
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> | [
{
"path": ".github/workflows/self-new-model-pr-caller.yml",
"patch": "@@ -69,7 +69,7 @@ jobs:\n \n - name: Update clone\n working-directory: /transformers\n- run: git fetch && git checkout ${{ github.event.pull_request.head.sha }}\n+ run: git fetch && git fetch origin pull/${{ gi... | 2024-04-29T12:32:43 |
ollama/ollama | 75295b952899daaa1ad188088c5f37e62a414b55 | db5ef3004c539688f15dbd3fb3ee9d8c0b48fe05 | install: fix enable contrib on debian 12 (#1151)
On debian 12, sources definitions have moved from
/etc/apt/sources.list to /etc/apt/sources.list.d/debian.sources | [
{
"path": "scripts/install.sh",
"patch": "@@ -181,6 +181,9 @@ install_cuda_driver_apt() {\n debian)\n status 'Enabling contrib sources...'\n $SUDO sed 's/main/contrib/' < /etc/apt/sources.list | $SUDO tee /etc/apt/sources.list.d/contrib.list > /dev/null\n+ if [ -f ... | 2023-11-16T20:53:06 |
nodejs/node | 4f1d54829b056d4aefb5a7b57b561898815599b9 | 708084aea1ae286b2a491af00102df4044d99951 | doc: document opening hidden files on Windows
PR-URL: https://github.com/nodejs/node/pull/15409
Fixes: https://github.com/nodejs/node/issues/14553
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ben Noordhuis ... | [
{
"path": "doc/api/fs.md",
"patch": "@@ -102,6 +102,11 @@ example `fs.readdirSync('c:\\\\')` can potentially return a different result than\n `fs.readdirSync('c:')`. For more information, see\n [this MSDN page][MSDN-Rel-Path].\n \n+*Note:* On Windows, opening an existing hidden file using the `w` flag (eith... | 2017-09-14T13:02:26 |
golang/go | 37f261010f837f945eaa2d33d90cd822b4e93459 | 42b023d7b9cb8229e3035fa3d36bce41a1ef0c43 | cmd/compile: make go:notinheap error message friendlier for cgo
Update #40954
Change-Id: Ifaab7349631ccb12fc892882bbdf7f0ebf3d845f
Reviewed-on: https://go-review.googlesource.com/c/go/+/251158
Run-TryBot: Keith Randall <khr@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golan... | [
{
"path": "src/cmd/compile/internal/gc/escape.go",
"patch": "@@ -1030,7 +1030,7 @@ func (e *Escape) newLoc(n *Node, transient bool) *EscLocation {\n \t\tFatalf(\"e.curfn isn't set\")\n \t}\n \tif n != nil && n.Type != nil && n.Type.NotInHeap() {\n-\t\tyyerrorl(n.Pos, \"%v is go:notinheap; stack allocation d... | 2020-08-27T21:05:52 |
huggingface/transformers | c02421883b2a59e075ec87de8d82f02a944fb5e8 | bdbe1662113b49e81c865f0ca9d3922b500c5414 | Update runner tag for PR slow CI (#30535)
fix
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> | [
{
"path": ".github/workflows/self-new-model-pr-caller.yml",
"patch": "@@ -46,7 +46,7 @@ jobs:\n matrix:\n folders: [\"${{ needs.check_for_new_model.outputs.new_model }}\"]\n machine_type: [single-gpu, multi-gpu]\n- runs-on: ['${{ matrix.machine_type }}', nvidia-gpu, t4, dail... | 2024-04-29T12:07:41 |
ollama/ollama | d660eebf22c11c5b13bc990aaa4f9bf538bc5480 | cac11c9137294961adbb08a6c279ab652af3bcdc | fix create from model tag | [
{
"path": "cmd/cmd.go",
"patch": "@@ -78,7 +78,7 @@ func CreateHandler(cmd *cobra.Command, args []string) error {\n \n \t\t\tbin, err := os.Open(path)\n \t\t\tif errors.Is(err, os.ErrNotExist) && c.Name == \"model\" {\n-\t\t\t\t// value might be a model reference and not a real file\n+\t\t\t\tcontinue\n \t\... | 2023-11-15T18:57:09 |
ggml-org/llama.cpp | 6e7fc8a146556fe20be36906e1b1b7e03bc36d44 | be8e3d9515870a63b250c203d263f9dd2232eb3c | cuda : print less debug logs when disabling cuda graphs (#18868) | [
{
"path": "ggml/src/ggml-cuda/ggml-cuda.cu",
"patch": "@@ -3730,8 +3730,10 @@ static bool ggml_cuda_graph_set_enabled(ggml_backend_cuda_context * cuda_ctx) {\n \n if (cuda_ctx->cuda_graph->graph == nullptr) {\n if (ggml_cuda_info().devices[cuda_ctx->device].cc < GGML_CUDA_CC_AMPERE) {\n+ ... | 2026-01-15T18:53:01 |
nodejs/node | 708084aea1ae286b2a491af00102df4044d99951 | 5cde451ffdcf21cb0d0a48d4dd607252a2579aff | test: remove error msg in test-vm-symbols.js
PR-URL: https://github.com/nodejs/node/pull/15873
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> | [
{
"path": "test/parallel/test-vm-symbols.js",
"patch": "@@ -18,8 +18,6 @@ Document.prototype.getSymbolValue = function() {\n const context = new Document();\n vm.createContext(context);\n \n-assert.strictEqual(context.getSymbolValue(), 'foo',\n- 'should return symbol-keyed value from the o... | 2017-10-06T17:01:25 |
golang/go | 42b023d7b9cb8229e3035fa3d36bce41a1ef0c43 | 4f915911e84819b69329a224d5b646983ac9fed7 | cmd/cgo: use go:notinheap for anonymous structs
They can't reasonably be allocated on the heap. Not a huge deal, but
it has an interesting and useful side effect.
After CL 249917, the compiler and runtime treat pointers to
go:notinheap types as uintptrs instead of real pointers (no write
barrier, not processed during... | [
{
"path": "src/cmd/cgo/gcc.go",
"patch": "@@ -2448,6 +2448,18 @@ func (c *typeConv) loadType(dtype dwarf.Type, pos token.Pos, parent string) *Typ\n \t\t\ttt := *t\n \t\t\ttt.C = &TypeRepr{\"%s %s\", []interface{}{dt.Kind, tag}}\n \t\t\ttt.Go = c.Ident(\"struct{}\")\n+\t\t\tif dt.Kind == \"struct\" {\n+\t\t\... | 2020-08-26T21:17:35 |
huggingface/transformers | bdbe1662113b49e81c865f0ca9d3922b500c5414 | e8acb70015288f719ebb1a37cdb935d650fdb6a1 | Fix broken link to Transformers notebooks (#30512)
Co-authored-by: Clint Adams <clint@debian.org> | [
{
"path": "docs/source/de/run_scripts.md",
"patch": "@@ -16,7 +16,7 @@ rendered properly in your Markdown viewer.\n \n # Trainieren mit einem Skript\n \n-Neben den 🤗 Transformers [notebooks](./noteboks/README) gibt es auch Beispielskripte, die zeigen, wie man ein Modell für eine Aufgabe mit [PyTorch](https... | 2024-04-29T09:57:51 |
ggml-org/llama.cpp | 13f1e4a9caa100960cfa42addd0f08d6ef7fb91d | a04c2b06a324cc9c7e09de4106597a86eb2421c5 | llama : add adaptive-p sampler (#17927)
* initial commit for branch
* simplify constants
* add params to `struct common_params_sampling`, add reference to PR
* explicitly clamp `min_target` and `max_target` to `[0.0, 1.0]`
* add args, rename `queue_size` -> `window_size`
* improved comments
* minor
* remove old... | [
{
"path": "common/arg.cpp",
"patch": "@@ -1729,6 +1729,26 @@ common_params_context common_params_parser_init(common_params & params, llama_ex\n }\n }\n ).set_sparam());\n+ add_opt(common_arg(\n+ {\"--adaptive-target\"}, \"N\",\n+ string_format(\"adaptive-p: select to... | 2026-01-15T17:16:29 |
nodejs/node | e021de346909474dc8d2154942606199f75d6118 | 9c44215a91a7d367030eea441e1feea4a95d2ded | test: remove error messages in test-buffer-alloc
PR-URL: https://github.com/nodejs/node/pull/15867
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> | [
{
"path": "test/parallel/test-buffer-alloc.js",
"patch": "@@ -310,12 +310,12 @@ assert.strictEqual('TWFu', (Buffer.from('Man')).toString('base64'));\n assert.strictEqual(quote, b.toString('ascii', 0, quote.length));\n \n // check that the base64 decoder ignores whitespace\n- const expectedWhite = expec... | 2017-10-06T23:13:43 |
golang/go | 4f915911e84819b69329a224d5b646983ac9fed7 | 16328513bfb12d96e8f33fc37f816e1441027135 | cmd/compile: allow aliases to go:notinheap types
The alias doesn't need to be marked go:notinheap. It gets its
notinheap-ness from the target type.
Without this change, the type alias test in the notinheap.go file
generates these two errors:
notinheap.go:62: misplaced compiler directive
notinheap.go:63: type nih mus... | [
{
"path": "src/cmd/compile/internal/gc/typecheck.go",
"patch": "@@ -2068,7 +2068,7 @@ func typecheck1(n *Node, top int) (res *Node) {\n \t\tok |= ctxStmt\n \t\tn.Left = typecheck(n.Left, ctxType)\n \t\tcheckwidth(n.Left.Type)\n-\t\tif n.Left.Type != nil && n.Left.Type.NotInHeap() && n.Left.Name.Param.Pragma... | 2020-08-26T21:07:35 |
huggingface/transformers | e8acb70015288f719ebb1a37cdb935d650fdb6a1 | 80126f98d86bad81c56b30e31a959bd6e644e8be | Pass attn_implementation when using AutoXXX.from_config (#30507)
* Pass attn_implementation when using AutoXXX.from_config
* Fix | [
{
"path": "src/transformers/models/blip_2/modeling_blip_2.py",
"patch": "@@ -1194,9 +1194,13 @@ def __init__(self, config: Blip2Config):\n \n self.language_projection = nn.Linear(config.qformer_config.hidden_size, config.text_config.hidden_size)\n if config.use_decoder_only_language_model:\n... | 2024-04-29T09:22:33 |
ggml-org/llama.cpp | a04c2b06a324cc9c7e09de4106597a86eb2421c5 | 39173bcacb67329850b9ff3108dd036eafb680f0 | server: improve slots scheduling for n_cmpl (#18789)
* server : make sure children tasks are scheduled to launch with parent
* fix
* add comment pointing to this PR
* fix
* clean up
* more debug messages
* add pop_deferred_task with specific ID version
* improve the logic
* simple approach
* no double move
*... | [
{
"path": "tools/server/server-context.cpp",
"patch": "@@ -158,7 +158,7 @@ struct server_slot {\n double t_prompt_processing; // ms\n double t_token_generation; // ms\n \n- std::function<void(int)> callback_on_release;\n+ std::function<void(int /* slot_id */)> callback_on_release;\n \n //... | 2026-01-15T16:10:28 |
rust-lang/rust | f8091c49ffc2bccce89972b0b4058b92a62ee260 | e66bf08f93de71125765d0e7e1a5f5d1550406ea | qnx: avoid test failure
Fixes tests/ui/attributes/used_with_archive.rs fail | [
{
"path": "tests/ui/attributes/auxiliary/used_pre_main_constructor.rs",
"patch": "@@ -17,6 +17,7 @@\n target_os = \"illumos\",\n target_os = \"linux\",\n target_os = \"netbsd\",\n+ target_os = \"nto\",\n target_os = \"openbsd\",\n ),\n link_section = \".init_ar... | 2025-02-28T14:10:14 |
golang/go | 16328513bfb12d96e8f33fc37f816e1441027135 | 2ae2a94857cb17a98a86a8332d6f76863982bf59 | flag: add Func
Fixes #39557
Change-Id: Ida578f7484335e8c6bf927255f75377eda63b563
GitHub-Last-Rev: b97294f7669c24011e5b093179d65636512a84cd
GitHub-Pull-Request: golang/go#39880
Reviewed-on: https://go-review.googlesource.com/c/go/+/240014
Reviewed-by: Russ Cox <rsc@golang.org>
Trust: Ian Lance Taylor <iant@golang.org> | [
{
"path": "src/flag/example_func_test.go",
"patch": "@@ -0,0 +1,41 @@\n+// Copyright 2020 The Go Authors. All rights reserved.\n+// Use of this source code is governed by a BSD-style\n+// license that can be found in the LICENSE file.\n+\n+package flag_test\n+\n+import (\n+\t\"errors\"\n+\t\"flag\"\n+\t\"fm... | 2020-08-27T13:08:44 |
nodejs/node | cf02981139f3af418ddd5d52d998effca3a8597a | ba999e1b9e96370e074f4227fd59db52d7554a54 | test: update assert error messages
PR-URL: https://github.com/nodejs/node/pull/16035
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "test/parallel/test-vm-preserves-property.js",
"patch": "@@ -20,6 +20,6 @@ const res = vm.runInContext(code, o, 'test');\n assert(res);\n assert.strictEqual(typeof res, 'object');\n assert.strictEqual(res.value, 'val');\n-assert.strictEqual(res.configurable, false, 'should not be configurable');\n... | 2017-10-06T19:24:44 |
huggingface/transformers | 73014b561d5f88d728e46a57d346f516fefe3f2d | 6d4cabda2614d86357092585b416c4d08be73382 | Fix link in dbrx.md (#30509) | [
{
"path": "docs/source/en/model_doc/dbrx.md",
"patch": "@@ -32,7 +32,7 @@ We used curriculum learning for pretraining, changing the data mix during traini\n More detailed information about DBRX Instruct and DBRX Base can be found in our [technical blog post](https://www.databricks.com/blog/introducing-dbrx-... | 2024-04-26T19:52:24 |
ggml-org/llama.cpp | 39173bcacb67329850b9ff3108dd036eafb680f0 | 5c662d21a3a1c6a41d8abe401f5791712a5c02ee | context : reserve new scheduler when graph topology changes (#18547)
* context : reserve new scheduler when graph topology changes
* cont : fix
* cont : fix reserve
* cont : reserve only when changes occur + timing
* context : add comments
* llama : reserve on sampler changes
* common : allow null common_sampler... | [
{
"path": "common/common.cpp",
"patch": "@@ -1172,7 +1172,6 @@ common_init_result::common_init_result(common_params & params) :\n pimpl->samplers_seq_config[i] = { i, common_sampler_get(pimpl->samplers[i].get()) };\n }\n \n- // TODO: temporarily gated behind a flag\n if (params.sampling.b... | 2026-01-15T14:39:17 |
ollama/ollama | cc54a416c66f5ee3cf8fbd1f5755f388acd74c14 | c819d7f68aa97ca9e40b9d5370c47cbc4ee0b0e2 | Resume chunk download on UnexpectedEOF errors
If the chunk download is interrupted, resume from where we left off | [
{
"path": "server/download.go",
"patch": "@@ -161,6 +161,9 @@ func (b *blobDownload) run(ctx context.Context, requestURL *url.URL, opts *Regis\n \t\t\t\t\tlog.Printf(\"%s part %d attempt %d failed: %v, retrying\", b.Digest[7:19], i, try, err)\n \t\t\t\t\tcontinue\n \t\t\t\tdefault:\n+\t\t\t\t\tif try > 0 {\... | 2023-11-08T21:24:11 |
golang/go | 2ae2a94857cb17a98a86a8332d6f76863982bf59 | 37aa65357007411d121fbdbaa5a340aba21ab40a | runtime: fix leak and locking in BenchmarkMSpanCountAlloc
CL 249917 made the mspan in MSpanCountAlloc no longer stack-allocated
(for good reason), but then allocated an mspan on each call and did not
free it, resulting in a leak. That allocation was also not protected by
the heap lock, which could lead to data corrupt... | [
{
"path": "src/runtime/export_test.go",
"patch": "@@ -983,9 +983,31 @@ func MapHashCheck(m interface{}, k interface{}) (uintptr, uintptr) {\n \treturn x, y\n }\n \n-func MSpanCountAlloc(bits []byte) int {\n-\ts := (*mspan)(mheap_.spanalloc.alloc())\n+// mspan wrapper for testing.\n+//go:notinheap\n+type MSp... | 2020-09-16T16:22:28 |
nodejs/node | ba999e1b9e96370e074f4227fd59db52d7554a54 | 278f65351231f9fa034220780fba8aae940c1b9a | test: more AsyncWrap constructor validation tests
Fixes a line of uncovered code in the AsyncWrap class's constructor.
Specifically this covers validtion of the 'promiseResolve' argument.
PR-URL: https://github.com/nodejs/node/pull/16025
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <... | [
{
"path": "test/parallel/test-async-wrap-constructor.js",
"patch": "@@ -7,7 +7,8 @@ const assert = require('assert');\n const async_hooks = require('async_hooks');\n \n for (const badArg of [0, 1, false, true, null, 'hello']) {\n- for (const field of ['init', 'before', 'after', 'destroy']) {\n+ const hook... | 2017-10-06T23:14:31 |
ggml-org/llama.cpp | 5c662d21a3a1c6a41d8abe401f5791712a5c02ee | 8cc0ba957be158406dee261cee78bcea605c7ed4 | CUDA: fix allignment on register spill for FA (#18815) | [
{
"path": "ggml/src/ggml-cuda/fattn-common.cuh",
"patch": "@@ -59,7 +59,7 @@ static __device__ __forceinline__ float vec_dot_fattn_vec_KQ_f16(\n \n #pragma unroll\n for (int k_KQ_0 = 0; k_KQ_0 < D/2; k_KQ_0 += nthreads*cpy_ne) {\n- half2 tmp[cpy_ne];\n+ __align__(16) half2 tmp[cpy_ne];\n ... | 2026-01-15T14:14:50 |
huggingface/transformers | 6d4cabda2614d86357092585b416c4d08be73382 | c793b26f2ec9d72970457a1d78372d13bd7b8207 | [SegGPT] Fix seggpt image processor (#29550)
* Fixed SegGptImageProcessor to handle 2D and 3D prompt mask inputs
* Added new test to check prompt mask equivalence
* New proposal
* Better proposal
* Removed unnecessary method
* Updated seggpt docs
* Introduced do_convert_rgb
* nits | [
{
"path": "docs/source/en/model_doc/seggpt.md",
"patch": "@@ -26,7 +26,8 @@ The abstract from the paper is the following:\n \n Tips:\n - One can use [`SegGptImageProcessor`] to prepare image input, prompt and mask to the model.\n-- It's highly advisable to pass `num_labels` (not considering background) duri... | 2024-04-26T18:40:12 |
golang/go | 37aa65357007411d121fbdbaa5a340aba21ab40a | a86b6f23f08fd42154bc5bbfa417da6ee5ef48fb | cmd/link: make it easier to debug an elfrelocsect size mismatch
Change-Id: I54976b004b4db006509f5e0781b1c2e46cfa09ab
Reviewed-on: https://go-review.googlesource.com/c/go/+/244577
Run-TryBot: Than McIntosh <thanm@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Trust:... | [
{
"path": "src/cmd/link/internal/ld/elf.go",
"patch": "@@ -12,6 +12,7 @@ import (\n \t\"crypto/sha1\"\n \t\"encoding/binary\"\n \t\"encoding/hex\"\n+\t\"fmt\"\n \t\"path/filepath\"\n \t\"sort\"\n \t\"strings\"\n@@ -1400,7 +1401,7 @@ func elfrelocsect(ctxt *Link, out *OutBuf, sect *sym.Section, syms []loader... | 2020-07-23T17:38:38 |
nodejs/node | 278f65351231f9fa034220780fba8aae940c1b9a | dc086834b14647acacfd6d1e9a20bf83df34644a | doc: fix inconsistent server.listen documentation
The `net`, `tls`, `http` and `https` module have the same
`server.listen()` method, but have a different documenation.
Changed to a consistent link to the documentation of the `net` module.
PR-URL: https://github.com/nodejs/node/pull/16020
Reviewed-By: Bryan English <... | [
{
"path": "doc/api/http.md",
"patch": "@@ -841,85 +841,10 @@ added: v0.1.90\n \n Stops the server from accepting new connections. See [`net.Server.close()`][].\n \n-### server.listen(handle[, callback])\n-<!-- YAML\n-added: v0.5.10\n--->\n-\n-* `handle` {Object}\n-* `callback` {Function}\n-\n-The `handle` ... | 2017-10-06T18:50:47 |
ggml-org/llama.cpp | cff777f22614e3129203ddc93e78b5576c936b0c | 36f0132464096e49ed344cdeeee65e39e2b43b14 | hexagon: support for OP_CPY, host buffers now optional, hvx-utils refactoring and optimizations (#18822)
* hexagon: disable repack buffers if host buffers are disabled, improved handling of env vars
* hexagon: add support for OP_CPY fp16/fp32 -> fp16/fp32
Factore out all hvx_copy functions into hvx-copy.h header a... | [
{
"path": "docs/backend/hexagon/README.md",
"patch": "@@ -210,6 +210,10 @@ build: 6a8cf8914 (6733)\n Controls whether the Hexagon backend allocates host buffers. By default, all buffers except for REPACK are host buffers.\n This option is required for testing Ops that require REPACK buffers (MUL_MAT and... | 2026-01-15T05:46:12 |
ollama/ollama | 1359d6cf3bbc925432d2b2f060e17a39983d7ba9 | 6e2d0224d9e03f6bf236cd1e1cad7b79812e91ea | Fix sudo variable in install.sh (#1034)
It was forgotten to replace sudo at one place with the variable for sudo. | [
{
"path": "scripts/install.sh",
"patch": "@@ -180,7 +180,7 @@ install_cuda_driver_apt() {\n case $1 in\n debian)\n status 'Enabling contrib sources...'\n- $SUDO sed 's/main/contrib/' < /etc/apt/sources.list | sudo tee /etc/apt/sources.list.d/contrib.list > /dev/null\n+ ... | 2023-11-07T17:59:57 |
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.