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
922042601b8a16877ccb1c2afaa2071f76734f10
2ba1333b35e471b344974dde553db11bf1c2836f
kleidiai: add support for get_rows (#14676) * kleidiai: add support for get_rows * apply fixes based on code review * apply more fixes based on code review
[ { "path": "ggml/src/ggml-cpu/CMakeLists.txt", "patch": "@@ -494,9 +494,9 @@ function(ggml_add_cpu_backend_variant_impl tag_name)\n \n # Fetch KleidiAI sources:\n include(FetchContent)\n- set(KLEIDIAI_COMMIT_TAG \"v1.9.0\")\n+ set(KLEIDIAI_COMMIT_TAG \"v1.11.0\")\n set(K...
2025-07-21T13:49:52
rust-lang/rust
d4b8c822593285c9c2f6a8d47a36514357b07d38
8d8028f4007e706567b5940180ad633250bbdc55
fixup: fix the compiler path in one more Dockerfile
[ { "path": "src/ci/docker/host-x86_64/dist-various-2/Dockerfile", "patch": "@@ -56,9 +56,9 @@ ENV \\\n CFLAGS_x86_64_fortanix_unknown_sgx=\"-D__ELF__ -isystem/usr/include/x86_64-linux-gnu -mlvi-hardening -mllvm -x86-experimental-lvi-inline-asm-hardening\" \\\n CXX_x86_64_fortanix_unknown_sgx=clang++-...
2025-02-05T16:02:02
huggingface/transformers
eef7ea98c31a333bacdc7ae7a2372bde772be8e4
d788d37d24a85fbfe83a0bb6ee83046783fa9ab2
Update doctest workflow file (#27306) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".github/workflows/doctests.yml", "patch": "@@ -20,7 +20,7 @@ env:\n \n jobs:\n run_doctests:\n- runs-on: [single-gpu, nvidia-gpu, t4, doctest-ci]\n+ runs-on: [single-gpu, nvidia-gpu, t4, ci]\n container:\n image: huggingface/transformers-all-latest-gpu\n options: --gpus 0 ...
2023-11-06T10:27:48
nodejs/node
71ca122def15ae58584ea680399e3d049e172365
732ae419b42fd1392dc00097210e516d05947d63
child_process: fix handleless NODE_HANDLE handling It is possible that `recvmsg()` may return an error on ancillary data reception when receiving a `NODE_HANDLE` message (for example `MSG_CTRUNC`). This would end up, if the handle type was `net.Socket`, on a `message` event with a non null but invalid `sendHandle`. To...
[ { "path": "lib/internal/child_process.js", "patch": "@@ -24,6 +24,8 @@ const errnoException = util._errnoException;\n const SocketListSend = SocketList.SocketListSend;\n const SocketListReceive = SocketList.SocketListReceive;\n \n+const MAX_HANDLE_RETRANSMISSIONS = 3;\n+\n // this object contain function to...
2017-05-25T10:29:05
vuejs/vue
3c216755f6eb656c6d864265a8dc7b51b3ae971b
a67b795b3661f6f223420339f3eeb07a913207de
fix(provide): provide should default to parentVal during merging (#6473) fix #6436
[ { "path": "src/core/util/options.js", "patch": "@@ -96,7 +96,7 @@ export function mergeDataOrFn (\n : childVal\n const defaultData = typeof parentVal === 'function'\n ? parentVal.call(vm)\n- : undefined\n+ : parentVal\n if (instanceData) {\n return mergeData...
2017-09-05T20:01:50
ggml-org/llama.cpp
2ba1333b35e471b344974dde553db11bf1c2836f
c2e058f1b4e799f1be085560c1bcef95b7b5ed02
docs : fix backends table in README.md (#14796)
[ { "path": "README.md", "patch": "@@ -270,7 +270,6 @@ Instructions for adding support for new models: [HOWTO-add-model.md](docs/develo\n | [CANN](docs/build.md#cann) | Ascend NPU |\n | [OpenCL](docs/backend/OPENCL.md) | Adreno GPU |\n | [WebGPU [In Progress]](docs/build.md#webgpu) | All |\n-\n | [RPC](https:...
2025-07-21T12:03:49
golang/go
287d67e3dd3972b1d1006b06e0d57929540a1591
5bc75a3097a3671055f0f9c503850edbe830601d
cmd/compile: indexed loads/stores can't be faultOnNilArg0 Because of the index, these ops can't guarantee faulting if arg0 is nil. Clean up the PPC64 index ops - they can't take a sym or an offset. Noticed while debugging #37881. I don't think it is the cause, but I guess there is a chance. Update #37881 Change-Id:...
[ { "path": "src/cmd/compile/internal/ppc64/ssa.go", "patch": "@@ -794,7 +794,6 @@ func ssaGenValue(s *gc.SSAGenState, v *ssa.Value) {\n \t\tp.From.Type = obj.TYPE_MEM\n \t\tp.From.Reg = v.Args[0].Reg()\n \t\tp.From.Index = v.Args[1].Reg()\n-\t\tgc.AddAux(&p.From, v)\n \t\tp.To.Type = obj.TYPE_REG\n \t\tp.To....
2020-03-20T16:59:53
rust-lang/rust
4718cb40ecd5e68ae7c5d056d48c60b5e9c1d1ef
820bfffc25fee9866aa8176529091e04b8824f09
When displaying a parameter mismatch error, only highlight the mismatched parameters when showing the definition.
[ { "path": "compiler/rustc_hir_typeck/src/fn_ctxt/checks.rs", "patch": "@@ -1,4 +1,4 @@\n-use std::{iter, mem};\n+use std::{fmt, iter, mem};\n \n use itertools::Itertools;\n use rustc_data_structures::fx::FxIndexSet;\n@@ -13,7 +13,7 @@ use rustc_hir::{ExprKind, HirId, Node, QPath};\n use rustc_hir_analysis::...
2025-02-05T14:28:35
huggingface/transformers
d788d37d24a85fbfe83a0bb6ee83046783fa9ab2
b026b5ca6dd178f50d91778f58d32d85d3a83c5f
Fix daily CI image build (#27307) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "docker/transformers-all-latest-gpu/Dockerfile", "patch": "@@ -11,7 +11,7 @@ SHELL [\"sh\", \"-lc\"]\n \n ARG PYTORCH='2.1.0'\n # (not always a valid torch version)\n-ARG INTEL_TORCH_EXT='1.11.0'\n+ARG INTEL_TORCH_EXT='2.1.0'\n # Example: `cu102`, `cu113`, etc.\n ARG CUDA='cu118'\n \n@@ -37,7 +37,...
2023-11-06T10:27:22
nodejs/node
732ae419b42fd1392dc00097210e516d05947d63
f803e77b1e2347dbce9d8098f3b6e231f4ce5fcd
n-api: add napi_delete_property() Fixes: https://github.com/nodejs/node/issues/13924 PR-URL: https://github.com/nodejs/node/pull/13934 Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Jason Ginchereau <jasongin@microsoft.com>
[ { "path": "doc/api/n-api.md", "patch": "@@ -2276,6 +2276,28 @@ Returns `napi_ok` if the API succeeded.\n This API checks if the Object passed in has the named property.\n \n \n+#### *napi_delete_property*\n+<!-- YAML\n+added: REPLACEME\n+-->\n+```C\n+napi_status napi_delete_property(napi_env env,\n+ ...
2017-06-26T18:31:55
vuejs/vue
89f0d29f2d541aa5a1ac9690258cd7c7ee576ef6
538ad20d8a37fe7ee2463ff20ac9557af70e0d33
fix: inherit SVG ns on component root node (#6511) fix #6506
[ { "path": "src/core/vdom/create-element.js", "patch": "@@ -91,7 +91,7 @@ export function _createElement (\n let vnode, ns\n if (typeof tag === 'string') {\n let Ctor\n- ns = config.getTagNamespace(tag)\n+ ns = (context.$vnode && context.$vnode.ns) || config.getTagNamespace(tag)\n if (confi...
2017-09-05T19:12:35
rust-lang/rust
eee632ee1b75f2fcc6ee679d340169a7386a0604
f7765fae89b69f9a6c6727bb0af181ac9099f9b1
Add checks via annotation that lists are sorted or exhaustive This crate has a handful of lists that need to list all API and can't easily be verified. Additionally, some longer lists should be kept sorted so they are easier to look through. Resolve both of these by adding a check in `update-api-list.py` that looks fo...
[ { "path": "library/compiler-builtins/libm/crates/libm-test/benches/icount.rs", "patch": "@@ -52,7 +52,10 @@ libm_macros::for_each_function! {\n }\n \n main!(\n- library_benchmark_groups = icount_bench_acos_group,\n+ library_benchmark_groups =\n+ // verify-apilist-start\n+ // verify-sorted-start\...
2025-02-05T15:03:34
golang/go
7055f01e125eb4ad40b84a757a8748c0b88854f4
0dff5b0b9e08157e817cfd95ad240ea2509e6644
[dev.link] cmd/link: minor perf tweak for PropagateLoaderChangesToSymbols When fixing up relocations in PropagateLoaderChangesToSymbols, don't reallocate the target sym.Symbol relocation slice if it already has the desired size (this gets rid of some unneeded allocations). Change-Id: I05287772c18cab861c2df805fa949710...
[ { "path": "src/cmd/link/internal/loader/loader.go", "patch": "@@ -1977,7 +1977,9 @@ func (l *Loader) PropagateLoaderChangesToSymbols(toconvert []Sym, syms *sym.Symb\n \t\ts := l.Syms[cand]\n \t\trelocs := l.Relocs(cand)\n \t\trslice = relocs.ReadAll(rslice)\n-\t\ts.R = make([]sym.Reloc, len(rslice))\n+\t\ti...
2020-03-20T14:34:58
huggingface/transformers
b026b5ca6dd178f50d91778f58d32d85d3a83c5f
cc3e4781854a52cf090ffde28d884a527dab6708
Fix tokenizer export for LLamaTokenizerFast (#27222) * fix tokenizer * fix tokenizer
[ { "path": "src/transformers/models/code_llama/tokenization_code_llama_fast.py", "patch": "@@ -149,6 +149,8 @@ def __init__(\n unk_token=unk_token,\n bos_token=bos_token,\n eos_token=eos_token,\n+ add_bos_token=add_bos_token,\n+ add_eos_token=add_eos_...
2023-11-06T09:26:18
vuejs/vue
538ad20d8a37fe7ee2463ff20ac9557af70e0d33
a7444975343f7828004d90bfb0deeb98db0f46e7
fix(directive): should invoke unbind & inserted on inner component root element change fix #6513
[ { "path": "src/core/vdom/patch.js", "patch": "@@ -670,6 +670,16 @@ export function createPatchFunction (backend) {\n for (let i = 0; i < cbs.create.length; ++i) {\n cbs.create[i](emptyNode, ancestor)\n }\n+ // #6513\n+ // invoke insert ho...
2017-09-05T16:59:38
nodejs/node
e783475412a315d28dde17d23492c867bf546dc2
e6b69b9418be8e94d81c1f74055d1772507f27ab
build,win: use latest installed VS by default vcbuild.bat should detect what version of Visual Studio to use, it should simply work without any parameter if any supported version is installed. It should default to the latest version, to match the behavior of `node-gyp`. PR-URL: https://github.com/nodejs/node/pull/139...
[ { "path": "vcbuild.bat", "patch": "@@ -15,7 +15,7 @@ if /i \"%1\"==\"/?\" goto help\n set config=Release\n set target=Build\n set target_arch=x64\n-set target_env=vs2015\n+set target_env=\n set noprojgen=\n set nobuild=\n set sign=\n@@ -164,18 +164,18 @@ if %target_arch%==x64 if %msvs_host_arch%==amd64 set ...
2017-06-25T17:42:05
huggingface/transformers
1ac2463dfee0a133311c3c585bf7253b0400d6d3
5964f820db1568d26298b37dea9db328185c7f7c
[`FA2`] Add flash attention for for `DistilBert` (#26489) * flash attention added for DistilBert * fixes * removed padding_masks * Update modeling_distilbert.py * Update test_modeling_distilbert.py * style fix
[ { "path": "docs/source/en/model_doc/distilbert.md", "patch": "@@ -133,6 +133,37 @@ A list of official Hugging Face and community (indicated by 🌎) resources to h\n - A blog post on how to [deploy DistilBERT with Amazon SageMaker](https://huggingface.co/blog/deploy-hugging-face-models-easily-with-amazon-sage...
2023-11-03T16:07:54
golang/go
5bc75a3097a3671055f0f9c503850edbe830601d
c5058652fd724cb1ed8ea91a4e76b202d6910482
runtime: handle empty stack in expandFinalInlineFrame Fixes #37967 Change-Id: I6fc22bdd65f0263d5672731b73d09249201ab0aa Reviewed-on: https://go-review.googlesource.com/c/go/+/224458 Reviewed-by: Michael Pratt <mpratt@google.com>
[ { "path": "src/runtime/pprof/proto_test.go", "patch": "@@ -422,3 +422,16 @@ func TestFakeMapping(t *testing.T) {\n \t\t}\n \t}\n }\n+\n+// Make sure the profiler can handle an empty stack trace.\n+// See issue 37967.\n+func TestEmptyStack(t *testing.T) {\n+\tb := []uint64{\n+\t\t3, 0, 500, // hz = 500\n+\t\...
2020-03-20T19:25:57
vuejs/vue
a7444975343f7828004d90bfb0deeb98db0f46e7
2d75aba5e1a3f25aa30f90f95e603ba424cf1730
fix: ensure outer bindings on nested HOC are properly re-applied on inner root element change
[ { "path": "src/core/vdom/patch.js", "patch": "@@ -660,14 +660,18 @@ export function createPatchFunction (backend) {\n // component root element replaced.\n // update parent placeholder node element, recursively\n let ancestor = vnode.parent\n+ const patchable = isPatch...
2017-09-05T15:29:22
nodejs/node
e6b69b9418be8e94d81c1f74055d1772507f27ab
027960205f92694a7b9e6507fe18d20896681db3
repl: fix old history error handling PR-URL: https://github.com/nodejs/node/pull/13733 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> 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/errors.md", "patch": "@@ -683,12 +683,6 @@ passed in an options object.\n Used when both `breakEvalOnSigint` and `eval` options are set\n in the REPL config, which is not supported.\n \n-<a id=\"ERR_INVALID_REPL_HISTORY\"></a>\n-### ERR_INVALID_REPL_HISTORY\n-\n-Used in the `repl` in case...
2017-06-17T00:51:23
rust-lang/rust
8d8028f4007e706567b5940180ad633250bbdc55
820bfffc25fee9866aa8176529091e04b8824f09
Revert "CI: build FreeBSD artifacts on FreeBSD 13.4" This reverts commit cf34545720986d99712e3b542e8f395360c75095. That commit led to a regression of https://github.com/rust-lang/rust/issues/132185 . So my analysis that the problem lay in FreeBSD 13.2's specific LLVM version was clearly wrong. Revert that commit un...
[ { "path": "src/ci/docker/host-x86_64/dist-x86_64-freebsd/Dockerfile", "patch": "@@ -29,9 +29,9 @@ COPY scripts/cmake.sh /scripts/\n RUN /scripts/cmake.sh\n \n ENV \\\n- AR_x86_64_unknown_freebsd=x86_64-unknown-freebsd13-ar \\\n- CC_x86_64_unknown_freebsd=x86_64-unknown-freebsd13-clang \\\n- CXX_x86...
2025-02-05T14:02:16
ggml-org/llama.cpp
c2e058f1b4e799f1be085560c1bcef95b7b5ed02
c82d48ec23fb8749c341d0838f6891fd5f6b6da0
vulkan/cuda: Fix im2col when KW!=KH (#14789) The tid is decomposed into "ow + ky*OW + kx*OW*KH". Change "ksize" to match.
[ { "path": "ggml/src/ggml-cuda/im2col.cu", "patch": "@@ -10,7 +10,7 @@ static __global__ void im2col_kernel(\n return;\n }\n \n- const int64_t ksize = OW * (KH > 1 ? KW : 1);\n+ const int64_t ksize = OW * KH;\n const int64_t kx = i / ksize;\n const int64_t kd = kx * ksize;\n ...
2025-07-21T11:35:40
huggingface/transformers
f13f544ad9aff5a9595a424730a005ee7d0af537
db69bd88fbf060382a10d23374deeb913e4225a1
Fix switch transformer mixed precision issue (#27220) * Fix mixed precision error for switch transformer * Fixup
[ { "path": "src/transformers/models/gptsan_japanese/modeling_gptsan_japanese.py", "patch": "@@ -286,7 +286,7 @@ def forward(self, hidden_states):\n next_states = hidden_states.clone()\n for idx, expert in enumerate(self.experts.values()):\n token_indices = router_mask[:, :, idx].b...
2023-11-03T14:00:33
vuejs/vue
2d75aba5e1a3f25aa30f90f95e603ba424cf1730
230c6ae7822347b9b2a659503291e45fcc58fe41
chore: fixed a small typo in CONTRIBUTING.md (#6517)
[ { "path": ".github/CONTRIBUTING.md", "patch": "@@ -49,7 +49,7 @@ The `setup` script links two git hooks:\n - `pre-commit`: runs ESLint on staged files.\n - `commit-msg`: validates commit message format (see below).\n \n-### Commiting Changes\n+### Committing Changes\n \n Commit messages should follow the [c...
2017-09-05T15:02:03
golang/go
ab5a40c5e3162a565b26de4b1e7595f7922ba761
776a9d0958973bff6a66e61baa6a9a240ada4255
runtime: fix rounding in materializeGCProg materializeGCProg allocates a temporary buffer for unrolling a GC program. Unfortunately, when computing the size of the buffer, it rounds *down* the number of bytes needed to store bitmap before rounding up the number of pages needed to store those bytes. The fact that it ro...
[ { "path": "src/runtime/mbitmap.go", "patch": "@@ -1921,7 +1921,11 @@ Run:\n // The bitmask starts at s.startAddr.\n // The result must be deallocated with dematerializeGCProg.\n func materializeGCProg(ptrdata uintptr, prog *byte) *mspan {\n-\ts := mheap_.allocManual((ptrdata/(8*sys.PtrSize)+pageSize-1)/page...
2020-02-26T20:12:33
rust-lang/rust
98bee053ef9741f8968441cb6d06b9b85f2c7c9b
8db5ff73e62605ad5d94bb0c17124475058b8b54
Fix hex float trait recursion problem
[ { "path": "library/compiler-builtins/libm/src/math/support/hex_float.rs", "patch": "@@ -245,29 +245,21 @@ fn fmt_any_hex<F: Float>(x: &F, f: &mut fmt::Formatter<'_>) -> fmt::Result {\n write!(f, \"0x{leading}{sig:0mwidth$x}p{exponent:+}\")\n }\n \n-#[cfg(f16_enabled)]\n-impl fmt::LowerHex for Hexf<f16> ...
2025-01-30T12:52:35
nodejs/node
d11131927068a286764b8f21e418c782fbda41dc
4c8b244059c9e51a31f843960e702b6fb5ad9fb7
doc: move module-specific "globals" to modules.md PR-URL: https://github.com/nodejs/node/pull/13962 Fixes: https://github.com/nodejs/node/issues/13953 Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "doc/api/addons.md", "patch": "@@ -1137,5 +1137,5 @@ const addon = require('./build/Release/addon');\n [installation instructions]: https://github.com/nodejs/node-gyp#installation\n [libuv]: https://github.com/libuv/libuv\n [node-gyp]: https://github.com/nodejs/node-gyp\n-[require]: globals.html#g...
2017-06-28T16:14:23
ggml-org/llama.cpp
c82d48ec23fb8749c341d0838f6891fd5f6b6da0
b4efd77f8ab407836ca73a5176f041650c5b2411
llama : fix `--reverse-prompt` crashing issue (#14794) Signed-off-by: Molly Sophia <mollysophia379@gmail.com>
[ { "path": "tools/main/main.cpp", "patch": "@@ -785,14 +785,17 @@ int main(int argc, char ** argv) {\n }\n \n // check for reverse prompt using special tokens\n- llama_token last_token = common_sampler_last(smpl);\n- for (auto token : antiprompt_t...
2025-07-21T09:38:36
vuejs/vue
230c6ae7822347b9b2a659503291e45fcc58fe41
f76d16ed9507d4c2a90243ea3d77ccf00df29346
fix(vdom): avoid diff de-opt when both head/tail are different fix #6502
[ { "path": "src/core/vdom/patch.js", "patch": "@@ -401,7 +401,9 @@ export function createPatchFunction (backend) {\n newStartVnode = newCh[++newStartIdx]\n } else {\n if (isUndef(oldKeyToIdx)) oldKeyToIdx = createKeyToOldIdx(oldCh, oldStartIdx, oldEndIdx)\n- idxInOld = isDef(newS...
2017-09-04T16:50:57
huggingface/transformers
af8d1dc3093e2735a3aa82cd9195f04900364bee
8f1a43cd91cb22b65f1f840f6bca0e156e5e8495
Avoid many failing tests in doctesting (#27262) * fix * update * update * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "utils/check_doctest_list.py", "patch": "@@ -54,7 +54,7 @@ def clean_doctest_list(doctest_file: str, overwrite: bool = False):\n all_paths = []\n with open(doctest_file, \"r\", encoding=\"utf-8\") as f:\n for line in f:\n- line = line.strip()\n+ line = line.st...
2023-11-03T11:47:07
golang/go
776a9d0958973bff6a66e61baa6a9a240ada4255
9d468f482f20f886d3c7d66c60e1ce0acbaaad44
test: fix -test.v trace output for cgo/testshared Trace output showing how dummy GOROOT was being set up was incorrect (sense of the "cp -r" trace messages was inverted). This patch fixes the problem. Change-Id: Ib0ee649e305bfa1bc0c49e0d5ba2ea31e0a4f67e Reviewed-on: https://go-review.googlesource.com/c/go/+/224377 Ru...
[ { "path": "misc/cgo/testshared/shared_test.go", "patch": "@@ -221,7 +221,7 @@ func cloneGOROOTDeps(goroot string) error {\n \n \tfor _, dir := range gorootDirs {\n \t\tif testing.Verbose() {\n-\t\t\tfmt.Fprintf(os.Stderr, \"+ cp -r %s %s\\n\", filepath.Join(goroot, dir), filepath.Join(oldGOROOT, dir))\n+\t\...
2020-03-20T13:03:39
nodejs/node
4c8b244059c9e51a31f843960e702b6fb5ad9fb7
a84c3be07593755e1ab91bb3714b549ebdf60f9b
test: verify isNativeError accepts internal errors This commit verifies that Node's internal errors are recognized by V8's IsNativeError(), which is exposed in Node as process.binding('util').isNativeError(). PR-URL: https://github.com/nodejs/node/pull/13965 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-B...
[ { "path": "test/parallel/test-util.js", "patch": "@@ -20,9 +20,11 @@\n // USE OR OTHER DEALINGS IN THE SOFTWARE.\n \n 'use strict';\n+// Flags: --expose-internals\n const common = require('../common');\n const assert = require('assert');\n const util = require('util');\n+const errors = require('internal/err...
2017-06-28T16:44:07
vuejs/vue
f76d16ed9507d4c2a90243ea3d77ccf00df29346
8fc6bc882708a725693b50a55f56cfde653ee48d
fix(vdom): Don't replace input for text-like type change (#6344) fix #6313
[ { "path": "src/core/vdom/patch.js", "patch": "@@ -6,8 +6,6 @@\n *\n * modified by Evan You (@yyx990803)\n *\n-\n-/*\n * Not type-checking this because this file is perf-critical and the cost\n * of making flow understand it is not worth it.\n */\n@@ -17,6 +15,7 @@ import config from '../config'\n impo...
2017-09-01T22:49:39
ggml-org/llama.cpp
2be60cbc2707359241c2784f9d2e30d8fc7cdabb
b526ad2668944a7b2b1721f60679153646313831
docs : fix link for tools/perplexity in README.md (#14780)
[ { "path": "README.md", "patch": "@@ -436,7 +436,7 @@ To learn more about model quantization, [read this documentation](tools/quantize\n \n ## [`llama-perplexity`](tools/perplexity)\n \n-#### A tool for measuring the perplexity [^1][^2] (and other quality metrics) of a model over a given text.\n+#### A tool ...
2025-07-20T18:13:47
huggingface/transformers
8f1a43cd91cb22b65f1f840f6bca0e156e5e8495
05ea7b79e6903623e4d8e697c9be88462a8d8071
[`PEFT` / `Tests` ] Fix peft integration failing tests (#27258) fix peft integration issues
[ { "path": "tests/peft_integration/test_peft_integration.py", "patch": "@@ -98,17 +98,18 @@ def test_peft_save_pretrained(self):\n with tempfile.TemporaryDirectory() as tmpdirname:\n peft_model.save_pretrained(tmpdirname)\n \n- self.assertTrue(\"adapter_...
2023-11-03T11:23:02
golang/go
9d468f482f20f886d3c7d66c60e1ce0acbaaad44
635a83047b4733f8cb3c9f5ac9d7c057622c2b52
doc/articles/wiki: use correct variable name in closures guide Fixes non-existent variable TitleValidator to be validPath in the closures, functions literal section. Fixes #36779 Change-Id: I59762c358c3e00d1cc03d9d1e2aace03f145321d GitHub-Last-Rev: a5e9b17a3707fc48c6d87bab3a4968f2ef63ab65 GitHub-Pull-Request: golang...
[ { "path": "doc/articles/wiki/index.html", "patch": "@@ -674,7 +674,7 @@ <h2>Introducing Function Literals and Closures</h2>\n an <code>http.ResponseWriter</code> and <code>http.Request</code> (in other\n words, an <code>http.HandlerFunc</code>).\n The closure extracts the <code>title</code> from the request...
2020-03-20T08:40:38
vuejs/vue
02f8b806768d70c589e646c384e592e93387b994
50257a58810a83b27316a793adf8d59a81ef3cf0
fix(ssr): fix cachedEscape memory issue close #6332
[ { "path": "src/platforms/web/server/modules/attrs.js", "patch": "@@ -1,6 +1,6 @@\n /* @flow */\n \n-import { cachedEscape } from '../util'\n+import { escape } from '../util'\n \n import {\n isDef,\n@@ -50,7 +50,7 @@ export function renderAttr (key: string, value: string): string {\n } else if (isEnumera...
2017-09-01T22:08:12
nodejs/node
93683c616b57dfa76521f184093c0610da7f52c7
7477f9ba9c40ac36b17e005ff61f8fa3794f6d3e
test: refactor test-child-process-send-type-error * Add exit listener to child process to check return code. Previously, child process faiilure would not cause the test to fail. * Use common.mustNotCall() to guarantee callback is not invoked. * Insert blank line per test writing guide. PR-URL: https://github.com/no...
[ { "path": "test/parallel/test-child-process-send-type-error.js", "patch": "@@ -1,5 +1,6 @@\n 'use strict';\n const common = require('../common');\n+\n const assert = require('assert');\n const cp = require('child_process');\n \n@@ -11,13 +12,18 @@ function fail(proc, args) {\n \n let target = process;\n \n-...
2017-06-25T03:11:43
ggml-org/llama.cpp
938b785764683c298e7805e712f8728489cc2f18
36c153248faf969af1b62ab231348694b2047b8b
Clang-format: local files first + fix BinPacking (#14779)
[ { "path": ".clang-format", "patch": "@@ -22,8 +22,8 @@ AllowShortIfStatementsOnASingleLine: Never\n AllowShortLambdasOnASingleLine: Inline\n AllowShortLoopsOnASingleLine: false\n AlwaysBreakBeforeMultilineStrings: true\n-BinPackArguments: true\n-BinPackParameters: true # OnePerLine\n+BinPackArguments: false...
2025-07-20T11:42:34
huggingface/transformers
552ff24488d4027590deded3b2b0d1716df341c3
4991216841968e11b78e16379c42e9fc1011db88
Fixed base model class name extraction from PeftModels (#27162) * Fixed base model class name extraction from PeftModels * Changes to first unwrap the model then extract the base model name * Changed base_model to base_model.model to stay consistent with peft model abstractions
[ { "path": "src/transformers/trainer.py", "patch": "@@ -646,7 +646,7 @@ def _activate_neftune(self, model):\n unwrapped_model = unwrap_model(model)\n \n if is_peft_available() and isinstance(unwrapped_model, PeftModel):\n- embeddings = unwrapped_model.base_model.get_input_embedding...
2023-11-02T20:08:03
golang/go
d55e0c10ad5e2fde97697e01c46c12a2b2406a10
a3a9901c1e82f69e41308f45448f4db618548366
net: merge common Unix/Windows methods When we added the internal/poll package, the Unix and Windows implementations of several netFD methods became exactly the same, except for using a different name for the string passed to wrapSyscallError. One case is not an exact duplicate: we slightly tweak the implementation o...
[ { "path": "src/net/fd_posix.go", "patch": "@@ -0,0 +1,100 @@\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 aix darwin dragonfly freebsd linux netbsd openbsd solaris windows\n...
2020-03-19T21:29:23
vuejs/vue
d6e6f1deb180a4f47e94496724623b9e6d8e08b3
d77b95317cedae299605fb692e2c7c67796b17cb
fix(v-model): Allow using array value with array v-model in checkboxes (#6220) fix #6219
[ { "path": "src/platforms/web/compiler/directives/model.js", "patch": "@@ -93,7 +93,7 @@ function genCheckboxModel (\n 'if(Array.isArray($$a)){' +\n `var $$v=${number ? '_n(' + valueBinding + ')' : valueBinding},` +\n '$$i=_i($$a,$$v);' +\n- `if($$el.checked){$$i<0&&(${value}=$$a.con...
2017-09-01T21:35:41
huggingface/transformers
00d8502b7ade5aa3da43b13f23bb447faa6d459e
bc78fd12748a18dbc71faeae000f036378b065d5
translate peft.md to chinese (#27215) * tranlsate peft.md to chinese * translate peft.md to chinese * fix missing link
[ { "path": "docs/source/zh/_toctree.yml", "patch": "@@ -15,6 +15,8 @@\n title: 微调预训练模型\n - local: accelerate\n title: 使用🤗Accelerate进行分布式训练\n+ - local: peft\n+ title: 使用🤗 PEFT加载和训练adapters\n - local: transformers_agents\n title: agents教程\n title: 教程", "additions": 2, "deletions...
2023-11-02T17:42:29
ggml-org/llama.cpp
a979ca22db0d737af1e548a73291193655c6be99
90083283ec254fa8d33897746dea229aee401b37
ggml: adds CONV_2D op and direct GEMM Vulkan implementation (#14316) * ggml/ggml-vulkan/test-backend-ops: adds CONV_2D for Vulkan * ggml-vulkan: adds f32 scalar shader to compute 2D convolution directly with gemm (no need for im2col), * test-backend-ops: adds test_case_ref to check the validity/performance of ops ag...
[ { "path": "ggml/src/ggml-vulkan/ggml-vulkan.cpp", "patch": "@@ -483,6 +483,7 @@ struct vk_device_struct {\n vk_pipeline pipeline_rwkv_wkv6_f32;\n vk_pipeline pipeline_rwkv_wkv7_f32;\n vk_pipeline pipeline_opt_step_adamw_f32;\n+ vk_pipeline pipeline_conv2d_f32;\n vk_pipeline pipeline_conv2...
2025-07-19T19:59:08
nodejs/node
8969c1b76209e83f3fc3cb00a41421f7996e399b
47d1e125ac71d065fdea9ba166bc31478a523f47
doc: fix indentation issues in sample code In preparation for stricter ESLint indentation checking, fix a few issues in sample code. PR-URL: https://github.com/nodejs/node/pull/13950 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmai...
[ { "path": "doc/api/crypto.md", "patch": "@@ -586,7 +586,7 @@ const aliceSecret = alice.computeSecret(bobKey);\n const bobSecret = bob.computeSecret(aliceKey);\n \n assert.strictEqual(aliceSecret.toString('hex'), bobSecret.toString('hex'));\n- // OK\n+// OK\n ```\n \n ### ecdh.computeSecret(otherPublicKey[,...
2017-06-27T20:32:32
vuejs/vue
d77b95317cedae299605fb692e2c7c67796b17cb
06741f326625e2db78d092e586923b97ba006906
fix: handle special case for allowfullscreen on <embed> close #6202
[ { "path": "src/platforms/web/runtime/modules/attrs.js", "patch": "@@ -64,7 +64,12 @@ function setAttr (el: Element, key: string, value: any) {\n if (isFalsyAttrValue(value)) {\n el.removeAttribute(key)\n } else {\n- el.setAttribute(key, key)\n+ // technically allowfullscreen is a boo...
2017-09-01T21:00:31
golang/go
a3a9901c1e82f69e41308f45448f4db618548366
a0917eb959c881521e1407f90e27329f673d3e75
net/http: update bundled x/net/http2 Updates bundled http2 to x/net git rev 63522dbf7 http2: reduce allocations of (*clientConnReadLoop).handleReponse https://golang.org/cl/223783 (#37853) http2: remove unused errors https://golang.org/cl/220458 http2: remove unused stream struct fields http...
[ { "path": "src/net/http/h2_bundle.go", "patch": "@@ -3245,11 +3245,6 @@ func (s http2SettingID) String() string {\n \treturn fmt.Sprintf(\"UNKNOWN_SETTING_%d\", uint16(s))\n }\n \n-var (\n-\thttp2errInvalidHeaderFieldName = errors.New(\"http2: invalid header field name\")\n-\thttp2errInvalidHeaderFieldValu...
2020-03-19T23:51:13
huggingface/transformers
0ed6729bb130cb1d43fb2ede60b0c50f9ee14d68
147e8ce4ae23f6f360ac0bc6e162cdf9995516b7
Enrich TTS pipeline parameters naming (#26473) * enrich TTS pipeline docstring for clearer forward_params use * change token leghts * update Pipeline parameters * correct docstring and make style * fix tests * make style * change music prompt Co-authored-by: Sanchit Gandhi <93869735+sanchit-gandhi...
[ { "path": "src/transformers/pipelines/text_to_audio.py", "patch": "@@ -43,6 +43,29 @@ class TextToAudioPipeline(Pipeline):\n \n Learn more about the basics of using a pipeline in the [pipeline tutorial](../pipeline_tutorial)\n \n+ <Tip>\n+\n+ You can specify parameters passed to the model by using...
2023-11-02T17:06:56
nodejs/node
1b54371c50cd6a67f22f6ec0db53bac3917387e5
a1ecdcfb154ec79db4da595ca85ce75f9f759c6a
stream: use more explicit statements Using objectMode with stream_wrap has not worked properly before and would end in an error. Therefore prohibit the usage of objectMode alltogether. This also improves the handling performance due to the cheaper chunk check and by using explicit statements as they produce better co...
[ { "path": "doc/api/errors.md", "patch": "@@ -829,10 +829,11 @@ Node.js does not allow `stdout` or `stderr` Streams to be closed by user code.\n Used when an attempt is made to close the `process.stdout` stream. By design,\n Node.js does not allow `stdout` or `stderr` Streams to be closed by user code.\n \n-...
2017-06-22T00:38:41
ggml-org/llama.cpp
90083283ec254fa8d33897746dea229aee401b37
d4b91ea7b2da253e1355b503f0fcb7b428ce005d
imatrix : use GGUF to store importance matrices (#9400) * imatrix : allow processing multiple chunks per batch * perplexity : simplify filling the batch * imatrix : fix segfault when using a single chunk per batch * imatrix : use GGUF to store imatrix data * imatrix : fix conversion problems * imatrix : use FMA a...
[ { "path": "common/common.cpp", "patch": "@@ -448,6 +448,15 @@ void string_replace_all(std::string & s, const std::string & search, const std::\n bool string_ends_with(const std::string_view & str, const std::string_view & suffix) {\n return str.size() >= suffix.size() && str.compare(str.size()-suffix.si...
2025-07-19T16:51:22
vuejs/vue
06741f326625e2db78d092e586923b97ba006906
c371fbde9c1251bc225dddd682b32621a31f2548
fix: computed properties should not be cached during SSR ref: vuejs/vuex#877
[ { "path": "src/core/instance/state.js", "patch": "@@ -23,6 +23,7 @@ import {\n nativeWatch,\n validateProp,\n isPlainObject,\n+ isServerRendering,\n isReservedAttribute\n } from '../util/index'\n \n@@ -169,6 +170,8 @@ const computedWatcherOptions = { lazy: true }\n function initComputed (vm: Compon...
2017-09-01T16:51:29
golang/go
b816cb2cd5f1b7cee660c6e4b85d8130b960752a
16822a2bc45fa276f16c046795320d3b55b6f7bd
cmd/go: update 'go help modules' for automatic vendoring * Mention vendor/modules.txt verification with -mod=vendor. * Update "Modules and vendoring" section. Fixes #37930 Change-Id: Ia3ee72457daabaa2fc15b7ea7427eb324c088b8f Reviewed-on: https://go-review.googlesource.com/c/go/+/223926 Run-TryBot: Jay Conrod <jaycon...
[ { "path": "src/cmd/go/alldocs.go", "patch": "@@ -2506,13 +2506,21 @@\n // The \"go get\" command remains permitted to update go.mod even with -mod=readonly,\n // and the \"go mod\" commands do not take the -mod flag (or any other build flags).\n //\n-// If invoked with -mod=vendor, the go command assumes th...
2020-03-18T18:59:44
huggingface/transformers
441c3e0dd28194df9366773376ae5878b2db465e
8801861d2de1568e8ca8f81d96a7ddf3964f6373
fix-deprecated-exllama-arg (#27243) fix-exllama
[ { "path": "src/transformers/utils/quantization_config.py", "patch": "@@ -455,6 +455,7 @@ def post_init(self):\n \"The value of `use_exllama` will be overwritten by `disable_exllama` passed in `GPTQConfig` or stored in your config file.\"\n )\n self.use_exllama = not s...
2023-11-02T15:23:31
nodejs/node
a1ecdcfb154ec79db4da595ca85ce75f9f759c6a
9330835754dab25f3ccc1d903ac33837b94dabd9
test: fix failure in test-icu-data-dir.js This fixes a broken test on Windows caused by EOL conversion. PR-URL: https://github.com/nodejs/node/pull/13987 Refs: https://github.com/nodejs/node/pull/13940 Refs: https://github.com/nodejs/node/issues/13986 Reviewed-By: Refael Ackermann <refack@gmail.com>
[ { "path": "test/parallel/test-icu-data-dir.js", "patch": "@@ -8,8 +8,8 @@ const assert = require('assert');\n const { spawnSync } = require('child_process');\n \n const expected =\n- 'could not initialize ICU ' +\n- '(check NODE_ICU_DATA or --icu-data-dir parameters)\\n';\n+ 'could not initialize I...
2017-06-29T13:27:23
ggml-org/llama.cpp
83f5872404baa39d826af2ef66351e63c64205a8
f0d4d176df72734a543c29eef9f942850c13311e
Vulkan: Fix fprintf format-security warning (#14770)
[ { "path": "ggml/src/ggml-vulkan/vulkan-shaders/vulkan-shaders-gen.cpp", "patch": "@@ -765,8 +765,8 @@ void write_output_files() {\n len += \"};\\n\";\n }\n }\n- fprintf(src, data.c_str());\n- fprintf(src, len.c_str());\n+ fputs(data.c_str(), src);\n+ ...
2025-07-19T15:47:53
vuejs/vue
0529040c17b8632032a43d142aac88386f6b4a1f
172dbf9faf4cb71dff72c77fdfe80fa1932d1ba3
fix: deep clone slot vnodes on re-render fix #6372
[ { "path": "src/core/instance/render.js", "patch": "@@ -78,9 +78,13 @@ export function renderMixin (Vue: Class<Component>) {\n } = vm.$options\n \n if (vm._isMounted) {\n- // clone slot nodes on re-renders\n+ // if the parent didn't update, the slot nodes will be the ones from\n+ // la...
2017-08-29T22:47:10
huggingface/transformers
8801861d2de1568e8ca8f81d96a7ddf3964f6373
443bf5e9e25fdd6dfa31e35879485edacd848b4f
Fixing m4t. (#27240) * Fixing m4t. * Trying to remove comparison ? Odd test failure. * Adding shared. But why on earth does it hang ???? * Putting back the model weights checks the test is silently failing on cuda. * Fix style + unremoved comment.
[ { "path": "src/transformers/models/seamless_m4t/modeling_seamless_m4t.py", "patch": "@@ -3051,8 +3051,9 @@ class SeamlessM4TForSpeechToText(SeamlessM4TPreTrainedModel):\n def __init__(self, config: SeamlessM4TConfig):\n super().__init__(config)\n \n+ self.shared = nn.Embedding(config.voca...
2023-11-02T14:32:17
golang/go
93a9561b23b782244a7c5d77efe71f57dee8c4a5
a4c48d61f59177e1b6de1efd6a232fac7e8e112f
testing: fix data race between parallel subtests This CL fixes a race condition if there are two subtests, and one finishing but the other is panicking. Fixes #37551 Change-Id: Ic33963eb338aec228964b95f7c34a0d207b91e00 Reviewed-on: https://go-review.googlesource.com/c/go/+/221322 Run-TryBot: Ian Lance Taylor <iant@g...
[ { "path": "src/cmd/go/testdata/script/test_main_panic.txt", "patch": "@@ -0,0 +1,30 @@\n+[short] skip\n+[!race] skip\n+\n+! go test -v -race main_panic/testmain_parallel_sub_panic_test.go\n+! stdout 'DATA RACE'\n+-- main_panic/testmain_parallel_sub_panic_test.go --\n+package testmain_parallel_sub_panic_test...
2020-02-28T20:53:38
vuejs/vue
172dbf9faf4cb71dff72c77fdfe80fa1932d1ba3
f4ee63ca1059efcbdcacea9f6c1ce4e9433e2baf
fix(ssr): should also escape static text content fix #6345
[ { "path": "src/server/optimizing-compiler/codegen.js", "patch": "@@ -22,8 +22,8 @@ import {\n applyModelTransform\n } from './modules'\n \n+import { escape } from 'web/server/util'\n import { optimizability } from './optimizer'\n-\n import type { CodegenResult } from 'compiler/codegen/index'\n \n export t...
2017-08-29T21:32:28
ggml-org/llama.cpp
9fb1042ce6719bc46dbe88ab013148aabe3105f1
2adf8d83acdb9b1bf58db6c9729ac9dc6847a58b
graph : fix graph reuse reset of params (#14760) ggml-ci
[ { "path": "src/llama-graph.cpp", "patch": "@@ -428,6 +428,8 @@ void llm_graph_result::reset() {\n t_embd = nullptr;\n t_embd_pooled = nullptr;\n \n+ params = {};\n+\n inputs.clear();\n \n buf_compute_meta.resize(ggml_tensor_overhead()*max_nodes + ggml_graph_overhead_custom(max_node...
2025-07-18T17:08:33
nodejs/node
53b8c51e7c4fca593eeeddbec0bdcfd77466cc80
f4b5b704447821dda56069a601595322344248ab
2017-06-29, Version 8.1.3 (Current) Notable changes * **Stream** Two regressions with the `stream` module have been fixed: * The `finish` event will now always be emitted after the `error` event if one is emitted: [[`0a9e96e86c`](https://github.com/nodejs/node/commit/0a9e96e86c)] [#13850](https://gith...
[ { "path": "CHANGELOG.md", "patch": "@@ -27,7 +27,8 @@ release.\n </tr>\n <tr>\n <td valign=\"top\">\n-<b><a href=\"doc/changelogs/CHANGELOG_V8.md#8.1.2\">8.1.2</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V8.md#8.1.3\">8.1.3</a></b><br/>\n+<a href=\"doc/changelogs/CHANGELOG_V8.md#8.1.2\">8.1.2</...
2017-06-21T20:49:29
golang/go
a4c48d61f59177e1b6de1efd6a232fac7e8e112f
cbd421f75b0770c3534d1b641e7770bf1878004f
sync/atomic: remove panic64 The func has been unused since https://golang.org/cl/93637 in 2018. Change-Id: I1cab6f265aa5058ac080fd7c7cbf0fe85370f073 Reviewed-on: https://go-review.googlesource.com/c/go/+/224077 Run-TryBot: Daniel Martí <mvdan@mvdan.cc> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Matt L...
[ { "path": "src/sync/atomic/doc.go", "patch": "@@ -143,8 +143,3 @@ func StoreUintptr(addr *uintptr, val uintptr)\n \n // StorePointer atomically stores val into *addr.\n func StorePointer(addr *unsafe.Pointer, val unsafe.Pointer)\n-\n-// Helper for ARM. Linker will discard on other systems\n-func panic64() ...
2020-03-19T13:55:42
vuejs/vue
59dbd4a414394a3ce581f9fbd9554da9af9e4b1d
a43d66743be2bd62b2398090663e41eeaf0dc75f
fix: ensure $attrs and $listeners are always objects (#6441) fix #6263
[ { "path": "flow/component.js", "patch": "@@ -29,8 +29,8 @@ declare interface Component {\n $slots: { [key: string]: Array<VNode> };\n $scopedSlots: { [key: string]: () => VNodeChildren };\n $vnode: VNode; // the placeholder node for the component in parent's render tree\n- $attrs: ?{ [key: string] : ...
2017-08-29T20:59:39
ggml-org/llama.cpp
021cc28bef4dd7d0bf9c91dbbd0803caa6cb15f2
d498af3d5a00f96bdd37b534860f03a6d9e98d39
cuda : Fix Gemma3n not executed as CUDA_GRAPH on NVGPUs (#14741) * Fix Gemma3n not executed as CUDA_GRAPH on NVGPUs Gemma3n uses Matrix-Matrix addition as part of their input processing, wrongly triggering CUDA_GRAPH disablement on NVGPUs even when batch-size of 1 is used. * Exclude `project_per_layer_input` by matc...
[ { "path": "ggml/src/ggml-cuda/ggml-cuda.cu", "patch": "@@ -2590,6 +2590,9 @@ static bool check_node_graph_compatibility_and_refresh_copy_ops(ggml_backend_cud\n // Loop over nodes in GGML graph to obtain info needed for CUDA graph\n cuda_ctx->cuda_graph->cpy_dest_ptrs.clear();\n \n+ const std::str...
2025-07-18T11:35:32
nodejs/node
a71d20518aeaba342eb745508e517c55ddd61a1b
4eeb4a44084c7503c6c4e93d647cfc4f1bcb7762
n-api: fix section title typo PR-URL: https://github.com/nodejs/node/pull/13972 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "doc/api/n-api.md", "patch": "@@ -41,7 +41,7 @@ The documentation for N-API is structured as follows:\n * [Working with JavaScript Properties][]\n * [Working with JavaScript Functions][]\n * [Object Wrap][]\n-* [Aynchronous Operations][]\n+* [Asynchronous Operations][]\n \n The N-API is a C API th...
2017-06-28T22:33:53
rust-lang/rust
9673d8d543c5fa8f14b168beed8280b98baf64cf
6e9471811baff6d6928547383f0ba3e0b622f5f8
Fix build on Solaris where is no flock().
[ { "path": "src/tools/miri/src/shims/unix/fs.rs", "patch": "@@ -178,7 +178,7 @@ impl UnixFileDescription for FileHandle {\n op: FlockOp,\n ) -> InterpResult<'tcx, io::Result<()>> {\n assert!(communicate_allowed, \"isolation should have prevented even opening a file\");\n- #[cfg(tar...
2025-02-04T11:51:08
vuejs/vue
a43d66743be2bd62b2398090663e41eeaf0dc75f
d4d553ced75d8c73e75b85cec398be4b09f6f669
fix(transition): consider async placeholder as valid child to return (#6369) fix #6256
[ { "path": "src/core/vdom/helpers/get-first-component-child.js", "patch": "@@ -1,12 +1,13 @@\n /* @flow */\n \n import { isDef } from 'shared/util'\n+import { isAsyncPlaceholder } from './is-async-placeholder'\n \n export function getFirstComponentChild (children: ?Array<VNode>): ?VNode {\n if (Array.isArr...
2017-08-29T20:09:20
golang/go
f9f57c44430c3449a71533e78f25e88aa4c06a65
b3b174ffcf8ab4977dba1e9e18b91993a8c5a253
database/sql: add method Err on sql.Row The Row.Err method is intended to assist wrapping sql.DB. Because sql.Row is a struct with private fields, a wrapper in an existing code base cannot easily provide users with a different implementation without large rewrites. Adding this method allows query level errors to be ha...
[ { "path": "src/database/sql/sql.go", "patch": "@@ -3174,6 +3174,14 @@ func (r *Row) Scan(dest ...interface{}) error {\n \treturn r.rows.Close()\n }\n \n+// Err provides a way for wrapping packages to check for\n+// query errors without calling Scan.\n+// Err returns the error, if any, that was encountered w...
2020-01-10T10:06:53
ggml-org/llama.cpp
eacdeb5bfcb6c6cd54461fd0e9f04cab78bf975b
e0cb5c5cb8a61ac232130cf6bf878035f93824d9
model : fix build after merge conflict (#14754)
[ { "path": "src/llama-model.cpp", "patch": "@@ -13530,7 +13530,7 @@ struct llm_build_exaone : public llm_graph_context {\n \n template <bool iswa>\n struct llm_build_exaone4 : public llm_graph_context {\n- llm_build_exaone4(const llama_model & model, const llm_graph_params & params, ggml_cgraph * gf) : ll...
2025-07-18T08:53:55
nodejs/node
4eeb4a44084c7503c6c4e93d647cfc4f1bcb7762
3b727aaa49ac8699fc4a704a40145c4fe0fa3405
doc: note that fs.futimes only works on AIX >7.1 PR-URL: https://github.com/nodejs/node/pull/13659 Fixes: https://github.com/nodejs/node/issues/12609 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Sn...
[ { "path": "doc/api/fs.md", "patch": "@@ -1225,6 +1225,9 @@ changes:\n Change the file timestamps of a file referenced by the supplied file\n descriptor.\n \n+*Note*: This function does not work on AIX versions before 7.1, it will return\n+the error `UV_ENOSYS`.\n+\n ## fs.futimesSync(fd, atime, mtime)\n <!-...
2017-06-13T13:47:37
vuejs/vue
d4d553ced75d8c73e75b85cec398be4b09f6f669
41d774d112946f986bf0b0e3f30fd962c01ceba2
fix(v-model): avoid unnecessary change event on select options change fix #6193 via #6194
[ { "path": "src/platforms/web/runtime/directives/model.js", "patch": "@@ -53,7 +53,14 @@ export default {\n const prevOptions = el._vOptions\n const curOptions = el._vOptions = [].map.call(el.options, getValue)\n if (curOptions.some((o, i) => !looseEqual(o, prevOptions[i]))) {\n- tri...
2017-08-29T16:52:19
huggingface/transformers
443bf5e9e25fdd6dfa31e35879485edacd848b4f
4557a0dede92ce985576fac478b754d76bba3c18
Fix safetensors failing tests (#27231) * Fix Kosmos2 * Fix ProphetNet * Fix MarianMT * Fix M4T * XLM ProphetNet * ProphetNet fix * XLM ProphetNet * Final M4T fixes * Tied weights keys * Revert M4T changes * Apply suggestions from code review Co-authored-by: amyeroberts <22614925+amyero...
[ { "path": "src/transformers/models/prophetnet/modeling_prophetnet.py", "patch": "@@ -1755,6 +1755,11 @@ def set_input_embeddings(self, value):\n self.encoder.word_embeddings = self.word_embeddings\n self.decoder.word_embeddings = self.word_embeddings\n \n+ def _tie_weights(self):\n+ ...
2023-11-02T14:03:09
rust-lang/rust
6770d3ddf4bc20e1437e3a2767942311bc10a65e
8df89d1cb077cd76013d3f9f5a4e92c5b5a9280c
Fix link in from_fn.rs
[ { "path": "library/core/src/iter/sources/from_fn.rs", "patch": "@@ -1,7 +1,7 @@\n use crate::fmt;\n \n /// Creates an iterator with the provided closure\n-/// `F: FnMut() -> Option<T>` as its `[next](Iterator::next)` method.\n+/// `F: FnMut() -> Option<T>` as its [`next`](Iterator::next) method.\n ///\n ///...
2025-02-05T07:52:13
ggml-org/llama.cpp
09651d09ffc1e941bd1be23163abf5495c416547
349ea79fcebc75b0c55bf61594a47736966d4f95
graph : Pass the graph placeholder message in debug mode (#14748) Without that condition, this debug log clutters the screen every batch treated in the prompt processing, or every token generated in Kobold.cpp.
[ { "path": "src/llama-graph.cpp", "patch": "@@ -467,7 +467,9 @@ bool llm_graph_result::can_reuse(const llm_graph_params & params) {\n for (auto & input : inputs) {\n const bool cur = input->can_reuse(params);\n \n- LLAMA_LOG_DEBUG(\" %s: can_reuse = %d\\n\", \"placeholder\", cur);\n+ ...
2025-07-18T04:25:54
nodejs/node
ef28d85611bcb1b0d91b6525b7c16517bf21020c
2fa2a6072199aeb84886878e6b7048021c545e42
doc: doc lifetime of n-api last error info Document the lifetime of the structure returned by napi_get_last_error_info PR-URL: https://github.com/nodejs/node/pull/13939 Fixes: https://github.com/nodejs/abi-stable-node/issues/251 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.co...
[ { "path": "doc/api/n-api.md", "patch": "@@ -269,6 +269,9 @@ Returns `napi_ok` if the API succeeded.\n This API retrieves a `napi_extended_error_info` structure with information\n about the last error that occurred.\n \n+*Note*: The content of the `napi_extended_error_info` returned is only\n+valid up until ...
2017-06-26T22:41:25
vuejs/vue
f40da5dbf2f01b417a7487d15b43cfd3aeb02a8f
5091e2c9847601e329ac36d17eae90bb5cb77a91
fix(v-model) selected option not updated properly under IE11 (#6213) fix #6209
[ { "path": "src/platforms/web/runtime/directives/model.js", "patch": "@@ -22,14 +22,7 @@ if (isIE9) {\n export default {\n inserted (el, binding, vnode) {\n if (vnode.tag === 'select') {\n- const cb = () => {\n- setSelected(el, binding, vnode.context)\n- }\n- cb()\n- /* istan...
2017-08-29T15:17:38
golang/go
63ffa1595c874f61f641e4f1193eff0feb64dd51
626c89bfa3596629b4aba737b1b5c3266e1a899e
[dev.link] cmd/link: cleanup of attribute handling code Minor cleanup of symbol attributes. Specifically: - if a symbol originally begins life as an object file symbol, then is converted to external in cloneToExternal, use the previously recorded object file index for the sym to figure out if it has read-only d...
[ { "path": "src/cmd/link/internal/loader/loader.go", "patch": "@@ -793,19 +793,6 @@ func (l *Loader) AttrShared(i Sym) bool {\n \treturn l.attrShared.Has(l.extIndex(i))\n }\n \n-// SetAttrShared sets the \"shared\" property for an external\n-// symbol (see AttrShared).\n-func (l *Loader) SetAttrShared(i Sym,...
2020-03-16T17:56:42
rust-lang/rust
579495215604d6adb00f728c75b097d7b896c68e
8df89d1cb077cd76013d3f9f5a4e92c5b5a9280c
Fix unreachable_pub lint for hermit target
[ { "path": "library/panic_unwind/src/hermit.rs", "patch": "@@ -7,14 +7,14 @@ use core::any::Any;\n \n pub(crate) unsafe fn cleanup(_ptr: *mut u8) -> Box<dyn Any + Send> {\n extern \"C\" {\n- pub fn __rust_abort() -> !;\n+ fn __rust_abort() -> !;\n }\n __rust_abort();\n }\n \n pub(cr...
2025-02-05T07:38:17
ggml-org/llama.cpp
670e1360cd40f242ae76ba0966542fae6cb59392
760b4484e3c192a2649a6ffd0d90086c5558f849
convert : fix Ernie4.5 MoE without shared experts (#14746)
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -2910,11 +2910,12 @@ def set_gguf_parameters(self):\n self.gguf_writer.add_expert_used_count(self.hparams[\"moe_k\"])\n self.gguf_writer.add_interleave_moe_layer_step(self.hparams[\"moe_layer_interval\"])\n self.gguf_writer.add_leading_...
2025-07-17T23:17:16
huggingface/transformers
8a312956fd49efd69adb98c40996719d4c276a01
9b25c164bdb2754002e118065bc5045436b72773
Fuyu: improve image processing (#27007) * Fix Fuyu image scaling bug It could produce negative padding and hence inference errors for certain image sizes. * initial rework commit * add batching capabilities, refactor image processing * add functional batching for a list of images and texts * make args ...
[ { "path": "src/transformers/feature_extraction_utils.py", "patch": "@@ -112,17 +112,9 @@ def values(self):\n def items(self):\n return self.data.items()\n \n- def convert_to_tensors(self, tensor_type: Optional[Union[str, TensorType]] = None):\n- \"\"\"\n- Convert the inner conte...
2023-11-02T11:25:41
vuejs/vue
5091e2c9847601e329ac36d17eae90bb5cb77a91
0dc27dcdec72c1c2e12fb49fb95dceca45e84115
fix(ssr): address possible xss vector
[ { "path": "src/platforms/web/server/modules/attrs.js", "patch": "@@ -50,7 +50,7 @@ export function renderAttr (key: string, value: string): string {\n } else if (isEnumeratedAttr(key)) {\n return ` ${key}=\"${isFalsyAttrValue(value) || value === 'false' ? 'false' : 'true'}\"`\n } else if (!isFalsyAt...
2017-08-29T14:42:54
nodejs/node
1a452f1928c3c904f8405048794632a6da6a94c6
1698c8e1655adaf19e13cc6a5e1a4a570735e16f
dgram,process,util: refactor Error to TypeError PR-URL: https://github.com/nodejs/node/pull/13857 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
[ { "path": "lib/dgram.js", "patch": "@@ -79,7 +79,7 @@ function newHandle(type) {\n return handle;\n }\n \n- throw new errors.Error('ERR_SOCKET_BAD_TYPE');\n+ throw new errors.TypeError('ERR_SOCKET_BAD_TYPE');\n }\n \n ", "additions": 1, "deletions": 1, "language": "JavaScript" }, { ...
2017-06-21T18:23:37
golang/go
019421d17fedd4af924dee6b969f2945d64a9eea
02057906f7272a4787b8a0b5b7cafff8ad3024f0
database/sql: fix variable name in example It's a very minor error, but it's a bad copy/paste example. Change-Id: Ia6a723c31f2205c933857ce2cf715bddf773ebb6 GitHub-Last-Rev: 7f14b1a5c1ea3775aa2009184b0b1790e03225eb GitHub-Pull-Request: golang/go#37932 Reviewed-on: https://go-review.googlesource.com/c/go/+/223960 Revie...
[ { "path": "src/database/sql/example_test.go", "patch": "@@ -41,7 +41,7 @@ func ExampleDB_QueryContext() {\n \t// encounter an auto-commit error and be forced to rollback changes.\n \trerr := rows.Close()\n \tif rerr != nil {\n-\t\tlog.Fatal(err)\n+\t\tlog.Fatal(rerr)\n \t}\n \n \t// Rows.Err will report the...
2020-03-18T17:52:57
ggml-org/llama.cpp
cb887f1bc1001c92f7b4a595b9014f3a454a07ab
d6fb3f6b49b27ef1c0f4cf5128e041f7e7dc03af
model: add Ernie 4.5 MoE support (#14658) * Add Ernie4.5 MoE * Fix Flake errors. * Properly encode/decode MoE layer step * Correct tensor mappings (.weight) * Pass and read n_ff_exp * n_ff_shexp calculation and further minor changes * Rope fixes. * .gitignore fix * Add unit32 cast for Linux builds * Apply sug...
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -2861,7 +2861,8 @@ def set_gguf_parameters(self):\n def modify_tensors(self, data_torch: Tensor, name: str, bid: int | None) -> Iterable[tuple[str, Tensor]]:\n num_heads = self.hparams[\"num_attention_heads\"]\n num_kv_heads = self.hparams[...
2025-07-17T21:15:32
huggingface/transformers
9b25c164bdb2754002e118065bc5045436b72773
c52e429b1cb98ab2e6fa88f64f1a3255bd8ce26d
[`core` / `Quantization`] Fix for 8bit serialization tests (#27234) * fix for 8bit serialization * added regression tests. * fixup
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -2110,7 +2110,13 @@ def save_pretrained(\n # We're going to remove aliases before saving\n ptrs = collections.defaultdict(list)\n for name, tensor in state_dict.items():\n- ptrs[id_tensor_storage(...
2023-11-02T11:03:51
vuejs/vue
82f03de3328abde70493d2d3630137f23f140fcb
b5cc8b9e935897184ac43119bf5fbeca606f4b6a
fix-Firefox (#6359)
[ { "path": "src/core/util/env.js", "patch": "@@ -17,7 +17,7 @@ export const isAndroid = UA && UA.indexOf('android') > 0\n export const isIOS = UA && /iphone|ipad|ipod|ios/.test(UA)\n export const isChrome = UA && /chrome\\/\\d+/.test(UA) && !isEdge\n \n-// Firefix has a \"watch\" function on Object.prototype...
2017-08-13T12:53:17
ggml-org/llama.cpp
d6fb3f6b49b27ef1c0f4cf5128e041f7e7dc03af
01612b74090df592663cfa01f661c9628f403b59
kv-cache : fix k-shift for multiple streams (#14742) ggml-ci
[ { "path": "src/llama-kv-cache-unified.cpp", "patch": "@@ -1261,7 +1261,7 @@ void llama_kv_cache_unified::set_input_k_shift(ggml_tensor * dst) const {\n const auto & cells = v_cells[s];\n \n for (uint32_t i = 0; i < cells.size(); ++i) {\n- data[i] = cells.is_empty(i) ? 0 : cells.ge...
2025-07-17T17:52:33
golang/go
02057906f7272a4787b8a0b5b7cafff8ad3024f0
61ce82a3601955a39ef26f51654fa2abc2049c11
context: prevent creation of invalid contexts This commit makes it impossible to create derived contexts with nil parents. Previously it was possible to create derived contexts with nil parents, and invalid contexts could propogate through the program. Eventually this can cause a panic downstream, which is difficult t...
[ { "path": "src/context/context.go", "patch": "@@ -230,6 +230,9 @@ type CancelFunc func()\n // Canceling this context releases resources associated with it, so code should\n // call cancel as soon as the operations running in this Context complete.\n func WithCancel(parent Context) (ctx Context, cancel Cance...
2020-03-18T19:17:50
nodejs/node
1698c8e1655adaf19e13cc6a5e1a4a570735e16f
8ca9338655dc3635da0d8fe154c5262468eb545f
errors: fix and improve error types 1) Add missing lazy assert call 2) Remove obsolete error type 3) Name undocumented error type more appropriate 4) Consolidate error type style (rely on util.format instead of using a function) 5) Uppercase the first letter from error messages 6) Improve some internal error parame...
[ { "path": "lib/_http_server.js", "patch": "@@ -225,10 +225,8 @@ function writeHead(statusCode, reason, obj) {\n headers = obj;\n }\n \n- if (common._checkInvalidHeaderChar(this.statusMessage)) {\n- throw new errors.Error('ERR_HTTP_INVALID_CHAR',\n- 'Invalid character in s...
2017-06-21T18:16:43
vuejs/vue
3d14e855e422b656859d1b419af43b94320fcfce
303655116f8ec78f3b0ac99569637ad868dfe246
fix: checkbox v-model="array" ignore false-value (#6180) close #6178
[ { "path": "src/platforms/web/compiler/directives/model.js", "patch": "@@ -93,7 +93,7 @@ function genCheckboxModel (\n 'if(Array.isArray($$a)){' +\n `var $$v=${number ? '_n(' + valueBinding + ')' : valueBinding},` +\n '$$i=_i($$a,$$v);' +\n- `if($$c){$$i<0&&(${value}=$$a.concat($$v))...
2017-07-21T04:00:22
huggingface/transformers
af3de8d87c717c4bb090f037d0d89413c195a42f
3520e37e86913715959ff14fef76340010c8de57
[Whisper, Bart, MBart] Add Flash Attention 2 (#27203) * add whisper fa2 * correct * change all * correct * correct * fix more * fix more * fix more * fix more * fix more * fix more * Apply suggestions from code review Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.g...
[ { "path": "src/transformers/models/bart/modeling_bart.py", "patch": "@@ -19,6 +19,7 @@\n from typing import List, Optional, Tuple, Union\n \n import torch\n+import torch.nn.functional as F\n import torch.utils.checkpoint\n from torch import nn\n from torch.nn import BCEWithLogitsLoss, CrossEntropyLoss, MSEL...
2023-11-01T20:03:01
ggml-org/llama.cpp
01612b74090df592663cfa01f661c9628f403b59
086cf81e88fb75287b71ff19c08a206b7bc2e02f
llama : reuse compute graphs (#14482) * llama : reuse compute graphs ggml-ci * llama-bench : add graph reuse parameter ggml-ci * cont : remove the parameter and the sched resets ggml-ci * graph : rename update() to can_reuse() ggml-ci * params : remove is_same() ggml-ci * graph : set res->params in llm_graph...
[ { "path": "include/llama.h", "patch": "@@ -1394,6 +1394,7 @@ extern \"C\" {\n \n int32_t n_p_eval;\n int32_t n_eval;\n+ int32_t n_reused; // number of times a ggml compute graph had been reused\n };\n \n struct llama_perf_sampler_data {", "additions": 1, "deletions": 0...
2025-07-17T16:08:33
golang/go
f1f947af28d1de655fe7eb845a053753d10845aa
e39de05186af24cec8a5f98258086e9899153e29
runtime: don't hold worldsema across mark phase This change makes it so that worldsema isn't held across the mark phase. This means that various operations like ReadMemStats may now stop the world during the mark phase, reducing latency on such operations. Only three such operations are still no longer allowed to occ...
[ { "path": "src/runtime/debug.go", "patch": "@@ -26,12 +26,12 @@ func GOMAXPROCS(n int) int {\n \t\treturn ret\n \t}\n \n-\tstopTheWorld(\"GOMAXPROCS\")\n+\tstopTheWorldGC(\"GOMAXPROCS\")\n \n \t// newprocs will be processed by startTheWorld\n \tnewprocs = int32(n)\n \n-\tstartTheWorld()\n+\tstartTheWorldGC(...
2019-06-17T19:03:09
nodejs/node
8ca9338655dc3635da0d8fe154c5262468eb545f
50ba13ef0ef856147b5ffd354afd343a0501fb1c
doc: document missing error types PR-URL: https://github.com/nodejs/node/pull/13857 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
[ { "path": "doc/api/errors.md", "patch": "@@ -568,41 +568,85 @@ found [here][online].\n Used generically to identify that an iterable argument (i.e. a value that works\n with `for...of` loops) is required, but not provided to a Node.js API.\n \n+<a id=\"ERR_ASSERTION\"></a>\n+### ERR_ASSERTION\n+\n+Used as s...
2017-06-21T18:14:45
huggingface/transformers
95020f208ed7c30895685af60ef3a791fb2d45ff
c9e72f55b2dc4b9be4edb986dce0552582b328f2
Fix CPU offload + disk offload tests (#27204) Fix disk offload tests + weight sharing issues
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -4576,7 +4576,9 @@ def expand_device_map(device_map, param_names):\n \"\"\"\n new_device_map = {}\n for module, device in device_map.items():\n- new_device_map.update({p: device for p in param_names if p == module or p.startswit...
2023-11-01T18:25:23
ggml-org/llama.cpp
086cf81e88fb75287b71ff19c08a206b7bc2e02f
d9b691081c04ec5fb0daa9d2b979f915c142963d
llama : fix parallel processing for lfm2 (#14705)
[ { "path": "src/llama-model.cpp", "patch": "@@ -16554,46 +16554,68 @@ struct llm_build_lfm2 : public llm_graph_context {\n ggml_tensor * cur,\n llm_graph_input_rs * inp_recr,\n int ...
2025-07-17T07:22:11
vuejs/vue
303655116f8ec78f3b0ac99569637ad868dfe246
fc3d7cd7a93534d76840418467f303d4b301fbcd
fix(provide/inject): merge provide properly from mixins close #6175
[ { "path": "src/core/util/options.js", "patch": "@@ -85,7 +85,7 @@ export function mergeDataOrFn (\n return function mergedDataFn () {\n return mergeData(\n typeof childVal === 'function' ? childVal.call(this) : childVal,\n- parentVal.call(this)\n+ typeof parentVal === 'functi...
2017-07-21T01:47:52
huggingface/transformers
c9e72f55b2dc4b9be4edb986dce0552582b328f2
239cd0eaa2d8d6cd3147f1e1457d4c1b0f0ad48a
Add exllamav2 better (#27111) * add_ xllamav2 arg * add test * style * add check * add doc * replace by use_exllama_v2 * fix tests * fix doc * style * better condition * fix logic * add deprecate msg * deprecate exllama * remove disable_exllama from the linter * remove * fi...
[ { "path": "docs/source/en/main_classes/quantization.md", "patch": "@@ -223,16 +223,25 @@ model = AutoModelForCausalLM.from_pretrained(\"{your_username}/opt-125m-gptq\", de\n \n ### Exllama kernels for faster inference\n \n-For 4-bit model, you can use the exllama kernels in order to a faster inference speed...
2023-11-01T17:09:21
nodejs/node
614dbbd728bba2ed05c3861a2a7316c399d835e9
2ff23c5622c9738f48c19f078ba140efe2699871
build,windows: implement PEP514 python detection PR-URL: https://github.com/nodejs/node/pull/13900 Fixes: https://github.com/nodejs/node/issues/13882 Reviewed-By: Tobias Nießen <tniessen@tnie.de>
[ { "path": "tools/msvs/find_python.cmd", "patch": "@@ -0,0 +1,51 @@\n+@IF NOT DEFINED DEBUG_HELPER @ECHO OFF\n+SETLOCAL\n+:: If python.exe is in %Path%, just validate\n+FOR /F \"delims=\" %%a IN ('where python 2^> NUL') DO (\n+ SET need_path=0\n+ SET p=%%~dpa\n+ IF NOT ERRORLEVEL 1 GOTO :validate\n+)\n+\n...
2017-06-24T20:09:53
vuejs/vue
fc3d7cd7a93534d76840418467f303d4b301fbcd
eb9168cfc1816b53ddb1eccd6310173a37803897
fix: work around IE/Edge bug when accessing document.activeElement from iframe close #6157
[ { "path": "src/platforms/web/runtime/modules/dom-props.js", "patch": "@@ -63,7 +63,11 @@ function shouldUpdateValue (\n function isDirty (elm: acceptValueElm, checkVal: string): boolean {\n // return true when textbox (.number and .trim) loses focus and its value is\n // not equal to the updated value\n...
2017-07-21T01:14:43