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
huggingface/transformers
0ee45906845c8d58b9bd2df5acd90e09b00047ff
6accd5effbc0d17beb0a63fac06939972081a977
Fix MusicGen logging error (#26370) * Fix logging error * Update modeling_musicgen.py * Update modeling_musicgen.py
[ { "path": "src/transformers/models/musicgen/modeling_musicgen.py", "patch": "@@ -1310,8 +1310,7 @@ def generate(\n if has_default_max_length and generation_config.max_new_tokens is None and generation_config.max_length == 20:\n logger.warning(\n f\"Using the model-agnosti...
2023-09-25T11:08:25
golang/go
75ea964b3f6073076e1a86a0de2be9a2f159da24
4084c125cce2b5a6009fe767cc39a1ec28914786
cmd/trace: update to use WebComponents V0 polyfill Old trace viewer stopped working with Chrome M80+ because the old trace viewer heavily depended on WebComponents V0 which are deprecated. Trace viewer recently migrated to use WebComponents V0 polyfill (crbug.com/1036492). This CL brings in the newly updated trace_vie...
[ { "path": "misc/trace/README.md", "patch": "@@ -1,17 +1,41 @@\n-This directory contains helper file for trace viewer (`go tool trace`).\n+## Resources for Go's trace viewer\n \n-`trace_viewer_full.html` was generated by following\n-[instructions](https://github.com/catapult-project/catapult/blob/master/trac...
2020-02-19T03:41:20
ggml-org/llama.cpp
c00a2634bec49805c6b31438b1a6006a2bd793cb
e298d2fbd082a52c0f6ed02729f94e9bf630cf17
metal : fix typo in FA kernel comments (#13651)
[ { "path": "ggml/src/ggml-metal/ggml-metal.metal", "patch": "@@ -3255,7 +3255,7 @@ template<\n typename kd4x4_t, // key type in device memory\n short nl_k,\n void (*deq_k)(device const kd4x4_t *, short, thread k4x4_t &),\n- typename vd4x4_t, // key type in device memory\n+ typename vd4x4_t,...
2025-05-20T07:41:40
vuejs/vue
b141c6930d20eaec0f94a4fc7b2ebecab4651ac8
58949bd1c5c481570eb7b6dd4c6864866a301fdf
fix filter parsing for divisions (fix #4415)
[ { "path": "src/compiler/parser/filter-parser.js", "patch": "@@ -40,14 +40,25 @@ export function parseFilters (exp: string): string {\n case 0x22: inDouble = true; break // \"\n case 0x27: inSingle = true; break // '\n case 0x60: inTemplateString = true; break // `\n- ...
2016-12-08T18:15:33
huggingface/transformers
6accd5effbc0d17beb0a63fac06939972081a977
5936c8c57ccb2bda3b3f28856a7ef992c5c9f451
Update add_new_model.md (#26365) fixed typos
[ { "path": "docs/source/en/add_new_model.md", "patch": "@@ -52,7 +52,7 @@ A good first starting point to better understand the library is to read the [doc\n \n In our opinion, the library's code is not just a means to provide a product, *e.g.* the ability to use BERT for\n inference, but also as the very pro...
2023-09-25T10:58:11
nodejs/node
21c0c0275a553bc38fbac99129702f5b7c8ed1d3
e2f2d180328ff731b1ef0f7fd3f727ea566f4604
inspector: add missing virtual destructor This fixes a resource leak detected by a Coverity scan. PR-URL: https://github.com/nodejs/node/pull/13198 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Aleksei Koziatinskii <ak239spb@gmail.com>
[ { "path": "src/inspector_agent.cc", "patch": "@@ -195,7 +195,7 @@ class JsBindingsSessionDelegate : public InspectorSessionDelegate {\n v8::WeakCallbackType::kParameter);\n }\n \n- virtual ~JsBindingsSessionDelegate() {\n+ ~JsBindingsSessionDelegate() override {\n session_.Reset...
2017-05-24T17:04:39
golang/go
f53f987ebffa5888f1affe5255af849331be2164
bd6d78ef37b5a607abfb530f3e353cfa653492f1
cmd/compile: merge more shifts into stores Updates #36223 (Might fix #36223. I'm not sure whether there are more outstanding.) This helps a bit, but not as much as I'd expected/hoped. file before after Δ % runtime.s 477286 477256 ...
[ { "path": "src/cmd/compile/internal/ssa/gen/AMD64Ops.go", "patch": "@@ -597,15 +597,14 @@ func init() {\n \t\t{name: \"MOVQloadidx1\", argLength: 3, reg: gploadidx, commutative: true, asm: \"MOVQ\", scale: 1, aux: \"SymOff\", typ: \"UInt64\", symEffect: \"Read\"}, // load 8 bytes from arg0+arg1+auxint+au...
2020-01-07T21:41:02
vuejs/vue
58949bd1c5c481570eb7b6dd4c6864866a301fdf
b48c45eb7ea8d6bdf1ec805fb4ade0576670e59a
use sameVnode check when pacthing keyed children (fix #4393)
[ { "path": "src/core/vdom/patch.js", "patch": "@@ -386,15 +386,15 @@ export function createPatchFunction (backend) {\n 'Make sure each v-for item has a unique key.'\n )\n }\n- if (elmToMove.tag !== newStartVnode.tag) {\n- // same key but different eleme...
2016-12-08T17:26:22
ggml-org/llama.cpp
e298d2fbd082a52c0f6ed02729f94e9bf630cf17
f0adb80bf7c2c0d80abb04f4533b5513622d9964
kv-cache : add SWA support (#13194) * kv-cache : prepare for SWA ggml-ci * kv-cache : initial iSWA implementation ggml-ci * kv-cache : rework error recovery logic ggml-ci * models : fix Phi-3 SWA parameters ggml-ci * model : adjust Granite to rope factor changes ggml-ci * server : check if context can do shi...
[ { "path": "common/arg.cpp", "patch": "@@ -1445,6 +1445,14 @@ common_params_context common_params_parser_init(common_params & params, llama_ex\n params.n_keep = value;\n }\n ));\n+ add_opt(common_arg(\n+ {\"--swa-full\"},\n+ string_format(\"use full-size SWA cache (de...
2025-05-20T05:05:46
huggingface/transformers
5936c8c57ccb2bda3b3f28856a7ef992c5c9f451
910faa3e1f1c566b23a0318f78f5caf5bda8d3b2
Fixed unclosed p tags (#26240)
[ { "path": "README.md", "patch": "@@ -52,7 +52,7 @@ limitations under the License.\n <a href=\"https://github.com/huggingface/transformers/blob/main/README_es.md\">Español</a> |\n <a href=\"https://github.com/huggingface/transformers/blob/main/README_ja.md\">日本語</a> |\n <a href=\"http...
2023-09-22T18:39:28
nodejs/node
e2f2d180328ff731b1ef0f7fd3f727ea566f4604
90dee89d8ee4e6aaa78e163997bb14ad3719a79a
src: add comment for TicketKeyCallback Fixes: https://github.com/nodejs/node/issues/13176 PR-URL: https://github.com/nodejs/node/pull/13193 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
[ { "path": "src/node_crypto.cc", "patch": "@@ -1202,6 +1202,8 @@ void SecureContext::SetFreeListLength(const FunctionCallbackInfo<Value>& args) {\n }\n \n \n+// Currently, EnableTicketKeyCallback and TicketKeyCallback are only present for\n+// the regression test in test/parallel/test-https-resume-after-rene...
2017-05-24T11:40:47
vuejs/vue
b48c45eb7ea8d6bdf1ec805fb4ade0576670e59a
4c3abdda92bd36b7b6026ae30b3b9960e486705f
ensure set value last in IE9 (fix #4391)
[ { "path": "src/platforms/web/runtime/modules/attrs.js", "patch": "@@ -1,6 +1,7 @@\n /* @flow */\n \n import { extend } from 'shared/util'\n+import { isIE9 } from 'core/util/env'\n import {\n isBooleanAttr,\n isEnumeratedAttr,\n@@ -17,7 +18,7 @@ function updateAttrs (oldVnode: VNodeWithData, vnode: VNode...
2016-12-08T17:12:11
ggml-org/llama.cpp
f0adb80bf7c2c0d80abb04f4533b5513622d9964
f7c9429c85748cde9599499601ba48d0057722e6
CANN: Update CANN model support (#13162) * Update CANN model support status * Update of model support * update * update * update * fix format of CANN.md * fix format of CANN.md * fix format of CANN.md
[ { "path": "docs/backend/CANN.md", "patch": "@@ -56,60 +56,82 @@ The llama.cpp CANN backend is designed to support Ascend NPU. It utilize the abi\n \n ## Model Supports\n \n-| Model Name | FP16 | Q8_0 | Q4_0 |\n+| Model Name | FP16 | Q4_0 | Q8_0 |\n |:---------------------...
2025-05-20T03:43:43
golang/go
73269b8e7539541a69fa8b04bf10549bbcb48aa9
6817210edf5b4c54ddb0948fff0ed491456b470c
cmd/compile: generate commutative rules when a condition is present The commutative rule generator has an optimization where given (Add x y) with no other uses of x and y in the matching rule, it doesn't generate the commutative match (Add y x). However, if there is also a condition referring to x or y, such as (Add ...
[ { "path": "src/cmd/compile/internal/ssa/gen/rulegen.go", "patch": "@@ -1339,7 +1339,7 @@ func expandOr(r string) []string {\n // Potentially exponential, be careful.\n func commute(r string, arch arch) []string {\n \tmatch, cond, result := Rule{rule: r}.parse()\n-\ta := commute1(match, varCount(match), arch...
2020-01-07T07:45:57
huggingface/transformers
576cd45a57501856bf719f2eb6186325fb6d2f88
914771cbfe02c423b8361f341dbd6d6203889060
Add image to image pipeline (#25393) * Add image to image pipeline Add image to image pipeline * remove swin2sr from tf auto * make ImageToImage importable * make style make style make style make style * remove tf support * remove nonused imports * fix postprocessing * add important co...
[ { "path": "docs/source/en/main_classes/pipelines.md", "patch": "@@ -352,6 +352,12 @@ Pipelines available for computer vision tasks include the following.\n - __call__\n - all\n \n+### ImageToImagePipeline\n+\n+[[autodoc]] ImageToImagePipeline\n+ - __call__\n+ - all\n+\n ### ObjectDetectionPipe...
2023-09-22T16:53:55
rust-lang/rust
fef480f4b890ae50dc818036fc0900238e5339b2
12f86ee7f32efe58eab175a4fe89b30b2068fa3e
error pattern to correct line
[ { "path": "tests/ui/generic-associated-types/issue-90014-tait2.rs", "patch": "@@ -3,8 +3,6 @@\n //! Unfortunately we don't even reach opaque type collection, as we ICE in typeck before that.\n //! See #109281 for the original report.\n //@ edition:2018\n-//@ error-pattern: expected generic lifetime paramete...
2025-01-20T15:42:30
nodejs/node
b153420fd92755875ae3fb9e75e83465f9469f2b
a10bdb51b18dfaad874f3702a1daea51ec2d4514
stream: emit finish when using writev and cork In Writable, 'finish' was not emitted when using writev() and cork() in the event of an Error during the write. This commit makes it consistent with the write() path, which emits 'finish'. Fixes: https://github.com/nodejs/node/issues/11121 PR-URL: https://github.com/node...
[ { "path": "lib/_stream_writable.js", "patch": "@@ -371,14 +371,19 @@ function doWrite(stream, state, writev, len, chunk, encoding, cb) {\n function onwriteError(stream, state, sync, er, cb) {\n --state.pendingcb;\n if (sync)\n- process.nextTick(cb, er);\n+ process.nextTick(afterError, stream, stat...
2017-05-24T11:24:19
vuejs/vue
8a7b02a159dea19ff76c2308bceb9f1ef4738998
b9376eb5ff42e7c5e4a0862465c0fd8d0eee4ece
avoid v-model with .trim/.number updating value when in focus (fix #4392)
[ { "path": "src/platforms/web/compiler/directives/model.js", "patch": "@@ -127,10 +127,12 @@ function genDefaultModel (\n valueExpression = number || type === 'number'\n ? `_n(${valueExpression})`\n : valueExpression\n+\n let code = genAssignmentCode(value, valueExpression)\n if (isNative && ne...
2016-12-08T15:56:30
ggml-org/llama.cpp
8960efd0a65e5a4830a14f6937c10703534f2569
725f23f1f3f0d3adf49f95d8dfa6e7c74adff149
Vulkan: Add f32 accumulator support to quantized mul mat to fix GLM4 32B incoherence (#13607)
[ { "path": "ggml/src/ggml-vulkan/ggml-vulkan.cpp", "patch": "@@ -2031,25 +2031,25 @@ static void ggml_vk_load_shaders(vk_device& device) {\n CREATE_MM(pipeline_matmul_bf16, matmul_bf16, , wg_denoms, warptile, vk_mat_mat_push_constants, 3)\n }\n #endif\n- CREATE_MM(pipeline_dequant_...
2025-05-19T15:54:08
huggingface/transformers
914771cbfe02c423b8361f341dbd6d6203889060
368a58e61cda8418af7f80dce6249cbf19db5e23
[TTA Pipeline] Fix MusicGen test (#26348) * fix musicgen pipeline test * fix wav2vec2 doctest * revert wav2vec2
[ { "path": "src/transformers/pipelines/text_to_audio.py", "patch": "@@ -71,13 +71,13 @@ def __init__(self, *args, vocoder=None, sampling_rate=None, **kwargs):\n if self.sampling_rate is None:\n # get sampling_rate from config and generation config\n \n- config = self.model.conf...
2023-09-22T15:55:54
golang/go
6817210edf5b4c54ddb0948fff0ed491456b470c
24fa159a2e5cba1c0038af7ae55802eb58fcb591
cmd/compile: mark amd64 HMUL ops as not commutative HMUL is commutative. However, it has asymmetric register requirements. There are existing rewrite rules to place arguments in preferable slots. Due to a bug, the existing rulegen commutativity engine doesn't generate the commuted form of the HMUL rules. The commuted...
[ { "path": "src/cmd/compile/internal/ssa/gen/AMD64Ops.go", "patch": "@@ -220,10 +220,13 @@ func init() {\n \t\t{name: \"MULLU\", argLength: 2, reg: regInfo{inputs: []regMask{ax, gpsp}, outputs: []regMask{ax, 0}, clobbers: dx}, typ: \"(UInt32,Flags)\", asm: \"MULL\", commutative: true, clobberFlags: true}, //...
2020-01-07T17:27:18
vuejs/vue
9cfd63a7d08c1eba029c8bd7463b3047c3347826
28ec3c7709b9d3cf18bfd1b2cbf6f1f2192d2ba4
fix weex tests
[ { "path": "test/weex/compiler/compile.spec.js", "patch": "@@ -3,28 +3,28 @@ import { compile } from '../../../packages/weex-template-compiler'\n describe('compile basic', () => {\n it('should be compiled', () => {\n const { render, staticRenderFns, errors } = compile(`<div>{{hi}}</div>`)\n- expect(...
2016-12-07T21:48:29
nodejs/node
329b6e908c04031c5ee5c7adae56f8c1dbaf37c6
e6395cc07ae54f81699e369d292da29ecf113a16
doc: fix code example in inspector.md PR-URL: https://github.com/nodejs/node/pull/13182 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
[ { "path": "doc/api/inspector.md", "patch": "@@ -85,8 +85,8 @@ a response is received. `callback` is a function that accepts two optional\n arguments - error and message-specific result.\n \n ```js\n-session.post('Runtime.evaluate', {'expression': '2 + 2'},\n- (error, {result}) => console.log(res...
2017-05-24T01:05:06
ggml-org/llama.cpp
725f23f1f3f0d3adf49f95d8dfa6e7c74adff149
92ecdcc06a4c405a415bcaa0cb772bc560aa23b1
sycl : backend documentation review (#13544) * sycl: reviewing and updating docs * Updates Runtime error codes * Improves OOM troubleshooting entry * Added a llama 3 sample * Updated supported models * Updated releases table
[ { "path": "docs/backend/SYCL.md", "patch": "@@ -17,25 +17,25 @@\n \n **SYCL** is a high-level parallel programming model designed to improve developers productivity writing code across various hardware accelerators such as CPUs, GPUs, and FPGAs. It is a single-source language designed for heterogeneous comp...
2025-05-19T13:38:20
huggingface/transformers
368a58e61cda8418af7f80dce6249cbf19db5e23
dcbfd93d7aeb14f8ff08a48866d2a68950d4c69a
[`core` ] Integrate Flash attention 2 in most used models (#25598) * v1 * oops * working v1 * fixup * add some TODOs * fixup * padding support + try with module replacement * nit * alternative design * oops * add `use_cache` support for llama * v1 falcon * nit * a bit of refactor...
[ { "path": "docs/source/en/perf_infer_gpu_many.md", "patch": "@@ -22,6 +22,10 @@ Note: A multi GPU setup can use the majority of the strategies described in the\n \n </Tip>\n \n+## Flash Attention 2\n+\n+Flash Attention 2 integration also works in a multi-GPU setup, check out the appropriate section in the [...
2023-09-22T15:42:10
rust-lang/rust
a041f3b2a13f6579055dac07fa712c214f401470
12058e867f1778d8a376d780baf2c67b460c5e72
fix clippy lint manual_repeat_n
[ { "path": "src/tools/miri/src/lib.rs", "patch": "@@ -36,8 +36,6 @@\n clippy::needless_question_mark,\n clippy::needless_lifetimes,\n clippy::too_long_first_doc_paragraph,\n- // Temporarily disabled as fixing it would cause conflicts\n- clippy::manual_repeat_n,\n // We don't use transla...
2025-01-30T10:03:10
vuejs/vue
d2f7f1913edadda57e9a386dde08df226b29fa1f
4b51ad048306367a6fb6fbee7445e086d855f31e
fix codegen tests
[ { "path": "test/unit/modules/compiler/codegen.spec.js", "patch": "@@ -29,346 +29,351 @@ function assertCodegen (template, generatedCode, ...args) {\n }\n \n /* eslint-disable quotes */\n-xdescribe('codegen', () => {\n+describe('codegen', () => {\n it('generate directive', () => {\n assertCodegen(\n ...
2016-12-05T01:29:51
golang/go
c4c73ce0e3a7b5c3a61678325c61b09783f76220
3457359b90c1b4ef0c9143d2d2e9575b3e72cf4b
go/importer: remove support for defunct binary export format Fixes #27999. Change-Id: I488681eff4fb8e2580cf97a2d7631110d66ab19e Reviewed-on: https://go-review.googlesource.com/c/go/+/143023 Reviewed-by: Rebecca Stambler <rstambler@golang.org>
[ { "path": "src/go/internal/gcimporter/bimport.go", "patch": "@@ -5,332 +5,18 @@\n package gcimporter\n \n import (\n-\t\"encoding/binary\"\n \t\"fmt\"\n-\t\"go/constant\"\n \t\"go/token\"\n \t\"go/types\"\n-\t\"sort\"\n-\t\"strconv\"\n-\t\"strings\"\n \t\"sync\"\n )\n \n-type importer struct {\n-\timports ...
2018-10-17T23:53:37
nodejs/node
e6395cc07ae54f81699e369d292da29ecf113a16
01a1022857ac29d2dae3eba288fb14ff4815f4d8
deps: cherry-pick 6803eef from V8 upstream Original commit message: Allow embedder to set promise internal field count Asynchronous context tracking mechanisms in Node.js need to store some state on all promise objects. This change will allow embedders to configure the number of internal fields on promises as...
[ { "path": "deps/v8/BUILD.gn", "patch": "@@ -38,6 +38,9 @@ declare_args() {\n # Sets -dENABLE_DISASSEMBLER.\n v8_enable_disassembler = \"\"\n \n+ # Sets the number of internal fields on promise objects.\n+ v8_promise_internal_field_count = 0\n+\n # Sets -dENABLE_GDB_JIT_INTERFACE.\n v8_enable_gdbji...
2017-05-23T19:17:17
ggml-org/llama.cpp
92ecdcc06a4c405a415bcaa0cb772bc560aa23b1
f71f40a2847d4c9f57b86cd206e0a27b2bfb6d1c
mtmd : add vision support for llama 4 (#13282) * wip llama 4 conversion * rm redundant __init__ * fix conversion * fix conversion * test impl * try this * reshape patch_embeddings_0 * fix view * rm ffn_post_norm * cgraph ok * f32 for pos embd * add image marker tokens * Llama4UnfoldConvolution * correct p...
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -308,6 +308,7 @@ def prepare_tensors(self):\n gguf.MODEL_TENSOR.TIME_MIX_LERP_FUSED,\n gguf.MODEL_TENSOR.POSNET_NORM1,\n gguf.MODEL_TENSOR.POSNET_NORM2,\n+ ...
2025-05-19T11:04:14
huggingface/transformers
dcbfd93d7aeb14f8ff08a48866d2a68950d4c69a
c3ecf2d95d6a9f614d968af2f8b4e317f381e5ec
[doc] fixed indices in obj detection example (#26343) fixed indexes in obj detection example
[ { "path": "docs/source/en/tasks/object_detection.md", "patch": "@@ -136,8 +136,8 @@ To get an even better understanding of the data, visualize an example in the dat\n >>> label2id = {v: k for k, v in id2label.items()}\n \n >>> for i in range(len(annotations[\"id\"])):\n-... box = annotations[\"bbox\"][i...
2023-09-22T14:29:27
golang/go
8a8adc23d4ee3b7e8aac8e2506f7ae0de72ce95f
2cdb2ecacc8aed6c420272c7861aee1331d6dbad
cmd/internal/moddeps: check for consistent versioning among all modules in GOROOT Updates #36851 Fixes #36907 Change-Id: I29627729d916e3b8132d46cf458ba856ffb0beeb Reviewed-on: https://go-review.googlesource.com/c/go/+/217218 Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org>...
[ { "path": "src/cmd/internal/moddeps/moddeps_test.go", "patch": "@@ -0,0 +1,223 @@\n+// Copyright 2020 The Go Authors. All rights reserved.\n+// Use of this source code is governed by a BSD-style\n+// license that can be found in the LICENSE file.\n+\n+package moddeps_test\n+\n+import (\n+\t\"encoding/json\"...
2020-01-30T22:13:01
vuejs/vue
7c3c86f36044ada983c09e7733841cb4c55de9d1
79e1058799dcde0b7e341ef44b590ecbf1e3a722
fix namespace hoisting
[ { "path": "src/core/vdom/create-component.js", "patch": "@@ -85,7 +85,7 @@ export function createComponent (\n const name = Ctor.options.name || tag\n const vnode = new VNode(\n `vue-component-${Ctor.cid}${name ? `-${name}` : ''}`,\n- data, undefined, undefined, undefined, undefined, context,\n+ ...
2016-12-03T17:19:27
nodejs/node
112ef23bba80c947799f3cc85c407543acb6c703
49e91e2649d9a27b46243e2fe6c23d96f9fcdc83
test: use common.mustNotCall in test-crypto-random Use `common.mustNotCall()` to confirm that noop callbacks are not run when functions throw errors. PR-URL: https://github.com/nodejs/node/pull/13183 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: ...
[ { "path": "test/parallel/test-crypto-random.js", "patch": "@@ -38,7 +38,8 @@ const expectedErrorRegexp = /^TypeError: size must be a number >= 0$/;\n [crypto.randomBytes, crypto.pseudoRandomBytes].forEach(function(f) {\n [-1, undefined, null, false, true, {}, []].forEach(function(value) {\n assert.thr...
2017-05-24T03:51:12
ggml-org/llama.cpp
6c35981a643d4f74a286268b62f65bfa156af2e6
8b5e19aea6ce9fe4452598663924373234041440
mnist: fix segmentation fault (ggml/1227)
[ { "path": "ggml/include/ggml-opt.h", "patch": "@@ -128,6 +128,8 @@ extern \"C\" {\n // set gradients to zero, initilize loss, and optionally reset the optimizer\n GGML_API void ggml_opt_reset(ggml_opt_context_t opt_ctx, bool optimizer);\n \n+ GGML_API bool ggml_opt_static_graphs(ggml_opt_context_...
2025-05-19T07:33:35
huggingface/transformers
c3ecf2d95d6a9f614d968af2f8b4e317f381e5ec
06ee91aebc3f498a96402a96f2242b5cd3fd627e
Fix doctest CI (#26324) fix doc CI Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "src/transformers/models/persimmon/modeling_persimmon.py", "patch": "@@ -790,11 +790,11 @@ def forward(\n ```python\n >>> from transformers import AutoTokenizer, PersimmonForCausalLM\n \n- >>> model = PersimmonForCausalLM.from_pretrained(\"ArthurZ/persimmon-8b-base\").cuda()...
2023-09-22T06:58:30
vuejs/vue
79e1058799dcde0b7e341ef44b590ecbf1e3a722
1def2d11a5a2a5bf8cd43d6751d0a5f4677b7e72
wip: refactor compiler to skip normalization when possible wip fix wip fix wip fix
[ { "path": "flow/component.js", "patch": "@@ -88,6 +88,8 @@ declare interface Component {\n _o: (vnode: VNode | Array<VNode>, index: number, key: string) => VNode | VNodeChildren;\n // toString\n _s: (value: any) => string;\n+ // text to VNode\n+ _v: (value: string | number) => VNode;\n // toNumber...
2016-12-03T12:10:45
golang/go
9c68d85db57ea68d9631aa36622653c06d2bbbca
729930869064b1c6989b70ef8517a101d42c7f9b
cmd/go/testdata/script: fix typo in get_domain_root.txt golang.org/cl/214141 introduced the typo 'skup' for 'skip', which broke tests. This change fixes it. Change-Id: I1b3c230b545f1c093d3e0feedc3b41f3f0b41bec Reviewed-on: https://go-review.googlesource.com/c/go/+/220157 Run-TryBot: Michael Matloob <matloob@golang.or...
[ { "path": "src/cmd/go/testdata/script/get_domain_root.txt", "patch": "@@ -2,7 +2,7 @@\n # go get foo.io (not foo.io/subdir) was not working consistently.\n \n [!net] skip\n-[!exec:git] skup\n+[!exec:git] skip\n \n # go-get-issue-9357.appspot.com is running\n # the code at github.com/rsc/go-get-issue-9357,",...
2020-02-19T21:28:26
ggml-org/llama.cpp
8b5e19aea6ce9fe4452598663924373234041440
60aea028b575ab54e0dfbb31db641bb93d2ae8c4
ggml : fix apple OS check in ggml_print_backtrace (ggml/1229)
[ { "path": "ggml/src/ggml.c", "patch": "@@ -64,8 +64,10 @@\n // precomputed f32 table for f16 (256 KB) (ggml-impl.h)\n float ggml_table_f32_f16[1 << 16];\n \n-#if (defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)) && \\\n- (!defined(TARGET_OS_...
2025-05-19T01:30:13
nodejs/node
ab28e0a86a82eb3f7363b980fcb91261d7e7a2a0
196190015df5bd434f62ccdd893add2f71903414
test: skip test-bindings if inspector is disabled If node is configured --without-inspector/--without-ssl this test will fail with the following error: Path: inspector/test-bindings inspector.js:8 throw new Error('Inspector is not available'); ^ Error: Inspector is not available at inspector.js:8:9 at Nat...
[ { "path": "test/inspector/test-bindings.js", "patch": "@@ -1,5 +1,6 @@\n 'use strict';\n-require('../common');\n+const common = require('../common');\n+common.skipIfInspectorDisabled();\n const assert = require('assert');\n const inspector = require('inspector');\n const path = require('path');\n@@ -81,7 +8...
2017-05-24T03:46:57
huggingface/transformers
587b7b16ceb7913478cae74a105b5342e8d8449f
000e52aec8850d3fe2f360adc6fd256e5b47fe4c
[QUICK FIX LINK] Update trainer.py (#26293) * Update trainer.py Fix link * Update src/transformers/trainer.py Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com> * Update trainer.py --------- Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>
[ { "path": "src/transformers/trainer.py", "patch": "@@ -378,7 +378,7 @@ def __init__(\n f\"The model you have picked ({model.__class__.__name__}) cannot be used as is for training: it only \"\n \"computes hidden states and does not accept any labels. You should choose a model ...
2023-09-22T01:33:29
vuejs/vue
1def2d11a5a2a5bf8cd43d6751d0a5f4677b7e72
7431e4d16c92862ac74fdb3053de9295c809b586
fix test for emptyVNode rename
[ { "path": "test/unit/modules/vdom/create-element.spec.js", "patch": "@@ -1,6 +1,6 @@\n import Vue from 'vue'\n import { createElement } from 'core/vdom/create-element'\n-import { emptyVNode } from 'core/vdom/vnode'\n+import { createEmptyVNode } from 'core/vdom/vnode'\n import { bind } from 'shared/util'\n \...
2016-12-03T04:57:39
ggml-org/llama.cpp
60aea028b575ab54e0dfbb31db641bb93d2ae8c4
9c55e5c5c24990dd17fd6c8f4f2159052d2b06f1
ggml : Fix missing backtrace on Linux (ggml/1228) * Modern Linux defaults /proc/sys/kernel/yama/ptrace_scope to 1 * Fixed lldb attach * Simplify by having the child do ggml_print_backtrace_symbols
[ { "path": "ggml/src/ggml.c", "patch": "@@ -70,6 +70,9 @@ float ggml_table_f32_f16[1 << 16];\n #include <sys/types.h>\n #include <sys/stat.h>\n #include <sys/wait.h>\n+#if defined(__linux__)\n+#include <sys/prctl.h>\n+#endif\n \n #if defined(__ANDROID__)\n #include <unwind.h>\n@@ -133,10 +136,36 @@ static vo...
2025-05-17T23:06:26
rust-lang/rust
51eaa0d56aadeea9eb3a3c011189d20bf9333bc7
4a5f1cc52b7546c61462f1d92b60cc80d40e170f
Clean up uses of the unstable `dwarf_version` option - Consolidate calculation of the effective value. - Check the target `DebuginfoKind` instead of using `is_like_msvc`.
[ { "path": "compiler/rustc_codegen_llvm/src/debuginfo/metadata.rs", "patch": "@@ -919,8 +919,7 @@ pub(crate) fn build_compile_unit_di_node<'ll, 'tcx>(\n .unwrap_or_default();\n let kind = DebugEmissionKind::from_generic(tcx.sess.opts.debuginfo);\n \n- let dwarf_version =\n- tcx.sess.opt...
2025-01-19T19:04:28
huggingface/transformers
000e52aec8850d3fe2f360adc6fd256e5b47fe4c
9a30753485653697c7db79e12b0cb2b8872c94c6
More error message fixup, plus some linebreaks! (#26296) * More error message fixup, plus some linebreaks! * Update src/transformers/dynamic_module_utils.py Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com> * Update src/transformers/dynamic_module_utils.py Co-authored-by: Arthur <4859...
[ { "path": "src/transformers/dynamic_module_utils.py", "patch": "@@ -575,9 +575,8 @@ def _set_auto_map_in_config(_config):\n \n def _raise_timeout_error(signum, frame):\n raise ValueError(\n- \"Loading this model requires you to execute the configuration file in that repo on your local machine. We...
2023-09-21T16:36:05
vuejs/vue
1cf377f190edec763e2d6536e5cd7bbe99155c38
a8f41399ef7538176f8207af7b6a1180f3a13505
bind value as property for <select> (fix #4369)
[ { "path": "src/platforms/web/util/attrs.js", "patch": "@@ -3,9 +3,10 @@\n import { makeMap } from 'shared/util'\n \n // attributes that should be using props for binding\n+const acceptValue = makeMap('input,textarea,option,select')\n export const mustUseProp = (tag: string, attr: string): boolean => {\n r...
2016-12-02T13:54:40
nodejs/node
2af49b6c89dd4355ec0c1779fdb1fb12cf10e68d
b3d1e3d4c720729c8f14e413a285660547ee677a
doc: make the style of notes consistent Make the style of "Note:" paragraphs consistent and document the guidelines in `doc/STYLE_GUIDE.md`. PR-URL: https://github.com/nodejs/node/pull/13133 Fixes: https://github.com/nodejs/node/issues/13131 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Luigi Pinca <l...
[ { "path": "doc/STYLE_GUIDE.md", "patch": "@@ -61,6 +61,10 @@\n * References to constructor instances should use camelCase.\n * References to methods should be used with parentheses: for example,\n `socket.end()` instead of `socket.end`.\n+* To draw special attention to a note, adhere to the following guid...
2017-05-20T20:15:58
ggml-org/llama.cpp
9c55e5c5c24990dd17fd6c8f4f2159052d2b06f1
33d7aed4a83e7bbecac4af535208d4ed3e1ca8fd
fix: check model pointer validity before use (#13631)
[ { "path": "examples/simple/simple.cpp", "patch": "@@ -84,13 +84,13 @@ int main(int argc, char ** argv) {\n model_params.n_gpu_layers = ngl;\n \n llama_model * model = llama_model_load_from_file(model_path.c_str(), model_params);\n- const llama_vocab * vocab = llama_model_get_vocab(model);\n \n ...
2025-05-19T10:25:41
huggingface/transformers
9a30753485653697c7db79e12b0cb2b8872c94c6
b132c1703eb1c8bd9dfa4ad6a9be2bfd6ef819e9
Porting the torchaudio kaldi fbank implementation to audio_utils (#26182) * add kaldi fbank * make style * add herz_to_mel_kaldi tests * add mel to hertz kaldi test * integration tests * correct test and remove comment * make style * Apply suggestions from code review Co-authored-by: Sanchit Ga...
[ { "path": "src/transformers/audio_utils.py", "patch": "@@ -30,17 +30,19 @@ def hertz_to_mel(freq: Union[float, np.ndarray], mel_scale: str = \"htk\") -> Unio\n freq (`float` or `np.ndarray`):\n The frequency, or multiple frequencies, in hertz (Hz).\n mel_scale (`str`, *optional*,...
2023-09-21T15:52:47
vuejs/vue
c4da6c7f9cc606ed1da1a374021685ca3dd00df9
abb966b0b62b5f6077816192b41901a3a2e68b52
fix select multiple warning test case in IE
[ { "path": "test/unit/features/directives/model-select.spec.js", "patch": "@@ -334,15 +334,19 @@ describe('Directive v-model select', () => {\n .toHaveBeenWarned()\n })\n \n- it('should warn multiple with non-Array value', () => {\n+ it('should warn multiple with non-Array value', done => {\n n...
2016-12-01T23:32:46
nodejs/node
b3d1e3d4c720729c8f14e413a285660547ee677a
a109032260148242fa1f1b911a1a8a142ce95d86
fs: fix realpath{Sync} on resolving pipes/sockets PR-URL: https://github.com/nodejs/node/pull/13028 Reviewed-By: Refael Ackermann <refack@gmail.com>
[ { "path": "doc/api/fs.md", "patch": "@@ -1840,6 +1840,9 @@ Synchronous version of [`fs.read()`][]. Returns the number of `bytesRead`.\n <!-- YAML\n added: v0.1.31\n changes:\n+ - version: REPLACEME\n+ pr-url: https://github.com/nodejs/node/pull/13028\n+ description: Pipe/Socket resolve support was ad...
2017-05-14T22:57:54
ggml-org/llama.cpp
e3a7cf6c5bf6a0a24217f88607b06e4405a2b5d9
518329b2d4434d0683c30b741b4f4cf5734b5f99
cmake: use the current build config for vulkan-shaders-gen (#13595) * fix: use the current build config for `vulkan-shaders-gen` * fix: only pass a valid build type to `--config`
[ { "path": "ggml/src/ggml-vulkan/CMakeLists.txt", "patch": "@@ -54,6 +54,11 @@ if (Vulkan_FOUND)\n -DCMAKE_RUNTIME_OUTPUT_DIRECTORY=${CMAKE_RUNTIME_OUTPUT_DIRECTORY}\n )\n \n+ set(VULKAN_SHADER_GEN_CMAKE_BUILD_ARGS \"\")\n+ if (CMAKE_BUILD_TYPE AND CMAKE_BUILD_TYPE MATCHES \"Debug|Release|M...
2025-05-17T18:26:43
huggingface/transformers
26ba56ccbd8695c2990804c1933d08ad3b9907e0
da971b2271728addaac5b8fd3fb68a2894e71995
Fix FSMT weight sharing (#26292)
[ { "path": "src/transformers/models/fsmt/modeling_fsmt.py", "patch": "@@ -1056,8 +1056,9 @@ def get_decoder(self):\n return self.decoder\n \n def _tie_weights(self):\n- self._tie_or_clone_weights(self.decoder.embed_tokens, self.get_input_embeddings())\n- self._tie_or_clone_weights(s...
2023-09-21T12:46:05
vuejs/vue
abb966b0b62b5f6077816192b41901a3a2e68b52
4fcb25330136d45a1473a83cdac9e82e9e38c3b1
fix stateful higher order transition components
[ { "path": "src/platforms/web/runtime/modules/transition.js", "patch": "@@ -51,10 +51,12 @@ export function enter (vnode: VNodeWithData) {\n // transition. One edge case to check is when the <transition> is placed\n // as the root node of a child component. In that case we need to check\n // <transitio...
2016-12-01T22:47:29
golang/go
8df6a5d9ad31ffbbf7828e322c1eb6ef11ed2bd0
b15fd6b39e29edfe7f4b332458ddc71cffdaacc4
cmd/go: convert some coverage tests to the script framework This change converts TestCoverageFunc, TestCoverageDashC, TestCoverageSyncAtomicImport, TestCoverageErrorLine, TestCoverageDepLoop, TestCoverageDotImport, and TestTestBuildFailureOutput to the script framework. It adds a -exec modifier to the script framewor...
[ { "path": "src/cmd/go/go_test.go", "patch": "@@ -2052,40 +2052,6 @@ func TestCoverageRuns(t *testing.T) {\n \tcheckCoverage(tg, data)\n }\n \n-func TestCoverageDotImport(t *testing.T) {\n-\tskipIfGccgo(t, \"gccgo has no cover tool\")\n-\ttooSlow(t)\n-\ttg := testgo(t)\n-\tdefer tg.cleanup()\n-\ttg.parallel(...
2019-12-27T00:24:41
rust-lang/rust
b320e1741c738363184c87657f972a739d704908
4a5f1cc52b7546c61462f1d92b60cc80d40e170f
Remove minor future footgun in `impl Debug for MaybeUninit` No longer breaks if `MaybeUninit` moves modules (technically it could break if `MaybeUninit` were renamed but realistically that will never happen)
[ { "path": "library/core/src/mem/maybe_uninit.rs", "patch": "@@ -276,10 +276,9 @@ impl<T: Copy> Clone for MaybeUninit<T> {\n impl<T> fmt::Debug for MaybeUninit<T> {\n fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {\n // NB: there is no `.pad_fmt` so we can't use a simpler `format_args!...
2025-01-30T01:23:59
ggml-org/llama.cpp
2f5a4e1e09567e09be8b84a5f976334de9539d17
4f41ee11d6a4ddb02e4644922bf0b56880ee6f55
vulkan: move common FA code to flash_attn_base.comp (#13556) * vulkan: move common FA code to flash_attn_base.comp * vulkan: move common FA index/stride setup code to flash_attn_base.comp * build fix
[ { "path": "ggml/src/ggml-vulkan/vulkan-shaders/flash_attn.comp", "patch": "@@ -9,60 +9,13 @@\n #extension GL_KHR_shader_subgroup_shuffle : enable\n \n #include \"types.comp\"\n+#include \"flash_attn_base.comp\"\n \n-layout(local_size_x_id = 0, local_size_y = 1, local_size_z = 1) in;\n-\n-layout (constant_id...
2025-05-17T07:14:55
nodejs/node
6caf1b093ab0176b8ded68a53ab1ab72259bb1e0
1cde37576392f16c8652cde62804c248c77f70fb
src: add linux getauxval(AT_SECURE) in SafeGetenv This commit attempts to fix the following TODO: // TODO(bnoordhuis) Should perhaps also check whether getauxval(AT_SECURE) is non-zero on Linux. This can be manually tested at the moment using the following steps: $ setcap cap_net_raw+ep out/Release/node $ NODE_PENDI...
[ { "path": "src/node.cc", "patch": "@@ -230,6 +230,8 @@ bool config_expose_internals = false;\n \n bool v8_initialized = false;\n \n+bool linux_at_secure = false;\n+\n // process-relative uptime base, initialized at start-up\n static double prog_start_time;\n \n@@ -965,13 +967,15 @@ Local<Value> UVException(...
2017-04-20T18:08:53
vuejs/vue
4fcb25330136d45a1473a83cdac9e82e9e38c3b1
e8d6bd9dc73cacbc665ce132d81a7b629bef764b
fix keyCodes proxy set return value
[ { "path": "src/core/instance/proxy.js", "patch": "@@ -32,8 +32,10 @@ if (process.env.NODE_ENV !== 'production') {\n set (target, key, value) {\n if (isBuiltInModifier(key)) {\n warn(`Avoid overwriting built-in modifier in config.keyCodes: .${key}`)\n+ return false\n ...
2016-12-01T22:46:31
huggingface/transformers
da971b2271728addaac5b8fd3fb68a2894e71995
e3a4bd2bee212a2d0fd9f03b27fe7bfc1debe42d
Keep relevant weights in fp32 when `model._keep_in_fp32_modules` is set even when `accelerate` is not installed (#26225) * fix bug where weight would not be kept in fp32 * nit * address review comments * fix test
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -2950,26 +2950,18 @@ def from_pretrained(\n dtype_orig = cls._set_default_torch_dtype(torch_dtype)\n \n # Check if `_keep_in_fp32_modules` is not None\n- use_keep_in_fp32_modules = (\n- (cls._k...
2023-09-21T10:00:03
golang/go
a9ea91d571b75d27a49e07f3604b8faa7a48525d
88e564edb13f1596c12ad16d5fd3c7ac7deac855
cmd/link, runtime: skip holes in func table On PPC64 when external linking, for large binaries we split the text section to multiple sections, so the external linking may insert trampolines between sections. These trampolines are within the address range covered by the func table, but not known by Go. This causes runt...
[ { "path": "src/cmd/link/internal/ld/pcln.go", "patch": "@@ -138,6 +138,7 @@ func (ctxt *Link) pclntab() {\n \n \t// Gather some basic stats and info.\n \tvar nfunc int32\n+\tprevSect := ctxt.Textp[0].Sect\n \tfor _, s := range ctxt.Textp {\n \t\tif !emitPcln(ctxt, s) {\n \t\t\tcontinue\n@@ -146,6 +147,14 @@...
2020-02-16T21:18:04
ggml-org/llama.cpp
6aa892ec2aa7fe0c93e87c4b970d83a942fb9454
aea9f8b4e73876739bf88fb705502f291294e469
server : do not return error out of context (with ctx shift disabled) (#13577)
[ { "path": "tools/server/server.cpp", "patch": "@@ -2251,6 +2251,14 @@ struct server_context {\n slot.has_next_token = true;\n }\n \n+ // if context shifting is disabled, make sure that we don't run out of context\n+ if (!params_base.ctx_shift && slot.n_past + 1 >= slot.n_ct...
2025-05-16T19:50:00
vuejs/vue
db0bf76e51262636ebd820ad56f2935737d038ac
de7764a38573e6e08498e9771d566968432d39e9
fix keep-alive component inner transition (fix #4339)
[ { "path": "src/core/vdom/patch.js", "patch": "@@ -20,7 +20,7 @@ import { registerRef } from './modules/ref'\n \n export const emptyNode = new VNode('', {}, [])\n \n-const hooks = ['create', 'update', 'remove', 'destroy']\n+const hooks = ['create', 'activate', 'update', 'remove', 'destroy']\n \n function isU...
2016-12-01T04:29:03
nodejs/node
1cde37576392f16c8652cde62804c248c77f70fb
920278bd3764e11cbd5dfdd70e76a75f2c976e16
build: fix openssl link error on windows This commit attempts to fix an issue when building on windows using the following command line options: .\vcbuild.bat dll debug x64 vc2015 This will result in the following options passed to configure: configure --debug --shared --dest-cpu=x64 --tag= This commit excludes the ...
[ { "path": "node.gyp", "patch": "@@ -277,7 +277,7 @@\n # Categories to export.\n '-CAES,BF,BIO,DES,DH,DSA,EC,ECDH,ECDSA,ENGINE,EVP,HMAC,MD4,MD5,'\n 'NEXTPROTONEG,PSK,RC2,RC4,RSA,SHA,SHA0,SHA1,SHA256,SHA512,SOCK,'\n- 'STDIO,TLSEXT',\n+ 'STDIO...
2017-05-16T17:56:59
huggingface/transformers
e3a4bd2bee212a2d0fd9f03b27fe7bfc1debe42d
0b5024ce725a0f6b6d8cfe740e7a2a6021257c37
add custom RMSNorm to `ALL_LAYERNORM_LAYERS` (#26227) * add LlamaRMSNorm to ALL_LAYERNORM_LAYERS * fixup * add IdeficsRMSNorm to ALL_LAYERNORM_LAYERS and fixup
[ { "path": "src/transformers/models/idefics/modeling_idefics.py", "patch": "@@ -31,6 +31,7 @@\n from ...activations import ACT2FN\n from ...modeling_outputs import ModelOutput\n from ...modeling_utils import PretrainedConfig\n+from ...pytorch_utils import ALL_LAYERNORM_LAYERS\n from ...utils import (\n a...
2023-09-20T16:51:56
rust-lang/rust
3899d14db6e882f097682819a55ba30e4bc5b7d9
ae5de6c759cd337ecdb2de4e94f47eaafb5d4606
fix broken release notes id
[ { "path": "RELEASES.md", "patch": "@@ -1,8 +1,7 @@\n Version 1.84.0 (2025-01-09)\n ==========================\n \n-<a id=\"\n-Language\"></a>\n+<a id=\"1.84.0-Language\"></a>\n \n Language\n --------", "additions": 1, "deletions": 2, "language": "Markdown" } ]
2025-01-29T22:51:03
golang/go
4b8715bd81662dbd492e3ff2b11cdd324005255b
9d673bf1db091db5660e941c1c7d2fd40e268d44
[dev.link] cmd/link: fix broken build CL 219226 was submitted before syncing. Change-Id: I5cb26b2fd06cbf3d3de69d6e1235efcff5ca089d Reviewed-on: https://go-review.googlesource.com/c/go/+/219878 Run-TryBot: Jeremy Faller <jeremy@golang.org> Reviewed-by: Austin Clements <austin@google.com> TryBot-Result: Gobot Gobot <go...
[ { "path": "src/cmd/link/internal/ld/data.go", "patch": "@@ -939,13 +939,14 @@ func addstrdata(arch *sys.Arch, l *loader.Loader, name, value string) {\n \t\tErrorf(nil, \"%s: cannot set with -X: not a var of type string (%s)\", name, typeName)\n \t\treturn\n \t}\n-\tbld, s := l.MakeSymbolUpdater(s)\n+\tbld :...
2020-02-18T15:54:26
vuejs/vue
de7764a38573e6e08498e9771d566968432d39e9
dde0454e7e6ee6ee9fe093bcfd4e943444b0ee12
refactor patch createElm function, fix component hook merging
[ { "path": "src/core/vdom/create-component.js", "patch": "@@ -172,7 +172,6 @@ function init (\n // kept-alive components, treat as a patch\n const mountedNode: any = vnode // work around flow\n prepatch(mountedNode, mountedNode)\n- return true // let the patcher know this is a reactivated comp...
2016-11-30T19:20:40
ggml-org/llama.cpp
aea9f8b4e73876739bf88fb705502f291294e469
06c1e4abc1e50ef6dcf6369f9685ca8fe82d21fe
webui : improve accessibility for visually impaired people (#13551) * webui : improve accessibility for visually impaired people * add a11y for extra contents * fix some labels being read twice * add skip to main content
[ { "path": "tools/server/webui/src/App.tsx", "patch": "@@ -28,13 +28,13 @@ function AppLayout() {\n return (\n <>\n <Sidebar />\n- <div\n+ <main\n className=\"drawer-content grow flex flex-col h-screen w-screen mx-auto px-4 overflow-auto bg-base-100\"\n id=\"main-scroll\...
2025-05-16T19:49:01
huggingface/transformers
245532065d3ceddf1c0f8cb3e60ab6451861100a
f29fe7458953dbf00addaf793d95ea1965bc8441
fix deepspeed available detection (#26252)
[ { "path": "src/transformers/integrations/deepspeed.py", "patch": "@@ -15,6 +15,7 @@\n Integration with Deepspeed\n \"\"\"\n \n+import importlib.metadata as importlib_metadata\n import importlib.util\n import weakref\n from functools import partialmethod\n@@ -32,7 +33,16 @@\n \n \n def is_deepspeed_available...
2023-09-20T14:40:14
nodejs/node
e51a20160923a54b796b1955fcb8e00194b4c240
0903dcf80cbe7c9e3566a6f104cda895e106949a
deps: backport 6d38f89d from upstream V8 Original commit message: [turbofan] Boost performance of Array.prototype.shift by 4x. For small arrays, it's way faster to just move the elements instead of doing the fairly complex and heavy-weight left-trimming. Crankshaft has had this optimization for small arrays a...
[ { "path": "deps/v8/include/v8-version.h", "patch": "@@ -11,7 +11,7 @@\n #define V8_MAJOR_VERSION 5\n #define V8_MINOR_VERSION 8\n #define V8_BUILD_NUMBER 283\n-#define V8_PATCH_LEVEL 39\n+#define V8_PATCH_LEVEL 40\n \n // Use 1 for candidates and 0 otherwise.\n // (Boolean macro values are not supported by ...
2017-05-22T21:59:10
rust-lang/rust
022c0ce94787a76587fd39519f1358acd98fed49
01a26c026ddd9f0da0307468b07b003b8759fc4a
Remove `NamedVarMap`. `NamedVarMap` is extremely similar to `ResolveBoundVars`. The former contains two `UnordMap<ItemLocalId, T>` fields (obscured behind `ItemLocalMap` typedefs). The latter contains two `SortedMap<ItemLocalId, T>` fields. We construct a `NamedVarMap` and then convert it into a `ResolveBoundVars` by ...
[ { "path": "compiler/rustc_hir_analysis/src/collect/resolve_bound_vars.rs", "patch": "@@ -12,21 +12,19 @@ use std::ops::ControlFlow;\n \n use rustc_ast::visit::walk_list;\n use rustc_data_structures::fx::{FxHashSet, FxIndexMap, FxIndexSet};\n-use rustc_data_structures::sorted_map::SortedMap;\n use rustc_erro...
2025-01-29T22:12:35
golang/go
3eab754cd061bf90ee7b540546bc0863f3ad1d85
123f7dd3e1eb90825ece57b8dde39438ca34f150
runtime: correct caller PC/SP offsets in walltime1/nanotime1 In walltime1/nanotime1, we save the caller's PC and SP for stack unwinding. The code does that assumed zero frame size. Now that the frame size is not zero, correct the offset. Rewrite it in a way that doesn't depend on hard-coded frame size. May fix #37127...
[ { "path": "src/runtime/sys_linux_386.s", "patch": "@@ -233,9 +233,9 @@ TEXT runtime·walltime1(SB), NOSPLIT, $0-12\n \tMOVL\tg_m(AX), SI // SI unchanged by C code.\n \n \t// Set vdsoPC and vdsoSP for SIGPROF traceback.\n-\tMOVL\t0(SP), DX\n-\tMOVL\tDX, m_vdsoPC(SI)\n-\tLEAL\tsec+0(SP), DX\n+\tLEAL\tsec+0(FP)...
2020-02-11T20:09:39
huggingface/transformers
2d71307dc0ee2849f785568f345837e726209fc6
37c205eb5d5165b70d3100b599a2bcfc483944f5
Integrate AMD GPU in CI/CD environment (#26007) * Add a Dockerfile for PyTorch + ROCm based on official AMD released artifact * Add a new artifact single-amdgpu testing on main * Attempt to test the workflow without merging. * Changed BERT to check if things are triggered * Meet the dependencies graph on w...
[ { "path": ".github/workflows/build-docker-images.yml", "patch": "@@ -34,19 +34,19 @@ jobs:\n sudo du -sh /usr/share/\n -\n name: Set up Docker Buildx\n- uses: docker/setup-buildx-action@v2\n+ uses: docker/setup-buildx-action@v3\n -\n name: Check out code\n...
2023-09-20T12:48:49
ggml-org/llama.cpp
0a338ed013c23aecdce6449af736a35a465fa60f
bc098c3cf0aac93e57e9bda9d95e2456acf88894
sycl : fixed compilation warnings (#13582)
[ { "path": "ggml/src/ggml-sycl/element_wise.cpp", "patch": "@@ -655,7 +655,6 @@ inline void ggml_sycl_op_sgn(ggml_backend_sycl_context & ctx, ggml_tensor * dst)\n }\n default:\n GGML_ABORT(\"GGML tensor type not supported!\\n\");\n- break;\n }\n }\n \n@@ -688,7 ...
2025-05-16T10:15:29
nodejs/node
bbf74fb87b2f8273e1d93e949f9c840b12ce4805
3954ea9f41b187915c4812ff6f360276bc94028c
test: fix disabled test-fs-largefile Add `common.refreshTmpDir()` before using the tmp directory. fs.writeSync no longer requires an integer for the position argument, so change test from `assert.throws()` to `assert.doesNotThrow()`. The test now passes. Because it involves a 5 GB file, we're not going to activate t...
[ { "path": "test/disabled/test-fs-largefile.js", "patch": "@@ -21,13 +21,17 @@\n \n 'use strict';\n const common = require('../common');\n+\n const assert = require('assert');\n-const path = require('path'),\n- fs = require('fs'),\n- filepath = path.join(common.tmpDir, 'large.txt'),\n- fd = fs.openS...
2017-05-22T01:30:18
golang/go
e237df5b53eb91d7a8d7247e7996f5edee6515b7
363bcd0068bcc64ec09ab3d09921f559ca6d8070
runtime: fix fallback logic for aeshash on 32/64 bit We were using the fallback hash unconditionally. Oops. Fixes #37212 Change-Id: Id37d4f5c08806fdda12a3148ba4dbc46676eeb54 Reviewed-on: https://go-review.googlesource.com/c/go/+/219337 Run-TryBot: Keith Randall <khr@golang.org> TryBot-Result: Gobot Gobot <gobot@gol...
[ { "path": "src/runtime/asm_amd64.s", "patch": "@@ -1244,7 +1244,6 @@ aesloop:\n TEXT runtime·memhash32(SB),NOSPLIT,$0-24\n \tCMPB\truntime·useAeshash(SB), $0\n \tJEQ\tnoaes\n-\tJMP\truntime·memhash32Fallback(SB)\n \tMOVQ\tp+0(FP), AX\t// ptr to data\n \tMOVQ\th+8(FP), X0\t// seed\n \tPINSRD\t$2, (AX), X0\t/...
2020-02-13T15:37:28
ggml-org/llama.cpp
c6a2c9e7411f54b0770b319740561bbd6a2ebd27
07ad2b6db3c117868728e2cdfe3b711473d66e14
gguf : use ggml log system (#13571) * gguf : use ggml log system * llama : remove unnecessary new lines in exception messages
[ { "path": "ggml/src/gguf.cpp", "patch": "@@ -299,10 +299,10 @@ bool gguf_read_emplace_helper(const struct gguf_reader & gr, std::vector<struct\n return false;\n }\n } catch (std::length_error &) {\n- fprintf(stderr, \"%s: encountered length_error while reading ...
2025-05-15T17:13:11
huggingface/transformers
37c205eb5d5165b70d3100b599a2bcfc483944f5
86ffd5ffa2eb597a1cfc8fc2d81ece40031b7daf
Update bros checkpoint (#26277) * fix bros integration test * update bros checkpoint
[ { "path": "src/transformers/models/bros/configuration_bros.py", "patch": "@@ -21,8 +21,8 @@\n logger = logging.get_logger(__name__)\n \n BROS_PRETRAINED_CONFIG_ARCHIVE_MAP = {\n- \"naver-clova-ocr/bros-base-uncased\": \"https://huggingface.co/naver-clova-ocr/bros-base-uncased/resolve/main/config.json\",\...
2023-09-20T08:22:07
rust-lang/rust
81035da5511ff2f1bd47aefd5a7ff6733df6d419
96576234dbe91190cfe5345c77dba2b739e4c941
Fix usage of proc_macro2::Punct. Restructure stdarch-gen-arm to use `Group`s with `Delimiter`s rather than ad-hoc `Punct`s. `Punct` should only be used to represent specific characters, and never for bracket-like characters. Recent versions of `Punct::new` check this with an assertion. Note that there doesn't appear...
[ { "path": "library/stdarch/crates/stdarch-gen-arm/Cargo.toml", "patch": "@@ -12,7 +12,7 @@ edition = \"2021\"\n # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html\n \n [dependencies]\n-itertools = \"0.10\"\n+itertools = \"0.14.0\"\n lazy_static = \"1.4.0\"\n pro...
2025-01-27T17:11:50
vuejs/vue
dde0454e7e6ee6ee9fe093bcfd4e943444b0ee12
66bacb015c5edd27420c4f1ca181f4c36c315240
fix static style parse error. (#4349)
[ { "path": "src/platforms/web/util/style.js", "patch": "@@ -4,10 +4,8 @@ import { cached, extend, toObject } from 'shared/util'\n \n export const parseStyleText = cached(function (cssText) {\n const res = {}\n- const hasBackground = cssText.indexOf('background') >= 0\n- // maybe with background-image: ur...
2016-11-30T18:53:20
nodejs/node
3954ea9f41b187915c4812ff6f360276bc94028c
f5df94bf78edbf71a2fae98b8ca1ba7eb0597d9b
inspector: document bad usage for --inspect-port Document --inspect-port, and fix the reporting for when it is misused. The option requires an argument, but when the argument was omitted, the error message incorrectly reported --inspect-port as being bad, as if was not supported at all: % node --inspect-port ...
[ { "path": "doc/api/cli.md", "patch": "@@ -112,6 +112,18 @@ added: v7.6.0\n -->\n \n Activate inspector on host:port and break at start of user script.\n+Default host:port is 127.0.0.1:9229.\n+\n+\n+### `--inspect-port=[host:]port`\n+<!-- YAML\n+added: v7.6.0\n+-->\n+\n+Set the host:port to be used when the ...
2017-04-22T03:34:54
ggml-org/llama.cpp
07ad2b6db3c117868728e2cdfe3b711473d66e14
c531edfa34fec8074d0b424396cdd450df23b612
gguf-py : fix disconnect-before-connect in editor-gui (#13569) The bug caused a crash upon load with venvs created with --system-site-packages to use python3-pyside6.qtwidgets=python3-pyside6.qtwidgets=6.6.2-4 from Kubuntu 24.10.
[ { "path": "gguf-py/gguf/scripts/gguf_editor_gui.py", "patch": "@@ -823,6 +823,7 @@ def __init__(self):\n self.modified = False\n self.metadata_changes = {} # Store changes to apply when saving\n self.metadata_to_remove = set() # Store keys to remove when saving\n+ self.on_me...
2025-05-15T16:47:10
huggingface/transformers
86ffd5ffa2eb597a1cfc8fc2d81ece40031b7daf
382ba670ed2376a9454c3c841fae4819118ec4f5
fix name error when accelerate is not available (#26278) * fix name error when accelerate is not available * fix `is_fsdp_available`
[ { "path": "src/transformers/utils/import_utils.py", "patch": "@@ -607,7 +607,7 @@ def is_accelerate_available(min_version: str = None):\n \n \n def is_fsdp_available(min_version: str = \"1.12.0\"):\n- return version.parse(_torch_version) >= version.parse(min_version)\n+ return is_torch_available() and...
2023-09-20T06:02:55
vuejs/vue
9215ff0295ddd43d7d3d85c68a2bdb76f7c1bf63
b7fd05380de77e238bc6287d84fca7863444eb6e
Modifier once for v-on (#4267) * Modifier once for v-on * Reformat code * Modifier once for v-on: using removeEventListener instead, bug fix of handler arguments passing, bug fix of modifier ordering problem * Enhancement of event listener removal which allows rendering of capturing / once events for render f...
[ { "path": "src/compiler/helpers.js", "patch": "@@ -46,6 +46,10 @@ export function addHandler (\n delete modifiers.capture\n name = '!' + name // mark the event as captured\n }\n+ if (modifiers && modifiers.once) {\n+ delete modifiers.once\n+ name = '~' + name // mark the event as once\n+ }...
2016-11-30T17:15:18
golang/go
73859478257884608030e5e8d774ffa3321f0ecf
5ce8005990f77d06f19cf70029353fb911d63d1f
cmd/go/internal/modcmd: remove dead function addModFlag This function is never called and should have been removed earlier. work.AddModCommonFlags defines the -modfile flag instead. Fixes #37189 Change-Id: I73ad2a727013a849cba44bf70de04160f37c97dd Reviewed-on: https://go-review.googlesource.com/c/go/+/219197 Run-Try...
[ { "path": "src/cmd/go/internal/modcmd/mod.go", "patch": "@@ -7,7 +7,6 @@ package modcmd\n \n import (\n \t\"cmd/go/internal/base\"\n-\t\"cmd/go/internal/cfg\"\n )\n \n var CmdMod = &base.Command{\n@@ -32,7 +31,3 @@ See 'go help modules' for an overview of module functionality.\n \t\tcmdWhy,\n \t},\n }\n-\n-...
2020-02-12T15:14:12
nodejs/node
e912c67d24ba42eeb47431a2b163f7f8a8532c78
1aad4ba2841120d04661681cd7a60b7124912d42
dgram: convert to using internal/errors Covert lib/dgram.js over to using lib/internal/errors.js for generating Errors. See [using-internal-errors.md](https://github.com/nodejs/node/blob/master/doc/guides/using-internal-errors.md) for more details. I have not addressed the cases that use errnoException() and exceptio...
[ { "path": "doc/api/errors.md", "patch": "@@ -703,6 +703,35 @@ in some cases may accept `func(undefined)` but not `func()`). In most native\n Node.js APIs, `func(undefined)` and `func()` are treated identically, and the\n [`ERR_INVALID_ARG_TYPE`][] error code may be used instead.\n \n+<a id=\"ERR_SOCKET_ALRE...
2017-05-09T18:18:35
ggml-org/llama.cpp
c531edfa34fec8074d0b424396cdd450df23b612
02cdd2d8b092b5a4bb18e013c6887ce49ba20ac5
convert : fix conversion for llama 4 (#13567)
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -2069,6 +2069,9 @@ def set_gguf_parameters(self):\n self.gguf_writer.add_expert_feed_forward_length(self.hparams[\"intermediate_size_moe\"])\n \n def modify_tensors(self, data_torch: Tensor, name: str, bid: int | None):\n+ if name.startswith...
2025-05-15T15:40:07
huggingface/transformers
382ba670ed2376a9454c3c841fae4819118ec4f5
8e3980a290acc6d2f8ea76dba111b9ef0ef00309
FSDP tests and checkpointing fixes (#26180) * add fsdp tests * Update test_fsdp.py * Update test_fsdp.py * fixes * checks * Update trainer.py * fix * fixes for saving/resuming checkpoints * fixes * add tests and delete debug statements * fixing tests * Update test_fsdp.py * fix tests * fix tests * minor ...
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -128,7 +128,7 @@ def is_fsdp_enabled():\n \n \n def is_fsdp_enabled_and_dist_rank_0():\n- return is_fsdp_enabled() and torch.distributed.get_rank() == 0\n+ return is_fsdp_enabled() and int(os.environ.get(\"LOCAL_RANK\", -1)) == 0\n \n \n if ...
2023-09-20T04:56:16
vuejs/vue
9dce7adfa252eaf76468bbb5ed660675f7ef4e7b
68e560af24560954779ab5a84c690369ed01c845
Streaming render for weex fix append mode for keep-alive reactivation streaming render for weex fix weex test case inject __WEEX__ during tests fix append:tree for iOS ignore weex branch
[ { "path": ".eslintrc", "patch": "@@ -3,6 +3,9 @@\n \"parser\": \"babel-eslint\",\n \"extends\": \"vue\",\n \"plugins\": [\"flowtype\"],\n+ \"globals\": {\n+ \"__WEEX__\": true\n+ },\n \"rules\": {\n \"no-useless-escape\": 0,\n \"flowtype/define-flow-type\": 1,", "additions": 3, ...
2016-11-25T22:12:40
rust-lang/rust
bf1e4a1cdc61067f7a9e01c19f06e3047a8571b7
667da1e3bd869ca323475c29d707b8b3855ff3d7
make struct-variant matches less future-proof, and other clippy fixes
[ { "path": "src/tools/miri/src/borrow_tracker/stacked_borrows/mod.rs", "patch": "@@ -865,7 +865,7 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {\n let this = self.eval_context_mut();\n let new_perm = NewPermission::from_ref_ty(val.layout.ty, kind, this);\n let cause...
2025-01-29T17:22:14
golang/go
5ce8005990f77d06f19cf70029353fb911d63d1f
d0050e2871cf3916d99b11e67a4bf34ef025ec19
cmd/go/internal/web: fix a typo dependenicies -> dependencies Change-Id: I0b8f06c04cf397c6330ffb43ac3ae5c2f7cf3138 Reviewed-on: https://go-review.googlesource.com/c/go/+/219157 Reviewed-by: Ian Lance Taylor <iant@golang.org>
[ { "path": "src/cmd/go/internal/web/api.go", "patch": "@@ -3,7 +3,7 @@\n // license that can be found in the LICENSE file.\n \n // Package web defines minimal helper routines for accessing HTTP/HTTPS\n-// resources without requiring external dependenicies on the net package.\n+// resources without requiring ...
2020-02-11T23:17:30
ggml-org/llama.cpp
6c8b91500e75df6664278d1e9af3e39e8a2fb0d0
3cc1f1f1d24472a6558c942b1c78989ff4b0e569
llama-bench : fix -ot with dl backends (#13563)
[ { "path": "tools/llama-bench/llama-bench.cpp", "patch": "@@ -687,7 +687,7 @@ static cmd_params parse_cmd_params(int argc, char ** argv) {\n invalid_param = true;\n break;\n }\n- auto value = argv[i];\n+ auto * value = argv...
2025-05-15T13:46:55
nodejs/node
ccd3eadbd7dae3a23d43bf490fa9d3019324370e
6af72d4b037eba38d94395f57a03a498a2efef09
stream: fix destroy(err, cb) regression Fixed a regression that caused the callback passed to destroy() to not be called if the stream was already destroyed. This caused a regression on the ws module in CITGM introduced by https://github.com/nodejs/node/pull/12925. PR-URL: https://github.com/nodejs/node/pull/13156 Fi...
[ { "path": "lib/internal/streams/destroy.js", "patch": "@@ -8,7 +8,10 @@ function destroy(err, cb) {\n this._writableState.destroyed;\n \n if (readableDestroyed || writableDestroyed) {\n- if (err && (!this._writableState || !this._writableState.errorEmitted)) {\n+ if (cb) {\n+ cb(err);\n+ ...
2017-05-22T16:03:55
huggingface/transformers
8e3980a290acc6d2f8ea76dba111b9ef0ef00309
ffbf989f0d88f347ebe0266db81446dd4453d2f8
[FIX] resize_token_embeddings (#26102) * fix roundup command * add test for resize_token_embeddings * Update tests/test_modeling_common.py Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com> * style --------- Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -1530,7 +1530,7 @@ def _get_resized_embeddings(\n )\n if new_num_tokens is None:\n new_num_tokens = old_embeddings.weight.shape[0]\n- new_num_tokens = ((new_num_tokens // pad_to_multiple_of) +...
2023-09-19T19:44:41
vuejs/vue
c7147e3b60cb8b4147f0132f63b70a527a47b2b6
326aef4a6ab84d044d9ed807c5dc4326249aa856
remove debugger
[ { "path": "src/core/instance/render.js", "patch": "@@ -257,7 +257,6 @@ export function resolveSlots (\n let name, child\n for (let i = 0, l = children.length; i < l; i++) {\n child = children[i]\n- debugger\n // named slots should only be respected if the vnode was rendered in the\n // sa...
2016-11-25T17:42:29
rust-lang/rust
1e6081f117d53c1e5bea58767b84a90146ea4c2e
f764a581b7d5f09f01d9351a8b8673f923b515f3
Check fixed arg number for variadic function.
[ { "path": "src/tools/miri/src/helpers.rs", "patch": "@@ -990,6 +990,22 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {\n check_arg_count(args)\n }\n \n+ /// Check shim for variadic function.\n+ /// Returns a tuple that consisting of an array of fixed args, and a slice of ...
2025-01-04T17:54:49
golang/go
d0050e2871cf3916d99b11e67a4bf34ef025ec19
1c241d28792fad017cbd64bae72ea3f3ee51e4df
go/build: populate partial package information in importGo This is a followup to CL 199840 and CL 203820. Cumulatively, they caused a previously known bug to trigger more often while also nearly fixing it. This change is a small fixup to CL 199840 that resolves the known bug and prevents it from causing an additional...
[ { "path": "src/cmd/go/testdata/script/mod_gobuild_import.txt", "patch": "@@ -2,49 +2,67 @@\n \n # go/build's Import should find modules by invoking the go command\n \n-go build -o $WORK/testimport.exe ./testimport\n+go build -o $WORK ./testimport ./testfindonly\n \n # GO111MODULE=off\n env GO111MODULE=off\n...
2020-02-10T00:51:22
ggml-org/llama.cpp
3cc1f1f1d24472a6558c942b1c78989ff4b0e569
c753d7bed0dc2cc2d5c42dfa9806cba91748392e
webui : handle PDF input (as text or image) + convert pasted long content to file (#13562) * webui : handle PDF input (as text or image) * handle the case where pdf image + server without mtmd * fix bug missing pages
[ { "path": "tools/server/webui/package-lock.json", "patch": "@@ -18,6 +18,7 @@\n \"dexie\": \"^4.0.11\",\n \"highlight.js\": \"^11.10.0\",\n \"katex\": \"^0.16.15\",\n+ \"pdfjs-dist\": \"^5.2.133\",\n \"postcss\": \"^8.4.49\",\n \"react\": \"^18.3.1\",\n ...
2025-05-15T12:24:50
huggingface/transformers
ffbf989f0d88f347ebe0266db81446dd4453d2f8
39df4eca739b0870f73dbcfdfa09179e3135c75d
DeepSpeed ZeRO-3 handling when resizing embedding layers (#26259) * fix failing deepspeed slow tests * fixes
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -1550,7 +1550,7 @@ def _get_resized_embeddings(\n else:\n old_num_tokens, old_embedding_dim = old_embeddings.weight.size()\n \n- if old_num_tokens == new_num_tokens:\n+ if old_num_tokens == new_num_tokens and not ...
2023-09-19T19:04:56