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
663027fd5490438ce9c27ea866a560e1e268d11f
cf0e3ba1500bd23635b444f64ba23cbdb56c92ef
context : fix n_outputs during reserve (#15858) ggml-ci
[ { "path": "src/llama-context.cpp", "patch": "@@ -285,8 +285,8 @@ llama_context::llama_context(\n const uint32_t n_seqs = cparams.kv_unified ? 1 : cparams.n_seq_max;\n const uint32_t n_tokens = std::min(cparams.n_ctx, cparams.n_ubatch);\n \n- // avoid reserving graphs with zero outputs...
2025-09-08T07:26:36
rust-lang/rust
2a3ef8b9a2365365aae80419a9bbac0bddf64c71
e79fb05b2554aa641425e9e7aa5ec70e483b6427
Fix parsing of negative hex float literals in util
[ { "path": "library/compiler-builtins/libm/crates/util/src/main.rs", "patch": "@@ -274,7 +274,7 @@ fn parse<T: FromStr + FromStrRadix>(input: &[&str], idx: usize) -> T {\n \n let msg = || format!(\"invalid {} input '{s}'\", type_name::<T>());\n \n- if s.starts_with(\"0x\") {\n+ if s.starts_with(\"0...
2025-02-11T02:17:06
vuejs/vue
76443803e8878dc13a31ebed119abfd31573e7f1
3cd4af4af0a8a67f5887d5fc967147d433c8612c
Typings: Improve $slots and $scopedSlots type to prevent unchecked access to undefined (#8946) * fix(types): Declare $scopedSlots as potentially undefined to enable stricter TS checks * fix(types): Fix tests * fix(types): declare $slots option as potentially undefined declare $slots option as potentially unde...
[ { "path": "types/test/options-test.ts", "patch": "@@ -304,8 +304,8 @@ Vue.component('component-with-scoped-slot', {\n child: {\n render (this: Vue, h: CreateElement) {\n return h('div', [\n- this.$scopedSlots['default']({ msg: 'hi' }),\n- this.$scopedSlots['item']({ msg: ...
2018-12-01T04:31:45
golang/go
2edd351b92ca22581ffc75c9ff47c99bc9d9ea06
0cffc95109966c91852ff7f2b183a7f929de189b
runtime: skip TestBigGOMAXPROCS if it runs out of memory Fixes #38541 Change-Id: I0e9ea5865628d953c32f3a5d4b3ccf1c1d0b081e Reviewed-on: https://go-review.googlesource.com/c/go/+/229077 Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Bryan C. Mills <bcmills@google.com> TryBot-Result: Gobot Gobot <gobot@gol...
[ { "path": "src/runtime/proc_test.go", "patch": "@@ -1043,8 +1043,14 @@ loop:\n func TestBigGOMAXPROCS(t *testing.T) {\n \tt.Parallel()\n \toutput := runTestProg(t, \"testprog\", \"NonexistentTest\", \"GOMAXPROCS=1024\")\n-\tif strings.Contains(output, \"failed to create new OS thread\") {\n-\t\tt.Skipf(\"fa...
2020-04-20T18:06:21
huggingface/transformers
ec43d6870aa1afb42a6d2b1b0a03743d3f9b3ce6
749f94e4607b5b59aef7c42a64ee0f959297f50f
[`CI slow`] Fix expected values (#27999) * fix expected values * style * test is slow
[ { "path": "tests/models/vit_msn/test_modeling_vit_msn.py", "patch": "@@ -227,6 +227,6 @@ def test_inference_image_classification_head(self):\n expected_shape = torch.Size((1, 1000))\n self.assertEqual(outputs.logits.shape, expected_shape)\n \n- expected_slice = torch.tensor([-0.0803, ...
2023-12-13T12:37:10
ggml-org/llama.cpp
cf0e3ba1500bd23635b444f64ba23cbdb56c92ef
d413dca00360a7e4cb71441dacecfa32556fcc31
model : avoid ggml_cont_3d for fused QKV weights (#15662) * model : avoid ggml_cont_3d for fused QKV weights ggml-ci * kv-cache : make cpy_k and cpy_v implementation more readable ggml-ci * cont : add comments ggml-ci * cont : minor fix [no ci] * cont : one more fix * cont : clarity ggml-ci * kv-cache : requ...
[ { "path": "src/llama-kv-cache.cpp", "patch": "@@ -1018,16 +1018,33 @@ ggml_tensor * llama_kv_cache::cpy_k(ggml_context * ctx, ggml_tensor * k_cur, ggm\n \n const int32_t ikv = map_layer_ids.at(il);\n \n- auto * k = layers[ikv].k;\n+ ggml_tensor * k = layers[ikv].k;\n+\n+ const int64_t n_embd_he...
2025-09-08T07:25:33
nodejs/node
211df3fe8cbf4e6e18d1f7705d85c285b35979be
753b68f9d8177d6af6da536b91d7660182c45406
util: implement %o and %O as formatting specifiers Implementing the %o and %O formatting specifiers for util.format. Based on discussion in issue, this specifier should just call util.inspect to format the value. PR-URL: https://github.com/nodejs/node/pull/14558 Fixes: https://github.com/nodejs/node/issues/14545 Revi...
[ { "path": "doc/api/util.md", "patch": "@@ -167,6 +167,14 @@ corresponding argument. Supported placeholders are:\n * `%f` - Floating point value.\n * `%j` - JSON. Replaced with the string `'[Circular]'` if the argument\n contains circular references.\n+* `%o` - Object. A string representation of an object\n...
2017-07-31T22:08:44
vuejs/vue
3cd4af4af0a8a67f5887d5fc967147d433c8612c
0ba79e2588309ba386f570ed84d372611c4dd165
fix(types): support typing $el as SVGElement (#8809)
[ { "path": "types/test/vue-test.ts", "patch": "@@ -19,6 +19,7 @@ class Test extends Vue {\n }\n \n // test property reification\n+ $el!: HTMLElement | SVGElement;\n $refs!: {\n vue: Vue,\n element: HTMLInputElement,", "additions": 1, "deletions": 0, "language": "Unknown" }, { ...
2018-12-01T04:30:31
rust-lang/rust
11c49a659570d4f9a5a05497fcf8808d7881ecbd
53730143786ed9bb72828caad45206f965d56387
Fix highlighting for extern crate in doc comments
[ { "path": "src/tools/rust-analyzer/crates/ide/src/syntax_highlighting/highlight.rs", "patch": "@@ -703,6 +703,7 @@ fn highlight_name_ref_by_syntax(\n };\n \n match parent.kind() {\n+ EXTERN_CRATE => HlTag::Symbol(SymbolKind::Module).into(),\n METHOD_CALL_EXPR => ast::MethodCallExpr::c...
2025-02-11T06:06:56
golang/go
40a144b94f14c3f3fbe06e097a236a5543ada57f
7004be998ba708f027c95615d7885efeb9f73e75
crypto/tls: add Dialer Fixes #18482 Change-Id: I99d65dc5d824c00093ea61e7445fc121314af87f Reviewed-on: https://go-review.googlesource.com/c/go/+/214977 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
[ { "path": "doc/go1.15.html", "patch": "@@ -133,6 +133,18 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n TODO\n </p>\n \n+<dl id=\"crypto/tls\"><dt><a href=\"/crypto/tls/\">crypto/tls</a></dt>\n+ <dd>\n+ <p><!-- CL 214977 -->\n+ The new\n+ <a href=\"/pkg/crypto/tls/#Dia...
2020-01-15T19:27:32
huggingface/transformers
749f94e4607b5b59aef7c42a64ee0f959297f50f
c7f076a00ee54f777b3d3322c91bc11489a47950
Fix PatchTSMixer slow tests (#27997) * fix slow tests * revert formatting --------- Co-authored-by: Arindam Jati <arindam.jati@ibm.com> Co-authored-by: Kashif Rasul <kashif.rasul@gmail.com>
[ { "path": "tests/models/patchtsmixer/test_modeling_patchtsmixer.py", "patch": "@@ -21,6 +21,7 @@\n import unittest\n from typing import Dict, List, Optional, Tuple, Union\n \n+import numpy as np\n from huggingface_hub import hf_hub_download\n from parameterized import parameterized\n \n@@ -460,15 +461,15 @@...
2023-12-13T12:34:25
ggml-org/llama.cpp
d36e61c580bf7fc7879c443c542312a42b718e11
c97b5e5854b47b18a248d77edb693c63018a0865
ggml-cpu: clean up s390x SIMD (#15855) * ggml-cpu: clean up s390x simd Signed-off-by: Aaron Teo <aaron.teo1@ibm.com> (cherry picked from commit 0da4b6aa07d96b758812d17b2c82267632fa4ba5) Signed-off-by: Aaron Teo <aaron.teo1@ibm.com> * ggml-cpu: fix hsum data types Signed-off-by: Aaron Teo <aaron.teo1@ibm.com> -----...
[ { "path": "ggml/src/ggml-cpu/arch/s390/quants.c", "patch": "@@ -53,9 +53,9 @@ void quantize_row_q8_0(const float * GGML_RESTRICT x, void * GGML_RESTRICT vy, i\n \n #if defined(__VXE__) || defined(__VXE2__)\n for (int i = 0; i < nb; i++) {\n- __vector float srcv [8];\n- __vector float asrcv...
2025-09-07T18:18:28
nodejs/node
fb3d0e25cb38ec18f0318ccf1fcb97aa97baba61
5a050550d377c53a9249f218888ea2e92a4d48dc
console,test: make message test more accurate Make a message test more accurate in what it’s testing for. This requires not swallowing stack overflow RangeErrors in `console.log` and similar methods, which I would consider a bugfix in itself. PR-URL: https://github.com/nodejs/node/pull/14580 Fixes: https://github.com...
[ { "path": "lib/console.js", "patch": "@@ -94,6 +94,10 @@ function write(ignoreErrors, stream, string, errorhandler) {\n \n stream.write(string, errorhandler);\n } catch (e) {\n+ // console is a debugging utility, so it swallowing errors is not desirable\n+ // even in edge cases such as low stack...
2017-08-01T22:17:06
vuejs/vue
0ba79e2588309ba386f570ed84d372611c4dd165
ac217d2472bb92ce901ef1f46595b44a1b5d1a18
fix(types): accept `number` type as key on Vue.set/delete (#8707) (#8709)
[ { "path": "types/test/vue-test.ts", "patch": "@@ -87,8 +87,10 @@ class Test extends Vue {\n this.nextTick(() => {});\n this.nextTick().then(() => {});\n this.set({}, \"\", \"\");\n+ this.set({}, 1, \"\");\n this.set([true, false, true], 1, true);\n this.delete({}, \"\");\n+ this.de...
2018-12-01T04:28:52
golang/go
6290a5436578751bb04dacc9d8910a6e968683a2
dce26bdbc1d031ae8058035516f6c76f0d709147
[dev.link] cmd/link: don't write text address directly if using plugins When using plugins, on darwin we do weird things with runtime.etext symbol, assigning a value for it, then clear it, reassign a different value. This breaks the logic of writing text address directly. I think we should remove the weird thing with...
[ { "path": "src/cmd/link/internal/ld/pcln.go", "patch": "@@ -326,12 +326,16 @@ func (ctxt *Link) pclntab() loader.Bitmap {\n \t}\n \n \tsetAddr := (*loader.SymbolBuilder).SetAddrPlus\n-\tif ctxt.IsExe() && ctxt.IsInternal() {\n+\tif ctxt.IsExe() && ctxt.IsInternal() && !ctxt.DynlinkingGo() {\n \t\t// Interna...
2020-04-20T17:40:22
ggml-org/llama.cpp
61bdfd5298a78593be649a1035ee2a120b13c4f0
01806e77714ae8a78130d432945b959a0956c56f
server : implement prompt processing progress report in stream mode (#15827) * server : implement `return_progress` * add timings.cache_n * add progress.time_ms * add test * fix test for chat/completions * readme: add docs on timings * use ggml_time_us Co-authored-by: Georgi Gerganov <ggerganov@gmail.com> ----...
[ { "path": "tools/server/README.md", "patch": "@@ -512,6 +512,8 @@ These words will not be included in the completion, so make sure to add them to\n \n `timings_per_token`: Include prompt processing and text generation speed information in each response. Default: `false`\n \n+`return_progress`: Include prom...
2025-09-06T11:35:04
huggingface/transformers
c7f076a00ee54f777b3d3322c91bc11489a47950
371fb0b7dc1b533917e2f85b464a3ec9c74f28b9
Adds VIP-llava to transformers (#27932) * v1 * add-new-model-like * revert * fix forward and conversion script * revert * fix copies * fixup * fix * Update docs/source/en/index.md * Apply suggestions from code review * push * fix * fixes here and there * up * fixup and fix tes...
[ { "path": "README.md", "patch": "@@ -505,6 +505,7 @@ Current number of checkpoints: ![](https://img.shields.io/endpoint?url=https://h\n 1. **[VAN](https://huggingface.co/docs/transformers/model_doc/van)** (from Tsinghua University and Nankai University) released with the paper [Visual Attention Network](htt...
2023-12-13T09:42:24
nodejs/node
46c3dd701a65702f7e8fc97cad2faae17d4ff24f
766506a2e947b297926e046051841eae78705b92
doc: fix typo in writing-and-running-benchmarks.md PR-URL: https://github.com/nodejs/node/pull/14600 Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
[ { "path": "doc/guides/writing-and-running-benchmarks.md", "patch": "@@ -153,7 +153,7 @@ an example. This pull request _claims_ to improve the performance of the\n \n First build two versions of Node.js, one from the master branch (here called\n `./node-master`) and another with the pull request applied (her...
2017-08-02T18:15:54
ggml-org/llama.cpp
fd621880f3fd908424e675a41715a2dc760247a2
4281c7b315f8a904549fe527039b976e08098d1a
aLoRA Support (#15327) * feat: Add python-side constants and conversion for adapter.lora.invocation_string Branch: gabe-l-hart/alora-support Signed-off-by: Gabe Goodhart <ghart@us.ibm.com> * feat: Add c++ side constants for adapter.lora.invocation_string Branch: gabe-l-hart/alora-support Signed-off-by: Gabe Goodh...
[ { "path": "convert_lora_to_gguf.py", "patch": "@@ -12,7 +12,7 @@\n from math import prod\n from pathlib import Path\n from typing import TYPE_CHECKING, Any, Callable, Iterable, Iterator, Sequence, SupportsIndex, cast\n-from transformers import AutoConfig\n+from transformers import AutoConfig, AutoTokenizer\...
2025-09-05T23:32:39
golang/go
d8f0a229b5036e42b7bc5371c32c302cead9b635
b2cff7e091ca1f59ceb77c4dd3acaf0c150b5440
database/sql: prevent Tx statement from committing after rollback It was possible for a Tx that was aborted for rollback asynchronously to execute a query after the rollback had completed on the database, which often would auto commit the query outside of the transaction. By W-locking the tx.closemu prior to issuing ...
[ { "path": "src/database/sql/fakedb_test.go", "patch": "@@ -390,6 +390,7 @@ func setStrictFakeConnClose(t *testing.T) {\n \n func (c *fakeConn) ResetSession(ctx context.Context) error {\n \tc.dirtySession = false\n+\tc.currTx = nil\n \tif c.isBad() {\n \t\treturn driver.ErrBadConn\n \t}\n@@ -734,6 +735,9 @@ ...
2020-01-24T14:40:49
huggingface/transformers
371fb0b7dc1b533917e2f85b464a3ec9c74f28b9
230ac352d8dd5581d0d1fc915089f0096f472284
[`Whisper`] raise better errors (#27971) * [`Whisper`] raise better erros fixes #27893 * update torch as well
[ { "path": "src/transformers/models/whisper/modeling_tf_whisper.py", "patch": "@@ -1495,6 +1495,11 @@ def generate(\n f\"Unsupported language: {generation_config.language}. Language should be one of:\"\n f\" {list(TO_LANGUAGE_CODE.values()) if is_language_code ...
2023-12-13T08:13:01
nodejs/node
548cc72f6604b5bcf93dfcb9033b0c7c3fba1cdf
cc43c8fb54c872fbce2a795d089aa111eccdfb89
test: refactor test-domain-abort-on-uncaught * use common.mustCall() instead of exit handler * use execSync instead of exec so test is reliable under load * move from sequential to parallel PR-URL: https://github.com/nodejs/node/pull/14541 Fixes: https://github.com/nodejs/node/issues/11826 Reviewed-By: Yuta Hiroto <h...
[ { "path": "test/parallel/test-domain-abort-on-uncaught.js", "patch": "@@ -5,19 +5,16 @@\n // setup, the process _does not_ abort.\n \n const common = require('../common');\n+\n const assert = require('assert');\n const domain = require('domain');\n const child_process = require('child_process');\n \n-let er...
2017-07-30T04:08:14
vuejs/vue
ac217d2472bb92ce901ef1f46595b44a1b5d1a18
c711ec189aaf46399756e34d933ba5e0b6576c36
fix(types): fix `renderError`arguments type (#8636) fix #8635
[ { "path": "types/options.d.ts", "patch": "@@ -70,7 +70,7 @@ export interface ComponentOptions<\n template?: string;\n // hack is for funcitonal component type inference, should not used in user code\n render?(createElement: CreateElement, hack: RenderContext<Props>): VNode;\n- renderError?: (h: () =>...
2018-12-01T04:28:29
ggml-org/llama.cpp
5fac79cbc77b6d12c9feb5f34fc63586b35fd561
408ff524b40baf4f51a81d42a9828200dd4fcb6b
Thinking model disabled assistant prefill (#15404) * feat: Set enable_thinking IFF not disabled and supported Branch: gabe-l-hart/thinking-model-disabled-agent-prefill Signed-off-by: Gabe Goodhart <ghart@us.ibm.com> * fix: Fix inverted logic condition for prefill error Branch: gabe-l-hart/thinking-model-disabled-a...
[ { "path": "common/chat.cpp", "patch": "@@ -163,6 +163,19 @@ common_chat_tool_choice common_chat_tool_choice_parse_oaicompat(const std::strin\n throw std::runtime_error(\"Invalid tool_choice: \" + tool_choice);\n }\n \n+bool common_chat_templates_support_enable_thinking(const common_chat_templates * chat...
2025-09-05T20:31:24
golang/go
b2cff7e091ca1f59ceb77c4dd3acaf0c150b5440
f8ff12d480dcfe0db17648939644d0eeec0ed0fb
database/sql: check conn expiry when returning to pool, not when handing it out With the original connection reuse strategy, it was possible that when a new connection was requested, the pool would wait for an an existing connection to return for re-use in a full connection pool, and then it would check if the returne...
[ { "path": "src/database/sql/sql.go", "patch": "@@ -1261,7 +1261,13 @@ func (db *DB) conn(ctx context.Context, strategy connReuseStrategy) (*driverConn\n \t\t\tif !ok {\n \t\t\t\treturn nil, errDBClosed\n \t\t\t}\n-\t\t\tif ret.err == nil && ret.conn.expired(lifetime) {\n+\t\t\t// Only check if the connectio...
2020-01-24T02:18:39
huggingface/transformers
230ac352d8dd5581d0d1fc915089f0096f472284
f4db565b695582891e43a5e042e5d318e28f20b8
[`Tokenizer Serialization`] Fix the broken serialisation (#27099) * nits * nits * actual fix * style * ze fix * fix fix fix style
[ { "path": "src/transformers/models/pegasus/tokenization_pegasus_fast.py", "patch": "@@ -145,6 +145,8 @@ def __init__(\n from_slow = kwargs.pop(\"from_slow\", None)\n from_slow = from_slow or str(pad_token) != \"<pad>\" or str(eos_token) != \"</s>\" or str(unk_token) != \"<unk>\"\n \n+ ...
2023-12-13T08:11:34
vuejs/vue
c711ec189aaf46399756e34d933ba5e0b6576c36
613cb52bf3e5fd6caee0a94fab953ac9fdd37924
fix(types): support chain call for Vue.use and Vue.mixin (#8595)
[ { "path": "flow/global-api.js", "patch": "@@ -8,8 +8,8 @@ declare interface GlobalAPI {\n set: <T>(target: Object | Array<T>, key: string | number, value: T) => T;\n delete: <T>(target: Object| Array<T>, key: string | number) => void;\n nextTick: (fn: Function, context?: Object) => void | Promise<*>;\...
2018-12-01T04:27:24
nodejs/node
1c362436b750c714f8d83f4d47fe7e25d252c96b
8a8a6865c092637515b286cd9575ea592b5f501e
crypto: change segmentation faults to CHECKs PR-URL: https://github.com/nodejs/node/pull/14548 Fixes: https://github.com/nodejs/node/issues/14519 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Colin Ihrig <cji...
[ { "path": "src/node_crypto.cc", "patch": "@@ -5424,8 +5424,13 @@ void PBKDF2(const FunctionCallbackInfo<Value>& args) {\n if (args[5]->IsFunction()) {\n obj->Set(env->ondone_string(), args[5]);\n \n- if (env->in_domain())\n- obj->Set(env->domain_string(), env->domain_array()->Get(0));\n+ if...
2017-07-30T20:36:29
ggml-org/llama.cpp
a81283820a466f2ace06ce4d4bc9512761f9365f
c610b6c11b1ef7d678671dcf15acd7187a7ad8f3
gguf: gguf_writer refactor (#15691) * gguf: split gguf writer into base and buf impl * gguf: templated gguf write out * gguf: file based writer (avoid writing everything to memory first!) * examples(llama2c): fix log not being the same level and compiler nits
[ { "path": "examples/convert-llama2c-to-ggml/convert-llama2c-to-ggml.cpp", "patch": "@@ -333,17 +333,17 @@ static void print_params(struct my_llama_hparams * params) {\n }\n \n static void print_tensor_info(const struct ggml_context * ctx) {\n- for (auto t = ggml_get_first_tensor(ctx); t != NULL; t = ggml...
2025-09-05T09:34:28
huggingface/transformers
f4db565b695582891e43a5e042e5d318e28f20b8
9936143014b375a26543a80f30411fb9906ad0b4
fix typo in dvclive callback (#27983)
[ { "path": "src/transformers/integrations/integration_utils.py", "patch": "@@ -1658,7 +1658,7 @@ def setup(self, args, state, model):\n \"\"\"\n from dvclive import Live\n \n- self._initalized = True\n+ self._initialized = True\n if self._log_model is not None:\n ...
2023-12-12T21:29:58
golang/go
5abf5f831e4a76fb8875c4fa5b6b7436f51ecdf8
1f0738c1577a55a6b7229b821ddfe762b84771d0
cmd/compile: clarify Node.NonNil and Node.Bounded Node.NonNil and Node.Bounded were a bit muddled. This led to #38496. This change clarifies and documents them. It also corrects one misuse. However, since ssa conversion doesn't make full use of the bounded hint, this correction doesn't change any generated code. The ...
[ { "path": "src/cmd/compile/internal/gc/subr.go", "patch": "@@ -1913,10 +1913,10 @@ func ifaceData(pos src.XPos, n *Node, t *types.Type) *Node {\n \t\treturn ptr\n \t}\n \tptr.Type = types.NewPtr(t)\n-\tptr.SetBounded(true)\n \tptr.SetTypecheck(1)\n \tind := nodl(pos, ODEREF, ptr, nil)\n \tind.Type = t\n \ti...
2020-04-17T04:25:15
vuejs/vue
a7658e03a16dc507f0abeba41aee705f773727d0
05001e695ebd0b0504d664197a4771463a0f5328
fix(data): skip recursive call if values are identical (#8967)
[ { "path": "src/core/util/options.js", "patch": "@@ -55,7 +55,11 @@ function mergeData (to: Object, from: ?Object): Object {\n fromVal = from[key]\n if (!hasOwn(to, key)) {\n set(to, key, fromVal)\n- } else if (isPlainObject(toVal) && isPlainObject(fromVal)) {\n+ } else if (\n+ toVal...
2018-11-30T23:04:05
ggml-org/llama.cpp
c610b6c11b1ef7d678671dcf15acd7187a7ad8f3
5d6688de08e73acc2532d668380801ed79d704eb
kv-cache : fix SWA checks + disable cacheless iSWA (#15811) ggml-ci
[ { "path": "src/llama-graph.cpp", "patch": "@@ -297,6 +297,9 @@ void llm_graph_input_attn_no_cache::set_input(const llama_ubatch * ubatch) {\n \n float * data = (float *) kq_mask->data;\n \n+ // [TAG_NO_CACHE_ISWA]\n+ GGML_ASSERT(hparams.swa_type == LLAMA_SWA_TYPE_NONE && \"TODO: implement\");\n+\n...
2025-09-05T07:39:22
huggingface/transformers
9936143014b375a26543a80f30411fb9906ad0b4
78172dcdb7cdaf04ec6697d4747c505b2e7b0df0
[doc] fix typo (#27981)
[ { "path": "docs/source/en/perf_infer_gpu_one.md", "patch": "@@ -227,7 +227,7 @@ model.save_pretrained(\"saved_model\")\n \n bitsandbytes is a quantization library that includes support for 4-bit and 8-bit quantization. Quantization reduces your model size compared to its native full precision version, makin...
2023-12-12T20:32:42
nodejs/node
98ddab411523f83eca9b5311529f8288379e550f
a3c5ccd78ce2dbf6104f6145afd430654f125961
deps: backport rehash strings after deserialization Original commit messages: https://github.com/v8/v8/commit/a2ab1353f6708b44d305fdd9fe65a6d29b95c6d6 [snapshot] Rehash strings after deserialization. See https://goo.gl/6aN8xA Bug: v8:6593 Change-Id: Ic8b0b57195d01d41591397d5d45de3f0f3ebc3d9 Reviewed-on: ht...
[ { "path": "deps/v8/src/api.cc", "patch": "@@ -660,6 +660,9 @@ StartupData SnapshotCreator::CreateBlob(\n isolate->heap()->SetSerializedGlobalProxySizes(*global_proxy_sizes);\n }\n \n+ // We might rehash strings and re-sort descriptors. Clear the lookup cache.\n+ isolate->descriptor_lookup_cache()->C...
2017-07-18T12:38:43
vuejs/vue
05001e695ebd0b0504d664197a4771463a0f5328
2bb3199da718be4e3150b5555bbf12364c3987be
fix(compiler): should keep newline after unary tags in <pre> (#8965) fix #8950
[ { "path": "src/compiler/parser/html-parser.js", "patch": "@@ -106,7 +106,7 @@ export function parseHTML (html, options) {\n const startTagMatch = parseStartTag()\n if (startTagMatch) {\n handleStartTag(startTagMatch)\n- if (shouldIgnoreFirstNewline(lastTag, html)) {\n+ ...
2018-11-30T23:02:54
golang/go
93c9a3bd387f561dd07e4811602b0755276444ee
7fe3f30bbbcb89ced4fb2cd4cbb93c8a0986a973
[dev.link] cmd/link: remove buffered file I/O from OutBuf Recreation of CL 228317. The problem with that original CL was a late requested change, reordering reloc and asmb, resulting in symbols having stale pointers to their data. I've fixed this by preallocating the heap variable in OutBuf for platforms w/o mmap. C...
[ { "path": "src/cmd/link/internal/amd64/asm.go", "patch": "@@ -756,7 +756,6 @@ func asmb2(ctxt *ld.Link) {\n \t\t\tif ctxt.IsELF {\n \t\t\t\tctxt.Out.SeekSet(symo)\n \t\t\t\tld.Asmelfsym(ctxt)\n-\t\t\t\tctxt.Out.Flush()\n \t\t\t\tctxt.Out.Write(ld.Elfstrdat)\n \n \t\t\t\tif ctxt.LinkMode == ld.LinkExternal {...
2020-04-17T20:07:45
ggml-org/llama.cpp
4fd1242bef6cb2325b4ff1c1a80f3b54b64508a6
b2426e469e2fdb6c44216d56baa4cfff4f39ae00
chat : fixed crash when Hermes 2 <tool_call> had a newline before it (#15639) Co-authored-by: CNE Pierre FICHEPOIL <pierre-1.fichepoil@gendarmerie.interieur.gouv.fr>
[ { "path": "common/chat.cpp", "patch": "@@ -1892,7 +1892,7 @@ static common_chat_params common_chat_params_init_hermes_2_pro(const common_chat\n // If thinking_forced_open, then we capture the </think> tag in the grammar,\n // (important for required tool choice) and in the tr...
2025-09-04T23:24:08
huggingface/transformers
78172dcdb7cdaf04ec6697d4747c505b2e7b0df0
5e4ef0a0f6eaf0b80eb951a674939d68ab30f6e5
Fix SDPA correctness following torch==2.1.2 regression (#27973) * fix sdpa with non-contiguous inputs for gpt_bigcode * fix other archs * add currently comment * format
[ { "path": "src/transformers/models/bart/modeling_bart.py", "patch": "@@ -583,6 +583,8 @@ def forward(\n \n query_states = self._shape(query_states, tgt_len, bsz)\n \n+ # NOTE: SDPA with memory-efficient backend is currently (torch==2.1.2) bugged when using non-contiguous inputs and a custom a...
2023-12-12T15:33:46
ggml-org/llama.cpp
b2426e469e2fdb6c44216d56baa4cfff4f39ae00
9e2b1e83c68a38ea0c64f726dd979439bd02189b
chat : nemotron thinking & toolcalling support (#15676) * feat: nemotron thinking & toolcalling support * Trailing whitespaces * Corrected template for Nemotron * Template and parser fixes * Final template and grammar changes * Whitespace * Always do lazy grammar processing since </think> tag will always be ther...
[ { "path": "common/chat.cpp", "patch": "@@ -623,6 +623,7 @@ const char * common_chat_format_name(common_chat_format format) {\n case COMMON_CHAT_FORMAT_GRANITE: return \"Granite\";\n case COMMON_CHAT_FORMAT_GPT_OSS: return \"GPT-OSS\";\n case COMMON_CHAT_FORMAT_SEED_OSS: return \"Seed...
2025-09-04T23:22:22
vuejs/vue
758524134e71ae025238e16a4c1f2b30a1310fe8
80f17fa498f5df0388412877799dbd7573c44b2d
fix: v-bind object should be overridable with kebab-cased props (#8845) In addition .sync should generate camelCased event name
[ { "path": "src/core/instance/render-helpers/bind-object-props.js", "patch": "@@ -6,7 +6,8 @@ import {\n warn,\n isObject,\n toObject,\n- isReservedAttribute\n+ isReservedAttribute,\n+ camelize\n } from 'core/util/index'\n \n /**\n@@ -43,12 +44,13 @@ export function bindObjectProps (\n ?...
2018-11-30T22:56:41
huggingface/transformers
5e4ef0a0f6eaf0b80eb951a674939d68ab30f6e5
a49f4acab3c1eea82907e12f82eafbd4673deb39
Better key error for AutoConfig (#27976) * Improve the error printed when loading an unrecognized architecture * Improve the error printed when loading an unrecognized architecture * Raise a ValueError instead because KeyError prints weirdly * make fixup
[ { "path": "src/transformers/models/auto/configuration_auto.py", "patch": "@@ -1095,7 +1095,14 @@ def from_pretrained(cls, pretrained_model_name_or_path, **kwargs):\n config_class.register_for_auto_class()\n return config_class.from_pretrained(pretrained_model_name_or_path, **kwar...
2023-12-12T14:41:55
nodejs/node
a3c5ccd78ce2dbf6104f6145afd430654f125961
5651a6f65b4d08abe61fcd61d1f349b7ca76712e
src: fix new V8 compiler warnings PR-URL: https://github.com/nodejs/node/pull/14004 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Col...
[ { "path": "src/inspector_agent.cc", "patch": "@@ -219,7 +219,8 @@ class JsBindingsSessionDelegate : public InspectorSessionDelegate {\n Local<Value> argument = v8string.ToLocalChecked().As<Value>();\n Local<Function> callback = callback_.Get(isolate);\n Local<Object> receiver = receiver_.Get(iso...
2017-06-30T09:28:17
ggml-org/llama.cpp
9e2b1e83c68a38ea0c64f726dd979439bd02189b
fb15d649ed14ab447eeab911e0c9d21e35fb243e
scripts : add Jinja tester PySide6 simple app (#15756) * feat: add Jinja tester PySide6 simple app * Linter fixes * Pylint fixes * Whitespace * Add commandline support; add formatter; add extensions * Remove testing actions * Silence flake8 warnings for commandline mode * Apply suggestions from code review Co-...
[ { "path": "scripts/jinja/jinja-tester.py", "patch": "@@ -0,0 +1,504 @@\n+#!/usr/bin/env python3\n+import sys\n+import json\n+import argparse\n+import jinja2.ext as jinja2_ext\n+from PySide6.QtWidgets import (\n+ QApplication,\n+ QMainWindow,\n+ QWidget,\n+ QVBoxLayout,\n+ QHBoxLayout,\n+ Q...
2025-09-04T23:05:12
vuejs/vue
80f17fa498f5df0388412877799dbd7573c44b2d
374861f72b8b8fda5aa5d54f96bc2f297c775719
fix(core): skip mixins and extends if child is already merged (#8870) fix #8865
[ { "path": "src/core/util/options.js", "patch": "@@ -378,15 +378,22 @@ export function mergeOptions (\n normalizeProps(child, vm)\n normalizeInject(child, vm)\n normalizeDirectives(child)\n- const extendsFrom = child.extends\n- if (extendsFrom) {\n- parent = mergeOptions(parent, extendsFrom, vm)\n...
2018-11-30T22:54:16
huggingface/transformers
a49f4acab3c1eea82907e12f82eafbd4673deb39
680c610f9733561fb09e21c0e6ed513d69564f56
Fix link in README.md of Image Captioning (#27969) Update the link for vision encoder decoder doc used by FlaxVisionEncoderDecoderModel link.
[ { "path": "examples/flax/image-captioning/README.md", "patch": "@@ -1,7 +1,7 @@\n # Image Captioning (vision-encoder-text-decoder model) training example\n \n The following example showcases how to finetune a vision-encoder-text-decoder model for image captioning\n-using the JAX/Flax backend, leveraging 🤗 ...
2023-12-12T13:07:15
nodejs/node
5651a6f65b4d08abe61fcd61d1f349b7ca76712e
ed30842440267d8b8c66cd5a315344dc9de855ee
deps: backport c0f1ff2 from upstream V8 Original commit message: Fix GCC 7 build errors BUG=chromium:691681 R=franzih@chromium.org Change-Id: Id7e5698487f16dc217a804f6d3f24da7213c72b9 Reviewed-on: https://chromium-review.googlesource.com/530227 Commit-Queue: Toon Verwaest <verwaest@chromium....
[ { "path": "deps/v8/BUILD.gn", "patch": "@@ -1748,6 +1748,7 @@ v8_source_set(\"v8_base\") {\n \"src/objects/dictionary.h\",\n \"src/objects/frame-array-inl.h\",\n \"src/objects/frame-array.h\",\n+ \"src/objects/hash-table-inl.h\",\n \"src/objects/hash-table.h\",\n \"src/objects/intl-ob...
2017-06-20T15:06:59
vuejs/vue
e29fbad0aceeb51a3e528fa8f2898522df4e0a0f
2e472c5e5e559a7a4083b4164ffe0c3911ce0651
chore: fix lint
[ { "path": "src/core/vdom/create-functional-component.js", "patch": "@@ -124,7 +124,7 @@ function cloneAndMarkFunctionalResult (vnode, data, contextVm, options, renderCo\n clone.fnContext = contextVm\n clone.fnOptions = options\n if (process.env.NODE_ENV !== 'production') {\n- ;(clone.devtoolsMeta =...
2018-11-30T22:37:30
ggml-org/llama.cpp
d1e2adba65208d6de3d7f6f23b00c562ff5bb777
c1c354e44c06d259679bb5bb7a8fa9f0b28480e4
llama : set n_outputs to 1 to avoid 0 outputs mean-pooling (#15791) * llama : set n_outputs to 1 to avoid 0 outputs mean-pooling This commit modifies the llama_context constructor to set n_outputs to 1. The motivation for this is that when using pooling, and specifically mean pooling, for embeddings having n_outputs...
[ { "path": "src/llama-context.cpp", "patch": "@@ -285,6 +285,9 @@ llama_context::llama_context(\n const uint32_t n_seqs = cparams.kv_unified ? 1 : cparams.n_seq_max;\n const uint32_t n_tokens = std::min(cparams.n_ctx, cparams.n_ubatch);\n \n+ // avoid reserving graphs with zero outputs...
2025-09-04T13:40:44
huggingface/transformers
680c610f9733561fb09e21c0e6ed513d69564f56
4b759da8be71ac025610d91881a18b592adf701c
Hot-fix-mixstral-loss (#27948) * fix loss computation * compute on GPU if possible
[ { "path": "src/transformers/models/mixtral/modeling_mixtral.py", "patch": "@@ -95,7 +95,8 @@ def load_balancing_loss_func(gate_logits: torch.Tensor, num_experts: torch.Tenso\n \n if isinstance(gate_logits, tuple):\n # cat along the layers?\n- gate_logits = torch.cat(gate_logits, dim=0)\n+...
2023-12-12T11:20:28
golang/go
04040ec9f9c763aee549d6afa3d4f0c34adf9cc1
885099d1550dad8387013c8f35ad3d4ad9f17c66
debug/pe: improve testpoint error message A DWARF testpoint was calling t.Fatal() but should have been calling t.Fatalf(); switch it to the correct method. Change-Id: I996a1041adea4299cda85c147a35b513a219b970 Reviewed-on: https://go-review.googlesource.com/c/go/+/228790 Run-TryBot: Than McIntosh <thanm@google.com> Tr...
[ { "path": "src/debug/pe/file_test.go", "patch": "@@ -451,7 +451,7 @@ func testDWARF(t *testing.T, linktype int) {\n \t\t\t\t}\n \t\t\t\toffset := uintptr(addr) - imageBase\n \t\t\t\tif offset != uintptr(wantoffset) {\n-\t\t\t\t\tt.Fatal(\"Runtime offset (0x%x) did \"+\n+\t\t\t\t\tt.Fatalf(\"Runtime offset (...
2020-04-17T20:20:53
nodejs/node
ed30842440267d8b8c66cd5a315344dc9de855ee
28aa7d0066362faa165fd16bb33dd7ffa24aa76b
deps: fix addons compilation with VS2013 VS2013 does not support defaulting move constructor and assignment operator. This adds explicit definitions of those methods for two classes. This fix is required because we still support building addons with VS2013 and the incompatibility is in v8.h. Fixes: https://github.com...
[ { "path": "deps/v8/include/v8.h", "patch": "@@ -4063,10 +4063,12 @@ class V8_EXPORT WasmCompiledModule : public Object {\n // supports move semantics, and does not support copy semantics.\n class TransferrableModule final {\n public:\n- TransferrableModule(TransferrableModule&& src) = default;\n+ ...
2017-05-23T16:25:03
rust-lang/rust
af6020320d32fb3491b8d30b580f675a2e1d16a6
6171d944aea415a3023d4262e0895aa3b18c771f
Simplify intra-crate qualifiers. The following is a weird pattern for a file within `rustc_middle`: ``` use rustc_middle::aaa; use crate::bbb; ``` More sensible and standard would be this: ``` use crate::{aaa, bbb}; ``` I.e. we generally prefer using `crate::` to using a crate's own name. (Exceptions are things like i...
[ { "path": "compiler/rustc_errors/src/diagnostic_impls.rs", "patch": "@@ -108,13 +108,13 @@ impl<I: rustc_type_ir::Interner> IntoDiagArg for rustc_type_ir::ExistentialTrait\n }\n \n impl<I: rustc_type_ir::Interner> IntoDiagArg for rustc_type_ir::UnevaluatedConst<I> {\n- fn into_diag_arg(self) -> rustc_err...
2025-02-11T02:58:38
vuejs/vue
2e472c5e5e559a7a4083b4164ffe0c3911ce0651
5f6ef15fb2879411797aee0287b811977f6ebb42
fix(component): clean up memory leak after loading async component completes (fix #8740) (#8755) * fix(component): clean up memory leak after loading async component completes * fix(async component): accounting for async components with loading property * refactor(component): simplifying memory cleanup logic
[ { "path": "src/core/vdom/helpers/resolve-async-component.js", "patch": "@@ -61,10 +61,14 @@ export function resolveAsyncComponent (\n const contexts = factory.contexts = [context]\n let sync = true\n \n- const forceRender = () => {\n+ const forceRender = (renderCompleted: boolean) => {\n ...
2018-11-30T22:36:08
ggml-org/llama.cpp
c1c354e44c06d259679bb5bb7a8fa9f0b28480e4
a68d9144262f1d0ef4f6ba7ad4a7e73e977ba78c
CANN: Refactor ND to NZ workspace to be per-device (#15763) * CANN:Refactor ND to NZ workspace to be per-device in Ascend backend - Replaced the previous single global ND→NZ workspace with a per-device cache using unordered_map keyed by device ID. - Functions `release_nz_workspace`, `relloc_nz_workspace`, and `ge...
[ { "path": "ggml/src/ggml-cann/ggml-cann.cpp", "patch": "@@ -1116,30 +1116,65 @@ static enum ggml_status ggml_backend_cann_buffer_init_tensor(\n return GGML_STATUS_SUCCESS;\n }\n \n-// ND to NZ Workspace Cache Management. Thread-safety: Not guaranteed\n-namespace {\n- void* g_nz_workspace = nullptr;\n...
2025-09-04T12:20:14
huggingface/transformers
e660424717daf47d4e511a78b9dda230a2f2a602
e5079b0b2abcef11ecbdae60ba4a6636c57b725d
fixed typos (issue 27919) (#27920) * fixed typos (issue 27919) * Update docs/source/en/tasks/knowledge_distillation_for_image_classification.md Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com> --------- Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>
[ { "path": "docs/source/en/tasks/knowledge_distillation_for_image_classification.md", "patch": "@@ -61,8 +61,8 @@ import torch.nn.functional as F\n \n \n class ImageDistilTrainer(Trainer):\n- def __init__(self, *args, teacher_model=None, **kwargs):\n- super().__init__(*args, **kwargs)\n+ def __i...
2023-12-11T23:44:23
golang/go
a32262d4625e6f54cedd765e4807c215d1deb992
de2318e3c68530cd3ff6d3a1d378239598301fb0
cmd/compile: when marking REFLECTMETHOD, check for reflect package itself reflect.Type.Method (and MethodByName) can be used to obtain a reference of a method by reflection. The linker needs to know if reflect.Type.Method is called, and retain all exported methods accordingly. This is handled by the compiler, which ma...
[ { "path": "src/cmd/compile/internal/gc/walk.go", "patch": "@@ -3658,7 +3658,8 @@ func usemethod(n *Node) {\n \n \t// Note: Don't rely on res0.Type.String() since its formatting depends on multiple factors\n \t// (including global variables such as numImports - was issue #19028).\n-\tif s := res0.Type....
2020-04-18T21:47:54
rust-lang/rust
593c88fc49d2fa3ceabaa12923d8540551617041
6171d944aea415a3023d4262e0895aa3b18c771f
Fix long lines which rustfmt fails to format rustfmt fails to format this match expression, because it has several long string literals over the maximum line width. This seems to exhibit rustfmt issues #3863 (Gives up on chains if any line is too long) and #3156 (Fail to format match arm when other arm has long line).
[ { "path": "config.example.toml", "patch": "@@ -323,7 +323,7 @@\n #full-bootstrap = false\n \n # Set the bootstrap/download cache path. It is useful when building rust\n-# repeatedly in a CI invironment.\n+# repeatedly in a CI environment.\n #bootstrap-cache-path = /path/to/shared/cache\n \n # Enable a build...
2025-02-05T20:28:53
vuejs/vue
5624278fbe5d85cfe578d749da12b1e73c3e61a9
4ecc21c29ec12bb33d3b426cb4d42c579e9b0f2d
fix(ssr): check js assets more accurate in ssr webpack plugin (#8639)
[ { "path": "src/server/webpack-plugin/server.js", "patch": "@@ -43,7 +43,7 @@ export default class VueSSRServerPlugin {\n }\n \n stats.assets.forEach(asset => {\n- if (asset.name.match(/\\.js$/)) {\n+ if (isJS(asset.name)) {\n bundle.files[asset.name] = compilation.assets[...
2018-11-30T22:32:28
ggml-org/llama.cpp
a68d9144262f1d0ef4f6ba7ad4a7e73e977ba78c
badb80cadbc40e047b30c43611aba575fc8d6845
server: add exceed_context_size_error type (#15780) * server: add exceed_context_size_error type * change error code to 400
[ { "path": "tools/server/server.cpp", "patch": "@@ -86,6 +86,7 @@ enum error_type {\n ERROR_TYPE_PERMISSION,\n ERROR_TYPE_UNAVAILABLE, // custom error\n ERROR_TYPE_NOT_SUPPORTED, // custom error\n+ ERROR_TYPE_EXCEED_CONTEXT_SIZE, // custom error\n };\n \n static bool server_task_type_need_embd...
2025-09-04T09:50:23
huggingface/transformers
4850aaba6f39ea9ce255cf3d84b39fbc214f9329
4b4b8642249905d5eb95e8e1b82d13ec6c3621cd
fix no sequence length models error (#27522) * fix no sequence length models error * block size check --------- Co-authored-by: Adam Louly <adamlouly@microsoft.com@orttrainingdev9.d32nl1ml4oruzj4qz3bqlggovf.px.internal.cloudapp.net>
[ { "path": "examples/pytorch/language-modeling/run_clm.py", "patch": "@@ -510,7 +510,10 @@ def tokenize_function(examples):\n f\"The tokenizer picked seems to have a very large `model_max_length` ({tokenizer.model_max_length}). \"\n f\"Using block_size={min(1024, max_pos_embed...
2023-12-11T18:01:26
vuejs/vue
2686818beb5728e3b7aa22f47a3b3f0d39d90c8e
7b7164c11cbb74ed44ee086f0a82acfcc1ff47a2
fix(error handling): handle errors on immediate watcher execution (#8581) The handle callback call should be wrapped in a try/catch that explicitly calls handleError fix #8567
[ { "path": "src/core/instance/state.js", "patch": "@@ -351,7 +351,11 @@ export function stateMixin (Vue: Class<Component>) {\n options.user = true\n const watcher = new Watcher(vm, expOrFn, cb, options)\n if (options.immediate) {\n- cb.call(vm, watcher.value)\n+ try {\n+ cb.call(...
2018-11-29T23:14:28
nodejs/node
28aa7d0066362faa165fd16bb33dd7ffa24aa76b
ebd13c333c2e612756539fd8c264ae3799cd1b97
v8: fix stack overflow in recursive method HGlobalValueNumberingPhase::CollectSideEffectsOnPathsToDominatedBlock() used to self-recurse before this commit, causing stack overflows on systems with small stack sizes. Make it non-recursive by storing intermediate results in a heap-allocated list. Fixes: https://github....
[ { "path": "deps/v8/src/crankshaft/hydrogen-gvn.cc", "patch": "@@ -5,6 +5,8 @@\n #include \"src/crankshaft/hydrogen-gvn.h\"\n \n #include \"src/crankshaft/hydrogen.h\"\n+#include \"src/list.h\"\n+#include \"src/list-inl.h\"\n #include \"src/objects-inl.h\"\n #include \"src/v8.h\"\n \n@@ -651,19 +653,23 @@ Si...
2017-04-17T10:20:05
golang/go
de2318e3c68530cd3ff6d3a1d378239598301fb0
f5291cf03d58e004eae67eeb904efbf46aba666a
cmd/link: add a test that reflect.Value.Call does not bring methods live reflect.Value.Call, if reachable, used to bring all exported methods live. CL 228792 fixes this, removing the check of reflect.Value.Call. This CL adds a test. Updates #38505. Change-Id: Ib4cab3c3c86c9c9702d041266e59b159d0ff0a97 Reviewed-on: ht...
[ { "path": "src/cmd/link/internal/ld/deadcode_test.go", "patch": "@@ -0,0 +1,61 @@\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 ld\n+\n+import (\n+\t\"bytes\"\n+\t\"internal/te...
2020-04-18T05:38:31
huggingface/transformers
4b4b8642249905d5eb95e8e1b82d13ec6c3621cd
c0a354d8d7f1f0a64e3fbf0eab5f5f94872b1db7
Fix for stochastic depth decay rule in the TimeSformer implementation (#27875) Update modeling_timesformer.py Fixing typo to correct the stochastic depth decay rule
[ { "path": "src/transformers/models/timesformer/modeling_timesformer.py", "patch": "@@ -305,7 +305,7 @@ def __init__(self, config: TimesformerConfig, layer_index: int) -> None:\n ] # stochastic depth decay rule\n drop_path_rate = drop_path_rates[layer_index]\n \n- self.drop_path = Tim...
2023-12-11T16:20:31
ggml-org/llama.cpp
0a1b3982cd0bd18730d50a693053b88c13fd04a6
5421f63ab08ca1e1a093662a5ccd0117e461185f
ggml: add ops for WAN video model (cuda && cpu) (#15669) * add conv3d support * add ggml_pad_ext for cpu & cuda backend * cuda/cpu: add im2col_3d support * cuda: make im2col a little faster * fix cuda pad/scale/im2col3d * make im2col_3d faster * gguf: support loading tensors which n_dims > GGML_MAX_DIMS * fix c...
[ { "path": "ggml/include/ggml.h", "patch": "@@ -511,6 +511,7 @@ extern \"C\" {\n GGML_OP_CONV_TRANSPOSE_1D,\n GGML_OP_IM2COL,\n GGML_OP_IM2COL_BACK,\n+ GGML_OP_IM2COL_3D,\n GGML_OP_CONV_2D,\n GGML_OP_CONV_3D,\n GGML_OP_CONV_2D_DW,\n@@ -1870,6 +1871,41 @@...
2025-09-04T08:38:49
vuejs/vue
7b7164c11cbb74ed44ee086f0a82acfcc1ff47a2
69730fac8f2c1f43e56a82c8b2ce24827a2a5e1e
fix(v-model): avoid duplicate model transforms This happens when a component directly passes down its own data object to a child component. Fix #8436.
[ { "path": "src/core/vdom/create-component.js", "patch": "@@ -252,9 +252,17 @@ function transformModel (options, data: any) {\n const event = (options.model && options.model.event) || 'input'\n ;(data.props || (data.props = {}))[prop] = data.model.value\n const on = data.on || (data.on = {})\n- if (is...
2018-11-29T23:09:37
nodejs/node
ebd13c333c2e612756539fd8c264ae3799cd1b97
db476fc8b565078bd8224db55d34a713c6054c4a
deps: limit regress/regress-crbug-514081 v8 test regress/regress-crbug-514081 allocates a 2G block of memory and if there are multiple variants running at the same time this can lead to crashes, OOM kills or the OS failing to allocate memory. This patch limits us to running a single variant of the test Fixes: https...
[ { "path": "deps/v8/test/mjsunit/mjsunit.status", "patch": "@@ -690,4 +690,13 @@\n 'whitespaces': [SKIP],\n }], # variant == wasm_traps\n \n+##############################################################################\n+# This test allocates a 2G block of memory and if there are multiple\n+# varients th...
2016-05-09T22:44:42
golang/go
98c6b9844b3c3a14eaa46515a7f63fed2deb57ce
2a20f5c47456dbe648100d37831ca439cc79a9ff
os/exec: build TestExtraFiles subprocess without cgo Fixes #25628 Change-Id: I8b69e59f9c0123c4f65b5931d7c6d7ecc1c720e8 Reviewed-on: https://go-review.googlesource.com/c/go/+/228639 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Bryan C. Mills <bcmills@google....
[ { "path": "src/os/exec/exec_test.go", "patch": "@@ -79,17 +79,6 @@ func helperCommandContext(t *testing.T, ctx context.Context, s ...string) (cmd *\n \t} else {\n \t\tcmd = exec.Command(os.Args[0], cs...)\n \t}\n-\n-\t// Temporary code to try to resolve #25628.\n-\t// TODO(iant): Remove this when we no long...
2020-04-17T01:19:59
huggingface/transformers
c0a354d8d7f1f0a64e3fbf0eab5f5f94872b1db7
7e35f37071655744b94c583edbb2f7fc209e1b7d
fix bug in mask2former: cost matrix is infeasible (#27897) fix bug: cost matrix is infeasible
[ { "path": "src/transformers/models/mask2former/modeling_mask2former.py", "patch": "@@ -471,6 +471,9 @@ def forward(\n cost_dice = pair_wise_dice_loss(pred_mask, target_mask)\n # final cost matrix\n cost_matrix = self.cost_mask * cost_mask + self.cost_class * cost_class + ...
2023-12-11T16:19:16
vuejs/vue
d483a49c86874b2e75863b661f81feecd46ae721
59d4351ad8fc042bc263a16ed45a56e9ff5b013e
fix(compiler): normalize potential functional component children in v-for (#8558) fix #8468
[ { "path": "src/compiler/codegen/index.js", "patch": "@@ -406,7 +406,10 @@ export function genChildren (\n el.tag !== 'template' &&\n el.tag !== 'slot'\n ) {\n- return (altGenElement || genElement)(el, state)\n+ // because el may be a functional component and return an Array instead...
2018-10-24T18:02:45
ggml-org/llama.cpp
5421f63ab08ca1e1a093662a5ccd0117e461185f
820bc9853100708011036e10f40b923968dd9b66
CANN: Fix precision issue on 310I DUO multi-devices (#15784)
[ { "path": "docs/backend/CANN.md", "patch": "@@ -293,17 +293,14 @@ We would like to thank Tuo Dai, Shanni Li, and all of the project maintainers fr\n \n ## Environment variable setup\n \n-### GGML_CANN_ASYNC_MODE\n-\n-Enables asynchronous operator submission. Disabled by default.\n-\n ### GGML_CANN_MEM_POOL\...
2025-09-04T07:12:30
huggingface/transformers
7e35f37071655744b94c583edbb2f7fc209e1b7d
39acfe84ba330fda3ae72c083284a04cac8ac9e0
Fix a couple of typos and add an illustrative test (#26941) * fix a typo and add an illustrative test * appease black * reduce code duplication and add Annotion type back with a pending deprecation warning * remove unused code * change warning type * black formatting fix * change enum deprecation app...
[ { "path": "src/transformers/image_utils.py", "patch": "@@ -15,6 +15,7 @@\n \n import base64\n import os\n+from enum import EnumMeta\n from io import BytesIO\n from typing import TYPE_CHECKING, Dict, Iterable, List, Optional, Tuple, Union\n \n@@ -29,6 +30,7 @@\n is_torch_available,\n is_torch_tensor,...
2023-12-11T15:51:51
golang/go
4d9ecde30a77f4a4197b585b42cc2117607a8c40
670cb9c37769f07fd8c2aac6270a9f2342d2b970
regexp/syntax: fix comment on p.literal and simplify p.literal's doc comment said it returned a value but it doesn't. While we're here, p.newLiteral is only called from p.literal, so simplify the code by merging the two. Change-Id: Ia357937a99f4e7473f0f1ec837113a39eaeb83d4 Reviewed-on: https://go-review.googlesource....
[ { "path": "src/regexp/syntax/parse.go", "patch": "@@ -177,16 +177,16 @@ func (p *parser) maybeConcat(r rune, flags Flags) bool {\n \treturn false // did not push r\n }\n \n-// newLiteral returns a new OpLiteral Regexp with the given flags\n-func (p *parser) newLiteral(r rune, flags Flags) *Regexp {\n+// lit...
2020-03-07T14:35:12
nodejs/node
1782b3836ba58ef0da6b687f2bb970c0bd8199ad
0f5dabe4ede908ec552ad3e4942bc27c298fcbb4
build: fix build without icu When building without ICU (`vcbuild.bat intl-none`) the unicode/ucnv.h header is not available, which causes compilation errors. PR-URL: https://github.com/nodejs/node/pull/14533 Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: ...
[ { "path": "src/node_i18n.h", "patch": "@@ -25,7 +25,6 @@\n #if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS\n \n #include \"node.h\"\n-#include <unicode/ucnv.h>\n #include <string>\n \n #if defined(NODE_HAVE_I18N_SUPPORT)", "additions": 0, "deletions": 1, "language": "C/C++ Header" } ]
2017-07-28T21:47:52
ggml-org/llama.cpp
239b60e8986bbcb944f57311a02ac994431bf652
dff7551bfdbdd6e57c13e523d7dcca317640e907
CANN: fix acl_rstd allocation size in ggml_cann_rms_norm (#15760) Fixes #15330 Adjust the allocation size of acl_rstd. The parameter `dims` is set to 3 according to the CANN documentation. Co-authored-by: Yuchuan <yuchuan-cao@users.noreply.github.com>
[ { "path": "ggml/src/ggml-cann/aclnn_ops.cpp", "patch": "@@ -975,18 +975,19 @@ void ggml_cann_rms_norm(ggml_backend_cann_context& ctx, ggml_tensor* dst) {\n );\n \n // build rstd, zero...\n- size_t acl_rstd_nb[GGML_MAX_DIMS];\n+ int64_t acl_rstd_ne[] = {src->ne[1], src->ne[2], src->ne[3]};\n+ ...
2025-09-04T03:03:02
vuejs/vue
59d4351ad8fc042bc263a16ed45a56e9ff5b013e
8c2674ea6a742173d278f3d6c3c75f4999b84293
fix(transition): handle local-formatted floats in toMs function. (#8495) fix #4894
[ { "path": "src/platforms/web/runtime/transition-util.js", "patch": "@@ -181,6 +181,10 @@ function getTimeout (delays: Array<string>, durations: Array<string>): number {\n }))\n }\n \n+// Old versions of Chromium (below 61.0.3163.100) formats floating pointer numbers\n+// in a locale-dependent way, using a...
2018-10-24T17:58:25
huggingface/transformers
39acfe84ba330fda3ae72c083284a04cac8ac9e0
0f59d2f173ce44e519f61e63d5966ce4ecb17829
Add deepspeed test to amd scheduled CI (#27633) * add deepspeed scheduled test for amd * fix image * add dockerfile * add comment * enable tests * trigger * remove trigger for this branch * trigger * change runner env to trigger the docker build image test * use new docker image * remove ...
[ { "path": ".github/workflows/build-docker-images.yml", "patch": "@@ -271,3 +271,39 @@ jobs:\n REF=main\n push: true\n tags: huggingface/transformers-tensorflow-gpu\n+\n+ # latest-pytorch-deepspeed-amd:\n+ # name: \"PyTorch + DeepSpeed (AMD) [dev]\"\n+\n+ # runs-on: [se...
2023-12-11T15:33:36
golang/go
670cb9c37769f07fd8c2aac6270a9f2342d2b970
9b56d3e536839f5b1b55d0451e25adc58694dda7
cmd/doc: don't print package clauses on error Everybody was deferring a flush when main already did that, so drop all that nonsense. (Flush was doing the package clause stuff.) But then make sure we do get a package clause when there is correctly no output, as for an empty package. Do that by triggering a package clau...
[ { "path": "src/cmd/doc/doc_test.go", "patch": "@@ -1000,6 +1000,25 @@ func TestDotSlashLookup(t *testing.T) {\n \t}\n }\n \n+// Test that we don't print spurious package clauses\n+// when there should be no output at all. Issue 37969.\n+func TestNoPackageClauseWhenNoMatch(t *testing.T) {\n+\tmaybeSkip(t)\n+...
2020-04-03T02:57:01
nodejs/node
732658e4cf0ab676040cdbad92f39b93fbacaa80
6e05970494de273a934448a85c48006a2c0610b6
dns: add channel.cancel() This can be used to implement custom timeouts. Fixes: https://github.com/nodejs/node/issues/7231 PR-URL: https://github.com/nodejs/node/pull/14518 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
[ { "path": "doc/api/dns.md", "patch": "@@ -95,6 +95,14 @@ The following methods from the `dns` module are available:\n * [`resolver.resolveTxt()`][`dns.resolveTxt()`]\n * [`resolver.reverse()`][`dns.reverse()`]\n \n+### resolver.cancel()\n+<!-- YAML\n+added: REPLACEME\n+-->\n+\n+Cancel all outstanding DNS qu...
2017-07-27T17:03:11
vuejs/vue
eb604529c62e9954305889122f34499ad75b3b45
002acbe678a76efb57be2b80e4e6e54d8d82b08c
fix: support modifier combination of click.right + .once (#8492)
[ { "path": "src/compiler/helpers.js", "patch": "@@ -65,6 +65,18 @@ export function addHandler (\n )\n }\n \n+ // normalize click.right and click.middle since they don't actually fire\n+ // this is technically browser-specific, but at least for now browsers are\n+ // the only target envs that have ri...
2018-10-24T17:55:33
ggml-org/llama.cpp
dff7551bfdbdd6e57c13e523d7dcca317640e907
0fce7a1248b74148c1eb0d368b7e18e8bcb96809
vulkan: fix mmv subgroup16 selection (#15775)
[ { "path": "ggml/src/ggml-vulkan/ggml-vulkan.cpp", "patch": "@@ -2937,9 +2937,7 @@ static void ggml_vk_load_shaders(vk_device& device) {\n \n const bool use_subgroups = device->subgroup_arithmetic && device->architecture != vk_device_architecture::AMD_GCN;\n // Ensure a subgroup size >= 16 is availab...
2025-09-03T20:55:10
huggingface/transformers
0f59d2f173ce44e519f61e63d5966ce4ecb17829
417bb9148416651d8a59a9b211558ad329882b02
Fix AMD scheduled CI not triggered (#27951) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".github/workflows/self-scheduled-amd-mi210-caller.yml", "patch": "@@ -12,7 +12,7 @@ on:\n jobs:\r\n run_amd_ci:\r\n name: AMD mi210\r\n- if: (cancelled() != true) && ((github.event_name == 'schedule') || ((github.event_name == 'push') && startsWith(github.ref_name, 'run_amd_scheduled_ci_...
2023-12-11T15:22:10
golang/go
646b4ac06583396bb296f9b3f855fdab4ebe0060
2ff1e3ebf5de77325c0e96a6c2a229656fc7be50
runtime: explictly state lock ordering direction At least as far as I can tell, this file never explicitly states whether locks with higher or lower rank should be taken first. It is implied in some comments, and clear from the code, of course. Add an explicit comment to make things more clear and hopefully reduce ne...
[ { "path": "src/runtime/lockrank.go", "patch": "@@ -27,7 +27,8 @@ package runtime\n type lockRank int\n \n // Constants representing the lock rank of the architecture-independent locks in\n-// the runtime.\n+// the runtime. Locks with lower rank must be taken before locks with higher\n+// rank.\n const (\n \...
2020-04-17T19:25:03
nodejs/node
cee8d6d65e650baafb19986513c1971a5a556cb2
ff1a51920ecd65328c1e7065e1d1d4313379195f
build,win: fix python detection script Handle spaces in the path to python.exe, in case it is installed under some directory like "C:\Program Files". PR-URL: https://github.com/nodejs/node/pull/14546 Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Colin Ih...
[ { "path": "tools/msvs/find_python.cmd", "patch": "@@ -41,7 +41,7 @@ EXIT /B 1\n :validate\n IF NOT EXIST \"%p%python.exe\" EXIT /B 1\n :: Check if %p% is python2\n-%p%python.exe -V 2>&1 | findstr /R \"^Python.2.*\" > NUL\n+\"%p%python.exe\" -V 2>&1 | findstr /R \"^Python.2.*\" > NUL\n IF ERRORLEVEL 1 EXIT /...
2017-07-31T06:32:43
ggml-org/llama.cpp
661ae31c9c68201577e70278285b349a5a662caf
407c23786dd0d3a503e9429eead96e611d3950c9
CUDA: Optimize `rms_norm_f32` kernel and its fused variants, giving 1-6% perf E2E (#15715) * Add fastdiv, use it in modulo and use modulo in rms_norm_f32 Fastdiv is much faster way to do integer division, which was identified as bottleneck in rms_norm_f32 * Support more `block_size` values in `rms_norm_f32` This ma...
[ { "path": "ggml/src/ggml-cuda/common.cuh", "patch": "@@ -563,6 +563,38 @@ static __device__ __forceinline__ float ggml_cuda_e8m0_to_fp32(uint8_t x) {\n #endif // CUDART_VERSION >= 12050\n }\n \n+// See https://gmplib.org/~tege/divcnst-pldi94.pdf figure 4.1.\n+// Precompute mp (m' in the paper) and L such th...
2025-09-03T17:59:16
huggingface/transformers
417bb9148416651d8a59a9b211558ad329882b02
5cec306cdc6c03a3fc92e93f60d9c0279dddc420
In PreTrainedTokenizerBase add missing word in error message (#27949) "text input must of type" -> "text input must be of type"
[ { "path": "src/transformers/tokenization_utils_base.py", "patch": "@@ -2858,13 +2858,13 @@ def _is_valid_text_input(t):\n \n if not _is_valid_text_input(text):\n raise ValueError(\n- \"text input must of type `str` (single example), `List[str]` (batch or single pretokenize...
2023-12-11T15:12:40
vuejs/vue
0b16927c9d382b9cf134b131b898350340c2ee41
8f04135dbaa5f5f0500d42c0968beba8043f5363
fix(transition): check existence of `el.parentNode` (#8422) fix #8199 * fix(transition): check existence of `el.parentNode` If the new parentNode gets a `textContent` or `innerHTML` property during patching, the `transition` node would have been detached early, which means `el.parentNode` no longer exists. ...
[ { "path": "src/core/vdom/patch.js", "patch": "@@ -32,13 +32,20 @@ export const emptyNode = new VNode('', {}, [])\n \n const hooks = ['create', 'activate', 'update', 'remove', 'destroy']\n \n+function childrenIgnored (vnode) {\n+ return vnode && vnode.data && vnode.data.domProps && (\n+ vnode.data.domPro...
2018-10-24T17:26:20
ggml-org/llama.cpp
407c23786dd0d3a503e9429eead96e611d3950c9
cdedb70a998cea7052560fe0b0615a839443564d
model-conversion : fix pyright errors (#15770) This commit addresses type errors reported by pyright in the model conversion scripts.
[ { "path": "examples/model-conversion/scripts/causal/run-casual-gen-embeddings-org.py", "patch": "@@ -3,11 +3,10 @@\n import argparse\n import os\n import importlib\n-import sys\n import torch\n import numpy as np\n \n-from transformers import AutoTokenizer, AutoConfig, AutoModel, AutoModelForCausalLM\n+from...
2025-09-03T16:28:36
nodejs/node
ff1a51920ecd65328c1e7065e1d1d4313379195f
8c2cac650ad7051004fe1f283d3a007747480f60
test: refactor test-vm-new-script-new-context * block scope test cases * clean up global leaks in individual test cases * enable global variable leak checking * remove console.error() statements PR-URL: https://github.com/nodejs/node/pull/14536 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Colin Ihrig...
[ { "path": "test/parallel/test-vm-new-script-new-context.js", "patch": "@@ -20,71 +20,88 @@\n // USE OR OTHER DEALINGS IN THE SOFTWARE.\n \n 'use strict';\n-const common = require('../common');\n+require('../common');\n+\n const assert = require('assert');\n+\n const Script = require('vm').Script;\n \n-commo...
2017-07-29T16:04:00
golang/go
2ff1e3ebf5de77325c0e96a6c2a229656fc7be50
ef5c59d47b7f4376ea8ff54fb0a882528c0f5588
net/http/pprof: support the "seconds" param for block, mutex profiles When the seconds param is given, the block and mutex profile endpoints report the difference between two measurements collected the given seconds apart. Historically, the block and mutex profiles have reported the cumulative counts since the process...
[ { "path": "src/go/build/deps_test.go", "patch": "@@ -247,55 +247,55 @@ var pkgDeps = map[string][]string{\n \t\"go/types\": {\"L4\", \"GOPARSER\", \"container/heap\", \"go/constant\"},\n \n \t// One of a kind.\n-\t\"archive/tar\": {\"L4\", \"OS\", \"syscall\", \"os/user\"...
2019-12-11T23:47:05
huggingface/transformers
5cec306cdc6c03a3fc92e93f60d9c0279dddc420
921a6bf26ed5b7d63e65f1cce1bcf2294e5dce2b
Fix parameter count in readme for mixtral 45b (#27945) fix parameter count in readme
[ { "path": "docs/source/en/model_doc/mixtral.md", "patch": "@@ -30,17 +30,17 @@ Tips:\n \n \n - The model needs to be converted using the [conversion script](https://github.com/huggingface/transformers/blob/main/src/transformers/models/mixtral/convert_mixtral_weights_to_hf.py).\n-- If the model is quantized ...
2023-12-11T14:58:48
vuejs/vue
8f04135dbaa5f5f0500d42c0968beba8043f5363
a64ff1957c35270b818aa9cfdfb2acb6e42ce2a9
fix(parser): allow CRLFs in string interpolations (#8408) fix #8103
[ { "path": "src/compiler/parser/text-parser.js", "patch": "@@ -3,7 +3,7 @@\n import { cached } from 'shared/util'\n import { parseFilters } from './filter-parser'\n \n-const defaultTagRE = /\\{\\{((?:.|\\n)+?)\\}\\}/g\n+const defaultTagRE = /\\{\\{((?:.|\\r?\\n)+?)\\}\\}/g\n const regexEscapeRE = /[-.*+?^${}...
2018-10-24T17:24:55
rust-lang/rust
9e390b299565c7c9054e3dd9189eb1ab76f9f4dd
7edd034a1f6ab10f73779521a231537d64398c2a
Fix &&str and trailing commas in io::const_error!
[ { "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 i...
2025-02-11T00:34:13
ggml-org/llama.cpp
2c8dac72eb6acd4e20c0da251535dfc46d35178b
40a751ea9a94364da73537b86502a808ebe1fc3a
llama : fix incorrect model type for Gemma 270M (#15764) This commit fixes the model type for the Gemma 270M model in llama_model.cpp which should be LLM_TYPE_270M. I incorrectly added this previously as LLM_TYPE_537M which was wrong. The motivation for this is that it causes the model to not be identified properly ...
[ { "path": "src/llama-model.cpp", "patch": "@@ -1110,7 +1110,7 @@ void llama_model::load_hparams(llama_model_loader & ml) {\n ml.get_key(LLM_KV_ATTENTION_LAYERNORM_RMS_EPS, hparams.f_norm_rms_eps);\n \n switch (hparams.n_layer) {\n- case 18: type = LLM_TYPE_...
2025-09-03T11:35:49
nodejs/node
bdfbce924159ece4b32ee7f774a263987e719972
8db39971b768118ce2c0c34d88788daea14f52c9
http_client, errors: migrate to internal/errors PR-URL: https://github.com/nodejs/node/pull/14423 Refs: https://github.com/nodejs/node/issues/11273 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tobias ...
[ { "path": "doc/api/errors.md", "patch": "@@ -597,6 +597,7 @@ Used when `Console` is instantiated without `stdout` stream or when `stdout` or\n Used when the native call from `process.cpuUsage` cannot be processed properly.\n \n <a id=\"ERR_DNS_SET_SERVERS_FAILED\"></a>\n+### ERR_DNS_SET_SERVERS_FAILED\n \n ...
2017-07-22T11:23:04
golang/go
ef5c59d47b7f4376ea8ff54fb0a882528c0f5588
80e5c3b8b556c9c8010c0efd4e8d40f595743ee6
crypto/x509: clarify MarshalPKIXPublicKey and ParsePKIXPublicKey docs Fixes #35313 Change-Id: I7be3c40f338de6b1808358ea01e729db8b533ce5 Reviewed-on: https://go-review.googlesource.com/c/go/+/228778 Run-TryBot: Katie Hockman <katie@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Filippo Valsorda...
[ { "path": "src/crypto/x509/x509.go", "patch": "@@ -47,6 +47,8 @@ type pkixPublicKey struct {\n }\n \n // ParsePKIXPublicKey parses a public key in PKIX, ASN.1 DER form.\n+// The encoded public key is a SubjectPublicKeyInfo structure\n+// (see RFC 5280, Section 4.1).\n //\n // It returns a *rsa.PublicKey, *d...
2020-04-17T16:21:24
huggingface/transformers
44127ec66787234dcd76afe31dab4cd79cccf8b6
b911c1f10ff8b31bdd0658dadaa0b1357fe47004
Fix test for auto_find_batch_size on multi-GPU (#27947) * Fix test for multi-GPU * WIth CPU handle
[ { "path": "tests/trainer/test_trainer.py", "patch": "@@ -1558,7 +1558,7 @@ def test_auto_batch_size_with_resume_from_checkpoint(self):\n class MockCudaOOMCallback(TrainerCallback):\n def on_step_end(self, args, state, control, **kwargs):\n # simulate OOM on the first step...
2023-12-11T14:57:41
vuejs/vue
a64ff1957c35270b818aa9cfdfb2acb6e42ce2a9
a71853bfc5b6ee117af05408f4d75c80893d44e2
fix(lifecycle): updated should not be called after component being destroyed (#8381) fix #8076
[ { "path": "src/core/observer/scheduler.js", "patch": "@@ -98,7 +98,7 @@ function callUpdatedHooks (queue) {\n while (i--) {\n const watcher = queue[i]\n const vm = watcher.vm\n- if (vm._watcher === watcher && vm._isMounted) {\n+ if (vm._watcher === watcher && vm._isMounted && !vm._isDestroye...
2018-10-24T17:24:31
rust-lang/rust
7edd034a1f6ab10f73779521a231537d64398c2a
6171d944aea415a3023d4262e0895aa3b18c771f
Use io::const_error! when possible over io::Error::new
[ { "path": "library/std/src/sys/net/connection/xous/tcplistener.rs", "patch": "@@ -182,7 +182,7 @@ impl TcpListener {\n \n pub fn set_ttl(&self, ttl: u32) -> io::Result<()> {\n if ttl > 255 {\n- return Err(io::Error::new(io::ErrorKind::InvalidInput, \"TTL must be less than 256\"));\n+ ...
2025-02-11T00:20:21