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
nodejs/node
ce6c7f5b01a9faf5b4c6561944e89ba8d42b68de
8f8999c1c0de92b3720bead0c09b06d6cdc44ac7
doc: change v8 to V8 Google's V8 engine is styled "V8" and not "v8". Most Node.js docs style it correctly. This change fixes a few instances that are not styled correctly. PR-URL: https://github.com/nodejs/node/pull/17089 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Anatoli Papirovski <apapirovski@...
[ { "path": "doc/api/buffer.md", "patch": "@@ -2606,8 +2606,7 @@ Returns an un-pooled `Buffer`.\n \n In order to avoid the garbage collection overhead of creating many individually\n allocated `Buffer` instances, by default allocations under 4KB are sliced from a\n-single larger allocated object. This approac...
2017-11-17T05:41:14
huggingface/transformers
a3fb96a42a9ee473de61ac01a860251123042943
492ee17ec337573325cc4612a32b36631564b02e
Generate: fix assisted generation with `past_key_values` passed as kwargs (#31644)
[ { "path": "src/transformers/cache_utils.py", "patch": "@@ -395,21 +395,21 @@ def from_legacy_cache(cls, past_key_values: Optional[Tuple[Tuple[torch.FloatTens\n cache.update(key_states, value_states, layer_idx)\n return cache\n \n- def crop(self, maximum_length: int):\n- \"\...
2024-06-26T17:24:04
ggml-org/llama.cpp
a69d54f990d0cd88786d5943632d6426dc9660b7
cf23ee244717b7b41f092410991d0344b25620ea
context : fix graph not resetting when control vector changes (#20381)
[ { "path": "src/llama-context.cpp", "patch": "@@ -1165,9 +1165,11 @@ bool llama_context::set_adapter_cvec(\n int32_t il_end) {\n LLAMA_LOG_DEBUG(\"%s: il_start = %d, il_end = %d\\n\", __func__, il_start, il_end);\n \n- // TODO: should we reserve?\n+ bool res = cvec->apply(model, d...
2026-03-18T06:10:13
ollama/ollama
2a80f55e2ab0a94c3f087fc46523c14a70b0cd8e
36666c214270b7acf8d696a5c92f2fe33cfa14b8
Update windows.md (#3855) Fixed a typo
[ { "path": "docs/windows.md", "patch": "@@ -14,7 +14,7 @@ As this is a preview release, you should expect a few bugs here and there. If\n you run into a problem you can reach out on\r\n [Discord](https://discord.gg/ollama), or file an \r\n [issue](https://github.com/ollama/ollama/issues).\r\n-Logs will ofte...
2024-04-26T20:04:15
golang/go
b4b014465216790e01aa66f9120d03230e4aff46
091257def92b0280b07bde9536b7cdf5f3b02aec
runtime: don't always adjust timers Some programs have a lot of timers that they adjust both forward and backward in time. This can cause a large number of timerModifiedEarlier timers. In practice these timers are used for I/O deadlines and are rarely reached. The effect is that the runtime spends a lot of time in adj...
[ { "path": "src/runtime/proc.go", "patch": "@@ -3017,40 +3017,40 @@ func dropg() {\n // We pass now in and out to avoid extra calls of nanotime.\n //go:yeswritebarrierrec\n func checkTimers(pp *p, now int64) (rnow, pollUntil int64, ran bool) {\n-\t// If there are no timers to adjust, and the first timer on\n...
2020-09-30T00:01:33
nodejs/node
9531fcbb2e447c6a5ef0366c5446e10f90073cb5
fe932a1204a25de351d52b762b983ffb9eae6ebd
doc: avoid mentioning 'uncaughtException' Avoid suggesting using `'uncaughtException'` for emitted errors. PR-URL: https://github.com/nodejs/node/pull/16905 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
[ { "path": "doc/api/events.md", "patch": "@@ -142,20 +142,8 @@ myEmitter.emit('error', new Error('whoops!'));\n // Throws and crashes Node.js\n ```\n \n-To guard against crashing the Node.js process, a listener can be registered\n-on the [`process` object's `uncaughtException` event][] or the [`domain`][] mo...
2017-11-09T16:58:42
huggingface/transformers
492ee17ec337573325cc4612a32b36631564b02e
e71f2863d75f936256729bb7456dfb022e3d419a
Fix paligemma detection inference (#31587) * fix extended attention mask * add slow test for detection instance * [run-slow]paligemma
[ { "path": "src/transformers/models/paligemma/modeling_paligemma.py", "patch": "@@ -448,13 +448,11 @@ def forward(\n \n # Get the target length\n target_seqlen = cache_position[-1] + 1\n-\n extended_attention_mask = torch.ones(\n- ...
2024-06-26T17:17:09
ggml-org/llama.cpp
054d8b0f24001eceb1d719f09fb78bd54494223e
ab0bb93748cd4c9e105beadb46ffc9c665fc4178
ggml-cpu: fix RVV checks in quants and repacking (#20682) * ggml-cpu: refactor quants.c; add rvv check * ggml-cpu: refactor; disable generic fallback
[ { "path": "ggml/src/ggml-cpu/arch/riscv/quants.c", "patch": "@@ -115,10 +115,10 @@ void quantize_row_q8_1(const float * GGML_RESTRICT x, void * GGML_RESTRICT vy, i\n \n void quantize_row_q8_K(const float * GGML_RESTRICT x, void * GGML_RESTRICT y, int64_t k) {\n assert(k % QK_K == 0);\n- block_q8_K * ...
2026-03-17T14:03:40
rust-lang/rust
b6f1ce8071c70e0afd3bad39ee10404bfbf32f5c
d11c5b8d75244a52f3578244aa5503ffa5893989
fix: do not apply editorconfig to git commit msg The `max_line_length` property was set to 100 for all filetypes, which led to git commit messages being wrapped at 100 characters instead of the usual 75. This introduces an exception for the special file used by git to write commit messages. Signed-off-by: Prajwal S N...
[ { "path": "src/tools/rust-analyzer/.editorconfig", "patch": "@@ -15,3 +15,6 @@ indent_size = 2\n \n [*.{yml,yaml}]\n indent_size = 2\n+\n+[COMMIT_EDITMSG]\n+max_line_length = unset", "additions": 3, "deletions": 0, "language": "Unknown" } ]
2025-03-07T20:14:27
nodejs/node
42bdb66bf25694c6aed9662c74f3e0a752c7f0aa
8854598b42017a885c58443d6d004e8b15464f2a
deps: cherry-pick upstream ICU fix ICU 60.1 has a bug resulting in incorrect Script_Extensions data for 5 characters. http://bugs.icu-project.org/trac/ticket/13462 Upstream patch: http://bugs.icu-project.org/trac/changeset/40667 Refs: https://bugs.chromium.org/p/v8/issues/detail?id=4743#c54 PR-URL: https://github.co...
[ { "path": "deps/icu-small/source/common/uchar_props_data.h", "patch": "@@ -1362,7 +1362,7 @@ static const uint16_t propsVectorsTrie_index[29236]={\n 0x79f,0x7a5,0x7ad,0x7b5,0x7bd,0x7c3,0x7cb,0x7d3,0x7db,0x7e1,0x7e9,0x7f1,0x7f9,0x801,0x809,0x810,\n 0x818,0x81e,0x826,0x82e,0x836,0x83c,0x844,0x84c,0x854,0x122d...
2017-11-10T12:35:43
golang/go
009d71409821a6ac4f1b32aaae2c856c20a29f92
933721b8c7f981229974e2603850c2e9a7ffc5a1
cmd/compile, runtime: store pointers to go:notinheap types indirectly pointers to go:notinheap types should be treated as scalars. That means they shouldn't be stored directly in interfaces, or directly in reflect.Value.ptr. Also be sure to use uintpr to compare such pointers in reflect.DeepEqual. Fixes #42076 Chan...
[ { "path": "src/cmd/compile/internal/gc/subr.go", "patch": "@@ -1854,8 +1854,10 @@ func isdirectiface(t *types.Type) bool {\n \t}\n \n \tswitch t.Etype {\n-\tcase TPTR,\n-\t\tTCHAN,\n+\tcase TPTR:\n+\t\t// Pointers to notinheap types must be stored indirectly. See issue 42076.\n+\t\treturn !t.Elem().NotInHea...
2020-10-22T23:37:19
huggingface/transformers
e71f2863d75f936256729bb7456dfb022e3d419a
b1ec745475dd723c6b5a7c62b2cbce0c7dc4abbd
Add LLaVa NeXT Video (#31252) * squash into single commit * run diff once more * docstring * tests * minor chnages and ready to go * Update src/transformers/models/llava_next_video/processing_llava_next_video.py Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com> * Update t...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -794,6 +794,8 @@\n title: Llava\n - local: model_doc/llava_next\n title: LLaVA-NeXT\n+ - local: model_doc/llava-next-video\n+ title: LLaVa-NeXT-Video\n - local: model_doc/lxmert\n title: LXMERT\n - lo...
2024-06-26T16:52:28
ggml-org/llama.cpp
3a5cb629b180a074e02056a40695528a2171254c
8cc2d81264c6089ae86fc25a9f7e6e75114d3590
vulkan: async and event fixes (#20518) * vulkan: fix event wait submission, event command buffer reset * fix event command buffer reset validation error * also reset command buffers before reuse * use timeline semaphores instead of fences for event_synchronize * don't use initializer list for semaphore wait info ...
[ { "path": "ggml/src/ggml-vulkan/ggml-vulkan.cpp", "patch": "@@ -191,6 +191,7 @@ struct vk_queue;\n \n struct vk_command_buffer {\n vk::CommandBuffer buf;\n+ uint64_t use_counter = 0;\n bool in_use = false;\n };\n \n@@ -938,19 +939,24 @@ struct vk_subbuffer {\n }\n };\n \n-// vk_event is used ...
2026-03-17T13:27:23
golang/go
933721b8c7f981229974e2603850c2e9a7ffc5a1
9fcb5e0c527337c830e95d48d4574930cac53093
cmd/compile: fix storeType to handle pointers to go:notinheap types storeType splits compound stores up into a scalar parts and a pointer parts. The scalar part happens unconditionally, and the pointer part happens under the guard of a write barrier check. Types which are declared as pointers, but are represented as ...
[ { "path": "src/cmd/compile/internal/gc/ssa.go", "patch": "@@ -5222,7 +5222,10 @@ func (s *state) storeTypeScalars(t *types.Type, left, right *ssa.Value, skip ski\n \tcase t.IsBoolean() || t.IsInteger() || t.IsFloat() || t.IsComplex():\n \t\ts.store(t, left, right)\n \tcase t.IsPtrShaped():\n-\t\t// no scala...
2020-10-22T20:11:16
rust-lang/rust
e98837f558db4d92429ef10576afcd5198cbb3fb
d11c5b8d75244a52f3578244aa5503ffa5893989
fix(hir): `VariantDef` is `impl HasSource` A new syntax node `ast::VariantDef` has been introduced to map between the HIR node and the AST. The files have been updated with `cargo test -p xtask`. Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
[ { "path": "src/tools/rust-analyzer/crates/hir/src/has_source.rs", "patch": "@@ -15,7 +15,7 @@ use tt::TextRange;\n use crate::{\n db::HirDatabase, Adt, Callee, Const, Enum, ExternCrateDecl, Field, FieldSource, Function, Impl,\n InlineAsmOperand, Label, LifetimeParam, LocalSource, Macro, Module, Para...
2025-03-07T19:55:27
nodejs/node
8854598b42017a885c58443d6d004e8b15464f2a
662d803682a279508ff2f4434be50f5e268c260d
src: remove superfluous check in backtrace_posix.cc The error check doesn't matter because a failure would be ignored as part of the loop condition. PR-URL: https://github.com/nodejs/node/pull/16950 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Refael Ack...
[ { "path": "src/backtrace_posix.cc", "patch": "@@ -25,9 +25,6 @@ void DumpBacktrace(FILE* fp) {\n #if HAVE_EXECINFO_H\n void* frames[256];\n const int size = backtrace(frames, arraysize(frames));\n- if (size <= 0) {\n- return;\n- }\n for (int i = 1; i < size; i += 1) {\n void* frame = frames[i...
2017-11-11T13:41:22
huggingface/transformers
b1ec745475dd723c6b5a7c62b2cbce0c7dc4abbd
3f93fd06949f9eae58e50fd0c9b8e60be82643bc
Fix RT-DETR inference with float16 and bfloat16 (#31639) * [run_slow] rt_detr * Fix positional embeddings and anchors dtypes * [run slow] rt_detr * Apply suggestions from code review Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com> * Fixup --------- Co-authored-by: amyer...
[ { "path": "src/transformers/models/rt_detr/modeling_rt_detr.py", "patch": "@@ -1359,7 +1359,7 @@ def forward(\n if self.training or self.eval_size is None:\n pos_embed = self.build_2d_sincos_position_embedding(\n width, height, self.encoder_hidden_...
2024-06-26T16:50:10
ggml-org/llama.cpp
8cc2d81264c6089ae86fc25a9f7e6e75114d3590
627670601a64569d9d822c8d52a8ff39ed69cce5
server : fix ctx checkpoint invalidation (#20671)
[ { "path": "tools/server/server-context.cpp", "patch": "@@ -2402,11 +2402,11 @@ struct server_context_impl {\n }\n \n {\n- // erase any checkpoints with pos_min > pos_min_thold\n+ // erase an...
2026-03-17T13:21:14
ollama/ollama
85801317d1d09379f85512f84ad37ab6761a5225
2ed0d65948195aecff0d63566d8087b4b64c6a61
Fix clip log import
[ { "path": "llm/patches/02-clip-log.diff", "patch": "@@ -0,0 +1,12 @@\n+diff --git a/examples/llava/clip.cpp b/examples/llava/clip.cpp\n+index e431c7f7..f077e688 100644\n+--- a/examples/llava/clip.cpp\n++++ b/examples/llava/clip.cpp\n+@@ -3,6 +3,7 @@\n+ // I'll gradually clean and extend it\n+ // Note: Even ...
2024-04-26T16:43:46
golang/go
f0c9ae5452832f0f9e4dfa38f756ae9137577482
c3c6fbf31419d37b0ae7d99b5378f6f8e9080b24
net/http: use exponential backoff for polling in Server.Shutdown Instead of always polling 500ms, start with an interval of 1ms and exponentially back off to at most 500ms. 10% jitter is added to each interval. This makes Shutdown more responsive when connections and listeners close quickly. Also removes the need fo...
[ { "path": "src/net/http/http_test.go", "patch": "@@ -13,13 +13,8 @@ import (\n \t\"os/exec\"\n \t\"reflect\"\n \t\"testing\"\n-\t\"time\"\n )\n \n-func init() {\n-\tshutdownPollInterval = 5 * time.Millisecond\n-}\n-\n func TestForeachHeaderElement(t *testing.T) {\n \ttests := []struct {\n \t\tin string", ...
2020-10-22T22:25:56
huggingface/transformers
3f93fd06949f9eae58e50fd0c9b8e60be82643bc
ac52084bf29ab02ee4cbc79d7330562b5df17df2
Llama et al. / FSDP : Fix breaking change in 4.40 for FSDP (#31161) * fix llama fsdp * fixup * adding FSDP tests for CPU offloading * fixes * fix tests * fix tests * add it for mixtral * propagate the changes on other models * Update src/transformers/models/phi/modeling_phi.py * Delete utils...
[ { "path": "src/transformers/models/falcon/modeling_falcon.py", "patch": "@@ -782,6 +782,7 @@ def forward(\n head_mask: Optional[torch.Tensor] = None,\n use_cache: bool = False,\n output_attentions: bool = False,\n+ **kwargs,\n ):\n residual = hidden_states\n ", ...
2024-06-26T13:50:08
nodejs/node
662d803682a279508ff2f4434be50f5e268c260d
6c5a39c51f82ea7c2f82e3faaa505c0dc3388647
zlib: fix assert fail for bad write in object mode add4b0ab8c introduced a regression from Node 8 to Node 9 by removing the `ArrayBuffer.isView(chunk)` check in `Zlib.prototype._transform` without properly forcing `opts.objectMode` to `false` in the constructor because the change to `opts` occurs after `opts` has been...
[ { "path": "lib/zlib.js", "patch": "@@ -154,7 +154,6 @@ function flushCallback(level, strategy, callback) {\n // true or false if there is anything in the queue when\n // you call the .write() method.\n function Zlib(opts, mode) {\n- Transform.call(this, opts);\n var chunkSize = Z_DEFAULT_CHUNK;\n var f...
2017-11-12T07:30:34
ggml-org/llama.cpp
627670601a64569d9d822c8d52a8ff39ed69cce5
740a447fc38e6578a69bb578380c86998d75e286
kleidiai : fix MUL_MAT support for batched (3D) inputs (#20620) * kleidiai : fix MUL_MAT support for batched (3D) inputs The supports_op() check incorrectly rejected MUL_MAT operations with 3D inputs (ne[2] > 1), but the actual compute_forward_qx() implementation handles batched inputs correctly via a loop over ne12....
[ { "path": "ggml/src/ggml-cpu/kleidiai/kleidiai.cpp", "patch": "@@ -1461,7 +1461,7 @@ class extra_buffer_type : ggml::cpu::extra_buffer_type {\n return false;\n }\n if ((op->src[1]->type == GGML_TYPE_F32 || op->src[1]->type == GGML_TYPE_I32) &&\n- ggml_n...
2026-03-17T12:03:54
golang/go
8fdc79e18a9704185bd6471b592db1e8004bd993
b3f7f60129b822978115717912f4d477a46e8467
runtime: reduce timer latency Change the scheduler to treat expired timers with the same approach it uses to steal runnable G's. Previously the scheduler ignored timers on P's not marked for preemption. That had the downside that any G's waiting on those expired timers starved until the G running on their P completed...
[ { "path": "src/runtime/lockrank.go", "patch": "@@ -41,12 +41,12 @@ const (\n \tlockRankCpuprof\n \tlockRankSweep\n \n+\tlockRankPollDesc\n \tlockRankSched\n \tlockRankDeadlock\n \tlockRankPanic\n \tlockRankAllg\n \tlockRankAllp\n-\tlockRankPollDesc\n \n \tlockRankTimers // Multiple timers locked simultaneou...
2020-05-01T21:04:36
huggingface/transformers
915cce39c99d1c8fd3fce3c84569884eaa337c01
b07770c5eb2176693990b376c6e398caf197aec1
Fix llama gguf converter (#31575)
[ { "path": "src/transformers/integrations/ggml.py", "patch": "@@ -632,7 +632,27 @@ def decoder(self, replacement, add_prefix_space):\n return decoders.Sequence(sequence)\n \n def converted(self):\n- tokenizer = super().converted()\n+ # Copied partly from converted method in SpmConve...
2024-06-26T13:02:40
ggml-org/llama.cpp
d34ff7eb5ba289bd61f659c8f3f48c983c3ce4f8
45172df4d6843a903ad7dcb84c83388094f896bb
model: mistral small 4 support (#20649) * model: mistral small 4 support * fix test * fix test (2) * Apply suggestions from code review Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com> * Update convert_hf_to_gguf.py Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com> * change newline -...
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -298,11 +298,16 @@ def dequant_simple(weight: Tensor, scale: Tensor, block_size: Sequence[int] | No\n scale = scale.float()\n \n if block_size is not None:\n+ dim_offset = scale.ndim - len(block_size)\n ...
2026-03-16T23:31:14
nodejs/node
078eaa9f98c081dd53b1f0cafe7bb51dfa79ca5f
71ee0d9a40c5360eb322fcaa1c2b0145f8c2d2a8
src: fix size of CounterSet PR-URL: https://github.com/nodejs/node/pull/16984 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Anna Henningsen <anna@addaleax.net>
[ { "path": "src/node_win32_perfctr_provider.cc", "patch": "@@ -180,7 +180,7 @@ void InitPerfCountersWin32() {\n \n status = perfctr_setCounterSetInfo(NodeCounterProvider,\n &NodeCounterSetInfo.CounterSet,\n- sizeof(NodeCounterSe...
2017-11-13T09:20:00
huggingface/transformers
b07770c5eb2176693990b376c6e398caf197aec1
1218e439b5fe05423693407653a1fb064263fef4
[`GPT-NeoX`] Add SDPA support (#31031) * starting support for sdpa in `gptneox` models * small comment on tests * fix dropout * documentation and style * clarify concrete paths for reference * generalise attn projections and rope application added head mask check to sdpa mask creation handle sdpa ...
[ { "path": "docs/source/en/model_doc/gpt_neox.md", "patch": "@@ -95,6 +95,68 @@ Below is an expected speedup diagram that compares pure inference time between t\n <img src=\"https://huggingface.co/datasets/ybelkada/documentation-images/resolve/main/gpt-neox-1.8b-speedup.jpg\">\n </div>\n \n+\n+## Using Scale...
2024-06-26T12:56:36
golang/go
b3f7f60129b822978115717912f4d477a46e8467
3c55aea67aa65c62016020d5907b481da010f7e0
cmd/dist: fix build failure of misc/cgo/test on arm64 misc/cgo/test fails in 'dist test' on arm64 if the C compiler is of GCC-9.4 or above and its 'outline atomics' feature is enabled, since the internal linking hasn't yet supported "__attribute__((constructor))" and also mis-handles hidden visibility. This change ad...
[ { "path": "src/cmd/dist/test.go", "patch": "@@ -1081,7 +1081,12 @@ func (t *tester) cgoTest(dt *distTest) error {\n \tcmd := t.addCmd(dt, \"misc/cgo/test\", t.goTest())\n \tcmd.Env = append(os.Environ(), \"GOFLAGS=-ldflags=-linkmode=auto\")\n \n-\tif t.internalLink() {\n+\t// Skip internal linking cases on ...
2020-10-14T18:02:49
ollama/ollama
40bc4622ef837627034e7ad0d64b646c7bfbf07a
c0f818a07a6ee18105855aafa29e9d8178ed1733
Fix exe name for zip packaging on windows The zip file encodes the OS and architecture, so keep the short exe name
[ { "path": "scripts/build_windows.ps1", "patch": "@@ -82,7 +82,7 @@ function buildOllama() {\n if ($LASTEXITCODE -ne 0) { exit($LASTEXITCODE)}\n }\n New-Item -ItemType Directory -Path .\\dist\\windows-amd64\\ -Force\n- cp .\\ollama.exe .\\dist\\windows-amd64\\ollama-windows-amd64.exe\n+ ...
2024-04-26T16:16:53
ggml-org/llama.cpp
c0ccbd1f86ee4c0957e505d49fabea4253d24632
f6da02c3f2083becf96f6ba5e26c70cfb15897fb
ggml : try fix arm build (whisper/0)
[ { "path": "ggml/src/ggml-cpu/arch/arm/quants.c", "patch": "@@ -666,7 +666,7 @@ void ggml_vec_dot_nvfp4_q8_0(int n, float * GGML_RESTRICT s, size_t bs, const vo\n \n float sumf = 0;\n \n-#if defined __ARM_NEON\n+#if defined(__ARM_NEON) && defined(__ARM_FEATURE_FMA)\n const int8x16_t values = vld1q_s8...
2026-03-16T07:11:13
nodejs/node
71ee0d9a40c5360eb322fcaa1c2b0145f8c2d2a8
95d9a58cbc13761087180c85c042b2e9cf1595e9
util: escaping object keys in util.inspect() PR-URL: https://github.com/nodejs/node/pull/16986 Fixes: https://github.com/nodejs/node/issues/16979 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Anatoli Pa...
[ { "path": "lib/util.js", "patch": "@@ -81,9 +81,7 @@ var Debug;\n \n /* eslint-disable */\n const strEscapeSequencesRegExp = /[\\x00-\\x1f\\x27\\x5c]/;\n-const keyEscapeSequencesRegExp = /[\\x00-\\x1f\\x27]/;\n const strEscapeSequencesReplacer = /[\\x00-\\x1f\\x27\\x5c]/g;\n-const keyEscapeSequencesReplacer...
2017-11-13T11:44:16
huggingface/transformers
aab08297903de0ae39d4a6d87196b5056d76f110
e73a97a2b338fd4bf3d97034b37dfcb29de0cb25
Improve error message for mismatched copies in code blocks (#31535) improve error message for mismatched code blocks
[ { "path": "utils/check_copies.py", "patch": "@@ -169,7 +169,6 @@\n },\n }\n \n-\n # This is to make sure the transformers module imported is the one in the repo.\n transformers_module = direct_transformers_import(TRANSFORMERS_PATH)\n \n@@ -185,7 +184,7 @@ def _should_continue(line: str, indent: str) -> ...
2024-06-25T11:55:11
golang/go
d73d5d9fb0c2b963bd58ed0ab679dd71498f118e
de477138d1b11982e86d8d0898e2a471771899b6
cmd/go/internal/imports: make Tags and AnyTags safe for concurrent use AnyTags turned up as a data race while running 'go test -race cmd/go'. I'm not sure how long the race has been present. ================== WARNING: DATA RACE Read at 0x000001141ec0 by goroutine 8: cmd/go/internal/imports.AnyTags() /usr/loc...
[ { "path": "src/cmd/go/internal/imports/tags.go", "patch": "@@ -4,17 +4,23 @@\n \n package imports\n \n-import \"cmd/go/internal/cfg\"\n+import (\n+\t\"cmd/go/internal/cfg\"\n+\t\"sync\"\n+)\n \n-var tags map[string]bool\n+var (\n+\ttags map[string]bool\n+\ttagsOnce sync.Once\n+)\n \n // Tags returns a s...
2020-10-27T07:09:26
ggml-org/llama.cpp
f6da02c3f2083becf96f6ba5e26c70cfb15897fb
dddca026bf64ae312cc8b5144ce2fc0e1d0a51e4
ggml : extend im2col f16 (ggml/1434) * examples/yolo: fix load_model memory leak * fix/issue-1433 ggml_compute_forward_im2col_f16 assert error * fix/issue-1433
[ { "path": "ggml/src/ggml-cpu/ops.cpp", "patch": "@@ -6205,7 +6205,7 @@ static void ggml_compute_forward_im2col_f16(\n const ggml_tensor * src1 = dst->src[1];\n \n GGML_ASSERT(src0->type == GGML_TYPE_F16);\n- GGML_ASSERT(src1->type == GGML_TYPE_F32);\n+ GGML_ASSERT(src1->type == GGML_TYPE_F16 |...
2026-03-15T19:50:56
nodejs/node
6244070c48e96c25b5ab645de15da72e0cb8c3dc
66e2751e0a017bfdd045caa64afc77cf5940597f
buffer: don't predefine error PR-URL: https://github.com/nodejs/node/pull/17021 Fixes: https://github.com/nodejs/node/issues/16994 Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Refael Ackermann <refack@gmai...
[ { "path": "lib/buffer.js", "patch": "@@ -447,14 +447,12 @@ Buffer.isEncoding = function isEncoding(encoding) {\n };\n Buffer[kIsEncodingSymbol] = Buffer.isEncoding;\n \n-const kConcatErr = new errors.TypeError(\n- 'ERR_INVALID_ARG_TYPE', 'list', ['Array', 'Buffer', 'Uint8Array']\n-);\n-\n Buffer.concat = f...
2017-11-14T11:41:46
rust-lang/rust
db2fb7102ec8eeb6ec9a0cb55ab1a120eeb0a730
a04c47a0f3501c04b8932a4f65473dc9cfe660a3
fix rebase
[ { "path": "tests/ui/parser/raw/too-many-hash.stderr", "patch": "@@ -1,8 +1,8 @@\n error: too many `#` symbols: raw strings may be delimited by up to 255 `#` symbols, but found 256\n --> $DIR/too-many-hash.rs:4:19\n |\n-LL | ... = r########################################################################...
2025-03-07T17:54:49
ggml-org/llama.cpp
67a2209fabe2e3498d458561933d5380655085d2
d65c4f2dc9e380317c2fed804b7d98a758ca0886
webui: Add MCP CORS Proxy detection logic & UI (#20167) * refactor: MCP store cleanup * feat: Add MCP proxy availability detection * fix: Sidebar icon * chore: update webui build output * chore: Formatting * chore: update webui build output * chore: Update package lock * chore: update webui build output * chor...
[ { "path": "tools/server/webui/package-lock.json", "patch": "@@ -939,7 +939,6 @@\n \t\t\t\"integrity\": \"sha512-oJrXtQiAXLvT9clCf1K4kxp3eKsQhIaZqxEyowkBcsvZDdZkbWrVmnGknxs5flTD0VGsxrxKgBCZty1EzoiMzA==\",\n \t\t\t\"dev\": true,\n \t\t\t\"license\": \"Apache-2.0\",\n-\t\t\t\"peer\": true,\n \t\t\t\"dependenci...
2026-03-16T12:05:36
golang/go
de477138d1b11982e86d8d0898e2a471771899b6
69496a22682108bed606d4d509cfa3253f0cac3b
database/sql: fix comment on DB.stop() Previously, 2 goroutines were created in OpenDB and a comment in the DB.close() field indicated that they were canceled. Later, session Resetter () was removed, but the comment remained the same. This commit just fixes this message Change-Id: Ie81026f51d7770e9cf8004818154021f626...
[ { "path": "src/database/sql/sql.go", "patch": "@@ -434,7 +434,7 @@ type DB struct {\n \tmaxIdleTimeClosed int64 // Total number of connections closed due to idle time.\n \tmaxLifetimeClosed int64 // Total number of connections closed due to max connection lifetime limit.\n \n-\tstop func() // stop cancels t...
2020-10-24T22:11:51
nodejs/node
01f853cde60e137c11c3f5e3290456a528418720
c5b8e168b32393a486238e537b1eeac24013bfed
zlib: fix decompression of empty data streams add4b0ab8cc0ec6 made the assumption that compressed data would never lead to an empty decompressed stream. Fix that by explicitly checking the number of read bytes. PR-URL: https://github.com/nodejs/node/pull/17042 Fixes: https://github.com/nodejs/node/issues/17041 Refs:...
[ { "path": "lib/zlib.js", "patch": "@@ -95,6 +95,8 @@ function zlibBufferOnEnd() {\n var err;\n if (this.nread >= kMaxLength) {\n err = new errors.RangeError('ERR_BUFFER_TOO_LARGE');\n+ } else if (this.nread === 0) {\n+ buf = Buffer.alloc(0);\n } else {\n var bufs = this.buffers;\n buf ...
2017-11-15T11:13:43
rust-lang/rust
c75da0eda678afa4eb5f983796aa8a59e4d01a4e
cb82b79f02b79620f766d94c0e4a8c20a3ce23ee
Fix multiline span start special case
[ { "path": "compiler/rustc_errors/src/emitter.rs", "patch": "@@ -763,7 +763,7 @@ impl HumanEmitter {\n let mut short_start = true;\n for ann in &line.annotations {\n if let AnnotationType::MultilineStart(depth) = ann.annotation_type {\n- if source_string.chars().tak...
2025-02-27T22:55:24
huggingface/transformers
fc689d75a04e846f63f8d7a4a420da0cf796f86b
a958c4a801a0db655981678b050eaa855289405c
Add video modality for InstrucBLIP (#30182) * squash in single commit * add docs * dummy obj * more changes in diff converter * tiny fix * make docs happy * skip test * repo consistency tests * update docstring * style * fix tests * change diff imports * [run-slow] instructblipvideo...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -776,6 +776,8 @@\n title: Idefics2\n - local: model_doc/instructblip\n title: InstructBLIP\n+ - local: model_doc/instructblipvideo\n+ title: InstructBlipVideo\n - local: model_doc/kosmos-2\n title: KOSMOS-2...
2024-06-25T10:45:39
ggml-org/llama.cpp
d65c4f2dc9e380317c2fed804b7d98a758ca0886
d8c331c0afb1730a17c4440a924d0f57884245c0
Fix model selector locked to first loaded model with multiple models (#20580) * webui: fix model selector being locked to first loaded model When multiple models are loaded, the auto-select effect would re-fire on every loadedModelIds change, overriding the user's manual model selection. Guard with selectedModelId so...
[ { "path": "tools/server/webui/src/lib/components/app/chat/ChatForm/ChatFormActions/ChatFormActions.svelte", "patch": "@@ -65,7 +65,8 @@\n \t$effect(() => {\n \t\tif (conversationModel) {\n \t\t\tmodelsStore.selectModelByName(conversationModel);\n-\t\t} else if (isRouter && modelsStore.loadedModelIds.length ...
2026-03-16T11:04:06
ollama/ollama
8589d752ac9c9c5fd81be6179f3bf77243c145f2
de4ded68b0d624d8e37741e08f7b136d98937406
Fix release CI download-artifact path was being used incorrectly. It is where to extract the zip not the files in the zip to extract. Default is workspace dir which is what we want, so omit it
[ { "path": ".github/workflows/release.yaml", "patch": "@@ -311,29 +311,18 @@ jobs:\n - uses: actions/download-artifact@v4\n with:\n name: generate-windows-cpu\n- path: |\n- llm/build\n- dist/windows-amd64\n - uses: actions/download-artifact@v4\n ...
2024-04-26T00:27:11
golang/go
69496a22682108bed606d4d509cfa3253f0cac3b
320cc79002b5ce5f8d7f667f0aa78a1fdce59eb4
cmd/go: fix bug introduced in CL 264537 Shadowing bug noted after submit by Tom Thorogood. Change-Id: I5f40cc3863dcd7dba5469f8530e9d0460e7c3e7e Reviewed-on: https://go-review.googlesource.com/c/go/+/265537 Trust: Russ Cox <rsc@golang.org> Run-TryBot: Russ Cox <rsc@golang.org> Reviewed-by: Jay Conrod <jayconrod@google...
[ { "path": "src/cmd/go/internal/fsys/fsys.go", "patch": "@@ -378,7 +378,8 @@ func IsDirWithGoFiles(dir string) (bool, error) {\n \t\t// But it's okay if the file is a symlink pointing to a regular\n \t\t// file, so use os.Stat to follow symlinks and check that.\n \t\tactualFilePath, _ := OverlayPath(filepath...
2020-10-27T14:41:25
rust-lang/rust
cb82b79f02b79620f766d94c0e4a8c20a3ce23ee
f1c751bc1a08e3439a9d0c482cbb0ea0fc8f644f
Fix rustdoc test
[ { "path": "compiler/rustc_errors/src/styled_buffer.rs", "patch": "@@ -93,6 +93,9 @@ impl StyledBuffer {\n if start == end {\n return;\n }\n+ if start > self.lines[line].len() || end > self.lines[line].len() {\n+ return;\n+ }\n let _ = self.lines[l...
2025-02-27T22:29:22
huggingface/transformers
a958c4a801a0db655981678b050eaa855289405c
7e86cb6c6f126b5d283d61b48e1879023c11086a
fix output data type of image classification (#31444) * fix output data type of image classification * add tests for low-precision pipeline * add bf16 pipeline tests * fix bf16 tests * Update tests/pipelines/test_pipelines_image_classification.py Co-authored-by: amyeroberts <22614925+amyeroberts@users.n...
[ { "path": "src/transformers/pipelines/image_classification.py", "patch": "@@ -23,6 +23,8 @@\n from ..models.auto.modeling_tf_auto import TF_MODEL_FOR_IMAGE_CLASSIFICATION_MAPPING_NAMES\n \n if is_torch_available():\n+ import torch\n+\n from ..models.auto.modeling_auto import MODEL_FOR_IMAGE_CLASS...
2024-06-25T10:14:39
nodejs/node
c5b8e168b32393a486238e537b1eeac24013bfed
4b82d892abfcac160a0486d432e23e27315a5765
build: enforce order of dependency when building addons PR-URL: https://github.com/nodejs/node/pull/17048 Fixes: https://github.com/nodejs/node/issues/17043 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
[ { "path": "Makefile", "patch": "@@ -314,7 +314,7 @@ test/addons/.buildstamp: config.gypi \\\n # .buildstamp is out of date and need a rebuild.\n # Just goes to show that recursive make really is harmful...\n # TODO(bnoordhuis) Force rebuild after gyp update.\n-build-addons: $(NODE_EXE) test/addons/.buildsta...
2017-11-15T15:53:50
ggml-org/llama.cpp
46dba9fce860d41ac545224623f27ac71f9d264a
de8f01c2d7fd6ee7b642b3d09b1c5f1f9f6965fb
vulkan: fix flash attention dot product precision (#20589)
[ { "path": "ggml/src/ggml-vulkan/vulkan-shaders/flash_attn.comp", "patch": "@@ -245,7 +245,7 @@ void main() {\n #endif\n }\n [[unroll]] for (uint32_t r = 0; r < rows_per_thread; ++r) {\n- Sf[r][c] += ACC_TYPE(dot(Q_cache[r], K_Tf));\n+ ...
2026-03-16T09:45:49
golang/go
333e90448a0e55f2e1161853caecf3d30ef3a74a
8a013233ac53d934e53cd7d118b5ff7836d8973a
crypto/rand: generate random numbers using RtlGenRandom on Windows CryptGenRandom appears to be unfavorable these days, whereas the classic RtlGenRandom is still going strong. This commit also moves the warnBlocked function into rand_unix, rather than rand, because it's now only used on unix. Fixes #33542 Change-Id...
[ { "path": "src/crypto/rand/rand.go", "patch": "@@ -14,7 +14,7 @@ import \"io\"\n // On Linux and FreeBSD, Reader uses getrandom(2) if available, /dev/urandom otherwise.\n // On OpenBSD, Reader uses getentropy(2).\n // On other Unix-like systems, Reader reads from /dev/urandom.\n-// On Windows systems, Reade...
2019-12-05T17:48:21
ollama/ollama
00b0699c75fc99b998f3394c04e5a16aa4c49eab
993cf8bf55745a46ce756461008bbea3ad8e9cb1
Reload model if `num_gpu` changes (#3920) * reload model if `num_gpu` changes * dont reload on -1 * fix tests
[ { "path": "server/sched.go", "patch": "@@ -421,23 +421,29 @@ func (runner *runnerRef) needsReload(ctx context.Context, req *LlmRequest) bool\n \tslog.Debug(\"evaluating already loaded\", \"model\", req.model.ModelPath)\n \trunner.refMu.Lock()\n \tdefer runner.refMu.Unlock()\n-\t// Ignore the NumGPU settings...
2024-04-25T23:02:40
rust-lang/rust
f1c751bc1a08e3439a9d0c482cbb0ea0fc8f644f
72326bfe4033fe51c5cb0f31614bbf6e66ec77f9
Refactor `emitter` to better account for unicode chars when trimming Change the way that underline positions are calculated by delaying using the "visual" column position until the last possible moment, instead using the "file"/byte position in the file, and then calculating visual positioning as late as possible. Thi...
[ { "path": "compiler/rustc_errors/src/emitter.rs", "patch": "@@ -113,24 +113,11 @@ impl Margin {\n self.computed_left > 0\n }\n \n- fn was_cut_right(&self, line_len: usize) -> bool {\n- let right =\n- if self.computed_right == self.span_right || self.computed_right == self.la...
2025-02-27T21:12:58
huggingface/transformers
3a49ebe0d893ec7ada62b5b06c5394b90288c097
2fc9d8e9b1e22e1aba989c1675eaadac6d5974a4
Fix is_torch_xpu_available for torch < 2.3 (#31573)
[ { "path": "src/transformers/utils/import_utils.py", "patch": "@@ -754,10 +754,13 @@ def is_torch_xpu_available(check_device=False):\n if not is_torch_available():\n return False\n \n- import torch\n-\n+ torch_version = version.parse(_torch_version)\n if is_ipex_available():\n i...
2024-06-24T15:57:49
ggml-org/llama.cpp
d3936498a3d8f41cdb35d9e7d04a19e704b4fc89
34818ea6c0e91a2fa245ce866f7e002a4a9cd381
common : fix iterator::end() dereference (#20445)
[ { "path": "common/regex-partial.cpp", "patch": "@@ -102,7 +102,7 @@ std::string regex_to_reversed_partial_regex(const std::string & pattern) {\n auto is_star = *it == '*';\n ++it;\n if (is_star) {\n- if (*it == '?') {\n+ i...
2026-03-16T06:50:38
nodejs/node
4b82d892abfcac160a0486d432e23e27315a5765
2c0acc0bc191fbe37b91fe39d213fcc56ce23741
errors: consistent format for error message Consistently use printf-style strings for error messages that do not need a custom argument order or processing of arguments. PR-URL: https://github.com/nodejs/node/pull/16904 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm....
[ { "path": "lib/internal/errors.js", "patch": "@@ -1,5 +1,6 @@\n /* eslint documented-errors: \"error\" */\n /* eslint alphabetize-errors: \"error\" */\n+/* eslint prefer-util-format-errors: \"error\" */\n \n 'use strict';\n \n@@ -222,8 +223,8 @@ module.exports = exports = {\n \n E('ERR_ARG_NOT_ITERABLE', '%...
2017-11-09T15:18:12
rust-lang/rust
72326bfe4033fe51c5cb0f31614bbf6e66ec77f9
d975bd3a67e4f18c02f57d8d66a9d32daa295a47
On long spans, trim the middle of them to make them fit in the terminal width When encountering a single line span that is wider than the terminal, we keep context at the start and end of the span but otherwise remove the code from the middle. This is somewhat independent from whether the left and right margins of the...
[ { "path": "compiler/rustc_errors/src/emitter.rs", "patch": "@@ -1238,6 +1238,33 @@ impl HumanEmitter {\n );\n }\n }\n+\n+ // We look for individual *long* spans, and we trim the *middle*, so that we render\n+ // LL | ...= [0, 0, 0, ..., 0, 0];\n+ // ...
2025-02-27T21:11:22
huggingface/transformers
2fc9d8e9b1e22e1aba989c1675eaadac6d5974a4
2d4820284d823ad362e63662397aae957a95901b
Fix doc typo in `TrainingArguments` (#31503)
[ { "path": "src/transformers/training_args.py", "patch": "@@ -2742,7 +2742,7 @@ def set_push_to_hub(\n \n Calling this method will set `self.push_to_hub` to `True`, which means the `output_dir` will begin a git\n directory synced with the repo (determined by `model_id`) and the content will b...
2024-06-24T15:39:12
ggml-org/llama.cpp
9e2e2198b006b5bcb81846a43b868528ea79a483
88915cb55c14769738fcab7f1c6eaa6dcc9c2b0c
tools/cli: fix disable reasoning (#20606)
[ { "path": "tools/cli/cli.cpp", "patch": "@@ -215,7 +215,7 @@ struct cli_context {\n inputs.parallel_tool_calls = false;\n inputs.add_generation_prompt = true;\n inputs.reasoning_format = COMMON_REASONING_FORMAT_DEEPSEEK;\n- inputs.enable_thinking = common_chat_tem...
2026-03-15T21:40:53
golang/go
7eba75ab60d5d76b605d6095c64ddd38218c963b
db7d42acac89bbb516194fa4c332cc79e43ec8bb
Revert "cmd/link: remove all constants of elf" This reverts CL 252478. Reason for revert: debug/Elfhdr has no Flags fields, some other CLs has removed it. Change-Id: Ie199ac29f382c56aaf37a2e8338f2dafe6e79297 Reviewed-on: https://go-review.googlesource.com/c/go/+/265317 Reviewed-by: Ian Lance Taylor <iant@golang.org>...
[ { "path": "src/cmd/link/internal/amd64/asm.go", "patch": "@@ -354,7 +354,7 @@ func adddynrel(target *ld.Target, ldr *loader.Loader, syms *ld.ArchSyms, s loade\n \t\t\trela := ldr.MakeSymbolUpdater(syms.Rela)\n \t\t\trela.AddAddrPlus(target.Arch, s, int64(r.Off()))\n \t\t\tif r.Siz() == 8 {\n-\t\t\t\trela.Ad...
2020-10-27T05:13:24
nodejs/node
bbd95554c0d8bc3511a6a118e7e42458e5044a39
45e6642476389fe5442c23b08a3ea99fcc752e56
doc: fix a link in dgram.md PR-URL: https://github.com/nodejs/node/pull/17107 Refs: https://en.wikipedia.org/w/index.php?title=IPv6_address&type=revision&diff=809494791&oldid=804196124 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.d...
[ { "path": "doc/api/dgram.md", "patch": "@@ -631,5 +631,5 @@ and `udp6` sockets). The bound address and port can be retrieved using\n [`socket.bind()`]: #dgram_socket_bind_port_address_callback\n [`System Error`]: errors.html#errors_class_systemerror\n [byte length]: buffer.html#buffer_class_method_buffer_by...
2017-11-17T22:13:38
rust-lang/rust
d975bd3a67e4f18c02f57d8d66a9d32daa295a47
03eb45452305f2d52348279d0caa5fc1f12c438d
Remove highlighting of spans on `-Zteach` `-Zteach` is perma-unstable, barely used, the highlighting logic buggy and the flag being passed around is tech-debt. We should likely remove `-Zteach` in its entirely.
[ { "path": "compiler/rustc_errors/src/emitter.rs", "patch": "@@ -616,7 +616,6 @@ pub struct HumanEmitter {\n #[setters(skip)]\n fallback_bundle: LazyFallbackBundle,\n short_message: bool,\n- teach: bool,\n ui_testing: bool,\n ignored_directories_in_source_blocks: Vec<String>,\n dia...
2025-02-27T21:09:45
huggingface/transformers
0e23e60a5ad1be33b5a0ada9e42e1ac273c5e08e
aac8ee42370e05f0f031ff1dab1a8741d89a91d5
Fix bug about add_special_tokens and so on (#31496) * fix bug about add_special_tokens and so on * improve add_special_tokens and padding behavior * add a test case for add_special_tokens and padding
[ { "path": "src/transformers/pipelines/text_generation.py", "patch": "@@ -137,11 +137,10 @@ def _sanitize_parameters(\n \n add_special_tokens = False\n if \"add_special_tokens\" in generate_kwargs:\n- preprocess_params[\"add_special_tokens\"] = generate_kwargs[\"add_special_tokens\...
2024-06-24T13:05:16
ggml-org/llama.cpp
88915cb55c14769738fcab7f1c6eaa6dcc9c2b0c
ebbf544ed1008e8643add8d7cccd96516b14fa48
server : fix wait in test_cancel_requests() test (#20601) * server : fix wait in test_cancel_requests() test * codeowners : add team for server tests
[ { "path": "CODEOWNERS", "patch": "@@ -85,6 +85,7 @@\n /tools/quantize/ @ggerganov\n /tools/rpc/ @ggml-org/ggml-rpc\n /tools/server/* @ggml-org/llama-server # no subdir\n+/tools/server/tests/ @ggml-org/llama-server\...
2026-03-15T18:54:37
nodejs/node
45e6642476389fe5442c23b08a3ea99fcc752e56
0a1fba02a65b0b6bb53ca2d6966eaca67265e7d6
console: add support for console.debug Adds the console.debug() method, alias for console.log(). This method is exposed by V8 and was only available in inspector until now. Also adds matching test and documentation. PR-URL: https://github.com/nodejs/node/pull/17033 Refs: https://github.com/nodejs/node/pull/17004 Revi...
[ { "path": "doc/api/console.md", "patch": "@@ -238,6 +238,15 @@ undefined\n >\n ```\n \n+### console.debug(data[, ...args])\n+<!-- YAML\n+added: v8.0.0\n+-->\n+* `data` {any}\n+* `...args` {any}\n+\n+The `console.debug()` function is an alias for [`console.log()`][].\n+\n ### console.dir(obj[, options])\n <!...
2017-11-14T22:59:57
golang/go
db7d42acac89bbb516194fa4c332cc79e43ec8bb
3a63d04d2edcbdb0937d775e852692279f73a2e2
cmd/link: remove all constants of elf Use debug/elf instead. Change-Id: Ia6580648b6440e4a352f5c5ed59ac4d1c95e0175 Reviewed-on: https://go-review.googlesource.com/c/go/+/252478 Run-TryBot: Meng Zhuo <mzh@golangcn.org> TryBot-Result: Go Bot <gobot@golang.org> Trust: Meng Zhuo <mzh@golangcn.org> Reviewed-by: Ian Lance T...
[ { "path": "src/cmd/link/internal/amd64/asm.go", "patch": "@@ -354,7 +354,7 @@ func adddynrel(target *ld.Target, ldr *loader.Loader, syms *ld.ArchSyms, s loade\n \t\t\trela := ldr.MakeSymbolUpdater(syms.Rela)\n \t\t\trela.AddAddrPlus(target.Arch, s, int64(r.Off()))\n \t\t\tif r.Siz() == 8 {\n-\t\t\t\trela.Ad...
2020-09-23T16:22:05
huggingface/transformers
aac8ee42370e05f0f031ff1dab1a8741d89a91d5
c54a8ca48eb1b85785f7fdbefb5311f172d19726
Fix the error caused by incorrect use of logger in pipeline (#31565)
[ { "path": "src/transformers/pipelines/base.py", "patch": "@@ -850,7 +850,7 @@ def __init__(\n or is_torch_xpu_available(check_device=True)\n or is_torch_mps_available()\n ):\n- logging.warning(\n+ logger.warning(\n...
2024-06-24T13:04:52
rust-lang/rust
3cb53df1feaba73b84344c8c0e3dc4120ad8c95b
0dfe2ae3fb72c50ea369286131c73daede13d7e5
Return OutOfMemoryError and update docs
[ { "path": "library/std/src/fs.rs", "patch": "@@ -2446,7 +2446,7 @@ pub fn symlink_metadata<P: AsRef<Path>>(path: P) -> io::Result<Metadata> {\n /// # Platform-specific behavior\n ///\n /// This function currently corresponds to the `rename` function on Unix\n-/// and the `SetFileInformationByHandle` functio...
2025-03-06T14:18:18
ollama/ollama
14476d48ccfcff46e3b1b5beb9372e8265da5255
ce8ce8256728d4211e50e0db72195073ad37127c
fixes for gguf (#3863)
[ { "path": "llm/gguf.go", "patch": "@@ -190,8 +190,6 @@ func (llm *gguf) Decode(rs io.ReadSeeker) error {\n \t\tllm.kv[k] = v\n \t}\n \n-\tslog.Debug(fmt.Sprintf(\"general.architecture = %s\", llm.kv[\"general.architecture\"]))\n-\n \t// decode tensors\n \tfor i := 0; uint64(i) < llm.numTensor(); i++ {\n \t\...
2024-04-24T03:57:20
ggml-org/llama.cpp
ebbf544ed1008e8643add8d7cccd96516b14fa48
b91d7dfe5bb3745147ee3a5f18be8d4f803b0e84
sycl : fix for untransposed GDA recurrent state (#20583)
[ { "path": "ggml/src/ggml-sycl/gated_delta_net.cpp", "patch": "@@ -55,7 +55,7 @@ void gated_delta_net_sycl(const float * q,\n #pragma unroll\n for (int r = 0; r < rows_per_lane; r++) {\n const int i = r * warp_size + lane;\n- s_shard[r] = curr_state[i * S_v + col];\n+ s_shard[r...
2026-03-15T18:10:15
nodejs/node
959c425a19d22b5e2dc3941bb0f0ec1fe62f45d7
d8debd8448a1d325a564c42e5639655973b7641b
doc: make error descriptions more concise Remove the practice of starting most error descriptions with "Used when" or wordier variations. Change errors of the form: > Used when the type of an asynchronous resource is invalid. ...to: > The type of an asynchronous resource was invalid. Change errors of the form: >...
[ { "path": "doc/api/errors.md", "patch": "@@ -599,182 +599,180 @@ found [here][online].\n <a id=\"ERR_ARG_NOT_ITERABLE\"></a>\n ### ERR_ARG_NOT_ITERABLE\n \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...
2017-11-09T18:10:37
golang/go
c305e49e96deafe54a8e43010ea76fead6da0a98
22d2b984a680900ebbec6268f93a839286b6f130
cmd/go,cmd/compile,sync: remove special import case in cmd/go CL 253748 introduced a special case in cmd/go to allow sync to import runtime/internal/atomic. Besides introducing unnecessary complexity into cmd/go, this breaks other packages (like gopls) that understand how imports work, but don't understand this specia...
[ { "path": "src/cmd/compile/internal/gc/ssa.go", "patch": "@@ -3569,13 +3569,17 @@ func init() {\n \talias(\"runtime/internal/atomic\", \"LoadAcq\", \"runtime/internal/atomic\", \"Load\", lwatomics...)\n \talias(\"runtime/internal/atomic\", \"LoadAcq64\", \"runtime/internal/atomic\", \"Load64\", lwatomics......
2020-10-26T18:32:13
rust-lang/rust
00fb741ac188f292842fa6762d8bf487d6110952
e0409677fd449a3b8024bfa81481116c2fb3c850
Remove explicit error message when build.rs fails
[ { "path": "src/tools/rust-analyzer/crates/rust-analyzer/src/reload.rs", "patch": "@@ -139,10 +139,10 @@ impl GlobalState {\n \"Proc-macros and/or build scripts have changed and need to be rebuilt.\\n\\n\",\n );\n }\n- if let Err(build_data_err) = self.fetch_build_d...
2025-03-07T17:27:29
ggml-org/llama.cpp
8b7d340b6ffbb1bc47093f5b4b840bc2ff996a75
559646472d4b0ab732b977fefeebc3c38eae458b
ggml/hip: fix APU compatibility - soft error handling for hipMemAdviseSetCoarseGrain (#20536) * ggml/hip: fix APU compatibility - soft error handling for hipMemAdviseSetCoarseGrain On AMD APU/iGPU devices (unified memory architecture), hipMemAdviseSetCoarseGrain returns hipErrorInvalidValue because the hint is not ap...
[ { "path": "ggml/src/ggml-cuda/ggml-cuda.cu", "patch": "@@ -124,7 +124,10 @@ static cudaError_t ggml_cuda_device_malloc(void ** ptr, size_t size, int device)\n err = cudaMallocManaged(ptr, size);\n #if defined(GGML_USE_HIP)\n if (err == hipSuccess) {\n- CUDA_CHECK(cudaMemAdvise(*pt...
2026-03-15T16:23:58
ollama/ollama
5445aaa94e6f4c5626222177ed53ebd07225dd9a
2ac3dd6853a45237ac049d0a4982becf91ca8c45
Add back memory escape valve If we get our predictions wrong, this can be used to set a lower memory limit as a workaround. Recent multi-gpu refactoring accidentally removed it, so this adds it back.
[ { "path": "llm/memory.go", "patch": "@@ -3,6 +3,8 @@ package llm\n import (\n \t\"fmt\"\n \t\"log/slog\"\n+\t\"os\"\n+\t\"strconv\"\n \t\"strings\"\n \n \t\"github.com/ollama/ollama/api\"\n@@ -49,6 +51,17 @@ func EstimateGPULayers(gpus []gpu.GpuInfo, ggml *GGML, projectors []string, opts\n \tfor _, info := ...
2024-04-24T00:09:02
huggingface/transformers
0dd65a03198424a41ec6948e445c313e9f292939
dce253f645e3fce0e4f5d34740ba643ecd2e573d
chore: fix typos (#31559) Signed-off-by: snoppy <michaleli@foxmail.com>
[ { "path": "src/transformers/agents/prompts.py", "patch": "@@ -123,7 +123,7 @@ def download_prompt(prompt_or_repo_id, agent_name, mode=\"run\"):\n ```<end_action>\n \n ---\n-Above example were using tools that might not exist for you. You only have acces to those Tools:\n+Above example were using tools that ...
2024-06-24T08:48:16
ggml-org/llama.cpp
559646472d4b0ab732b977fefeebc3c38eae458b
cf45437d35eecd3f05a21968a4958a50e8038fb6
fix: prevent nullptr dereference (#20552)
[ { "path": "common/chat-diff-analyzer.cpp", "patch": "@@ -479,6 +479,7 @@ analyze_content::analyze_content(const common_chat_template & tmpl, const analyz\n \n if (!comparison_with_tools || !comparison_with_reasoning) {\n LOG_DBG(ANSI_ORANGE \"%s: Template application failed\\n\" ANSI_RESET, __fu...
2026-03-15T15:51:49
rust-lang/rust
bbc80a819b542d751450bd82208438de5754ee47
03eb45452305f2d52348279d0caa5fc1f12c438d
Delay bug for negative auto trait rather than ICEing
[ { "path": "compiler/rustc_hir_analysis/src/check/always_applicable.rs", "patch": "@@ -124,7 +124,10 @@ pub(crate) fn check_negative_auto_trait_impl<'tcx>(\n // be implemented here to handle non-ADT rigid types.\n Ok(())\n } else {\n- span_bug!(tcx.d...
2025-03-07T17:09:36
nodejs/node
d8debd8448a1d325a564c42e5639655973b7641b
9b4ab1452da677fe6979de336a0f157ba1c2f528
doc,win: clarify WSL support Fixes: https://github.com/nodejs/node/issues/13471 PR-URL: https://github.com/nodejs/node/pull/17008 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.c...
[ { "path": "BUILDING.md", "patch": "@@ -66,6 +66,14 @@ note1 - The gcc4.8-libs package needs to be installed, because node\n In \"Git bash\" if you call the node shell alias (`node` without the `.exe`\n extension), `winpty` is used automatically.\n \n+The Windows Subsystem for Linux (WSL) is not directly...
2017-11-14T02:44:25
golang/go
22d2b984a680900ebbec6268f93a839286b6f130
751c37fd629e0ebb18c39a219fab2b224d016b70
runtime: make sysMemStats' methods nosplit sysMemStats are updated early on in runtime initialization, so triggering a stack growth would be bad. Mark them nosplit. Thank you so much to cherryyz@google.com for finding this fix! Fixes #42218. Change-Id: Ic62db76e6a4f829355d7eaabed1727c51adfbd0f Reviewed-on: https://...
[ { "path": "src/runtime/mstats.go", "patch": "@@ -720,11 +720,17 @@ func flushallmcaches() {\n type sysMemStat uint64\n \n // load atomically reads the value of the stat.\n+//\n+// Must be nosplit as it is called in runtime initialization, e.g. newosproc0.\n+//go:nosplit\n func (s *sysMemStat) load() uint64 ...
2020-10-26T19:35:23
huggingface/transformers
dce253f645e3fce0e4f5d34740ba643ecd2e573d
3c2d4d60d7fd96cb297d1c0c23036ff263bf9311
Add implementation of `spectrogram_batch` (#27159) * Add initial implementation of `spectrogram_batch` * Format the initial implementation * Add test suite for the `spectrogram_batch` * Update `spectrogram_batch` to ensure compatibility with test suite * Update `spectrogram_batch` to include pre and post-p...
[ { "path": "src/transformers/audio_utils.py", "patch": "@@ -18,7 +18,7 @@\n \"\"\"\n \n import warnings\n-from typing import Optional, Tuple, Union\n+from typing import List, Optional, Tuple, Union\n \n import numpy as np\n \n@@ -581,6 +581,213 @@ def spectrogram(\n return spectrogram\n \n \n+def spectro...
2024-06-24T07:19:12
ggml-org/llama.cpp
9cd4ebcfb1ceb3b4af6276089252dc27690e98ba
89d0aec0420f45718bc7f960134e7237dd4c9712
ci : split build.yml + server.yml (#20546) * ci : split build.yml * cont : split server.yml * cont : reduce paths * cont : split build-android.yml + update paths * ci : make msys workflows manual (#20588) * ci : make cross-build workflows manual (#20585) * cont : fix release paths Co-authored-by: Sigbjørn Skjær...
[ { "path": ".github/workflows/build-3rd-party.yml", "patch": "@@ -0,0 +1,57 @@\n+name: CI (3rd-party)\n+\n+on:\n+ workflow_dispatch: # allows manual triggering\n+ push:\n+ branches:\n+ - master\n+ paths: [\n+ '.github/workflows/build-3rd-party.yml',\n+ '**/CMakeLists.txt',\n+ '**/...
2026-03-15T13:11:17
nodejs/node
9b4ab1452da677fe6979de336a0f157ba1c2f528
f24d9619ff21ff5690f091db060a7ae13acd31de
doc: document common pattern for instanceof checks PR-URL: https://github.com/nodejs/node/pull/16699 Fixes: https://github.com/nodejs/node/issues/13824 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "doc/api/n-api.md", "patch": "@@ -3022,6 +3022,29 @@ constructor and methods can be called from JavaScript.\n callback, [`napi_unwrap`][] obtains the C++ instance that is the target of\n the call.\n \n+For wrapped objects it may be difficult to distinguish between a function\n+called on a ...
2017-11-02T22:14:24
golang/go
79781e8dd382ac34e502ed6a088dff6860a08c05
f77a9025f1e4bf4bb3e2b582d13cce5f19c1ca51
runtime: move malloc stats into consistentHeapStats This change moves the mcache-local malloc stats into the consistentHeapStats structure so the malloc stats can be managed consistently with the memory stats. The one exception here is tinyAllocs for which moving that into the global stats would incur several atomic w...
[ { "path": "src/runtime/export_test.go", "patch": "@@ -337,33 +337,22 @@ func ReadMemStatsSlow() (base, slow MemStats) {\n \t\t\t}\n \t\t}\n \n-\t\t// Add in frees. readmemstats_m flushed the cached stats, so\n-\t\t// these are up-to-date.\n-\t\tvar tinyAllocs, largeFree, smallFree uint64\n-\t\tfor _, p := r...
2020-08-04T17:29:03
ollama/ollama
8711d03df7da3b19f2ffa58957bf7f872a37b0ad
6e8db04716085c86aae07fc9e72fb41fefdaedc4
Report errors on server lookup instead of path lookup failure
[ { "path": "llm/server.go", "patch": "@@ -253,6 +253,12 @@ func NewLlamaServer(model string, adapters, projectors []string, opts api.Option\n \tvar finalErr error\n \tfor i := 0; i < len(servers); i++ {\n \t\tdir := availableServers[servers[i]]\n+\t\tif dir == \"\" {\n+\t\t\t// Shouldn't happen\n+\t\t\tfinal...
2024-04-22T23:22:05
huggingface/transformers
4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee
74a207404e8d4524d1fdc4aa23789694f9eef347
Update mask_generation.md (#31543) Minor bug fixes -- rearrange import & add missing parentheses
[ { "path": "docs/source/en/tasks/mask_generation.md", "patch": "@@ -124,6 +124,7 @@ the processor.\n \n ```python\n from transformers import SamModel, SamProcessor\n+import torch\n \n device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')\n \n@@ -147,7 +148,6 @@ masks = processor.image_process...
2024-06-23T19:27:21
rust-lang/rust
bdf602a594dd009a694d000d6d910685af1ae330
d11c5b8d75244a52f3578244aa5503ffa5893989
Log build script error output in `load_cargo::load_workspace_at`
[ { "path": "src/tools/rust-analyzer/crates/load-cargo/src/lib.rs", "patch": "@@ -45,10 +45,18 @@ pub fn load_workspace_at(\n ) -> anyhow::Result<(RootDatabase, vfs::Vfs, Option<ProcMacroClient>)> {\n let root = AbsPathBuf::assert_utf8(std::env::current_dir()?.join(root));\n let root = ProjectManifest...
2025-03-07T15:07:35
ggml-org/llama.cpp
6b10a82c00064d4ead889b09d7fae9eff6927d57
d23355afc319f598d0e588a2d16a4da82e14ff41
kv-cache : fix reading llama_kv_cell_ext during state read (#20273) Co-authored-by: sid <sid@ragingfist.net>
[ { "path": "src/llama-kv-cache.cpp", "patch": "@@ -1953,6 +1953,12 @@ bool llama_kv_cache::state_read_meta(llama_io_read_i & io, uint32_t strm, uint32\n \n cells.pos_set(i, pos);\n \n+ if (hparams.n_pos_per_embd() > 1) {\n+ llama_kv_cell_ext ext;\n+ io.rea...
2026-03-15T07:11:19
nodejs/node
f24d9619ff21ff5690f091db060a7ae13acd31de
b58a1cd70a2ccc97bb97bba4464d2b5aaecf5ab5
tools: try installing js-yaml only once PR-URL: https://github.com/nodejs/node/pull/16661 Fixes: https://github.com/nodejs/node/issues/16650 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
[ { "path": "Makefile", "patch": "@@ -539,7 +539,8 @@ apidoc_dirs = out/doc out/doc/api/ out/doc/api/assets\n \n apiassets = $(subst api_assets,api/assets,$(addprefix out/,$(wildcard doc/api_assets/*)))\n \n-doc-only: $(apidocs_html) $(apidocs_json)\n+doc-targets: $(apidocs_html) $(apidocs_json)\n+doc-only: |...
2017-11-01T04:13:18
ollama/ollama
435cc866a3fbabb5029b8a2496631847a871616f
62be2050dd83197864d771fe6891fc47486ee6a1
fix: mixtral graph
[ { "path": "llm/ggml.go", "patch": "@@ -343,7 +343,15 @@ func (llm GGML) GraphSize(context, batch uint64) (partialOffload, fullOffload ui\n \t\t\t4*batch*(embedding+vocab)+embedding*vocab*105/128,\n \t\t)\n \n-\t\tif ffnGateWeight, ok := layers[\"0\"][\"ffn_gate.0.weight\"]; ok {\n+\t\tif ffnGateExpsWeight, ...
2024-04-22T23:57:05
huggingface/transformers
74a207404e8d4524d1fdc4aa23789694f9eef347
8b7cd402738c97825bc52e53632c8cef41906d2f
New model support RTDETR (#29077) * fill out docs string in configuration https://github.com/huggingface/transformers/pull/29077/files/75dcd3a0e82cca36f12178b65bbd071ab7b25088#r1506391856 * reduce the input image size for the tests * remove the unappropriate tests * only 5 failes exists * make style * ...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -627,6 +627,8 @@\n title: RegNet\n - local: model_doc/resnet\n title: ResNet\n+ - local: model_doc/rt_detr\n+ title: RT-DETR\n - local: model_doc/segformer\n title: SegFormer\n - local: model_doc/segg...
2024-06-21T16:50:08
nodejs/node
c661dad0868ed31deaf3ba93027eceabe09fd53b
617e3e96e671ae3507d233a23d5217bab56256c5
build: fix cctest target --with-dtrace Currently the cctest target will fail on linux when configured --with-dtrace: /node-v9.2.0/out/Release/obj.target/node/src/node_dtrace.o: In function `node::DTRACE_NET_SERVER_CONNECTION( v8::FunctionCallbackInfo<v8::Value> const&)': node_dtrace.cc:(.text+0x103): undefined re...
[ { "path": "node.gyp", "patch": "@@ -885,7 +885,20 @@\n [ 'node_use_dtrace==\"true\"', {\n 'libraries': [\n '<(OBJ_PATH)<(OBJ_SEPARATOR)node_dtrace.<(OBJ_SUFFIX)',\n- ]\n+ ],\n+ 'conditions': [\n+ ['OS!=\"mac\" and OS!=\"linux\"', {\n+ ...
2017-11-15T09:48:01
ollama/ollama
9c0db4cc83d488a9a51d262fac34aea1f651d347
6f18297b3a8711da2a538a0cd670e7dae48307a6
Update gen_windows.ps1 Fixed improper env references
[ { "path": "llm/generate/gen_windows.ps1", "patch": "@@ -243,9 +243,9 @@ if ($null -ne $script:CUDA_LIB_DIR) {\n init_vars\n $script:buildDir=\"../build/windows/${script:ARCH}/cuda$script:CUDA_VARIANT\"\n $script:cmakeDefs += @(\"-A\", \"x64\", \"-DLLAMA_CUDA=ON\", \"-DLLAMA_AVX=on\", \"-DLLAMA_A...
2024-04-21T20:13:41
golang/go
c8638498008f9874dc5a48734418e0fbea08cee9
d677899e903c4741920846f1af2c14c56f6e710e
runtime: rename mcache fields to match Go style This change renames a bunch of malloc statistics stored in the mcache that are all named with the "local_" prefix. It also renames largeAlloc to allocLarge to prevent a naming conflict, and next_sample because it would be the last mcache field with the old C naming style...
[ { "path": "src/runtime/export_test.go", "patch": "@@ -346,18 +346,18 @@ func ReadMemStatsSlow() (base, slow MemStats) {\n \t\t\t\tcontinue\n \t\t\t}\n \t\t\t// Collect large allocation stats.\n-\t\t\tlargeFree += uint64(c.local_largefree)\n-\t\t\tslow.Frees += uint64(c.local_nlargefree)\n+\t\t\tlargeFree +=...
2020-07-24T19:58:31
nodejs/node
07d39a2262dac233b5f86b06ecc16484ab0f7858
ccc87ebb3393a7a4738ed20d9378857633e74c76
util: emit deprecation code only once If another function has already emitted the deprecation warning with the same code as the warning that is about to be emitted, do not emit the warning. This is a breaking change. Previously, different functions could emit the same deprecation warning multiple times. This was a kn...
[ { "path": "doc/api/util.md", "patch": "@@ -110,6 +110,9 @@ environment variable. For example: `NODE_DEBUG=fs,net,tls`.\n ## util.deprecate(fn, msg[, code])\n <!-- YAML\n added: v0.8.0\n+changes:\n+ - version: REPLACEME\n+ description: Deprecation warnings are only emitted once for each code.\n -->\n \n ...
2017-10-22T19:26:32
ollama/ollama
62be2050dd83197864d771fe6891fc47486ee6a1
56f8aa6912870123930ae0e15e6245ebbb557bd3
chore: use errors.New to replace fmt.Errorf will much better (#3789)
[ { "path": "api/types.go", "patch": "@@ -2,6 +2,7 @@ package api\n \n import (\n \t\"encoding/json\"\n+\t\"errors\"\n \t\"fmt\"\n \t\"math\"\n \t\"os\"\n@@ -307,7 +308,7 @@ func (m *Metrics) Summary() {\n \t}\n }\n \n-var ErrInvalidOpts = fmt.Errorf(\"invalid options\")\n+var ErrInvalidOpts = errors.New(\"in...
2024-04-21T02:11:06
rust-lang/rust
224f287f3226a89eff12ff3cbf0ca4e64c96d351
d47e5a371bb3a4353587e95bf4ee271a273d1326
Fix `broken-pipe-no-ice` to not depend on unstable `anonymous_pipe` feature
[ { "path": "tests/run-make/broken-pipe-no-ice/rmake.rs", "patch": "@@ -11,12 +11,12 @@\n // Internal Compiler Error strangely, but it doesn't even go through normal diagnostic infra. Very\n // strange.\n \n-#![feature(anonymous_pipe)]\n-\n use std::io::Read;\n use std::process::{Command, Stdio};\n \n-use run...
2025-02-24T12:02:44
golang/go
f5c6875f3228951afa1fcf2ec01c614e0fb7e2dd
93d7d1685ee9e9f296e20f6c712796e54602e891
runtime: make next_gc atomically accessed next_gc is mostly updated only during a STW, but may occasionally be updated by calls to e.g. debug.SetGCPercent. In this case the update is supposed to be protected by the heap lock, but in reality it's accessed by gcController.revise which may be called without the heap lock...
[ { "path": "src/runtime/mgc.go", "patch": "@@ -409,7 +409,8 @@ type gcControllerState struct {\n }\n \n // startCycle resets the GC controller's state and computes estimates\n-// for a new GC cycle. The caller must hold worldsema.\n+// for a new GC cycle. The caller must hold worldsema and the world\n+// mus...
2020-07-23T20:24:56
huggingface/transformers
d28e647f2800f064c1455fb62c6db09e8c61dfc0
6d4306160ab22c54a677e07f88c7d8808b137d38
Fix mismatched ` in doc & other common typos (#31516) fix common doc typos Co-authored-by: Jiahui Wei <jiahui.wei@tusen.ai>
[ { "path": "src/transformers/models/align/configuration_align.py", "patch": "@@ -307,9 +307,9 @@ class AlignConfig(PretrainedConfig):\n vision_config (`dict`, *optional*):\n Dictionary of configuration options used to initialize [`AlignVisionConfig`].\n projection_dim (`int`, *opt...
2024-06-20T13:03:07
nodejs/node
60698c245596ac50cd4d672059ec2e47090b102c
d6ac8a4db0c0a588258f594dc21fbd8018bef7c2
test: apply eslint exceptions narrowly In test-util-inspect, apply ESLint exception for accessor-pairs rule narrowly. It had been applied to nearly the whole file, but is only needed for two lines. PR-URL: https://github.com/nodejs/node/pull/16393 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Col...
[ { "path": "test/parallel/test-util-inspect.js", "patch": "@@ -26,8 +26,6 @@ const JSStream = process.binding('js_stream').JSStream;\n const util = require('util');\n const vm = require('vm');\n \n-/* eslint-disable accessor-pairs */\n-\n assert.strictEqual(util.inspect(1), '1');\n assert.strictEqual(util.in...
2017-10-22T18:17:59
ggml-org/llama.cpp
609ea50026a336a6cf3c02e596792477530b5928
9f774e45eea7bc2883920643281b26902c96e6bd
hexagon: Q4_0 and MXFP4 repack fixes (#20527) * hexagon: fix tail corruption with rows sizes not multiple of 256 * hexagon: use different stride for repacking partial blocks * hex-mm: update repack and kernels to avoid shuffles for full 256-element blocks Previous commit changed the repacking to use even:odd (0:1,2...
[ { "path": "ggml/src/ggml-hexagon/ggml-hexagon.cpp", "patch": "@@ -402,6 +402,7 @@ static void pack_q4_0_quants(block_q4_0 * x, const uint8_t * qs, unsigned int bi\n static void repack_row_q4x4x2(uint8_t * y, const block_q4_0 * x, int64_t k) {\n static const int qk = QK_Q4_0x4x2;\n const int n...
2026-03-14T18:09:08