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
371d1db60cad72f629992df20e347abab56fea5b
9e551ef7391e964c63300f16a5eecf8ead70106c
doc: added note to fs.watchFile on previousStat Explains the expected behavior of previousStat in fs.watchFile() when a watched file disappears and reappears. PR-URL: https://github.com/nodejs/node/pull/16099 Fixes: https://github.com/nodejs/node/issues/15364 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By...
[ { "path": "doc/api/fs.md", "patch": "@@ -2566,6 +2566,15 @@ v0.10.\n `fs.unwatchFile`. `fs.watch` should be used instead of `fs.watchFile` and\n `fs.unwatchFile` when possible.\n \n+*Note:* When a file being watched by `fs.watchFile()` disappears and reappears,\n+then the `previousStat` reported in the seco...
2017-10-09T07:19:07
rust-lang/rust
3477297c374f2b12a5846b8b522b1e69ea08cc5e
2af87eab3b4890d62ad998cf9c55e076d91bf06a
Fix UB in ThinVec::flat_map_in_place thin_vec.as_ptr() goes through the Deref impl of ThinVec, which will not allow access to any memory as we did call set_len(0) first.
[ { "path": "compiler/rustc_data_structures/src/flat_map_in_place.rs", "patch": "@@ -1,4 +1,4 @@\n-use std::ptr;\n+use std::{mem, ptr};\n \n use smallvec::{Array, SmallVec};\n use thin_vec::ThinVec;\n@@ -13,39 +13,44 @@ pub trait FlatMapInPlace<T>: Sized {\n // The implementation of this method is syntactical...
2025-01-24T15:40:41
huggingface/transformers
005b957fb851607115800f50e594b77662a771ba
63c5e27efbd6ab8e03fe9e7a010c17834f2212d7
Add DBRX Model (#29921) * wip * fix __init__.py * add docs * Apply suggestions from code review Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com> * address comments 1 * work on make fixup * pass configs down * add sdpa attention * remove DbrxBlock * add to configurat...
[ { "path": "README.md", "patch": "@@ -341,6 +341,7 @@ Current number of checkpoints: ![](https://img.shields.io/endpoint?url=https://h\n 1. **[CTRL](https://huggingface.co/docs/transformers/model_doc/ctrl)** (from Salesforce) released with the paper [CTRL: A Conditional Transformer Language Model for Control...
2024-04-18T13:18:52
ggml-org/llama.cpp
f4f501925418ae38bb1e2d8c5e054c436686a782
d5574c919ca4dea2eca8039da05b96e70a979532
model: add Solar Open model (#18511) * model: add Solar-Open model * vocab: add solar-open to end eog blacklist * model: add proper llm type * chat: basic template for solar open * typo: fix comment about vocab * convert: sugested changes * convert: suggested changes * chat: change reasoning end tag for solar-o...
[ { "path": "common/chat-parser.cpp", "patch": "@@ -1395,6 +1395,14 @@ static void common_chat_parse_seed_oss(common_chat_msg_parser & builder) {\n builder.consume_reasoning_with_xml_tool_calls(form, \"<seed:think>\", \"</seed:think>\");\n }\n \n+static void common_chat_parse_solar_open(common_chat_msg_pa...
2026-01-01T17:01:43
ollama/ollama
d104b7e99772e02da46d55ec9d8d2df724b81112
9e2de1bd2c09cfc6a68deb50e7ec5033df6d22ed
Fix go test./... issue: fmt.Println arg list ends with redundant newline (#705)
[ { "path": "cmd/cmd.go", "patch": "@@ -687,27 +687,27 @@ func generateInteractive(cmd *cobra.Command, model string) error {\n \t\t\t\tswitch args[1] {\n \t\t\t\tcase \"license\":\n \t\t\t\t\tif resp.License == \"\" {\n-\t\t\t\t\t\tfmt.Println(\"No license was specified for this model.\\n\")\n+\t\t\t\t\t\tfmt...
2023-10-05T15:11:04
golang/go
7432bee7b372efbbd09b16c4e3176b69fbb6878a
b246c0e12fd41caf45a0f81eaa4f8fe249fbbc01
net/http/fcgi: fix race in child.serve connection read Guards the connection read with a mutex, because typeStdin asynchronously and concurrently writes to the underlying conn. Fixes #41167 Change-Id: Ia2610f4fde0bd4b108c54164095ea293980b0301 Reviewed-on: https://go-review.googlesource.com/c/go/+/252417 Run-TryBot: ...
[ { "path": "src/net/http/fcgi/child.go", "patch": "@@ -155,9 +155,12 @@ func (c *child) serve() {\n \tdefer c.cleanUp()\n \tvar rec record\n \tfor {\n+\t\tc.conn.mutex.Lock()\n \t\tif err := rec.read(c.conn.rwc); err != nil {\n+\t\t\tc.conn.mutex.Unlock()\n \t\t\treturn\n \t\t}\n+\t\tc.conn.mutex.Unlock()\n ...
2020-09-02T02:53:39
huggingface/transformers
acab997befc352229fcd99a0eb89884632d7412b
7509a0ad9878ab054806b8c7726a3270a9e11eba
Revert "Re-enable SDPA's FA2 path (#30070)" (#30314) * Revert "Re-enable SDPA's FA2 path (#30070)" This reverts commit 05bdef16b611df0946a6a602503f1ace604b6c80. * Revert "Fix quality Olmo + SDPA (#30302)" This reverts commit ec92f983af5295fc92414a37b988d8384785988a.
[ { "path": "src/transformers/modeling_attn_mask_utils.py", "patch": "@@ -234,59 +234,6 @@ def _unmask_unattended(\n \n return expanded_mask.mul(~torch.all(expanded_mask == min_dtype, dim=-1, keepdim=True))\n \n- @staticmethod\n- def _ignore_causal_mask_sdpa(\n- attention_mask: Optional[t...
2024-04-18T12:09:52
nodejs/node
9e551ef7391e964c63300f16a5eecf8ead70106c
bb56fbbfe5c6703768c03c0117c9d4c88ac2c896
test: replace fixturesDir with fixtures.path PR-URL: https://github.com/nodejs/node/pull/15994 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipi...
[ { "path": "test/parallel/test-regress-GH-1899.js", "patch": "@@ -1,11 +1,11 @@\n 'use strict';\n-const common = require('../common');\n-const path = require('path');\n+require('../common');\n+const fixtures = require('../common/fixtures');\n const assert = require('assert');\n const spawn = require('child_p...
2017-10-06T18:17:55
rust-lang/rust
169e731f53788c21b1c864fb67e4a574f95f0026
b491494a20bc1cde315c3d51055122e957188492
Fix unused import in coretests on wasm32
[ { "path": "library/coretests/tests/slice.rs", "patch": "@@ -5,8 +5,6 @@ use core::num::NonZero;\n use core::ops::{Range, RangeInclusive};\n use core::slice;\n \n-use rand::seq::IndexedRandom;\n-\n #[test]\n fn test_position() {\n let b = [1, 2, 3, 5, 5];\n@@ -1810,6 +1808,7 @@ fn select_nth_unstable() {...
2025-02-26T14:51:37
ggml-org/llama.cpp
d5574c919ca4dea2eca8039da05b96e70a979532
26831bded991d3fb31ca6b143af46eebb85f7e60
webui: fix code copy stripping XML/HTML tags (#18518) * webui: fix code copy stripping XML/HTML tags * webui: update static build
[ { "path": "tools/server/webui/src/lib/utils/clipboard.ts", "patch": "@@ -65,10 +65,7 @@ export async function copyCodeToClipboard(\n \tsuccessMessage = 'Code copied to clipboard',\n \terrorMessage = 'Failed to copy code'\n ): Promise<boolean> {\n-\tconst doc = new DOMParser().parseFromString(rawCode, 'text/...
2026-01-01T12:44:11
huggingface/transformers
7509a0ad9878ab054806b8c7726a3270a9e11eba
9459efb807fef4960eaf58d35e52fac4459933d2
Fix RecurrentGemma device_map (#30273) * Switch to non persistant buffer * fix device mismatch issue due to cache * style
[ { "path": "src/transformers/models/recurrent_gemma/modeling_recurrent_gemma.py", "patch": "@@ -252,7 +252,7 @@ def _update_cache(self, key_states, value_states, **cache_kwargs):\n to_shift = cache_position >= self.config.attention_window_size - 1\n indices = (slicing + to_shift[-1].i...
2024-04-18T09:52:10
golang/go
b246c0e12fd41caf45a0f81eaa4f8fe249fbbc01
786120b55db5c3567d8c353fc399e9339c7406dd
runtime: fix panic if newstack at runtime.acquireLockRank Process may crash becaues acquireLockRank and releaseLockRank may be called in nosplit context. With optimizations and inlining disabled, these functions won't get inlined or have their morestack calls eliminated. Nosplit is not strictly required for lockWithRa...
[ { "path": "src/runtime/lockrank_off.go", "patch": "@@ -18,19 +18,29 @@ func getLockRank(l *mutex) lockRank {\n \treturn 0\n }\n \n+// The following functions may be called in nosplit context.\n+// Nosplit is not strictly required for lockWithRank, unlockWithRank\n+// and lockWithRankMayAcquire, but these no...
2020-08-21T16:44:52
rust-lang/rust
b491494a20bc1cde315c3d51055122e957188492
b60aeb05ddd58e509fbedddfd2d1b8cfcb143e8f
Also test coretests when running ./x.py test core It is reasonable to expect that ./x.py test core is enough to run tests when you are working on core. In addition it seems like CI for wasm32 at least doesn't run coretests currently, which this commit fixes.
[ { "path": "src/bootstrap/src/core/build_steps/test.rs", "patch": "@@ -2785,14 +2785,15 @@ impl Step for Crate {\n _ => panic!(\"can only test libraries\"),\n };\n \n- run_cargo_test(\n- cargo,\n- &[],\n- &self.crates,\n- &*crate_descript...
2025-02-19T15:58:08
nodejs/node
bb56fbbfe5c6703768c03c0117c9d4c88ac2c896
9aa41cb294636ae10dc340461a9c109d9f00c75d
test: update fixturesDir import Import fixturesDir path from common/fixturesDir module rather than from common. PR-URL: https://github.com/nodejs/node/pull/15887 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
[ { "path": "test/sequential/test-stream2-fs.js", "patch": "@@ -20,14 +20,15 @@\n // USE OR OTHER DEALINGS IN THE SOFTWARE.\n \n 'use strict';\n-const common = require('../common');\n+require('../common');\n+const fixtures = require('../common/fixtures');\n const assert = require('assert');\n \n const fs = re...
2017-10-06T16:49:32
ggml-org/llama.cpp
4cd162a1235682d78e0ad04ca5f27bcaeef2460e
13814eb370d2f0b70e1830cc577b6155b17aee47
chat: make tool description and parameters optional per OpenAI spec (#18478) * chat: make tool description and parameters optional per OpenAI spec Per the OpenAI API specification, both 'description' and 'parameters' fields in tool function definitions are optional. Previously, the parser would throw an exception if ...
[ { "path": "common/chat.cpp", "patch": "@@ -380,8 +380,8 @@ std::vector<common_chat_tool> common_chat_tools_parse_oaicompat(const json & too\n const auto & function = tool.at(\"function\");\n result.push_back({\n /* .name = */ function.at(\"name\"),\n- ...
2025-12-31T23:21:37
ollama/ollama
0a4f21c0a723e71278e4a619eb263c58d02f256e
9abb66254a583754fa64757ce8b3270b052ab848
fix docker build (#659)
[ { "path": "Dockerfile", "patch": "@@ -2,7 +2,7 @@ FROM nvidia/cuda:11.8.0-devel-ubuntu22.04\n \n ARG TARGETARCH\n ARG VERSION=0.0.0\n-ARG GOFLAGS=\"'-ldflags -w -s'\"\n+ARG GOFLAGS=\"'-ldflags=-w -s'\"\n \n WORKDIR /go/src/github.com/jmorganca/ollama\n RUN apt-get update && apt-get install -y git build-esse...
2023-09-30T20:34:01
golang/go
786120b55db5c3567d8c353fc399e9339c7406dd
717266b4c2bd178dcbd49f31048f216d8799e697
cmd/cgo: document #include <> search path behaviour cgo effectively prepends -I${SRCDIR} to the header include path of all preambles it processes, so when an #include <> matches a header file both in the source directory and also another include directory, the local copy will be used in preference. This behaviour is ...
[ { "path": "misc/cgo/test/test.go", "patch": "@@ -319,6 +319,7 @@ typedef enum {\n \n // issue 4339\n // We've historically permitted #include <>, so test it here. Issue 29333.\n+// Also see issue 41059.\n #include <issue4339.h>\n \n // issue 4417", "additions": 1, "deletions": 0, "language": "G...
2020-09-01T00:00:23
ggml-org/llama.cpp
33ded988ba9a5514036d64334f803334047a15d8
0db81098494023775a704a44042c317d36c91f24
quantize: prevent input/output file collision (#18451) Check if input and output files are the same before quantizing to prevent file corruption when mmap reads from a file being written to. Fixes #12753
[ { "path": "tools/quantize/quantize.cpp", "patch": "@@ -12,6 +12,7 @@\n #include <cmath>\n #include <cctype>\n #include <algorithm>\n+#include <filesystem>\n \n struct quant_option {\n std::string name;\n@@ -643,6 +644,11 @@ int main(int argc, char ** argv) {\n return 1;\n }\n \n+ if (std:...
2025-12-31T15:29:03
huggingface/transformers
3f20877da96bd9a14aeccf30f1399bd913ff74cf
28a22834bf609b27d0178b5ba99224f69577a3b6
Add jamba (#29943) * Add jamba arch * apply "make fix-copies" changes * fix link to model in JambaConfig docstring * Add n_ctx in modeling file because repo-consistency wants that * Add jamba to flash attention and sdpa documentation * mamba dt_proj quant fix now works for LoRA as well * override tes...
[ { "path": "README.md", "patch": "@@ -399,6 +399,7 @@ Current number of checkpoints: ![](https://img.shields.io/endpoint?url=https://h\n 1. **[ImageGPT](https://huggingface.co/docs/transformers/model_doc/imagegpt)** (from OpenAI) released with the paper [Generative Pretraining from Pixels](https://openai.com...
2024-04-18T09:04:02
nodejs/node
9aa41cb294636ae10dc340461a9c109d9f00c75d
0ff0c70e44581ebff6327a9f95e3d49a6ec1609d
test: replace fixturesDir with fixtures methods PR-URL: https://github.com/nodejs/node/pull/15967 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "test/parallel/test-fs-read-stream-inherit.js", "patch": "@@ -1,12 +1,13 @@\n 'use strict';\n+\n const common = require('../common');\n \n const assert = require('assert');\n const fs = require('fs');\n-const path = require('path');\n+const fixtures = require('../common/fixtures');\n \n-const fn =...
2017-10-06T17:41:49
rust-lang/rust
9a2362a76eac403552fd93a0977e10731f3d9de3
2af87eab3b4890d62ad998cf9c55e076d91bf06a
linker: Fix escaping style for response files on Windows If we use a С/С++ compiler as linker, then Posix-style escaping should be used.
[ { "path": "compiler/rustc_codegen_ssa/src/back/link.rs", "patch": "@@ -1726,8 +1726,12 @@ fn exec_linker(\n args.push_str(\n &Escape {\n arg: arg.to_str().unwrap(),\n- // LLD also uses MSVC-like parsing for @-files by default when running on windows hosts\n...
2025-02-26T13:24:39
ollama/ollama
9abb66254a583754fa64757ce8b3270b052ab848
1d0ebe67e8754f2cdfc0b986f980a87f71a7efa5
docker: fix volume permission errors
[ { "path": "Dockerfile", "patch": "@@ -15,13 +15,9 @@ RUN /usr/local/go/bin/go generate ./... \\\n && /usr/local/go/bin/go build .\n \n FROM ubuntu:22.04\n-ENV OLLAMA_HOST 0.0.0.0\n-\n RUN apt-get update && apt-get install -y ca-certificates\n-RUN groupadd ollama && useradd -m -g ollama ollama\n-\n COPY ...
2023-09-30T19:32:06
golang/go
717266b4c2bd178dcbd49f31048f216d8799e697
b0369225ebfdc355c61abbbb2663316388c60895
net/smtp: adds support for the SMTPUTF8 extension If the SMTP server supports the SMTPUTF8 extension, the SMTPUTF8 parameter is added to the MAIL FROM command by the (*Client).Mail method. Fixes #19860 Change-Id: I3287faf114ee514e5faa815a6bbc1bf04cf60b0f GitHub-Last-Rev: d6338bb802da7537223f1ec6eda960606febefb8 GitH...
[ { "path": "src/net/smtp/smtp.go", "patch": "@@ -241,7 +241,8 @@ func (c *Client) Auth(a Auth) error {\n \n // Mail issues a MAIL command to the server using the provided email address.\n // If the server supports the 8BITMIME extension, Mail adds the BODY=8BITMIME\n-// parameter.\n+// parameter. If the serv...
2020-09-01T21:13:01
ggml-org/llama.cpp
0db81098494023775a704a44042c317d36c91f24
9b8329de7a7200385aaac16ab4a2ab79ae14d829
convert : lint fix (#18507)
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -9304,6 +9304,7 @@ def tensor_force_quant(self, name, new_name, bid, n_dims):\n return gguf.GGMLQuantizationType.F32\n return super().tensor_force_quant(name, new_name, bid, n_dims)\n \n+\n @ModelBase.register(\"FalconH1ForCausalLM\")\n cla...
2025-12-31T13:28:21
huggingface/transformers
28a22834bf609b27d0178b5ba99224f69577a3b6
7915a25976a6000f71b9197d963e56868f42e77e
Fix all torch pipeline failures except one (#30290) * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "src/transformers/pipelines/__init__.py", "patch": "@@ -367,8 +367,8 @@\n \"pt\": (AutoModel,) if is_torch_available() else (),\n \"default\": {\n \"model\": {\n- \"pt\": (\"google/vit-base-patch16-224\", \"29e7a1e183\"),\n- \"tf\": (\"goog...
2024-04-18T08:35:43
nodejs/node
91a465c460a1525103611a03ca277b061f320228
80bd2a240b55cd465de36397c4cfa3cfec4d4ea1
test: fix regression in test-require-resolver.js PR-URL: https://github.com/nodejs/node/pull/16192 Refs: https://github.com/nodejs/node/pull/15984 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
[ { "path": "test/parallel/test-require-resolve.js", "patch": "@@ -26,7 +26,7 @@ const assert = require('assert');\n \n assert.strictEqual(\n fixtures.path('a.js').toLowerCase(),\n- require.resolve(fixtures.path('a').toLowerCase()));\n+ require.resolve(fixtures.path('a')).toLowerCase());\n assert.strictEq...
2017-10-13T20:13:14
ollama/ollama
9771b1ec510bd0a217a61ef85bb98cabd4818f84
76db4a49cfc6e5a600860a7adf05dfe13707542f
windows runner fixes (#637)
[ { "path": "llm/llama.go", "patch": "@@ -64,27 +64,29 @@ func chooseRunners(workDir, runnerType string) []ModelRunner {\n \trunnerAvailable := false // if no runner files are found in the embed, this flag will cause a fast fail\n \tfor _, r := range runners {\n \t\t// find all the files in the runner's bin d...
2023-09-29T15:47:55
ggml-org/llama.cpp
9b8329de7a7200385aaac16ab4a2ab79ae14d829
9a6369bb603457f277b597f0ccee1c19cd25c4b2
mtmd : Adding support for Nvidia Music Flamingo Model (#18470) * Inital commit, debugging q5_k_s quant * Made hf_to_gguf extend whisper to reduce code duplication * addressed convert_hf_to_gguf pull request issue --------- Co-authored-by: Henry D <henrydorsey147@gmail.com>
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -3503,7 +3503,7 @@ def set_vocab(self):\n self._set_vocab_qwen()\n \n \n-@ModelBase.register(\"Qwen2Model\", \"Qwen2ForCausalLM\", \"Qwen2AudioForConditionalGeneration\", \"KORMoForCausalLM\")\n+@ModelBase.register(\"Qwen2Model\", \"Qwen2ForCausalLM\",...
2025-12-31T11:13:23
huggingface/transformers
7915a25976a6000f71b9197d963e56868f42e77e
b65df514d10cbaf16de9589a520662c178368d80
Fix donut token2json multiline (#30300) * Fix multiline processing * Update test for token2json
[ { "path": "src/transformers/models/donut/processing_donut.py", "patch": "@@ -149,7 +149,9 @@ def token2json(self, tokens, is_inner_value=False, added_vocab=None):\n end_token = end_token.group()\n start_token_escaped = re.escape(start_token)\n end_token_escape...
2024-04-18T08:30:40
golang/go
6fc329bb7fbb78315e2f53895a9fc6cbed63c1d7
971203cad3c4a5cdfd196a7ad5ce76b550d2ff9f
net/http/cgi: don't pass nil Body to the child handler For server requests, the http.Request Body should not be nil. Fixes #39190 Change-Id: I32de7b6c0f6ca55008fea9fd86089cda0a2dea62 Reviewed-on: https://go-review.googlesource.com/c/go/+/235137 Reviewed-by: Bryan C. Mills <bcmills@google.com> Run-TryBot: Bryan C. Mi...
[ { "path": "src/net/http/cgi/child.go", "patch": "@@ -146,6 +146,9 @@ func Serve(handler http.Handler) error {\n \tif err != nil {\n \t\treturn err\n \t}\n+\tif req.Body == nil {\n+\t\treq.Body = http.NoBody\n+\t}\n \tif handler == nil {\n \t\thandler = http.DefaultServeMux\n \t}", "additions": 3, "d...
2020-05-24T12:58:51
rust-lang/rust
6af901c51edbe2019e6aa18f7b33eb8581dc49af
a8968e5dd8ce548d56af8fba6d69862949652e6b
Add `unnecessary_debug_formatting` lint Address review comments Fix adjacent code Required now that the lint is pedantic Add inline formatting tests Add note re formatting changes Address `unnecessary_map_or` warnings Address additional review comments Typo Update Clippy version
[ { "path": "CHANGELOG.md", "patch": "@@ -6110,6 +6110,7 @@ Released 2018-09-13\n [`unnecessary_box_returns`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_box_returns\n [`unnecessary_cast`]: https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast\n [`unnecessary_cl...
2024-12-29T01:23:14
nodejs/node
1a9f48a87591f3d1194c4051b9b867a38ba2bccc
d90dca6620760f0bd9a7889e906273a60362d76d
test: replace fixturesDir with the fixtures module PR-URL: https://github.com/nodejs/node/pull/16027 Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Revie...
[ { "path": "test/parallel/test-http-default-port.js", "patch": "@@ -25,16 +25,14 @@ const common = require('../common');\n if (!common.hasCrypto)\n common.skip('missing crypto');\n \n+const fixtures = require('../common/fixtures');\n const http = require('http');\n const https = require('https');\n const a...
2017-10-06T19:05:13
ollama/ollama
92c20fdae643d70a33d1a7e3b34f6a1338cf5e44
c951da70965981cedcd58827d53eec91d5167e44
fix error messages for unknown commands in the repl (#611)
[ { "path": "cmd/cmd.go", "patch": "@@ -635,6 +635,8 @@ func generateInteractive(cmd *cobra.Command, model string) error {\n \t\t\t\t\t} else {\n \t\t\t\t\t\tusage()\n \t\t\t\t\t}\n+\t\t\t\tdefault:\n+\t\t\t\t\tfmt.Printf(\"Unknown command '/set %s'. Type /? for help\\n\", args[1])\n \t\t\t\t}\n \t\t\t} else ...
2023-09-28T21:19:45
huggingface/transformers
b65df514d10cbaf16de9589a520662c178368d80
ec92f983af5295fc92414a37b988d8384785988a
Add Flash Attention 2 to M2M100 model (#30256) * Added flash attention 2. * Fixes. * Fix inheritance. * Fixed init. * Remove stuff. * Added documentation. * Add FA2 to M2M100 documentation. * Add test. * Fixed documentation. * Update src/transformers/models/m2m_100/modeling_m2m_100.py Co-...
[ { "path": "docs/source/en/model_doc/m2m_100.md", "patch": "@@ -121,3 +121,45 @@ Hindi to French and Chinese to English using the *facebook/m2m100_418M* checkpoi\n \n [[autodoc]] M2M100ForConditionalGeneration\n - forward\n+\n+## Using Flash Attention 2\n+\n+Flash Attention 2 is a faster, optimized versi...
2024-04-18T08:27:58
ggml-org/llama.cpp
ecc343de63ac1aaba9c74cd26807fd60aec31ab9
01ade96e71b62b482019e42dd74551758fde8851
CUDA: fix KQ max calculation (#18487)
[ { "path": "ggml/src/ggml-cuda/fattn-mma-f16.cuh", "patch": "@@ -531,7 +531,7 @@ static __device__ __forceinline__ void flash_attn_ext_f16_iter(\n for (int k0 = 0; k0 < nbatch_fa; k0 += np*T_C_KQ::I) {\n #pragma unroll\n for (int l = 0; l < T_C_KQ::ne; ++l) {\n- if (!oob_ch...
2025-12-31T08:37:00
golang/go
afa150c2ea1b121c7727c12ab3615fcc173d0d15
ac55d58fca4312fe4f84fa3a4761800803bc25e0
testing: fail Example tests that invoke runtime.Goexit Previously, if an example test invoked runtime.Goexit, it would pass yet hang until a timeout, while regular tests that invoke runtime.Goexit do fail. This change removes that inconsistent behavior and makes such example tests fail, and panic with an indication of...
[ { "path": "src/cmd/go/testdata/script/test_example_goexit.txt", "patch": "@@ -0,0 +1,25 @@\n+# For issue golang.org/issue/41084\n+[short] skip\n+\n+! go test -v examplegoexit\n+stdout '(?s)--- PASS.*--- FAIL.*'\n+stdout 'panic: test executed panic\\(nil\\) or runtime\\.Goexit'\n+\n+-- examplegoexit/example_...
2020-08-31T18:54:17
rust-lang/rust
4fcebee60a1f8fc069dd546aa8d7c93983c57ada
c51b9b6d5234aa8e50c3b87784113a1af1af47cb
Fix Windows `Command` search path bug
[ { "path": "library/std/src/sys/pal/windows/process.rs", "patch": "@@ -260,9 +260,10 @@ impl Command {\n needs_stdin: bool,\n proc_thread_attribute_list: Option<&ProcThreadAttributeList<'_>>,\n ) -> io::Result<(Process, StdioPipes)> {\n+ let env_saw_path = self.env.have_changed_pat...
2025-02-26T13:18:44
nodejs/node
30439378b937be03b4ce07c12c63bba86705f507
23340b9234f79a193ffebbf891eebaec545a5b35
test: replaces fixturesDir with fixtures This commit updates the common.fixturesDir method in the https-timeout test. PR-URL: https://github.com/nodejs/node/pull/15835 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "test/parallel/test-https-timeout.js", "patch": "@@ -25,13 +25,12 @@ const common = require('../common');\n if (!common.hasCrypto)\n common.skip('missing crypto');\n \n+const fixtures = require('../common/fixtures');\n const https = require('https');\n \n-const fs = require('fs');\n-\n const opt...
2017-10-06T16:47:12
ollama/ollama
a2b210130f140bc1ec94d80d727e7c3d0e08a1ac
ed20837f9aed15452c29ce3089f1fcec430e814e
fedora install fixes (#609)
[ { "path": "scripts/install.sh", "patch": "@@ -216,12 +216,13 @@ fi\n if ! lsmod | grep -q nvidia; then\n KERNEL_RELEASE=\"$(uname -r)\"\n case $OS_NAME in\n- centos|rhel|rocky|fedora|amzn) $SUDO $PACKAGE_MANAGER -y install kernel-devel-$KERNEL_RELEASE kernel-headers-$KERNEL_RELEASE ;;\n+ ...
2023-09-27T15:43:47
huggingface/transformers
ec92f983af5295fc92414a37b988d8384785988a
05bdef16b611df0946a6a602503f1ace604b6c80
Fix quality Olmo + SDPA (#30302) fix olmo
[ { "path": "src/transformers/models/olmo/modeling_olmo.py", "patch": "@@ -653,6 +653,7 @@ def forward(\n value_states,\n attn_mask=causal_mask,\n dropout_p=self.attention_dropout if self.training else 0.0,\n+ is_causal=causal_mask is None and q_len > 1,\n ...
2024-04-17T21:08:11
ggml-org/llama.cpp
c8a37980419e8b7f0193d058fb6f8f01b458cfca
4849661d9898ac3caf59ddd62044185805084370
Work around broken IntelSYCLConfig.cmake in Intel oneAPI 2025.x (#18345) * cmake: work around broken IntelSYCLConfig.cmake in oneAPI 2025.x * [AI] sycl: auto-detect and skip incompatible IntelSYCL package Automatically detect compiler versions with incompatible IntelSYCL CMake configuration files and fall back to ma...
[ { "path": "ggml/src/ggml-sycl/CMakeLists.txt", "patch": "@@ -36,7 +36,47 @@ if (WIN32)\n endif()\n endif()\n \n-find_package(IntelSYCL)\n+macro(detect_and_find_package package_name)\n+ set(test_source \"\n+ cmake_minimum_required(VERSION ${CMAKE_VERSION})\n+ project(check_package LANGUAGES CXX)...
2025-12-31T01:08:44
golang/go
ab88d97deb216cdd93712dedca3be4d7a561743e
d7a6a44deb3a56aa3f94b75f7ab4ffa1a0fa8cef
cmd: update vendored golang.org/x/mod This pulls in golang.org/cl/250920 which rejects Windows shortnames as path components in module.CheckImportPath (as is already done in cmd/go/internal/get's copy of CheckImportPath). This will allow us to replace the copy of CheckImportPath with the original. This also pulls in ...
[ { "path": "src/cmd/go.mod", "patch": "@@ -7,7 +7,7 @@ require (\n \tgithub.com/ianlancetaylor/demangle v0.0.0-20200414190113-039b1ae3a340 // indirect\n \tgolang.org/x/arch v0.0.0-20200511175325-f7c78586839d\n \tgolang.org/x/crypto v0.0.0-20200622213623-75b288015ac9\n-\tgolang.org/x/mod v0.3.1-0.202008241622...
2020-08-31T20:29:13
rust-lang/rust
9f190d764f3a81fc372c76d2615fd441a129d133
ec451661660193bba32765b7d08b1d3ba1d21383
Restore usage of io::Error
[ { "path": "compiler/rustc_codegen_llvm/src/back/archive.rs", "patch": "@@ -132,7 +132,7 @@ fn get_llvm_object_symbols(\n if err.is_null() {\n return Ok(true);\n } else {\n- let error = unsafe { *Box::from_raw(err as *mut String) };\n+ let error = unsafe { *Box::from_raw(err as ...
2025-02-26T13:45:35
huggingface/transformers
05bdef16b611df0946a6a602503f1ace604b6c80
e4ea19b958c89d61e42461fac6ac8441787121f8
Re-enable SDPA's FA2 path (#30070) * tentatively re-enable FA2 + SDPA * better comment * _ignore_causal_mask_sdpa as staticmethod * type hints * use past_seen_tokens instead * enable copied from for sdpa * ruff * llama simplifications on review * remove unnecessary self.is_causal check * fix...
[ { "path": "src/transformers/modeling_attn_mask_utils.py", "patch": "@@ -234,6 +234,59 @@ def _unmask_unattended(\n \n return expanded_mask.mul(~torch.all(expanded_mask == min_dtype, dim=-1, keepdim=True))\n \n+ @staticmethod\n+ def _ignore_causal_mask_sdpa(\n+ attention_mask: Optional[t...
2024-04-17T20:21:00
ggml-org/llama.cpp
0f89d2ecf14270f45f43c442e90ae433fd82dab1
ac1d0eb7bf8c59b81a2cceb4a8dac1f44d201a3f
common : default content to an empty string (#18485) * common : default content to an empty string * common : fix tests that break when content != null
[ { "path": "common/chat.cpp", "patch": "@@ -319,7 +319,7 @@ json common_chat_msgs_to_json_oaicompat(const std::vector<common_chat_msg> & msg\n }\n }\n } else {\n- jmsg[\"content\"] = json(); // null\n+ jmsg[\"content\"] = \"\";\n }\n i...
2025-12-30T18:00:57
nodejs/node
23340b9234f79a193ffebbf891eebaec545a5b35
f4cab35dd88da512ddc2c82dcb6eda8e3db85774
doc: add basic C++ style guide Ideally, most of these things would be enforced via linter rules. This is a first step into having a style guide that goes beyond what the linter currently enforces. PR-URL: https://github.com/nodejs/node/pull/16090 Fixes: https://github.com/nodejs/node/issues/12636 Reviewed-By: Refael ...
[ { "path": "CONTRIBUTING.md", "patch": "@@ -282,6 +282,9 @@ should follow the [Style Guide](doc/STYLE_GUIDE.md). Code samples included\n in the API docs will also be checked when running `make lint` (or\n `vcbuild.bat lint` on Windows).\n \n+For contributing C++ code, you may want to look at the\n+[C++ Style...
2017-10-08T19:25:19
golang/go
5f5a55679c54784d07643099b55228b6f88c0bdf
e01a226fadcac721e26c12921ca54388c7244d03
net/http: refactor ResponseWriter.ReadFrom to permit splice on Linux Rather than probe and guess if sendfile will work inside ResponseWriter.ReadFrom(src), this change fixes the underlying issue of starting to respond before src is readable We'll no longer send a status OK if a header has not yet been written and read...
[ { "path": "src/net/http/fs_test.go", "patch": "@@ -1136,6 +1136,14 @@ func TestLinuxSendfile(t *testing.T) {\n \t\tt.Skipf(\"skipping; failed to run strace: %v\", err)\n \t}\n \n+\tfilename := fmt.Sprintf(\"1kb-%d\", os.Getpid())\n+\tfilepath := path.Join(os.TempDir(), filename)\n+\n+\tif err := ioutil.Writ...
2020-09-01T00:38:01
rust-lang/rust
fc83e49bb17f201718be366f7c7aa79e9e53e24f
e18318ccf565bfd2a059cb5fb19d7a5c2cbcd770
fix - neon type signed unsigned conversions
[ { "path": "library/stdarch/crates/core_arch/src/aarch64/neon/generated.rs", "patch": "@@ -27,9 +27,9 @@ pub unsafe fn __crc32cd(crc: u32, data: u64) -> u32 {\n any(target_arch = \"aarch64\", target_arch = \"arm64ec\"),\n link_name = \"llvm.aarch64.crc32cx\"\n )]\n- fn ...
2025-02-25T16:51:44
ggml-org/llama.cpp
ac1d0eb7bf8c59b81a2cceb4a8dac1f44d201a3f
cd78e57c3aeae7b56c5843f94e0e0b83a3d8ca81
llama : fix typo in comment in llama-kv-cache.h [no ci] (#18489)
[ { "path": "src/llama-kv-cache.h", "patch": "@@ -305,7 +305,7 @@ class llama_kv_cache_context : public llama_memory_context_i {\n bool do_shift,\n stream_copy_info sc_info);\n \n- // used to create a batch procesing context from a batch\n+ // used to create a batch processing co...
2025-12-30T16:20:14
ollama/ollama
0625e805f09e0ba7ea04448842621ec0e829d725
c38ec5befbb9ab50074e3794ec867b30c845cb0e
fix model name not matching
[ { "path": "cmd/cmd.go", "patch": "@@ -127,13 +127,9 @@ func RunHandler(cmd *cobra.Command, args []string) error {\n \t\treturn err\n \t}\n \n-\tmodelName, modelTag, ok := strings.Cut(args[0], \":\")\n-\tif !ok {\n-\t\tmodelTag = \"latest\"\n-\t}\n-\n+\tcanonicalModelPath := server.ParseModelPath(args[0])\n ...
2023-09-27T02:49:55
nodejs/node
cbbc1e4496bb41e917e496b8ea6fcaabfccaf4eb
cd5ee52d70889a39f8251eb7d49f8063f96f2d8c
test: move to common.fixtures PR-URL: https://github.com/nodejs/node/pull/15987 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
[ { "path": "test/parallel/test-module-loading-globalpaths.js", "patch": "@@ -1,5 +1,6 @@\n 'use strict';\n const common = require('../common');\n+const fixtures = require('../common/fixtures');\n const assert = require('assert');\n const path = require('path');\n const fs = require('fs');\n@@ -33,8 +34,7 @@ ...
2017-10-06T18:08:47
huggingface/transformers
e4ea19b958c89d61e42461fac6ac8441787121f8
8e5f76f51196bb3b537a8d58c986819bb103f0a8
Add OLMo model family (#29890) * Add OLMo using add-new-model-like with Llama * Fix incorrect tokenizer for OLMo * Copy-paste relevant OLMo methods and their imports * Add OLMo config * Modify OLMo config to follow HF conventions * Remove unneeded Llama code from OLMo model * Add ability for OLMo mod...
[ { "path": "README.md", "patch": "@@ -453,6 +453,7 @@ Current number of checkpoints: ![](https://img.shields.io/endpoint?url=https://h\n 1. **[NLLB-MOE](https://huggingface.co/docs/transformers/model_doc/nllb-moe)** (from Meta) released with the paper [No Language Left Behind: Scaling Human-Centered Machine ...
2024-04-17T15:59:07
golang/go
e01a226fadcac721e26c12921ca54388c7244d03
f0c7e3e9463069f60b3d31696860f6fb75aa3e87
debug/elf: support relocations relative to sections with non-zero addresses commit 72ec930fa70c20ce69b21bf32a7916c04c2e9c2f added basic support for relocations, but assumed that the symbol value would be 0, likely because .debug_info always has address == 0 in the ELF section headers. CL 195679 added further support ...
[ { "path": "src/debug/elf/file.go", "patch": "@@ -628,23 +628,14 @@ func (f *File) applyRelocations(dst []byte, rels []byte) error {\n \t}\n }\n \n-// relocSymbolTargetOK decides whether we should try to apply a\n+// canApplyRelocation reports whether we should try to apply a\n // relocation to a DWARF data ...
2020-08-30T20:43:39
rust-lang/rust
d27c67c941a0fa14dabfed98b475c8e84ffcc958
994c8cfaf6c3e717365d5484a43bb20090e85460
Fix FIXME about unversioned macOS target names
[ { "path": "src/lib.rs", "patch": "@@ -41,7 +41,6 @@ use std::sync::Arc;\n use cranelift_codegen::isa::TargetIsa;\n use cranelift_codegen::settings::{self, Configurable};\n use rustc_codegen_ssa::CodegenResults;\n-use rustc_codegen_ssa::back::versioned_llvm_target;\n use rustc_codegen_ssa::traits::CodegenBac...
2025-02-26T11:24:41
ggml-org/llama.cpp
cd78e57c3aeae7b56c5843f94e0e0b83a3d8ca81
c32fa21db8a631e9127e55f69a3d2bdaa9f71824
lora: count lora nodes in graph_max_nodes (#18469) * lora: count lora nodes in graph_max_nodes * 3 nodes per weight * 4 nodes * keep track n_lora_nodes from llama_model * fix assert * rm redundant header * common: load adapters before context creation * use 6 nodes
[ { "path": "common/common.cpp", "patch": "@@ -1109,6 +1109,25 @@ common_init_result::common_init_result(common_params & params) :\n \n const llama_vocab * vocab = llama_model_get_vocab(model);\n \n+ // load and optionally apply lora adapters (must be loaded before context creation)\n+ for (auto & l...
2025-12-30T14:53:12
ollama/ollama
d5ad41dd7b95434d313695d48951e01ce0558414
d294a11bc9d7e7094870698173e152c32758e63c
fix path for wsl user
[ { "path": "scripts/install.sh", "patch": "@@ -82,6 +82,7 @@ Group=ollama\n Restart=always\n RestartSec=3\n Environment=\"HOME=/usr/share/ollama\"\n+Environment=\"PATH=$PATH\"\n \n [Install]\n WantedBy=default.target", "additions": 1, "deletions": 0, "language": "Shell Script" } ]
2023-09-26T00:56:25
huggingface/transformers
8e5f76f51196bb3b537a8d58c986819bb103f0a8
c15aad0939e691d2ffdbac7ae71921b51fe04e3f
Upgrading to tokenizers 0.19.0 (#30289) * [DO NOT MERGE] Testing tokenizers 0.19.0rc0 * Accounting for the breaking change. * Ruff. * Upgrading to tokenizers `0.19` (new release with preprend_scheme fixed and new surface for BPE tiktoken bug).
[ { "path": "examples/flax/language-modeling/t5_tokenizer_model.py", "patch": "@@ -46,12 +46,16 @@ def __init__(\n )\n tokenizer.pre_tokenizer = pre_tokenizers.Sequence(\n [\n- pre_tokenizers.Metaspace(replacement=replacement, add_prefix_space=add_prefix_space),\n+ ...
2024-04-17T15:17:50
rust-lang/rust
e173b714aa4307d136871025b1ef6e2a409d06ca
4698eb627647fe6fb78293024585ef27383e6f5a
You don't need y.sh prepare to build, only to test Also improve the error message when trying to test without having run y.sh prepare first.
[ { "path": "Readme.md", "patch": "@@ -49,13 +49,13 @@ If you want to build the backend manually, you can download it from GitHub and b\n ```bash\n $ git clone https://github.com/rust-lang/rustc_codegen_cranelift\n $ cd rustc_codegen_cranelift\n-$ ./y.sh prepare\n $ ./y.sh build\n ```\n \n To run the test sui...
2025-02-26T11:05:26
ggml-org/llama.cpp
c32fa21db8a631e9127e55f69a3d2bdaa9f71824
f14f4e421b2177fadcf9d15ebccb0492e5464d86
sampling: reuse token data buffer in llama_sampler_sample (#18365) * sampling: reuse token data buffer in llama_sampler_sample * move cur buffer before timing section, after samplers * minor : fix build --------- Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
[ { "path": "src/llama-sampling.cpp", "patch": "@@ -421,39 +421,6 @@ void llama_sampler_free(struct llama_sampler * smpl) {\n delete smpl;\n }\n \n-llama_token llama_sampler_sample(struct llama_sampler * smpl, struct llama_context * ctx, int32_t idx) {\n- const auto * logits = llama_get_logits_ith(ctx,...
2025-12-30T14:27:49
golang/go
f0c7e3e9463069f60b3d31696860f6fb75aa3e87
9e70564f639252aade60369b51a121f3325e9d6c
cmd/compile: adjust some AMD64 rewrite rules to use typed aux fields Remove an extra int32-representable check when deciding to use an int32 constant as an immediate value. Comment out a broken optimization that relies on MaxUint32 being representable by a signed int32. It never triggers and when fixed, the signednes...
[ { "path": "src/cmd/compile/internal/ssa/gen/AMD64.rules", "patch": "@@ -436,69 +436,69 @@\n \n // Absorb InvertFlags\n (CMOVQ(EQ|NE|LT|GT|LE|GE|HI|CS|CC|LS) x y (InvertFlags cond))\n- -> (CMOVQ(EQ|NE|GT|LT|GE|LE|CS|HI|LS|CC) x y cond)\n+ => (CMOVQ(EQ|NE|GT|LT|GE|LE|CS|HI|LS|CC) x y cond)\n (CMOVL(EQ|N...
2020-04-25T17:32:06
huggingface/transformers
c15aad0939e691d2ffdbac7ae71921b51fe04e3f
8d6b5096116121a4064d7644584685980f7f8f05
Add strategy to store results in evaluation loop (#30267) * Add evaluation loop container for interm. results * Add tests for EvalLoopContainer * Formatting * Fix padding_index in test and typo * Move EvalLoopContainer to pr_utils to avoid additional imports * Fix `eval_do_concat_batches` arg descriptio...
[ { "path": "src/transformers/trainer.py", "patch": "@@ -82,6 +82,7 @@\n )\n from .trainer_pt_utils import (\n DistributedTensorGatherer,\n+ EvalLoopContainer,\n IterableDatasetShard,\n LabelSmoother,\n LayerWiseDummyOptimizer,\n@@ -3627,20 +3628,14 @@ def evaluation_loop(\n sel...
2024-04-17T11:42:27
ggml-org/llama.cpp
f14f4e421b2177fadcf9d15ebccb0492e5464d86
2d6c00a9b8bb4d72f4f43c6521ff1061088e2c2c
server: fix files built redundantly (#18474)
[ { "path": "tools/server/CMakeLists.txt", "patch": "@@ -38,14 +38,6 @@ set(TARGET_SRCS\n server-http.h\n server-models.cpp\n server-models.h\n- server-task.cpp\n- server-task.h\n- server-queue.cpp\n- server-queue.h\n- server-common.cpp\n- server-common.h\n- server-context.cpp...
2025-12-30T12:11:13
golang/go
ba0fab3cb731fe9a383bd61c3480cccfe32bb1f4
4fc3896e7933e31822caa50e024d4e139befc75f
debug/elf: run relocation tests in parallel Also don't restart DWARF reading from beginning when we are testing multiple entries. Also reformat relocationTests slice to use indexed literals. Change-Id: Ia5f17214483394d0ef033be516df61f0bdc521b6 Reviewed-on: https://go-review.googlesource.com/c/go/+/251637 Run-TryBot:...
[ { "path": "src/debug/elf/file_test.go", "patch": "@@ -304,367 +304,409 @@ var relocationTests = []relocationTest{\n \t{\n \t\t\"testdata/go-relocation-test-gcc441-x86-64.obj\",\n \t\t[]relocationTestEntry{\n-\t\t\t{0, &dwarf.Entry{\n-\t\t\t\tOffset: 0xb,\n-\t\t\t\tTag: dwarf.TagCompileUnit,\n-\t\t\t\...
2020-08-29T21:11:18
ollama/ollama
d0854bf1e663f77a537c5fcccdd97577fa02b686
83964632550830d9569dfc8dce5c640fe3007aa1
fix dkms on debian
[ { "path": "scripts/install.sh", "patch": "@@ -204,7 +204,7 @@ if ! lsmod | grep -q nvidia; then\n debian|ubuntu) $SUDO apt-get -y install linux-headers-$KERNEL_RELEASE ;;\n esac\n \n- NVIDIA_CUDA_VERSION=$(dkms status | awk -F: '/added/ { print $1 }')\n+ NVIDIA_CUDA_VERSION=$($SUDO dkms st...
2023-09-25T19:57:21
huggingface/transformers
8d6b5096116121a4064d7644584685980f7f8f05
812a5de229bbe6d241f786ede55eba5db1101ee4
Add token type ids to CodeGenTokenizer (#29265) * Add create token type ids to CodeGenTokenizer * Fix inconsistent length of token type ids * Format source codes * Fix inconsistent order of methods * Update docstring * add test_tokenizer_integration test * Format source codes * Add `copied from` c...
[ { "path": "docs/source/en/model_doc/codegen.md", "patch": "@@ -72,6 +72,7 @@ hello_world()\n ## CodeGenTokenizer\n \n [[autodoc]] CodeGenTokenizer\n+ - create_token_type_ids_from_sequences\n - save_vocabulary\n \n ## CodeGenTokenizerFast", "additions": 1, "deletions": 0, "language": "Mark...
2024-04-17T10:19:18
nodejs/node
34c47ed4867e0bbde3ad55557bd265238d4ac91f
3594223c2e0c92cfb7c1c0a352246387659d2475
doc: fix dgram.md typos socket.getRecvBufferSize() and socket.getSendBufferSize() do not take any parameter PR-URL: https://github.com/nodejs/node/pull/16183 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com> Reviewed-By: Joye...
[ { "path": "doc/api/dgram.md", "patch": "@@ -226,14 +226,14 @@ never have reason to call this.\n If `multicastInterface` is not specified, the operating system will attempt to\n drop membership on all valid interfaces.\n \n-### socket.getRecvBufferSize(size)\n+### socket.getRecvBufferSize()\n <!-- YAML\n add...
2017-10-13T15:04:13
ggml-org/llama.cpp
a864fb1c14cf187831a1806c3b57e47c730afc1d
51a48720b8e46f4173a9535dc895e45e800f18b3
model-conversion : use CONVERTED_MODEL for compare-embeddings (#18461) This commit updates the causal model verification script to use the CONVERTED_MODEL environment variable instead of using the MODEL_PATH (the original model path) as the basis for the converted model file name. The motivation for this that current...
[ { "path": "examples/model-conversion/scripts/causal/compare-embeddings-logits.sh", "patch": "@@ -5,8 +5,11 @@ set -e\n MODEL_PATH=\"${1:-\"$MODEL_PATH\"}\"\n MODEL_NAME=\"${2:-$(basename \"$MODEL_PATH\")}\"\n \n+CONVERTED_MODEL_PATH=\"${1:-\"$CONVERTED_MODEL\"}\"\n+CONVERTED_MODEL_NAME=\"${2:-$(basename \"$...
2025-12-30T09:13:12
golang/go
4fc3896e7933e31822caa50e024d4e139befc75f
27a30186abc18a8fc22b8ab40e3ee9f29d81c1d4
database/sql: shortestIdleTimeLocked correct min comparison When zero or less, maxIdleTime and maxLifetime means unlimited. Helper function shortestIdleTimeLocked must not return the minimum of the two until both are verified to be greater then zero. Fixes #40841 Change-Id: I1130332baf4ad259cd90c10f4221f5def8510655 ...
[ { "path": "src/database/sql/sql.go", "patch": "@@ -869,6 +869,13 @@ func (db *DB) maxIdleConnsLocked() int {\n }\n \n func (db *DB) shortestIdleTimeLocked() time.Duration {\n+\tif db.maxIdleTime <= 0 {\n+\t\treturn db.maxLifetime\n+\t}\n+\tif db.maxLifetime <= 0 {\n+\t\treturn db.maxIdleTime\n+\t}\n+\n \tmi...
2020-08-17T11:37:51
huggingface/transformers
812a5de229bbe6d241f786ede55eba5db1101ee4
eb75516e7cf1b7673ec39cc0223ad6f6673e06ef
FIX: Fix push important models CI (#30291) Update push-important-models.yml
[ { "path": ".github/workflows/push-important-models.yml", "patch": "@@ -53,7 +53,6 @@ jobs:\n test_modified_files:\n needs: get_modified_models\n name: Slow & FA2 tests\n- runs-on: ubuntu-latest\n runs-on: [single-gpu, nvidia-gpu, a10, ci]\n container:\n image: huggingface/transfor...
2024-04-17T10:01:09
ggml-org/llama.cpp
51a48720b8e46f4173a9535dc895e45e800f18b3
c9a3b40d6578f2381a1373d10249403d58c3c5bd
webui: fix prompt progress ETA calculation (#18468) * webui: fix prompt progress ETA calculation * handle case done === 0
[ { "path": "tools/server/webui/src/lib/hooks/use-processing-state.svelte.ts", "patch": "@@ -6,6 +6,7 @@ export interface LiveProcessingStats {\n \ttotalTokens: number;\n \ttimeMs: number;\n \ttokensPerSecond: number;\n+\tetaSecs?: number;\n }\n \n export interface LiveGenerationStats {\n@@ -82,6 +83,15 @@ ex...
2025-12-29T20:42:11
nodejs/node
3594223c2e0c92cfb7c1c0a352246387659d2475
5ea88b74965adba15ad8233c78397e2d7ce5dd3a
test: remove redundant error messages Remove redundant error messages for assert.strictEqual() PR-URL: https://github.com/nodejs/node/pull/16043 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "test/addons-napi/test_typedarray/test.js", "patch": "@@ -50,10 +50,6 @@ arrayTypes.forEach((currentType) => {\n \n assert.ok(theArray instanceof currentType,\n 'Type of new array should match that of the template');\n- assert.notStrictEqual(theArray,\n- templ...
2017-10-06T19:38:12
golang/go
27a30186abc18a8fc22b8ab40e3ee9f29d81c1d4
49bae984955bd57302895beba2ecd8b9d5cd764c
cmd/compile,runtime: skip zero'ing order array for select statements The order array was zero initialized by the compiler, but ends up being overwritten by the runtime anyway. So let the runtime takes full responsibility for initializing, save us one instruction per select. Fixes #40399 Change-Id: Iec1eca27ad7180d4...
[ { "path": "src/cmd/compile/internal/gc/select.go", "patch": "@@ -251,10 +251,8 @@ func walkselectcases(cases *Nodes) []*Node {\n \tr = typecheck(r, ctxStmt)\n \tinit = append(init, r)\n \n+\t// No initialization for order; runtime.selectgo is responsible for that.\n \torder := temp(types.NewArray(types.Type...
2020-08-28T20:25:21
huggingface/transformers
eb75516e7cf1b7673ec39cc0223ad6f6673e06ef
05dab4e5ba61d5bb8f8d7e3f71a1f993163c4bab
Fix `Fatal Python error: Bus error` in `ZeroShotAudioClassificationPipelineTests` (#30283) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/pipelines/test_pipelines_zero_shot_audio_classification.py", "patch": "@@ -32,7 +32,7 @@ def test_small_model_pt(self):\n audio_classifier = pipeline(\n task=\"zero-shot-audio-classification\", model=\"hf-internal-testing/tiny-clap-htsat-unfused\"\n )\n- d...
2024-04-17T09:47:30
ggml-org/llama.cpp
c9a3b40d6578f2381a1373d10249403d58c3c5bd
0bd1212a43561a55d89d468b7ca5265647dab1fd
Webui/prompt processing progress (#18300) * webui: display prompt preprocessing progress * webui: add percentage/ETA and exclude cached tokens from progress Address review feedback from ngxson * webui: add minutes and first chunk (0%) case * Update tools/server/webui/src/lib/components/app/chat/ChatMessages/ChatMe...
[ { "path": "tools/server/webui/src/lib/components/app/chat/ChatMessages/ChatMessageAssistant.svelte", "patch": "@@ -89,6 +89,7 @@\n \tconst fallbackToolCalls = $derived(typeof toolCallContent === 'string' ? toolCallContent : null);\n \n \tconst processingState = useProcessingState();\n+\n \tlet currentConfig...
2025-12-29T18:32:21
rust-lang/rust
6de7fd1feec480ba6af5eaa3a412255a8c8dd3d9
5e4c582b3e125c1260d05609aee276155b0e9b72
Resolve more FIXMEs
[ { "path": "src/tools/miri/tests/pass-dep/libc/libc-pipe.rs", "patch": "@@ -56,23 +56,19 @@ fn test_pipe_threaded() {\n assert_eq!(res, 5);\n assert_eq!(buf, \"abcde\".as_bytes());\n });\n- // FIXME: we should yield here once blocking is implemented.\n- //thread::yield_now();\n+ ...
2025-02-26T04:47:41
nodejs/node
5ea88b74965adba15ad8233c78397e2d7ce5dd3a
eac257f6008ee6ba4b9df21e0b6b6de4e3c636e3
test: remove error messages for readability PR-URL: https://github.com/nodejs/node/pull/16022 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
[ { "path": "test/addons/async-hooks-promise/test.js", "patch": "@@ -13,16 +13,14 @@ if (process.env.NODE_TEST_WITH_ASYNC_HOOKS) {\n // Baseline to make sure the internal field isn't being set.\n assert.strictEqual(\n binding.getPromiseField(Promise.resolve(1)),\n- 0,\n- 'Promise internal field used despi...
2017-10-06T19:05:11
golang/go
c8ea03828b0645b1fd5725888e44873b75fcfbb6
a58a8d2e97d605f9f115a0e77ba09cd36bb82ba6
text/template: add CommentNode to template parse tree Fixes #34652 Change-Id: Icf6e3eda593fed826736f34f95a9d66f5450cc98 Reviewed-on: https://go-review.googlesource.com/c/go/+/229398 Reviewed-by: Daniel Martí <mvdan@mvdan.cc> Run-TryBot: Daniel Martí <mvdan@mvdan.cc> TryBot-Result: Gobot Gobot <gobot@golang.org>
[ { "path": "api/next.txt", "patch": "@@ -3,3 +3,17 @@ pkg unicode, var Chorasmian *RangeTable\n pkg unicode, var Dives_Akuru *RangeTable\n pkg unicode, var Khitan_Small_Script *RangeTable\n pkg unicode, var Yezidi *RangeTable\n+pkg text/template/parse, const NodeComment = 20\n+pkg text/template/parse, const ...
2020-04-22T19:17:56
huggingface/transformers
05dab4e5ba61d5bb8f8d7e3f71a1f993163c4bab
304c6a1e0dcad79f4930858efd6a96f9e46a8fcc
Fix test `ExamplesTests::test_run_translation` (#30281) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "examples/pytorch/test_pytorch_examples.py", "patch": "@@ -372,6 +372,7 @@ def test_run_translation(self):\n --predict_with_generate\n --source_lang en_XX\n --target_lang ro_RO\n+ --max_source_length 512\n \"\"\".split()\n \n with patc...
2024-04-17T09:46:33
ggml-org/llama.cpp
0bd1212a43561a55d89d468b7ca5265647dab1fd
5b1248c9afa46be1a80bc71e2be8241f18529643
CUDA: fix replacment of bad archs in CMake (#18457)
[ { "path": "docs/build.md", "patch": "@@ -150,19 +150,38 @@ We also have a [guide](./backend/CUDA-FEDORA.md) for setting up CUDA toolkit in\n \n \n ### Compilation\n+\n+Make sure to read the notes about the CPU build for general instructions for e.g. speeding up the compilation.\n+\n ```bash\n cmake -B build...
2025-12-29T16:58:20
ollama/ollama
a027bbf4d7eb73c7448393f84f6181d0ab791a97
ed94a3dd029575a4035e7edf265154c52c82e4d8
fix dkms install
[ { "path": "scripts/install.sh", "patch": "@@ -138,7 +138,6 @@ install_cuda_driver_yum() {\n esac\n \n status 'Installing CUDA driver...'\n- $SUDO $PACKAGE_MANAGER -y update\n \n if [ \"$1\" = 'centos' ] || [ \"$1$2\" = 'rhel7' ]; then\n $SUDO $PACKAGE_MANAGER -y install nvidia-driver-...
2023-09-25T18:28:21
nodejs/node
eac257f6008ee6ba4b9df21e0b6b6de4e3c636e3
e5ad5456a28add7f47d70f68427695aa4705d5ef
test: added fixtures module PR-URL: https://github.com/nodejs/node/pull/15980 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> R...
[ { "path": "test/parallel/test-tls-client-getephemeralkeyinfo.js", "patch": "@@ -2,19 +2,20 @@\n const common = require('../common');\n if (!common.hasCrypto)\n common.skip('missing crypto');\n+const fixtures = require('../common/fixtures');\n \n const assert = require('assert');\n const tls = require('tls...
2017-10-06T18:03:52
huggingface/transformers
304c6a1e0dcad79f4930858efd6a96f9e46a8fcc
98717cb34110c35f6c6b65b8d5a4b9932cf3dd98
Enable fx tracing for Mistral (#30209) * tracing for mistral * typo * fix copies
[ { "path": "src/transformers/models/mixtral/modeling_mixtral.py", "patch": "@@ -868,9 +868,6 @@ def forward(self, hidden_states: torch.Tensor) -> torch.Tensor:\n expert_layer = self.experts[expert_idx]\n idx, top_x = torch.where(expert_mask[expert_idx])\n \n- if top_x.shape...
2024-04-17T09:38:48
ggml-org/llama.cpp
5b1248c9afa46be1a80bc71e2be8241f18529643
3595ae5963f1583f53beecf9725c919d309e15da
server : Cmdline arg -to changes http read timeout from current 600sec default (#18279) * Prevent crash if TTFT >300sec, boosted to 90 days * server : allow configurable HTTP timeouts for child models * server : pass needed timeouts from params only --------- Co-authored-by: Greg Slocum <fromgit@wbtek.slocum.net>
[ { "path": "tools/server/server-models.cpp", "patch": "@@ -662,7 +662,10 @@ server_http_res_ptr server_models::proxy_request(const server_http_req & req, co\n req.path,\n req.headers,\n req.body,\n- req.should_stop);\n+ req.should_stop,\n+ ...
2025-12-29T16:12:48
ollama/ollama
c65edb15068b763fbd9e8e1afd014ab53064ad14
1605af32ec8d21798ca7599535863c5a3f7a19a7
fix linux installer warning logs (#588)
[ { "path": "scripts/install.sh", "patch": "@@ -6,6 +6,7 @@ set -eu\n \n status() { echo \">>> $*\" >&2; }\n error() { echo \"ERROR $*\"; exit 1; }\n+warning() { echo \"WARNING: $*\"; }\n \n TEMP_DIR=$(mktemp -d)\n cleanup() { rm -rf $TEMP_DIR; }\n@@ -95,7 +96,7 @@ fi\n check_gpu() {\n case $1 in\n ...
2023-09-25T15:22:56
golang/go
54e18f1c2a44f9f2664486e8053c4ee40d41fb8a
45e12e95e683d0720f8c93ba059a87b2b0e58e09
testing: run a Cleanup registered by a Cleanup Fixes #41085 Change-Id: Ieafc60cbc8e09f1935d38b1767b084d78dae5cb4 Reviewed-on: https://go-review.googlesource.com/c/go/+/251457 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Bryan C. Mills <bcmills@google.com>
[ { "path": "src/testing/sub_test.go", "patch": "@@ -928,3 +928,30 @@ func TestCleanupParallelSubtests(t *T) {\n \t\tt.Errorf(\"unexpected cleanup count; got %d want 1\", ranCleanup)\n \t}\n }\n+\n+func TestNestedCleanup(t *T) {\n+\tranCleanup := 0\n+\tt.Run(\"test\", func(t *T) {\n+\t\tt.Cleanup(func() {\n+\...
2020-08-28T17:34:16
nodejs/node
e5ad5456a28add7f47d70f68427695aa4705d5ef
a26c1bfac90985ddae503605c3aa9c9e43f75ead
events: migrate to internal/errors PR-URL: https://github.com/nodejs/node/pull/15623 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
[ { "path": "doc/api/errors.md", "patch": "@@ -1251,6 +1251,12 @@ buffer.\n \n Used when a string that contains unescaped characters was received.\n \n+<a id=\"ERR_UNHANDLED_ERROR\"></a>\n+### ERR_UNHANDLED_ERROR\n+\n+Used when an unhandled \"error\" occurs (for instance, when an `'error'` event\n+is emitted ...
2017-09-26T04:43:32
huggingface/transformers
080b700805091b9c3d428e93e07df53da7f93805
41145247064e02350b8302ee619065e3231b6703
FIX / AWQ: Fix failing exllama test (#30288) fix filing exllama test
[ { "path": "tests/quantization/autoawq/test_awq.py", "patch": "@@ -101,7 +101,11 @@ class AwqTest(unittest.TestCase):\n \n EXPECTED_OUTPUT = \"Hello my name is Katie and I am a 20 year old student at the University of North Carolina at Chapel Hill. I am a junior and I am majoring in Journalism and minori...
2024-04-17T09:26:35
ggml-org/llama.cpp
c1366056f6cb6607b035e438fb1d10bc8b207364
2a85f720b8aa87488468024c0112542b7b742a0b
android: routine maintenance - Dec 2025 (#18338) * Fix `msg` typo * Fix thread safety in destroy() to support generation abortion in lifecycle callbacks. * UI polish: stack new message change from below; fix GGUF margin not in view port * Bug fixes: rare racing condition when main thread updating view and and defau...
[ { "path": "examples/llama.android/app/build.gradle.kts", "patch": "@@ -41,11 +41,8 @@ android {\n }\n }\n compileOptions {\n- sourceCompatibility = JavaVersion.VERSION_1_8\n- targetCompatibility = JavaVersion.VERSION_1_8\n- }\n- kotlinOptions {\n- jvmTarget = \"1.8...
2025-12-29T13:51:13
ollama/ollama
b5614f3ebcb0fd9167ead2627b066d50555a780d
8b2ba9cab822b80e873c8b7554504eebfaf434c2
fix end-of-line issue with the new prompt (#582)
[ { "path": "cmd/cmd.go", "patch": "@@ -33,15 +33,22 @@ import (\n )\n \n type Painter struct {\n-\tHideHint bool\n+\tIsMultiLine bool\n }\n \n func (p Painter) Paint(line []rune, _ int) []rune {\n \ttermType := os.Getenv(\"TERM\")\n-\tif termType == \"xterm-256color\" && len(line) == 0 && !p.HideHint {\n-\t\...
2023-09-24T00:20:30
huggingface/transformers
41145247064e02350b8302ee619065e3231b6703
40eb6d6c5fcdaf99b499c249640d41f28659565b
Fix SpeechT5 forward docstrings (#30287)
[ { "path": "src/transformers/models/speecht5/modeling_speecht5.py", "patch": "@@ -2687,7 +2687,7 @@ def forward(\n >>> set_seed(555) # make deterministic\n \n >>> # generate speech\n- >>> speech = model.generate(inputs[\"input_ids\"], speaker_embeddings, vocoder=vocoder)\n+ >>>...
2024-04-17T09:23:49
nodejs/node
a26c1bfac90985ddae503605c3aa9c9e43f75ead
5d80f0048e7a97029d5298427b1f29a1d0d301cd
tools: use template literal in error message PR-URL: https://github.com/nodejs/node/pull/15846 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Pun...
[ { "path": "tools/doc/generate.js", "patch": "@@ -89,6 +89,6 @@ function next(er, input) {\n break;\n \n default:\n- throw new Error('Invalid format: ' + format);\n+ throw new Error(`Invalid format: ${format}`);\n }\n }", "additions": 1, "deletions": 1, "language": "JavaScri...
2017-10-06T16:45:47
ggml-org/llama.cpp
daa242dfc88e80df2d60bc5e8fd4d2fffa3e220c
e70e640db3868fbffea1e9499148c168c98aa5a4
common: fix return value check for setpriority (#18412) * common: fix return value check for setpriority * tools: add logging for process priority setting
[ { "path": "common/common.cpp", "patch": "@@ -251,7 +251,7 @@ bool set_process_priority(enum ggml_sched_priority prio) {\n case GGML_SCHED_PRIO_REALTIME: p = -20; break;\n }\n \n- if (!setpriority(PRIO_PROCESS, 0, p)) {\n+ if (setpriority(PRIO_PROCESS, 0, p) != 0) {\n LOG_WRN(\"fail...
2025-12-29T09:07:49
ollama/ollama
e29662ab5c7cbab869bd2b55326179a552c57b15
cbc40aa9967d27a58f87442018f2d889782d1980
fix minor install script issues on debian
[ { "path": "scripts/install.sh", "patch": "@@ -30,12 +30,14 @@ case \"$(uname -m)\" in\n *) error \"Unsupported architecture: $ARCH\" ;;\n esac\n \n-SUDO_CMD=\n+SUDO=\n if [ \"$(id -u)\" -ne 0 ]; then\n # Running as root, no need for sudo\n if ! command -v sudo >/dev/null; then\n error \"...
2023-09-23T14:25:47
huggingface/transformers
40eb6d6c5fcdaf99b499c249640d41f28659565b
5fabebdb7d4f9ee5a6459f7c0dcde0b1901f6205
Fix SDPA sliding window compatibility (#30127) * fix sdpa + sliding window * give credit Co-authored-by: ehuaa <ehuamail@163.com> * remove unnecessary warning * fix typog * add test --------- Co-authored-by: ehuaa <ehuamail@163.com>
[ { "path": "src/transformers/modeling_attn_mask_utils.py", "patch": "@@ -305,7 +305,7 @@ def _prepare_4d_causal_attention_mask_for_sdpa(\n attn_mask_converter = AttentionMaskConverter(is_causal=True, sliding_window=sliding_window)\n \n key_value_length = input_shape[-1] + past_key_values_length\n- ...
2024-04-17T09:21:26
golang/go
45e12e95e683d0720f8c93ba059a87b2b0e58e09
42e09dc1ba1e820af44b2cbd4db0d60abb5559a2
go/types: add tests for conversion of non-constant untyped values This was fixed by CL 242084. Retroactively add some tests that would have failed before the fix. Also, remove some existing duplicate tests. Change-Id: I95f7a215d4a9651ded6d739f89c574f33f573c60 Reviewed-on: https://go-review.googlesource.com/c/go/+/25...
[ { "path": "src/go/types/testdata/shifts.src", "patch": "@@ -193,14 +193,27 @@ func shifts6() {\n \t_ = float32(1.0 /* ERROR \"must be integer\" */ <<s)\n \t_ = float32(1.1 /* ERROR \"must be integer\" */ <<s)\n \n+\t_ = int32(0x80000000 /* ERROR \"overflows int32\" */ << s)\n+\t// TODO(rfindley) Eliminate t...
2020-08-28T16:10:31
nodejs/node
5d80f0048e7a97029d5298427b1f29a1d0d301cd
4e2e15f79b542ddb0193c8c32f1e49341abddb5e
test: use fixtures in test-tls-multi-key.js PR-URL: https://github.com/nodejs/node/pull/15844 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M S...
[ { "path": "test/parallel/test-tls-multi-key.js", "patch": "@@ -24,18 +24,18 @@ const common = require('../common');\n if (!common.hasCrypto)\n common.skip('missing crypto');\n \n+const fixtures = require('../common/fixtures');\n const assert = require('assert');\n const tls = require('tls');\n-const fs = ...
2017-10-06T16:26:38
ggml-org/llama.cpp
5fa66c6e67268a62913200142a19c4e0eae02a26
382808c14b60159f4df2e292e1a3ca5275894271
cuda: fix race condition in cumsum (#18448) * ggml-cuda: fix race condition in cumsum * remove unneccesary sync_threads
[ { "path": "ggml/src/ggml-cuda/cumsum.cu", "patch": "@@ -61,19 +61,20 @@ static __global__ void cumsum_cub_kernel(\n \n // Add offset to each item and store\n T thread_offset = thread_prefix - thread_sum + block_carry;\n- #pragma unroll\n+#pragma unroll\n for (int i = 0; i < UN...
2025-12-29T06:07:17
huggingface/transformers
5fabebdb7d4f9ee5a6459f7c0dcde0b1901f6205
37b5946a66e0332cc576162f71f358b9df92d8c0
Fix test fetcher (doctest) + `Idefics2`'s doc example (#30274) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "src/transformers/models/idefics2/modeling_idefics2.py", "patch": "@@ -1786,17 +1786,13 @@ def forward(\n >>> from transformers import AutoProcessor, AutoModelForVision2Seq\n >>> from transformers.image_utils import load_image\n \n- >>> DEVICE = \"cuda:0\"\n-\n >>> #...
2024-04-16T19:25:06
ollama/ollama
e20362e0d5fef9e87e34c003ead3feafa9bba24c
c928ceb927bf27ec00fd0d424300362c86927c8d
fix multi line input in `ollama run`
[ { "path": "cmd/cmd.go", "patch": "@@ -32,11 +32,13 @@ import (\n \t\"github.com/jmorganca/ollama/version\"\n )\n \n-type Painter struct{}\n+type Painter struct {\n+\tHideHint bool\n+}\n \n-func (p Painter) Paint(line []rune, l int) []rune {\n+func (p Painter) Paint(line []rune, _ int) []rune {\n \ttermType ...
2023-09-23T03:49:35
golang/go
5d0b35ca98f57b378e8b45839721d60c06603af2
bd6dfe9a3e381e6aae7aa11787ba70fcb77909ff
cmd/asm: Always use go-style arrangement specifiers on ARM64 Fixing several error message and comment texts of the ARM64 assembler to use arrangement specifiers of Go's assembly style. Change-Id: Icdbb14fba7aaede40d57d0d754795b050366a1ab Reviewed-on: https://go-review.googlesource.com/c/go/+/237859 Run-TryBot: Cherry...
[ { "path": "src/cmd/asm/internal/asm/testdata/arm64enc.s", "patch": "@@ -591,7 +591,7 @@ TEXT asmtest(SB),DUPOK|NOSPLIT,$-8\n FMOVS R8, F15 // 0f01271e\n FMOVD F2, F9 // 4940601e\n FMOVS F4, F27 // 9b40201e\n- ...
2020-06-12T16:27:08