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
vuejs/vue
6b799190a57b73c4b3d6c31f4009cda74a1a6184
45d7ba842917a075d6cb2563c78210e3b9210a58
test: add test case for #6687 + fix lingering comment node
[ { "path": "src/platforms/web/runtime/modules/transition.js", "patch": "@@ -181,12 +181,12 @@ export function leave (vnode: VNodeWithData, rm: Function) {\n }\n \n const data = resolveTransition(vnode.data.transition)\n- if (isUndef(data)) {\n+ if (isUndef(data) || el.nodeType !== 1) {\n return rm(...
2017-11-16T15:09:15
rust-lang/rust
bed71f93358daecc12130e2ee2ba8a5ebd7b3f6e
9221e33766172b229559a2e3f44e9164963d8519
fix typo
[ { "path": "src/tools/clippy/clippy_lints/src/empty_line_after.rs", "patch": "@@ -295,7 +295,7 @@ impl EmptyLineAfter {\n });\n \n diag.multipart_suggestion_with_style(\n- format!(\"if the empty {lines} {are} unintentional remove {them}\"),\n+ ...
2025-02-07T15:00:27
huggingface/transformers
638d49983f36af910934b38771b4e55c835c1774
5330b83bc5637b8e7eafe095c22ef19e21baff2d
fixed broken link (#27560)
[ { "path": "docs/source/en/tasks/language_modeling.md", "patch": "@@ -110,7 +110,7 @@ The next step is to load a DistilGPT2 tokenizer to process the `text` subfield:\n ```\n \n You'll notice from the example above, the `text` field is actually nested inside `answers`. This means you'll need to\n-extract the ...
2023-11-17T16:20:42
golang/go
3ff9c4f2a6670edaee3962571ef6241c1bfcc2fc
2cb80bdee0dcb4ff55f46ab7025a37546aef6b7a
os/signal: make TestStop resilient to initially-blocked signals For reasons unknown, SIGUSR1 appears to be blocked at process start for tests on the android-arm-corellium and android-arm64-corellium builders. (This has been observed before, too: see CL 203957.) Make the test resilient to blocked signals by always call...
[ { "path": "src/os/signal/signal_test.go", "patch": "@@ -152,10 +152,6 @@ func TestStress(t *testing.T) {\n }\n \n func testCancel(t *testing.T, ignore bool) {\n-\t// Send SIGWINCH. By default this signal should be ignored.\n-\tsyscall.Kill(syscall.Getpid(), syscall.SIGWINCH)\n-\tquiesce()\n-\n \t// Ask to b...
2020-03-30T19:43:08
ggml-org/llama.cpp
20638e4f16fcc21f836c7556e83bbf532bb5a0f0
36d3f00e142696f708ab297b9f8f1c825594712d
scripts: fix crash when --tool is not set (#15133)
[ { "path": "scripts/compare-llama-bench.py", "patch": "@@ -315,28 +315,29 @@ def get_rows(self, properties: list[str], hexsha8_baseline: str, hexsha8_compare\n \n \n class LlamaBenchDataSQLite3(LlamaBenchData):\n- connection: sqlite3.Connection\n+ connection: Optional[sqlite3.Connection] = None\n c...
2025-08-07T06:50:30
nodejs/node
dce2f06f80048f768c99ca40518aa4c234842011
6e47e133ab90045db8df611cf34a3f461f291327
doc: update umask for clarity PR-URL: https://github.com/nodejs/node/pull/14170 Fixes: https://github.com/nodejs/node/issues/14169 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail....
[ { "path": "doc/api/process.md", "patch": "@@ -1697,9 +1697,9 @@ added: v0.1.19\n * `mask` {number}\n \n The `process.umask()` method sets or returns the Node.js process's file mode\n-creation mask. Child processes inherit the mask from the parent process. The old\n-mask is return if the `mask` argument is g...
2017-07-11T16:59:00
vuejs/vue
45d7ba842917a075d6cb2563c78210e3b9210a58
a3246fd8545dbe66f37da16d7ff68597c0f025e6
fix(transition): fix out-in transition getting stuck with v-if (#7023) fix #6687
[ { "path": "src/platforms/web/runtime/components/transition.js", "patch": "@@ -161,7 +161,9 @@ export default {\n oldChild &&\n oldChild.data &&\n !isSameChild(child, oldChild) &&\n- !isAsyncPlaceholder(oldChild)\n+ !isAsyncPlaceholder(oldChild) &&\n+ // #6687 component root ...
2017-11-16T14:29:26
rust-lang/rust
4044c1aa496e39e4fc1ec34d646d84ea639253ad
42453bd73a39ef96727774159d300f0a27aec73d
fix empty after lint on impl/trait items Co-authored-by: Guillaume Gomez <guillaume1.gomez@gmail.com>
[ { "path": "clippy_lints/src/empty_line_after.rs", "patch": "@@ -3,13 +3,13 @@ use clippy_utils::source::{SpanRangeExt, snippet_indent};\n use clippy_utils::tokenize_with_text;\n use itertools::Itertools;\n use rustc_ast::token::CommentKind;\n-use rustc_ast::{AttrKind, AttrStyle, Attribute, Crate, Item, Item...
2025-02-06T20:44:00
ggml-org/llama.cpp
36d3f00e142696f708ab297b9f8f1c825594712d
5fd160bbd9d70b94b5b11b0001fd7f477005e4a0
requirements : fix PyTorch uint64 compatibility (#15134) This commit addresses an issue with the convert_hf_to_gguf script which is currently failing with: ```console AttributeError: module 'torch' has no attribute 'uint64' ``` This occurred because safetensors expects torch.uint64 to be available in the public API, ...
[ { "path": "requirements/requirements-convert_hf_to_gguf.txt", "patch": "@@ -2,7 +2,7 @@ mistral-common>=1.8.3\n \n -r ./requirements-convert_legacy_llama.txt\n --extra-index-url https://download.pytorch.org/whl/cpu\n-torch~=2.2.1; platform_machine != \"s390x\"\n+torch~=2.4.0; platform_machine != \"s390x\"\n...
2025-08-07T03:31:48
huggingface/transformers
913d03dc5e78b82c24be7a52c9ad06dd1022f1e2
d903abfccc0f0fc8e73364cf5418a26118bda99e
Generate: fix flaky tests (#27543)
[ { "path": "src/transformers/generation/logits_process.py", "patch": "@@ -1301,8 +1301,9 @@ def __call__(self, input_ids: torch.LongTensor, scores: torch.FloatTensor) -> to\n # set all nan values to 0.0\n scores[scores != scores] = 0.0\n \n- # set all inf values to max possible value\n...
2023-11-17T10:15:00
golang/go
2d77d3330537e11a0d9a233ba5f4facf262e9d8c
5d2ddcd3f51c1ff7aa0a84604b1d8610a17a7933
net/http: treat a nil Body from a custom RoundTripper as an empty one Fixes #38095 Change-Id: I4f65ce01e7aed22240eee979c41535d0b8b9a8dc Reviewed-on: https://go-review.googlesource.com/c/go/+/225717 Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Russ Cox <rsc...
[ { "path": "src/net/http/client.go", "patch": "@@ -269,7 +269,20 @@ func send(ireq *Request, rt RoundTripper, deadline time.Time) (resp *Response, d\n \t\treturn nil, didTimeout, fmt.Errorf(\"http: RoundTripper implementation (%T) returned a nil *Response with a nil error\", rt)\n \t}\n \tif resp.Body == nil...
2020-03-27T01:28:37
nodejs/node
6e47e133ab90045db8df611cf34a3f461f291327
49e63ff4a4d6cd072a190f4446d117c7dfe74bd6
doc: add notice about useGlobal option in repl docs PR-URL: https://github.com/nodejs/node/pull/13866 Fixes: https://github.com/nodejs/node/issues/13827 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
[ { "path": "doc/api/repl.md", "patch": "@@ -405,7 +405,8 @@ changes:\n REPL instances `terminal` value.\n * `useGlobal` {boolean} If `true`, specifies that the default evaluation\n function will use the JavaScript `global` as the context as opposed to\n- creating a new separate context for th...
2017-06-22T04:11:56
vuejs/vue
13196b25b8a0a84b3936982177195d2e04f13f79
df82aeb0bf7454ac99d403000a1ac993e8d8d4de
fix: clone slot nodes for render fn usage as well fix #7041
[ { "path": "src/core/instance/render-helpers/resolve-slots.js", "patch": "@@ -44,7 +44,7 @@ export function resolveSlots (\n }\n \n function isWhitespace (node: VNode): boolean {\n- return node.isComment || node.text === ' '\n+ return (node.isComment && !node.asyncFactory) || node.text === ' '\n }\n \n exp...
2017-11-14T02:43:20
rust-lang/rust
9221e33766172b229559a2e3f44e9164963d8519
cca89952a29beaf9909e5ab7aaa9ec8edde0c104
fix empty after lint on impl/trait items Co-authored-by: Guillaume Gomez <guillaume1.gomez@gmail.com>
[ { "path": "compiler/rustc_lint/src/early.rs", "patch": "@@ -246,6 +246,14 @@ impl<'ast, 'ecx, 'tcx, T: EarlyLintPass> ast_visit::Visitor<'ast>\n }\n }\n ast_visit::walk_assoc_item(cx, item, ctxt);\n+ match ctxt {\n+ ast_visit::AssocCtxt::Trai...
2025-02-06T20:44:00
ggml-org/llama.cpp
5fd160bbd9d70b94b5b11b0001fd7f477005e4a0
756cfea82608911bbfcbf45164b8fdaddbafaa31
ggml: Add basic SET_ROWS support in WebGPU (#15137) * Begin work on set_rows * Work on set rows * Add error buffers for reporting unsupported SET_ROWS indices * Remove extra comments
[ { "path": ".github/workflows/build.yml", "patch": "@@ -179,7 +179,6 @@ jobs:\n - name: Test\n id: cmake_test\n run: |\n- export LLAMA_SET_ROWS=0\n cd build\n ctest -L main --verbose --timeout 900\n \n@@ -438,7 +437,6 @@ jobs:\n - name: Test\n ...
2025-08-06T22:14:40
huggingface/transformers
d903abfccc0f0fc8e73364cf5418a26118bda99e
fe3ce061c4a2ff0bbd37f6a6a1c4b533fcbcca58
Fix AMD CI not showing GPU (#27555) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".github/workflows/self-push-amd.yml", "patch": "@@ -38,14 +38,16 @@ jobs:\n runs-on: [self-hosted, docker-gpu, amd-gpu, '${{ matrix.machine_type }}', '${{ inputs.gpu_flavor }}']\n container:\n image: huggingface/transformers-pytorch-amd-gpu-push-ci # <--- We test only for PyTorch f...
2023-11-17T09:44:37
golang/go
5d2ddcd3f51c1ff7aa0a84604b1d8610a17a7933
5db079d2e5f97952be288c28a3a0690a523efdce
context: fix a flaky timeout in TestLayersTimeout In CL 223019, I reduced the short timeout in the testLayers helper to be even shorter than it was. That exposed a racy (time-dependent) select later in the function, which failed in one of the slower builders (android-386-emu). Also streamline the test to make it easi...
[ { "path": "src/context/context_test.go", "patch": "@@ -27,6 +27,7 @@ type testingT interface {\n \tLog(args ...interface{})\n \tLogf(format string, args ...interface{})\n \tName() string\n+\tParallel()\n \tSkip(args ...interface{})\n \tSkipNow()\n \tSkipf(format string, args ...interface{})\n@@ -284,6 +285,...
2020-03-30T18:04:08
vuejs/vue
df82aeb0bf7454ac99d403000a1ac993e8d8d4de
daed1e73557d57df244ad8d46c9afff7208c9a2d
fix: should warn unknown components during hydration fix #6998
[ { "path": "src/core/vdom/patch.js", "patch": "@@ -103,7 +103,23 @@ export function createPatchFunction (backend) {\n }\n }\n \n- let inPre = 0\n+ function isUnknownElement (vnode, inVPre) {\n+ return (\n+ !inVPre &&\n+ !vnode.ns &&\n+ !(\n+ config.ignoredElements.length &&\n...
2017-11-13T20:52:01
nodejs/node
73078d607251b7c88dab96532c7e61606d70b2f8
a74ddff1d9f6b99f8eb57ae77a7d64e433c60abb
n-api: add napi_fatal_error API PR-URL: https://github.com/nodejs/node/pull/13971 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Jason Ginchereau <jasongin@microsoft.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michael Dawson <michael_dawso...
[ { "path": "doc/api/n-api.md", "patch": "@@ -533,6 +533,23 @@ Returns `napi_ok` if the API succeeded.\n \n This API returns true if an exception is pending.\n \n+### Fatal Errors\n+\n+In the event of an unrecoverable error in a native module, a fatal error can be\n+thrown to immediately terminate the process...
2017-06-28T00:54:44
rust-lang/rust
46333985ceae3adc407cba7320fb109d8746ba24
c92520a3b56060d8af81879abf6454d3388b2451
Remove outdated fixme
[ { "path": "scripts/test_rustc_tests.sh", "patch": "@@ -155,8 +155,6 @@ cp $(../dist/rustc-clif --print target-libdir)/libstd-*.so ../dist/lib/\n \n # prevent $(RUSTDOC) from picking up the sysroot built by x.py. It conflicts with the one used by\n # rustdoc-clif\n-# FIXME remove the bootstrap changes once i...
2025-02-07T14:14:42
ggml-org/llama.cpp
756cfea82608911bbfcbf45164b8fdaddbafaa31
e725a1a982ca870404a9c4935df52466327bbd02
fix profiling crash (#15072)
[ { "path": "ggml/src/ggml-opencl/ggml-opencl.cpp", "patch": "@@ -602,6 +602,7 @@ struct ggml_backend_opencl_context {\n if (ref_count == 0) {\n #ifdef GGML_OPENCL_PROFILING\n write_profiling_info();\n+ profiling_info.clear();\n #endif\n }\n }", "additions": 1, ...
2025-08-06T21:17:51
huggingface/transformers
fe3ce061c4a2ff0bbd37f6a6a1c4b533fcbcca58
b074461ef0f54ce37c5239d30ee960ece28d11ec
Skip some fuyu tests (#27553) * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/fuyu/test_modeling_fuyu.py", "patch": "@@ -293,6 +293,21 @@ def test_training_gradient_checkpointing_use_reentrant(self):\n def test_training_gradient_checkpointing_use_reentrant_false(self):\n pass\n \n+ # TODO: Fix me (once this model gets more usage)\n+ @unittest...
2023-11-17T09:35:04
vuejs/vue
daed1e73557d57df244ad8d46c9afff7208c9a2d
7cf188e134fe7bfc9e8a16b763fb85b18eff1eac
fix: normlaize @click.right and @click.middle fix #7020
[ { "path": "src/compiler/codegen/events.js", "patch": "@@ -41,18 +41,7 @@ export function genHandlers (\n ): string {\n let res = isNative ? 'nativeOn:{' : 'on:{'\n for (const name in events) {\n- const handler = events[name]\n- // #5330: warn click.right, since right clicks do not actually fire cl...
2017-11-13T17:55:56
golang/go
5db079d2e5f97952be288c28a3a0690a523efdce
5970480c68fc7ecb6eaf3a5f90f49ae4504fa060
crypto/rsa: reject invalid length PKCS#1v1.5 signatures Per RFC 8017, reject signatures which are not the same length as the RSA modulus. This matches the behavior of SignPKCS1v15 which properly left pads the signatures it generates to the size of the modulus. Fixes #21896 Change-Id: I2c42a0b24cf7fff158ece604b6f0c52...
[ { "path": "src/crypto/rsa/pkcs1v15.go", "patch": "@@ -277,6 +277,13 @@ func VerifyPKCS1v15(pub *PublicKey, hash crypto.Hash, hashed []byte, sig []byte)\n \t\treturn ErrVerification\n \t}\n \n+\t// RFC 8017 Section 8.2.2: If the length of the signature S is not k\n+\t// octets (where k is the length in octet...
2020-03-29T03:04:51
nodejs/node
ac41db4af0443b678adace8d25f5d24935653359
598a128ff46f6ab8d562877f401b32b50366b483
n-api: add code parameter to error helpers In support of the effort to add error codes to all errors generated by Node.js, add an optional code parameter to the helper functions used to throw/create errors in N-API. PR-URL: https://github.com/nodejs/node/pull/13988 Fixes: https://github.com/nodejs/node/issues/13933 R...
[ { "path": "doc/api/n-api.md", "patch": "@@ -323,6 +323,31 @@ code needs to create an Error object: [`napi_create_error`][],\n where result is the napi_value that refers to the newly created\n JavaScript Error object.\n \n+The Node.js project is adding error codes to all of the errors\n+generated internally....
2017-06-29T01:53:18
ggml-org/llama.cpp
476aa3fd5779b32d06cd84338f777da82341195c
0d8831543cdc368fb248bae6f1b4aa5516684edc
Fixed name `-override-tensors` to `-override-tensor` (#15129)
[ { "path": "tools/llama-bench/llama-bench.cpp", "patch": "@@ -374,7 +374,7 @@ static void print_usage(int /* argc */, char ** argv) {\n printf(\" -embd, --embeddings <0|1> (default: %s)\\n\",\n join(cmd_params_defaults.embeddings, \",\").c_str());\n printf(\" -ts, --tenso...
2025-08-06T16:28:48
huggingface/transformers
93f31e0e78e6d4bc7341ff3d34d60d78dafe1128
12b50c6130ccfbb2381a181dc4bbb2bf07a3c62a
Updated albert.md doc for ALBERT model (#27223) * Updated albert.md doc for ALBERT model * Update docs/source/en/model_doc/albert.md Fixed Resources heading Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com> * Update the ALBERT model doc resources Fixed resource example for fine-tun...
[ { "path": "docs/source/en/model_doc/albert.md", "patch": "@@ -59,13 +59,67 @@ This model was contributed by [lysandre](https://huggingface.co/lysandre). This\n - Layers are split in groups that share parameters (to save memory).\n Next sentence prediction is replaced by a sentence ordering prediction: in th...
2023-11-16T19:44:36
rust-lang/rust
c92520a3b56060d8af81879abf6454d3388b2451
03764709ca4bb757e0bd5e39667d49d51be6c496
Workaround bug in the linker-warning test It incorrectly replaces rustc_codegen_cranelift in paths with rustc. It also doesn't handle panic=abort correctly.
[ { "path": "scripts/test_rustc_tests.sh", "patch": "@@ -195,6 +195,20 @@ index e7ae773ffa1d3..04bc2d7787da7 100644\n // Provide necessary library search paths for rustc.\n .env(dylib_env_var(), &env::join_paths(host_dylib_search_paths).unwrap());\n \n+diff --git a/tests/run-make/lin...
2025-02-01T17:53:54
vuejs/vue
c2b1cfe9ccd08835f2d99f6ce60f67b4de55187f
0496115c55b4539d1901ce409a457f8b9fbc20ce
fix(weex): donot rethrow the captured error on weex platform (#7024)
[ { "path": "src/core/util/env.js", "patch": "@@ -1,16 +1,19 @@\n /* @flow */\n+declare var WXEnvironment: any;\n \n // can we use __proto__?\n export const hasProto = '__proto__' in {}\n \n // Browser environment sniffing\n export const inBrowser = typeof window !== 'undefined'\n+export const inWeex = typeof...
2017-11-13T16:48:41
golang/go
d98023ebb5c2db9a445699b690f2cf6fd77f4b7e
71d477469c5529b56779cdb3bc235d0a87fe9877
runtime, internal/poll: name error codes Use explicit names for the error code returned by pollReset and pollWait, rather than just 0, 1, 2, 3. Change-Id: I0ab12cae57693deab7cca9cdd2fadd597e23a956 Reviewed-on: https://go-review.googlesource.com/c/go/+/226537 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Resul...
[ { "path": "src/internal/poll/fd_poll_runtime.go", "patch": "@@ -107,15 +107,24 @@ func (pd *pollDesc) pollable() bool {\n \treturn pd.runtimeCtx != 0\n }\n \n+// Error values returned by runtime_pollReset and runtime_pollWait.\n+// These must match the values in runtime/netpoll.go.\n+const (\n+\tpollNoError...
2020-03-31T01:25:47
nodejs/node
598a128ff46f6ab8d562877f401b32b50366b483
462b2466b34724ce194b4249a3e241083eb753d3
test: handle missing V8 tests in n-api test The N-API test testInstanceOf.js relies on several V8 test files which may not exist in downloadable archives. If the files are missing, this commit causes a warning to be emitted rather than failing the test. Refs: https://github.com/nodejs/node/issues/14113 Fixes: https:/...
[ { "path": "test/addons-napi/test_general/testInstanceOf.js", "patch": "@@ -9,6 +9,11 @@ const assert = require('assert');\n const addon = require(`./build/${common.buildType}/test_general`);\n const path = require('path');\n \n+// This test depends on a number of V8 tests.\n+const v8TestsDir = path.resolve(...
2017-07-07T13:33:23
ggml-org/llama.cpp
0d8831543cdc368fb248bae6f1b4aa5516684edc
65c797c4fad4d9966695ac4b4a1560be44109267
ggml : fix fallback to CPU for ununsupported ops (#15118)
[ { "path": "ggml/src/ggml-backend.cpp", "patch": "@@ -1071,6 +1071,11 @@ static void ggml_backend_sched_split_graph(ggml_backend_sched_t sched, struct gg\n }\n }\n }\n+ // if the node is still unassigned, assign it to the first backend that supports it\n+ for...
2025-08-06T12:37:35
vuejs/vue
9463ac8746f57d1dff6f958b7d79765aa0979fa8
f0a66c5817f6580519c7f33704c8013398724039
test: fix weex tests
[ { "path": "test/weex/compiler/compile.spec.js", "patch": "@@ -32,12 +32,12 @@ describe('compile basic', () => {\n \n it('should compile unary tag', () => {\n const inputCase = compile(`<div><input><text>abc</text></div>`)\n- expect(inputCase.render).toMatch(strToRegExp(`return _m(0)`))\n+ expect...
2017-11-07T22:25:55
golang/go
a265c2c448497fcee1633d2e2b912da52ea22d3c
3ee782b11da3fb0313603ad0e3be8ab6755802a9
cmd/cgo, misc/cgo: only cache anonymous struct typedefs with parent name CL 181857 broke the translation of certain C types using cmd/cgo -godefs because it stores each typedef, array and qualified type with their parent type name in the translation cache. Fix this by only considering the parent type for typedefs of ...
[ { "path": "misc/cgo/testgodefs/testdata/issue37479.go", "patch": "@@ -0,0 +1,33 @@\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+// +build ignore\n+\n+package main\n+\n+/*\n+typedef ...
2020-03-29T22:38:09
ggml-org/llama.cpp
65c797c4fad4d9966695ac4b4a1560be44109267
25726898e855ec6dffba227f2233a63c57184036
chat : fix yandex chat template (#15116)
[ { "path": "src/llama-chat.cpp", "patch": "@@ -625,8 +625,6 @@ int32_t llm_chat_apply_template(\n } else if (tmpl == LLM_CHAT_TEMPLATE_YANDEX) {\n // Yandex template (\"\\n\\n\" is defined as EOT token)\n \n- ss << \"<s>\";\n-\n for (size_t i = 0; i < chat.size(); i++) {\n ...
2025-08-06T11:26:49
huggingface/transformers
651408a077f842e76e75bfc7d02b8ac38eeb6480
acb5b4aff5ce4c4a9929d3c9bb658b1f64637295
[`Styling`] stylify using ruff (#27144) * try to stylify using ruff * might need to remove these changes? * use ruf format andruff check * use isinstance instead of type comparision * use # fmt: skip * use # fmt: skip * nits * soem styling changes * update ci job * nits isinstance * more ...
[ { "path": ".circleci/config.yml", "patch": "@@ -157,11 +157,10 @@ jobs:\n command: pip freeze | tee installed.txt\n - store_artifacts:\n path: ~/transformers/installed.txt\n- - run: black --check examples tests src utils\n- - run: ruff exam...
2023-11-16T16:43:19
nodejs/node
f94fd0c0f3361daea9a1272e2e00d2703b8d2fb7
8a830350b226b4e56cdf3cd519e62ff8a071f9c3
async_hooks: fix nested hooks mutation In some cases restoreTmpHooks is called too early, this causes active_hooks_array to change during execution of the init hooks. PR-URL: https://github.com/nodejs/node/pull/14143 Ref: https://github.com/nodejs/node/pull/14054#issuecomment-313915193 Reviewed-By: Refael Ackermann <...
[ { "path": "lib/async_hooks.js", "patch": "@@ -26,10 +26,10 @@ const { pushAsyncIds, popAsyncIds } = async_wrap;\n // Using var instead of (preferably const) in order to assign\n // tmp_active_hooks_array if a hook is enabled/disabled during hook execution.\n var active_hooks_array = [];\n-// Track whether a...
2017-07-09T11:50:59
vuejs/vue
267ada04e8dd66f5c159dd6ba1b9f88fbbe78676
2acc12c9edb03329c4d9cddcca26e46c672a77bc
fix(types): expose VueConstructor (#7002)
[ { "path": "types/index.d.ts", "patch": "@@ -3,7 +3,8 @@ import { Vue } from \"./vue\";\n export default Vue;\n \n export {\n- CreateElement\n+ CreateElement,\n+ VueConstructor\n } from \"./vue\";\n \n export {", "additions": 2, "deletions": 1, "language": "Unknown" } ]
2017-11-06T21:34:22
ggml-org/llama.cpp
25726898e855ec6dffba227f2233a63c57184036
2241453252147bb7362a286977ee9f9a92130062
chat : fix hunyuan auto-detection (#15114) Signed-off-by: stevenkuang <stevenkuang@tencent.com>
[ { "path": "src/llama-chat.cpp", "patch": "@@ -193,11 +193,11 @@ llm_chat_template llm_chat_detect_template(const std::string & tmpl) {\n return LLM_CHAT_TEMPLATE_LLAMA4;\n } else if (tmpl_contains(\"<|endofuserprompt|>\")) {\n return LLM_CHAT_TEMPLATE_DOTS1;\n- } else if (tmpl_contain...
2025-08-06T09:48:30
golang/go
33b648c0e9428c8775043db75fdff5864a64219a
5a312288799c0a433e2061550ff92689b627e080
cmd/compile: fix ephemeral pointer problem on amd64 Make sure we don't use the rewrite ptr + (c + x) -> c + (ptr + x), as that may create an ephemeral out-of-bounds pointer. I have not seen an actual bug caused by this yet, but we've seen them in the 386 port so I'm fixing this issue for amd64 as well. The load-comb...
[ { "path": "src/cmd/compile/internal/ssa/gen/AMD64.rules", "patch": "@@ -1491,65 +1491,70 @@\n \n // Little-endian loads\n \n-(ORL x0:(MOVBload [i0] {s} p0 mem)\n- sh:(SHLLconst [8] x1:(MOVBload [i1] {s} p1 mem)))\n+(OR(L|Q) x0:(MOVBload [i0] {s} p mem)\n+ sh:(SHL(L|Q)...
2020-03-28T05:03:33
huggingface/transformers
acb5b4aff5ce4c4a9929d3c9bb658b1f64637295
6b39470b74e916f9698f91bfc1fda23bed0a89d1
Disable docker image build job `latest-pytorch-amd` for now (#27541) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".github/workflows/build-docker-images.yml", "patch": "@@ -208,40 +208,41 @@ jobs:\n push: true\n tags: huggingface/transformers-pytorch-gpu\n \n- latest-pytorch-amd:\n- name: \"Latest PyTorch (AMD) [dev]\"\n- runs-on: [self-hosted, docker-gpu, amd-gpu, single-gpu, mi210...
2023-11-16T16:00:46
vuejs/vue
ad673e12575404ee68ed267d4186de803f3dbb08
5a9da95b8a865416f082952a48416ffc091e4078
chore: fix flow
[ { "path": "src/server/optimizing-compiler/optimizer.js", "patch": "@@ -130,11 +130,11 @@ function hasCustomDirective (node: ASTNode): ?boolean {\n \n // <select v-model> cannot be optimized because it requires a runtime check\n // to determine proper selected option\n-function isSelectWithModel (node: ASTNo...
2017-11-03T20:51:16
nodejs/node
8a830350b226b4e56cdf3cd519e62ff8a071f9c3
5ffb5b6fce376fa08be1af7552ce6d6c9e80bc56
async_hooks: move restoreTmpHooks call to init This fixes an error that could occure by nesting async_hooks calls PR-URL: https://github.com/nodejs/node/pull/14054 Ref: https://github.com/nodejs/node/pull/13755#issuecomment-312616004 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Trevor Norris <trev.no...
[ { "path": "lib/async_hooks.js", "patch": "@@ -335,11 +335,6 @@ function emitInitS(asyncId, type, triggerAsyncId, resource) {\n throw new RangeError('triggerAsyncId must be an unsigned integer');\n \n init(asyncId, type, triggerAsyncId, resource);\n-\n- // Isn't null if hooks were added/removed while ...
2017-07-03T12:16:12
ggml-org/llama.cpp
2241453252147bb7362a286977ee9f9a92130062
9515c6131aecaccc955fdedcfe16c3e030aaefcb
CANN: add support for ACL Graph (#15065) * feat(cann): add optional support for ACL Graph execution This commit adds support for executing ggml computational graphs using Huawei's ACL graph mode via the USE_CANN_GRAPH flag. The support can be enabled at compile time using the CMake option: -DUSE_CANN_GRAPH=ON B...
[ { "path": "ggml/src/ggml-cann/CMakeLists.txt", "patch": "@@ -31,6 +31,13 @@ string(REGEX MATCH \"[0-9]+[a-zA-Z]\" SOC_TYPE_MAJOR_SN \"${SOC_VERSION}\")\n set(SOC_TYPE_COMPILE_OPTION \"ASCEND_${SOC_TYPE_MAJOR_SN}\")\n string(TOUPPER ${SOC_TYPE_COMPILE_OPTION} SOC_TYPE_COMPILE_OPTION)\n message(STATUS \"CANN:...
2025-08-06T06:12:42
huggingface/transformers
6b39470b74e916f9698f91bfc1fda23bed0a89d1
fd65aa981868cd1066738658ebd3efdc9c43df55
Raise error when quantizing a quantized model (#27500) add error msg
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -2781,7 +2781,12 @@ def from_pretrained(\n quantization_method_from_config = config.quantization_config.get(\n \"quant_method\", QuantizationMethod.BITS_AND_BYTES\n )\n-\n+ if quantization_method_from...
2023-11-16T15:35:40
vuejs/vue
5a9da95b8a865416f082952a48416ffc091e4078
4fe1a95d2953ecf765e27677fa70ebadb176d4c3
fix(slots): properly handle nested named slot passing fix #6996
[ { "path": "src/compiler/parser/index.js", "patch": "@@ -467,7 +467,7 @@ function processSlot (el) {\n el.slotTarget = slotTarget === '\"\"' ? '\"default\"' : slotTarget\n // preserve slot as an attribute for native shadow DOM compat\n // only for non-scoped slots.\n- if (!el.slotScope...
2017-11-03T20:45:54
golang/go
89e13c88e4f9f3a3eea7bf105e5af475727a4c33
0b7c202e98949b530f7f4011efd454164356ba69
runtime: check the correct sanity condition in the page allocator Currently there are a few sanity checks in the page allocator which should fail immediately but because it's a check for a negative number on a uint, it's actually dead-code. If there's a bug in the page allocator which would cause the sanity check to ...
[ { "path": "src/runtime/mpagealloc.go", "patch": "@@ -724,7 +724,7 @@ nextLevel:\n \t// is what the final level represents.\n \tci := chunkIdx(i)\n \tj, searchIdx := s.chunkOf(ci).find(npages, 0)\n-\tif j < 0 {\n+\tif j == ^uint(0) {\n \t\t// We couldn't find any space in this chunk despite the summaries tel...
2020-03-28T16:11:15
ggml-org/llama.cpp
9515c6131aecaccc955fdedcfe16c3e030aaefcb
fd1234cb468935ea087d6929b2487926c3afff4b
ggml: WebGPU disable SET_ROWS for now (#15078) * Add paramater buffer pool, batching of submissions, refactor command building/submission * Add header for linux builds * Free staged parameter buffers at once * Format with clang-format * Fix thread-safe implementation * Use device implicit synchronization * Updat...
[ { "path": ".github/workflows/build.yml", "patch": "@@ -179,6 +179,7 @@ jobs:\n - name: Test\n id: cmake_test\n run: |\n+ export LLAMA_SET_ROWS=0\n cd build\n ctest -L main --verbose --timeout 900\n \n@@ -437,6 +438,7 @@ jobs:\n - name: Test\n ...
2025-08-05T23:26:38
nodejs/node
dbfe8c4ea2fb30f7d3dc4f8e361e3059b0e1e50f
1562fb9ea7b993382a4aef0433a10b1029419f17
errors,buffer: port errors to internal/errors PR-URL: https://github.com/nodejs/node/pull/13976 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
[ { "path": "doc/api/errors.md", "patch": "@@ -575,6 +575,11 @@ Used as special type of error that can be triggered whenever Node.js detects an\n exceptional logic violation that should never occur. These are raised typically\n by the `assert` module.\n \n+<a id=\"ERR_BUFFER_OUT_OF_BOUNDS\"></a>\n+### ERR_BUF...
2017-06-29T03:58:39
vuejs/vue
4fe1a95d2953ecf765e27677fa70ebadb176d4c3
e1657fd7ce49bff3c3ecad3c56ae527347505c34
fix: properly mark slot rendered flag in production mode fix #6997
[ { "path": "src/core/instance/render-helpers/render-slot.js", "patch": "@@ -27,12 +27,14 @@ export function renderSlot (\n } else {\n const slotNodes = this.$slots[name]\n // warn duplicate slot usage\n- if (slotNodes && process.env.NODE_ENV !== 'production') {\n- slotNodes._rendered && war...
2017-11-03T19:40:40
huggingface/transformers
5603fad2479ad22ca4689f6a4dbf56ef2f1f0973
4989e73e2f86f991a7c2aec4852d873903c71c14
Revert "add attention_mask and position_ids in assisted model" (#27523) * Revert "add attention_mask and position_ids in assisted model (#26892)" This reverts commit 184f60dcec6f7f664687a9e211e8d2216052b05d. * more debug
[ { "path": "src/transformers/generation/utils.py", "patch": "@@ -4504,6 +4504,11 @@ def assisted_decoding(\n else:\n num_assistant_tokens = assistant_model.generation_config.num_assistant_tokens\n \n+ # check if assistant model accepts encoder_outputs\n+ assistant_accepts_en...
2023-11-16T13:50:39
golang/go
3e6ff18247f340794419258c49badfd9a7aa6842
7716d7fc1b025049b6377f5e7ce184d8e6671678
[dev.link] cmd/link, cmd/oldlink: detect object file format mismatch When using the new(old) linker but an old(new) object file is found, give a better error message. Change-Id: I94786f1a4b527c15c4f5b00457eab60d215a72a0 Reviewed-on: https://go-review.googlesource.com/c/go/+/225457 Run-TryBot: Cherry Zhang <cherryyz@g...
[ { "path": "src/cmd/link/internal/loader/loader.go", "patch": "@@ -1667,6 +1667,9 @@ func (l *Loader) Preload(syms *sym.Symbols, f *bio.Reader, lib *sym.Library, uni\n \t}\n \tr := goobj2.NewReaderFromBytes(roObject, readonly)\n \tif r == nil {\n+\t\tif len(roObject) >= 8 && bytes.Equal(roObject[:8], []byte(...
2020-03-25T16:06:59
vuejs/vue
e1657fd7ce49bff3c3ecad3c56ae527347505c34
e80104eb63ae44e159061a3753aa0356ac8b82eb
fix(ssr): properly render <select v-model> initial state fix #6986
[ { "path": "src/platforms/web/server/directives/index.js", "patch": "@@ -1,5 +1,7 @@\n import show from './show'\n+import model from './model'\n \n export default {\n- show\n+ show,\n+ model\n }", "additions": 3, "deletions": 1, "language": "JavaScript" }, { "path": "src/platforms/web/...
2017-11-03T19:30:47
huggingface/transformers
4989e73e2f86f991a7c2aec4852d873903c71c14
69c9b89fcb2a45875fbf3fd6594ed65403b95170
Update the TF pin for 2.15 (#27375) * Move the TF pin for 2.15 * make fixup
[ { "path": "examples/tensorflow/_tests_requirements.txt", "patch": "@@ -1,5 +1,5 @@\n-tensorflow<2.15\n-keras<2.15\n+tensorflow<2.16\n+keras<2.16\n tensorboard\n scikit-learn\n seqeval", "additions": 2, "deletions": 2, "language": "Plain Text" }, { "path": "setup.py", "patch": "@@ -12...
2023-11-16T13:47:43
golang/go
7bfac4c3ddde3dd906b344f141a9d09a5f855c77
534f56b4b2b7e368e27d87af2d7721c4ffde37ba
net/http: use DOMException.message property in error text Previously, details about the underlying fetch error were not visible in the net/http error text: net/http: fetch() failed: <object> When using the message property, they are: net/http: fetch() failed: Failed to fetch net/http: fetch() failed: The user ab...
[ { "path": "src/net/http/roundtrip_js.go", "patch": "@@ -157,7 +157,7 @@ func (t *Transport) RoundTrip(req *Request) (*Response, error) {\n \t})\n \tdefer success.Release()\n \tfailure := js.FuncOf(func(this js.Value, args []js.Value) interface{} {\n-\t\terr := fmt.Errorf(\"net/http: fetch() failed: %s\", ar...
2020-03-29T03:25:18
vuejs/vue
79c0d7bcfbcd1ac492e7ceb77f5024d09efdc6b3
53b77f805475f217eb221a475409e9a27f590549
fix(ssr): properly render textarea value partial fix for #6986
[ { "path": "src/platforms/web/server/modules/dom-props.js", "patch": "@@ -27,7 +27,10 @@ export default function renderDOMProps (node: VNodeWithData): string {\n setText(node, props[key], true)\n } else if (key === 'textContent') {\n setText(node, props[key], false)\n+ } else if (key === '...
2017-11-03T03:04:31
huggingface/transformers
1ac599d90f740ce28f637ad32ff5f59c40cd5a0a
b71c38a094ee91140f82d5285be9fcb0ea43839e
Fix offload disk for loading derivated model checkpoint into base model (#27253) * fix * style * add test
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -3793,8 +3793,7 @@ def _find_mismatched_keys(\n else:\n folder = None\n if device_map is not None and is_safetensors:\n- param_device_map = expand_device_map(device_map, original_loaded_keys)\n-\n+ ...
2023-11-15T19:58:08
ggml-org/llama.cpp
fd1234cb468935ea087d6929b2487926c3afff4b
f324a3b715d5c1081c110ce459f8a8486fb1ee89
llama : add gpt-oss (#15091) * oai moe * compat with new checkpoint * add attn sink impl * add rope scaling yarn * logits match with latest transformers code * wip chat template * rm trailing space * use ggml_scale_bias * rm redundant is_swa_all * convert interleaved gate_up * graph : fix activation function...
[ { "path": "common/arg.cpp", "patch": "@@ -2947,11 +2947,12 @@ common_params_context common_params_parser_init(common_params & params, llama_ex\n \"controls whether thought tags are allowed and/or extracted from the response, and in which format they're returned; one of:\\n\"\n \"- none: leav...
2025-08-05T19:10:36
golang/go
534f56b4b2b7e368e27d87af2d7721c4ffde37ba
82047a080f0aa320e316773fe8bcbb7c7bcd5a1f
doc: fix path to make.bash Change-Id: I78c7197b8b93590470a782b492bba177a14d80ec Reviewed-on: https://go-review.googlesource.com/c/go/+/226340 Reviewed-by: Ian Lance Taylor <iant@golang.org>
[ { "path": "doc/contribute.html", "patch": "@@ -1006,7 +1006,7 @@ <h3 id=\"quick_test\">Quickly testing your changes</h3>\n \n <li>\n In this section, we'll call the directory into which you cloned the Go repository <code>$GODIR</code>.\n-The <code>go</code> tool built by <code>$GODIR/make.bash</code> will b...
2020-03-29T16:59:08
vuejs/vue
58a39dfa0e8c4a51959e9a84369dad8fbca0e6ac
0c703e34d1a2083d9f162fcf0885deefb803182e
fix(model): correctly set select v-model initial value on patch (#6910)
[ { "path": "src/platforms/web/runtime/directives/model.js", "patch": "@@ -6,6 +6,8 @@\n import { isTextInputType } from 'web/util/element'\n import { looseEqual, looseIndexOf } from 'shared/util'\n import { warn, isAndroid, isIE9, isIE, isEdge } from 'core/util/index'\n+import { mergeVNodeHook } from 'core/v...
2017-11-03T02:03:19
huggingface/transformers
b71c38a094ee91140f82d5285be9fcb0ea43839e
2e72bbab2cd169903b1e77b439718c1bdc5d50b2
Fix bug for T5x to PyTorch convert script with varying encoder and decoder layers (#27448) * Fix bug in handling varying encoder and decoder layers This commit resolves an issue where the script failed to convert T5x models to PyTorch models when the number of decoder layers differed from the number of encoder laye...
[ { "path": "src/transformers/models/t5/convert_t5x_checkpoint_to_pytorch.py", "patch": "@@ -69,7 +69,7 @@ def t5x_layer_norm_lookup(params, i, prefix, layer_name):\n return params[f\"{prefix}/layers_{i}/{layer_name}/scale\"]\n \n \n-def convert_t5x_to_pytorch(variables: dict, *, num_layers: int, is_encod...
2023-11-15T19:00:22
ggml-org/llama.cpp
f324a3b715d5c1081c110ce459f8a8486fb1ee89
be426425817bc3e6a2d91dae476dba6fa85894be
chat : only remove double bos/eos if added (#15086) * only remove double bos/eos if added * fix tests
[ { "path": "common/chat.cpp", "patch": "@@ -126,6 +126,8 @@ std::vector<common_chat_msg_diff> common_chat_msg_diff::compute_diffs(const comm\n typedef minja::chat_template common_chat_template;\n \n struct common_chat_templates {\n+ bool add_bos;\n+ bool add_eos;\n bool has_explicit_template; // Mo...
2025-08-05T18:43:36
nodejs/node
1562fb9ea7b993382a4aef0433a10b1029419f17
6d090e10949715f1e143b383894db290174feab0
tools: update ESLint to 4.2.0 ESLint 4.2.0 contains a fix for a bug that is blocking us from moving to the non-legacy stricter indentation linting. Update to 4.2.0 to remove the blocking issue. PR-URL: https://github.com/nodejs/node/pull/14155 Ref: https://github.com/eslint/eslint/issues/8882 Ref: https://github.com/...
[ { "path": "tools/eslint/conf/eslint-recommended.js", "patch": "@@ -48,6 +48,7 @@ module.exports = {\n \"func-names\": \"off\",\n \"func-style\": \"off\",\n \"generator-star-spacing\": \"off\",\n+ \"getter-return\": \"off\",\n \"global-require\": \"off\",\n \"gu...
2017-07-10T18:14:37
vuejs/vue
0c703e34d1a2083d9f162fcf0885deefb803182e
bdcc05a0d40eaef0e0f76b9d975a04fe0e97f5e0
fix(v-model): v-if / v-else not working with :type + v-model (#6955) fix #6918
[ { "path": "src/platforms/web/compiler/modules/model.js", "patch": "@@ -29,6 +29,8 @@ function preTransformNode (el: ASTElement, options: CompilerOptions) {\n const typeBinding: any = getBindingAttr(el, 'type')\n const ifCondition = getAndRemoveAttr(el, 'v-if', true)\n const ifConditionExtr...
2017-11-02T21:09:29
huggingface/transformers
2e72bbab2cd169903b1e77b439718c1bdc5d50b2
e6522e49a7ff8a58793d13653aa94adfe56b44ce
Incorrect setting for num_beams in translation and summarization examples (#27519) * Remove the torch main_process_first context manager from TF examples * Correctly set num_beams=1 in our examples, and add a guard in GenerationConfig.validate() * Update src/transformers/generation/configuration_utils.py Co-a...
[ { "path": "examples/flax/summarization/run_summarization_flax.py", "patch": "@@ -312,7 +312,7 @@ class DataTrainingArguments:\n default=False, metadata={\"help\": \"Whether to use generate to calculate generative metrics (ROUGE, BLEU).\"}\n )\n num_beams: Optional[int] = field(\n- def...
2023-11-15T18:18:54
golang/go
82047a080f0aa320e316773fe8bcbb7c7bcd5a1f
5aef51a729f428bfd4b2c28fd2ba7950660608e0
test, test/fixedbugs, crypto/x509, go/internal/gccgoimporter: fix typos Change-Id: Ie2d605ca8cc3bde2e26c6865642ff4e6412cd075 GitHub-Last-Rev: ce5c3ba369b2ef476e7c63e4404baa256584f357 GitHub-Pull-Request: golang/go#38137 Reviewed-on: https://go-review.googlesource.com/c/go/+/226201 Run-TryBot: Ian Lance Taylor <iant@go...
[ { "path": "src/crypto/x509/x509_test.go", "patch": "@@ -1806,7 +1806,7 @@ func TestMD5(t *testing.T) {\n \t}\n }\n \n-// certMissingRSANULL contains an RSA public key where the AlgorithmIdentifer\n+// certMissingRSANULL contains an RSA public key where the AlgorithmIdentifier\n // parameters are omitted rat...
2020-03-29T08:12:06
ggml-org/llama.cpp
3306ceabf02e3df66666e5851800e843c7ca207e
c81de6e107ef51ef76aadcb8a6f008711c462517
sycl: fix mul_mat selection (#15092)
[ { "path": "ggml/src/ggml-sycl/ggml-sycl.cpp", "patch": "@@ -2609,6 +2609,8 @@ static void ggml_sycl_mul_mat_vec_nc(ggml_backend_sycl_context & ctx, const ggml\n GGML_ASSERT(!ggml_backend_buffer_is_sycl_split(src0->buffer));\n GGML_ASSERT(src0->type == GGML_TYPE_F16);\n GGML_ASSERT(src1->type == ...
2025-08-05T16:39:55
vuejs/vue
bdcc05a0d40eaef0e0f76b9d975a04fe0e97f5e0
c24f3e4208cd045832002ee9916559f6fe0dc2b5
chore: fix creative Tim missing from the sponsors list (#6939)
[ { "path": "README.md", "patch": "@@ -143,8 +143,7 @@ Funds donated via Patreon goes directly to support Evan You's full-time work on\n <a href=\"https://opencollective.com/vuejs/tiers/goldsponsors/1/website\" target=\"_blank\"><img src=\"https://opencollective.com/vuejs/tiers/goldsponsors/1/avatar.svg\"></a...
2017-11-02T21:05:30
nodejs/node
7f26a291f60dbddcd9c9ad216d268844eff0f53f
3b4010be319f8dfeb2688f93f7bce54042e746f1
doc: prefix of the stacktrace in errors.md PR-URL: https://github.com/nodejs/node/pull/14150 Fixes: https://github.com/nodejs/node/issues/5675 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Kunal Pathak <kunal.pathak@microsoft.com>
[ { "path": "doc/api/errors.md", "patch": "@@ -221,8 +221,7 @@ Error.captureStackTrace(myObject);\n myObject.stack; // similar to `new Error().stack`\n ```\n \n-The first line of the trace, instead of being prefixed with `ErrorType:\n-message`, will be the result of calling `targetObject.toString()`.\n+The f...
2017-07-09T20:04:07
huggingface/transformers
e6522e49a7ff8a58793d13653aa94adfe56b44ce
a0633c44834e18bdd6a073c4d427e5e870476636
Fixing the failure of models without max_position_embeddings attribute. (#27499) fix max pos issue Co-authored-by: Adam Louly <adamlouly@microsoft.com@orttrainingdev9.d32nl1ml4oruzj4qz3bqlggovf.px.internal.cloudapp.net>
[ { "path": "examples/pytorch/language-modeling/run_clm.py", "patch": "@@ -497,15 +497,20 @@ def tokenize_function(examples):\n batched=True,\n remove_columns=column_names,\n )\n+ if hasattr(config, \"max_position_embeddings\"):\n+ max_pos_embeddings = con...
2023-11-15T18:16:42
ggml-org/llama.cpp
c81de6e107ef51ef76aadcb8a6f008711c462517
22f060c9c4b5ef49a83a20eda25fcb792419580b
Fix `glm4moe` bug (#15088)
[ { "path": "src/llama-model.cpp", "patch": "@@ -13800,10 +13800,6 @@ struct llm_build_glm4_moe : public llm_graph_context {\n LLM_FFN_SILU, LLM_FFN_PAR, il);\n cb(cur, \"ffn_out\", il);\n } else {\n- // MoE layer with shared experts\n- ...
2025-08-05T12:56:44
vuejs/vue
c24f3e4208cd045832002ee9916559f6fe0dc2b5
f2e00f756fb540fb09ce3414289c652ce172d85c
fix(events): properly $off array of events (#6949)
[ { "path": "src/core/instance/events.js", "patch": "@@ -92,7 +92,7 @@ export function eventsMixin (Vue: Class<Component>) {\n if (!cbs) {\n return vm\n }\n- if (arguments.length === 1) {\n+ if (!fn) {\n vm._events[event] = null\n return vm\n }", "additions": 1, "de...
2017-11-02T20:58:21
nodejs/node
3b4010be319f8dfeb2688f93f7bce54042e746f1
250d50b3802f177e7ca3877b1dfeaf775f3ea6cf
test,async_hooks: match test-ttywrap.readstream Match changes made to test-ttywrap.readstream for consistency. PR-URL: https://github.com/nodejs/node/pull/13991 Fixes: https://github.com/nodejs/node/issues/13984 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-B...
[ { "path": "test/async-hooks/test-ttywrap.writestream.js", "patch": "@@ -1,64 +1,47 @@\n 'use strict';\n \n const common = require('../common');\n-\n-const tty_fd = common.getTTYfd();\n-if (tty_fd < 0)\n- common.skip('no valid TTY fd available');\n-\n const assert = require('assert');\n+\n+// general hook t...
2017-07-03T20:40:55
huggingface/transformers
a0633c44834e18bdd6a073c4d427e5e870476636
a85ea4b19a47824a8e85d3304a698e2d5c8325ec
Translating `en/model_doc` docs to Japanese. (#27401) * update _toctree.yml & add albert-autoformer * Fixed typo in docs/source/ja/model_doc/audio-spectrogram-transformer.md Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com> * Delete duplicated sentence docs/source/ja/model_doc/autoformer...
[ { "path": "docs/source/en/model_doc/audio-spectrogram-transformer.md", "patch": "@@ -29,7 +29,7 @@ The abstract from the paper is the following:\n <img src=\"https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/transformers/model_doc/audio_spectogram_transformer_architecture.png\"\n...
2023-11-15T18:13:52
ggml-org/llama.cpp
22f060c9c4b5ef49a83a20eda25fcb792419580b
ee3a9fcf88fe5b5e1213711e05861b83cd4fdfe6
webui: fix markdown table (#15081) * webui: fix markdown table * webui: fix table display with themes
[ { "path": "tools/server/webui/src/index.scss", "patch": "@@ -31,7 +31,24 @@ html {\n hr {\n @apply my-4 border-base-content/20 border-1;\n }\n- /* TODO: fix markdown table */\n+ table {\n+ @apply w-full border-collapse text-sm font-sans my-4 text-base-content;\n+ }\n+ thead {\n+ @apply bg-...
2025-08-05T11:56:44
vuejs/vue
f2e00f756fb540fb09ce3414289c652ce172d85c
350f5788d39741d690d49aea91c084f2db764992
fix: special case for static muted attribute in firefox fix #6887
[ { "path": "src/compiler/parser/index.js", "patch": "@@ -556,6 +556,13 @@ function processAttrs (el) {\n }\n }\n addAttr(el, name, JSON.stringify(value))\n+ // #6887 firefox doesn't update muted state if set via attribute\n+ // even immediately after element creation\n+ if ...
2017-11-02T20:55:05
huggingface/transformers
a85ea4b19a47824a8e85d3304a698e2d5c8325ec
48ba1e074f3c335451e6fcae19760c30aea8d70a
Fix wav2vec2 params (#27515) Fix test
[ { "path": "examples/pytorch/test_pytorch_examples.py", "patch": "@@ -550,9 +550,6 @@ def test_run_wav2vec2_pretraining(self):\n --seed 42\n \"\"\".split()\n \n- if is_torch_fp16_available_on_device(torch_device):\n- testargs.append(\"--fp16\")\n-\n with patch.ob...
2023-11-15T14:24:03
nodejs/node
250d50b3802f177e7ca3877b1dfeaf775f3ea6cf
f52c7078533db859dd03b20eccdb502e5f048039
test,async_hooks: skip whether TTY is available If TTY isn't available then the test will always fail. Also use the already available process.stdin instead of opening another ReadStream. PR-URL: https://github.com/nodejs/node/pull/13991 Fixes: https://github.com/nodejs/node/issues/13984 Reviewed-By: Anna Henningsen <...
[ { "path": "test/async-hooks/test-ttywrap.readstream.js", "patch": "@@ -1,4 +1,5 @@\n 'use strict';\n+\n const common = require('../common');\n const assert = require('assert');\n \n@@ -10,31 +11,33 @@ const { checkInvocations } = require('./hook-checks');\n const hooks = initHooks();\n hooks.enable();\n \n+...
2017-06-29T21:20:47
ggml-org/llama.cpp
ee3a9fcf88fe5b5e1213711e05861b83cd4fdfe6
ec428b02c347767f24c78111309e3f30d2ada289
context : fix index overflow on huge outputs (#15080) * context : fix overflow when re-ordering huge outputs * context : fix logits size overflow for huge batches
[ { "path": "src/llama-context.cpp", "patch": "@@ -786,7 +786,7 @@ int llama_context::encode(const llama_batch & batch_inp) {\n const auto & hparams = model.hparams;\n \n const int64_t n_embd = hparams.n_embd;\n- const int32_t n_vocab = model.vocab.n_tokens();\n+ const int64_t n_vocab = model.v...
2025-08-05T09:27:45
vuejs/vue
8a784d8d2333f0a05569f6c11c5a0fb0ab3a164e
6f6e5c88af95d4b50ba70e4d983e1add7f8fd254
fix(weex): stop trim css units in richtext component (#6927) + Remove the `trimCSSUnit` method. + Modify the test cases to support css units. + Add flow type annotations.
[ { "path": "src/platforms/weex/runtime/components/richtext.js", "patch": "@@ -1,55 +1,44 @@\n-function getVNodeType (vnode) {\n+/* @flow */\n+\n+function getVNodeType (vnode: VNode): string {\n if (!vnode.tag) {\n return ''\n }\n return vnode.tag.replace(/vue\\-component\\-(\\d+\\-)?/, '')\n }\n \n...
2017-10-31T00:28:54
golang/go
912e64ba46eb3d130d2fb3ccaa7e7f4ac4d38991
a9fb2e5155041615df59b5e3db9b546e723d0ff1
[dev.link] cmd/link/internal/loader: add Loader plt/got access methods Add accessor methods to get at the symbol {plt,got} value for PE symbols. Fix a bug in the loaders SetPlt/SetGot methods. Change-Id: I975bd6b86122622b206487c8798f8290ecd25a57 Reviewed-on: https://go-review.googlesource.com/c/go/+/225199 Run-TryBot...
[ { "path": "src/cmd/link/internal/loader/loader.go", "patch": "@@ -1133,24 +1133,40 @@ func (l *Loader) SetSymElfType(i Sym, et elf.SymType) {\n \t}\n }\n \n+// SymPlt returns the plt value for pe symbols.\n+func (l *Loader) SymPlt(s Sym) int32 {\n+\tif v, ok := l.plt[s]; ok {\n+\t\treturn v\n+\t}\n+\treturn...
2020-03-24T13:23:09
huggingface/transformers
48ba1e074f3c335451e6fcae19760c30aea8d70a
453079c7f843e7eb920a47fcdaa431413ac0fe72
[ `PretrainedConfig`] Improve messaging (#27438) * import hf error * nits * fixup * catch the error at the correct place * style * improve message a tiny bit * Update src/transformers/utils/hub.py Co-authored-by: Lucain <lucainp@gmail.com> * add a test --------- Co-authored-by: Lucain <l...
[ { "path": "src/transformers/utils/hub.py", "patch": "@@ -43,6 +43,7 @@\n from huggingface_hub.utils import (\n EntryNotFoundError,\n GatedRepoError,\n+ HFValidationError,\n LocalEntryNotFoundError,\n RepositoryNotFoundError,\n RevisionNotFoundError,\n@@ -491,7 +492,10 @@ def cached_fi...
2023-11-15T13:10:39
ggml-org/llama.cpp
19f68fa5a4c3bf796de52a6db9008e77d29f423a
41613437ffee0dbccad684fc744788bc504ec213
imatrix : warn when GGUF imatrix is saved without .gguf suffix (#15076) * imatrix : add warning when suffix is not .gguf for GGUF imatrix * imatrix : only warn about suffix when output format is unspecified
[ { "path": "common/arg.cpp", "patch": "@@ -2649,10 +2649,10 @@ common_params_context common_params_parser_init(common_params & params, llama_ex\n ).set_examples({LLAMA_EXAMPLE_IMATRIX}));\n add_opt(common_arg(\n {\"--output-format\"}, \"{gguf,dat}\",\n- string_format(\"output format fo...
2025-08-04T21:26:52
nodejs/node
daead5a76731c9201daa32a146c2e89f3d522670
82aa34ed1f404d429f8249ade588c367cb7cd6c5
test: reduce run time for test-benchmark-http Specify more configuration options to reduce run time by about a third. PR-URL: https://github.com/nodejs/node/pull/14180 Fixes: https://github.com/nodejs/node/issues/14177 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> ...
[ { "path": "test/sequential/test-benchmark-http.js", "patch": "@@ -23,11 +23,14 @@ const env = Object.assign({}, process.env,\n \n const child = fork(runjs, ['--set', 'benchmarker=test-double',\n '--set', 'c=1',\n+ '--set', 'chunkedEnc=true',\n ...
2017-07-12T03:03:14
vuejs/vue
e9c8e12397f1e89382f91b1557cc7f7d4139e651
d1d8b58ab6a0b0698a86aff716c0fd94b7cdd654
chore: fix sponsors from open collective (#6958) * Fix sponsors from open collective Also added Silver and Bronze sponsors. Fixes https://github.com/opencollective/opencollective/issues/579 * Update README.md only gold and above are listed here.
[ { "path": "README.md", "patch": "@@ -16,7 +16,7 @@\n Vue.js is an MIT-licensed open source project. It's an independent project with its ongoing development made possible entirely thanks to the support by these awesome [backers](https://github.com/vuejs/vue/blob/dev/BACKERS.md). If you'd like to join them, ...
2017-10-30T14:37:28
golang/go
d99fe1f40dfacfdebee22c13ed4471fd50f2cc1a
ef220dc53ed204386b30879ff1882b70a7fd602b
time: remove some unnecessary/duplicated global slices Removes two variables: - days which is unused, and similar usage provided by longDayNames - months in favour of using longMonthNames Fixes #36359 Change-Id: I51b6b7408db9359c658462ba73e59ed432f655a6 GitHub-Last-Rev: 778d3ea157d363fcb5bced6d318381b44a1cac50 GitH...
[ { "path": "src/time/time.go", "patch": "@@ -287,25 +287,10 @@ const (\n \tDecember\n )\n \n-var months = [...]string{\n-\t\"January\",\n-\t\"February\",\n-\t\"March\",\n-\t\"April\",\n-\t\"May\",\n-\t\"June\",\n-\t\"July\",\n-\t\"August\",\n-\t\"September\",\n-\t\"October\",\n-\t\"November\",\n-\t\"December...
2020-03-28T08:00:17
huggingface/transformers
453079c7f843e7eb920a47fcdaa431413ac0fe72
3d1a7bf4761e332e78e07d147bacb0d26a522187
🚨🚨 Fix beam score calculation issue for decoder-only models (#27351) * Fix beam score calculation issue for decoder-only models * Update beam search test and fix code quality issue * Fix beam_sample, group_beam_search and constrained_beam_search * Split test for pytorch and TF, add documentation --------...
[ { "path": "src/transformers/generation/beam_search.py", "patch": "@@ -222,8 +222,10 @@ def process(\n eos_token_id: Optional[Union[int, List[int]]] = None,\n beam_indices: Optional[torch.LongTensor] = None,\n group_index: Optional[int] = 0,\n+ decoder_prompt_len: Optional[int]...
2023-11-15T12:49:14
ggml-org/llama.cpp
41613437ffee0dbccad684fc744788bc504ec213
e5bebe5251cee2678e8531aa1598ca21b3c6ce1d
cmake: Add GGML_BACKEND_DIR option (#15074) * cmake: Add GGML_BACKEND_DIR option This can be used by distributions to specify where to look for backends when ggml is built with GGML_BACKEND_DL=ON. * Fix phrasing
[ { "path": "ggml/CMakeLists.txt", "patch": "@@ -39,8 +39,9 @@ if (WIN32)\n set(CMAKE_SHARED_MODULE_PREFIX \"\")\n endif()\n \n-option(BUILD_SHARED_LIBS \"ggml: build shared libraries\" ${BUILD_SHARED_LIBS_DEFAULT})\n-option(GGML_BACKEND_DL \"ggml: build backends as dynamic libraries (requires BUILD_SH...
2025-08-04T19:29:14
nodejs/node
afab5aba32bdf1a2d4c3a78a4bd2f3ff928b330f
e6e6b07e512dd4e71b0458cb02901ce6d5398e29
querystring: fix up lastPos usage Use lastPos ONLY for tracking what has been .slice()'d, never as an indication of if key/value has been seen, since lastPos is updated on seeing + as well. PR-URL: https://github.com/nodejs/node/pull/14151 Fixes: https://github.com/nodejs/node/issues/13773 Reviewed-By: James M Snell ...
[ { "path": "lib/querystring.js", "patch": "@@ -308,9 +308,7 @@ function parse(qs, sep, eq, options) {\n if (lastPos < end) {\n // Treat the substring as part of the key instead of the value\n key += qs.slice(lastPos, end);\n- if (keyEncoded)\n- key = ...
2017-07-10T05:58:26
vuejs/vue
c3553196b8b15a71f982bd5e04c61be52e87c828
4ad9a56b229b156e633f3d575cd0e99ba5e474d9
fix: clean up target variables to avoid memory leaks (#6932) fix #6931
[ { "path": "src/core/instance/events.js", "patch": "@@ -19,7 +19,7 @@ export function initEvents (vm: Component) {\n }\n }\n \n-let target: Component\n+let target: any\n \n function add (event, fn, once) {\n if (once) {\n@@ -40,6 +40,7 @@ export function updateComponentListeners (\n ) {\n target = vm\n...
2017-10-27T01:08:10
huggingface/transformers
64e21ca2a4f6dc463ba1472984ca0d4332213ac6
1e0e2dd37606ade3e3e5a8e247a5f23d4c24fe48
Make some jobs run on the GitHub Actions runners (#27512) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".github/workflows/add-model-like.yml", "patch": "@@ -14,7 +14,7 @@ on:\n jobs:\n run_tests_templates_like:\n name: \"Add new model like template tests\"\n- runs-on: ubuntu-latest\n+ runs-on: ubuntu-22.04\n steps:\n - uses: actions/checkout@v3\n ", "additions": 1, "de...
2023-11-15T09:43:16
golang/go
9131f08a23bd5923d135df15da30b322748ffa12
9ceb1e5f5caca5666f9db50864c45ca1f88da1df
cmd/compile: add dark mode functionality to CFGs in the ssa.html output add dark mode to CFGs in the ssa.html output by targeting individual parts of each svg and applying dark mode styles to the stroke & fill. Fixes #37767 Change-Id: Ic867e161c6837c26d9d735ea02bc94fdb56102f6 Reviewed-on: https://go-review.googlesou...
[ { "path": "src/cmd/compile/internal/ssa/html.go", "patch": "@@ -263,6 +263,14 @@ body.darkmode table, th {\n border: 1px solid gray;\n }\n \n+body.darkmode text {\n+ fill: white;\n+}\n+\n+body.darkmode svg polygon:first-child {\n+ fill: rgb(21, 21, 21);\n+}\n+\n .highlight-aquamarine { backgro...
2020-03-11T03:26:42
ggml-org/llama.cpp
ef0144c087b33e5b8da42d529ac71aaf05cb49df
2721257e3e2c4c944ac8a08221113ee7cb503f1b
model: support GLM 4.5 family of models (#14939) * model: Add GLM 4.5 (#14921) Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com> * Merge in PR suggestions Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com> * model: Add GLM 4.5 family of models (#14921) 1. Updated tensor_mapping.py with Ne...
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -678,6 +678,9 @@ def get_vocab_base_pre(self, tokenizer) -> str:\n if chkhsh == \"a1336059768a55c99a734006ffb02203cd450fed003e9a71886c88acf24fdbc2\":\n # ref: https://huggingface.co/THUDM/glm-4-9b-hf\n res = \"glm4\"\n+ i...
2025-08-04T18:29:25
vuejs/vue
4ad9a56b229b156e633f3d575cd0e99ba5e474d9
1cf02efda206185cb72bbaafb00037fa6269e3f3
fix(ssr): should not optimize root if conditions fix #6907
[ { "path": "src/server/optimizing-compiler/optimizer.js", "patch": "@@ -55,7 +55,7 @@ function walk (node: ASTNode, isRoot?: boolean) {\n if (node.ifConditions) {\n for (let i = 1, l = node.ifConditions.length; i < l; i++) {\n const block = node.ifConditions[i].block\n- walk(block)\n...
2017-10-26T16:43:57
nodejs/node
b20a0b662bf57e6873ce808543f266c63db75947
22889347dfe5315fe03abb9a4263c30cdd74b436
test: fix flaky test-https-set-timeout-server Because of a race condition, connection listener may not be invoked if test is run under load. Remove `common.mustCall()` wrapper from the listener. Move the test to `parallel` because it now works under load. Make similar change to http test to keep them in synch even tho...
[ { "path": "test/parallel/test-http-set-timeout-server.js", "patch": "@@ -42,9 +42,10 @@ function run() {\n }\n \n test(function serverTimeout(cb) {\n- const server = http.createServer(common.mustCall((req, res) => {\n- // just do nothing, we should get a timeout event.\n- }));\n+ const server = http.c...
2017-07-08T16:05:34
huggingface/transformers
72f531ab6b1aa229b6199ada993954fa2efb0425
cc0dc24bc9ecd4199ec102bde676d49588c7bb60
[Table Transformer] Add Transformers-native checkpoints (#26928) * Improve conversion scripts * Fix paths * Fix style
[ { "path": "src/transformers/models/table_transformer/convert_table_transformer_to_hf.py", "patch": "@@ -12,7 +12,7 @@\n # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n # See the License for the specific language governing permissions and\n # limitations under the License.\n-\"\"...
2023-11-15T08:35:53
golang/go
9ceb1e5f5caca5666f9db50864c45ca1f88da1df
33357270f1e0673641c9eb28498c9c6e2b9bac72
cmd/go: avoid needing to manipulate ImportStack when constructing error Simplify the printing of PackageErrors by pushing and popping packages from the import stack when creating the error, rather than when printing the error. In some cases, we don't have the same amount of information to recreate the exact error, so ...
[ { "path": "src/cmd/go/go_test.go", "patch": "@@ -2662,7 +2662,7 @@ func TestBadCommandLines(t *testing.T) {\n \ttg.tempFile(\"src/-x/x.go\", \"package x\\n\")\n \ttg.setenv(\"GOPATH\", tg.path(\".\"))\n \ttg.runFail(\"build\", \"--\", \"-x\")\n-\ttg.grepStderr(\"invalid input directory name \\\"-x\\\"\", \"...
2020-02-27T22:14:07
ggml-org/llama.cpp
2721257e3e2c4c944ac8a08221113ee7cb503f1b
587d0118f50b7e8f4bafbcdd218aefd9da0272e1
quantize : fix confusing error message if ftype is invalid (#15071)
[ { "path": "tools/quantize/quantize.cpp", "patch": "@@ -611,7 +611,7 @@ int main(int argc, char ** argv) {\n return 1;\n }\n if (!try_parse_ftype(argv[arg_idx], params.ftype, ftype_str)) {\n- fprintf(stderr, \"%s: invalid ftype '%s'\\n\", __func__, argv[3]);\n+ ...
2025-08-04T16:11:02
vuejs/vue
1cf02efda206185cb72bbaafb00037fa6269e3f3
cfd73c2386623341fdbb3ac636c4baf84ea89c2c
fix: also clone component slot children during deepClone fix #6891, fix #6915
[ { "path": "src/core/vdom/patch.js", "patch": "@@ -673,9 +673,12 @@ export function createPatchFunction (backend) {\n // create an empty node and replace it\n oldVnode = emptyNodeAt(oldVnode)\n }\n+\n // replacing existing element\n const oldElm = oldVnode.elm\n ...
2017-10-26T16:00:19
nodejs/node
a73142524b55eb50d1c28d15ea8f65289206a69a
199ad1d73f81c1d568232df418090e9ce3c4a7fb
deps: cherry-pick 9478908a49 from cares upstream Original commit message: ares_parse_naptr_reply: check sufficient data Check that there is enough data for the required elements of an NAPTR record (2 int16, 3 bytes for string lengths) before processing a record. This patch fixes CVE-2017-1000381 The c-ares...
[ { "path": "deps/cares/src/ares_parse_naptr_reply.c", "patch": "@@ -110,6 +110,12 @@ ares_parse_naptr_reply (const unsigned char *abuf, int alen,\n status = ARES_EBADRESP;\n break;\n }\n+ /* RR must contain at least 7 bytes = 2 x int16 + 3 x name */\n+ if (rr_len < 7)\n+...
2017-05-22T09:54:10