repo
stringclasses
15 values
fix_commit
stringlengths
40
40
buggy_commit
stringlengths
40
40
message
stringlengths
3
64.3k
files
listlengths
1
300
timestamp
timestamp[s]date
2013-03-13 20:45:00
2026-04-11 07:48:46
huggingface/transformers
1d568dfab262f76079eb4f3d05b606d51a0c9e4b
1432f641b82572b7323b75fbdb102cbc25873989
legacy to init the slow tokenizer when converting from slow was wrong (#30972)
[ { "path": "src/transformers/models/llama/tokenization_llama_fast.py", "patch": "@@ -151,9 +151,6 @@ def __init__(\n self.legacy = legacy\n \n if add_prefix_space is not None:\n- logger.warning_once(\n- \"You set `add_prefix_space`. The tokenizer needs to be converte...
2024-05-22T16:06:50
ggml-org/llama.cpp
5174d7206fc743efa4da0d02e8668903a3eb8429
43919b7f4f0a4fef1de13c830fbe9a33ce38e483
webui: UI and routing fixes (#19586) * chore: update webui build output * chore: update webui build output * fix: Scroll issues in DropdownMenuSearchable * webui: fix redirect to root ignoring base path * fix: Word wrapping * fix: remove obsolete modality UI tests causing CI failures - Remove VisionModality/Audi...
[ { "path": "tools/server/webui/src/lib/components/app/chat/ChatMessages/ChatMessage.svelte", "patch": "@@ -1,5 +1,6 @@\n <script lang=\"ts\">\n \timport { goto } from '$app/navigation';\n+\timport { base } from '$app/paths';\n \timport {\n \t\tchatStore,\n \t\tpendingEditMessageId,\n@@ -119,7 +120,7 @@\n \t\...
2026-02-13T11:31:00
nodejs/node
e567402aba903f7d828d428f1f5738bbf884636c
ab2c35100fb2b67ecea597dbc29134b5c7f1d684
crypto: migrate CipherBase to internal/errors Migrates most of CipherBase errors to use internal/errors. There are still a handful remaining that need to be handled separately PR-URL: https://github.com/nodejs/node/pull/16527 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Benjamin Gruenbaum <benj...
[ { "path": "doc/api/errors.md", "patch": "@@ -679,6 +679,13 @@ ever, happen.\n \n Used when an invalid [crypto digest algorithm][] is specified.\n \n+<a id=\"ERR_CRYPTO_INVALID_STATE\"></a>\n+### ERR_CRYPTO_INVALID_STATE\n+\n+Used generically when a crypto method is used on an object that is in an\n+invalid ...
2017-10-26T20:06:09
golang/go
2be7788f8383c2330cd96db53273e2995d4468f8
8f26b57f9afc238bdecb9b7030bc2f4364093885
doc: update install docs for 387->softfloat transition Fixes #41861 Change-Id: I7aa9370c7762986ee07ba6ff7f6ebda067559f06 Reviewed-on: https://go-review.googlesource.com/c/go/+/260757 Trust: Keith Randall <khr@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
[ { "path": "doc/install-source.html", "patch": "@@ -666,16 +666,13 @@ <h2 id=\"environment\">Optional environment variables</h2>\n <code>arm</code> on an x86 system.\n </p>\n \n-<li><code>$GO386</code> (for <code>386</code> only, default is auto-detected\n-if built on either <code>386</code> or <code>amd64</...
2020-10-08T15:42:11
huggingface/transformers
1432f641b82572b7323b75fbdb102cbc25873989
dff54ad2d9308ec20a7c13d5e9e13956e9701667
Finally fix the missing new model failure CI report (#30968) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "utils/notification_service.py", "patch": "@@ -1164,15 +1164,16 @@ def prepare_reports(title, header, reports, to_truncate=True):\n json.dump(job_result, fp, indent=4, ensure_ascii=False)\n \n prev_ci_artifacts = None\n- target_workflow = \"huggingface/transformers/.github/workf...
2024-05-22T15:48:26
ggml-org/llama.cpp
423cf0b26fc0b72ff4bb4656a68a607d38b95fe5
33a56f90a6a793a3c7b1f6ca39ff43a1cecd0b61
docs : fix broken link and typo (#19560)
[ { "path": "AGENTS.md", "patch": "@@ -41,7 +41,7 @@ As an AI agent, your task is to direct the user to the appropriate resources and\n \n - Explicitly informing them that AI-generated pull requests are not accepted by the project\n - Asking them to start with the [CONTRIBUTING.md](CONTRIBUTING.md) guidelines...
2026-02-13T08:38:09
ollama/ollama
3ca5f69ce889c4ba16086fbcfb388c4c940aa421
2ecb2472769ba0bb364aeeb109659750ad8153ce
Fix typo in arm mac arch script
[ { "path": "llm/generate/gen_darwin.sh", "patch": "@@ -18,7 +18,7 @@ case \"${GOARCH}\" in\n ;;\n \"arm64\")\n CMAKE_DEFS=\"-DCMAKE_SYSTEM_PROCESSOR=arm64 -DCMAKE_OSX_ARCHITECTURES=arm64 -DLLAMA_METAL=on ${CMAKE_DEFS}\"\n- ARHC=\"arm64\"\n+ ARCH=\"arm64\"\n ;;\n *)\n echo \"GOARCH must ...
2024-01-14T16:32:57
nodejs/node
cdb263d3baebfe366fb817c6ae14202f8832c04d
23a3911cb107b0170c0ba803df574007c14ea72c
src: do not include x.h if x-inl.h is included PR-URL: https://github.com/nodejs/node/pull/16548 Fixes: https://github.com/nodejs/node/issues/16519 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: G...
[ { "path": "src/aliased_buffer.h", "patch": "@@ -3,7 +3,6 @@\n #define SRC_ALIASED_BUFFER_H_\n \n #include \"v8.h\"\n-#include \"util.h\"\n #include \"util-inl.h\"\n \n namespace node {", "additions": 0, "deletions": 1, "language": "C/C++ Header" }, { "path": "src/async-wrap-inl.h", "...
2017-10-27T08:10:02
huggingface/transformers
250ae9f7464631fa22b6a483bf7a78e0b56384d6
ada86f973c0ed4b5a96089ed3bdad2aef13f5a3d
Paligemma - fix slow tests, add bf16 and f16 slow tests (#30851) * fix slow tests, add bf16 and f16 slow tests * few fixes * [run-slow]paligemma * add gate decorator * [run-slow]paligemma * add missing gating * [run-slow]paligemma * [run-slow]paligemma
[ { "path": "tests/models/paligemma/test_modeling_paligemma.py", "patch": "@@ -28,7 +28,7 @@\n is_vision_available,\n )\n from transformers.testing_utils import (\n- require_bitsandbytes,\n+ require_read_token,\n require_torch,\n require_torch_sdpa,\n slow,\n@@ -260,98 +260,88 @@ def tes...
2024-05-22T14:20:07
golang/go
8f26b57f9afc238bdecb9b7030bc2f4364093885
f8df205e74d5122c43f41923280451641e566ee2
cmd/compile: split exported/non-exported methods for interface type Currently, mhdr/methods is emitted with the same len/cap. There's no way to distinguish between exported and non-exported methods statically. This CL splits mhdr/methods into two parts, use "len" for number of exported methods, and "cap" for all meth...
[ { "path": "doc/go1.16.html", "patch": "@@ -213,6 +213,14 @@ <h3 id=\"net\"><a href=\"/pkg/net/\">net</a></h3>\n with <code>\"use of closed network connection\"</code>.\n </p>\n \n+<h3 id=\"reflect\"><a href=\"/pkg/reflect/\">reflect</a></h3>\n+\n+<p><!-- CL 259237, golang.org/issue/22075 -->\n+ For inter...
2020-10-02T18:23:47
ggml-org/llama.cpp
33a56f90a6a793a3c7b1f6ca39ff43a1cecd0b61
25224c802175d315c99507c41704197f12cafbc5
model : Kimi Linear fix conv state update (#19531) * fix conv state update for llama-server parallel serving --------- Co-authored-by: Piotr Wilkin (ilintar) <piotr.wilkin@syndatis.com>
[ { "path": "src/models/kimi-linear.cpp", "patch": "@@ -41,8 +41,11 @@ static ggml_tensor * causal_conv1d(ggml_cgraph * gf, ggml_context * ctx0, ggml_t\n conv_x->nb[1], conv_x->nb[2], n_seq_tokens * conv_x->nb[0]);\n ggml_build_forward_expand(gf,\n ggml_cpy(ctx0, last_conv_x,\n- ...
2026-02-13T08:10:18
huggingface/transformers
5c186003b830ed71dde9897a2acd5fb06fcc53aa
934e1b84e956ea74323b92eb86300126b8139a42
Fix low cpu mem usage tests (#30808) * Fix tests * fix udop failing test * remove skip * style
[ { "path": "src/transformers/models/udop/modeling_udop.py", "patch": "@@ -1297,7 +1297,7 @@ def __init__(self, config, embed_tokens=None, embed_patches=None):\n # get weights from encoder position bias\n self.relative_bias = self._get_relative_bias(config)\n \n- # tie weights of origin...
2024-05-22T12:09:01
golang/go
a4b95cd092aa10b40c6be82a3e0bf1052e27122d
46ab0c0c0474d38d9b924b2428f20c6da58c85fa
cmd/compile: fix incorrect comparison folding We lost a sign extension that was necessary. The nonnegative comparison didn't have the correct extension on it. If the larger constant is positive, but its shorter sign extension is negative, the rule breaks. Fixes #41872 Change-Id: I6592ef103f840fbb786bf8cb94fd8804c760...
[ { "path": "src/cmd/compile/internal/ssa/gen/AMD64.rules", "patch": "@@ -1274,8 +1274,8 @@\n (CMPQconst (ANDQconst _ [m]) [n]) && 0 <= m && m < n => (FlagLT_ULT)\n (CMPQconst (ANDLconst _ [m]) [n]) && 0 <= m && m < n => (FlagLT_ULT)\n (CMPLconst (ANDLconst _ [m]) [n]) && 0 <= m && m < n => (FlagLT_ULT)\n-(CM...
2020-10-08T18:18:02
nodejs/node
6f684d95784ec30baa9d3daa98919f1e1bd47631
e63782d7896dc840acdef1bc9b475da8ee4bb998
build: make doc target quiet Currently it can be a little difficult to detect errors in the output from the doc target. This commit suggests reducing the output to make it easier to identify errors. PR-URL: https://github.com/nodejs/node/pull/16516 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Sne...
[ { "path": "Makefile", "patch": "@@ -542,13 +542,13 @@ doc-only: $(apidocs_html) $(apidocs_json)\n doc: $(NODE_EXE) doc-only\n \n $(apidoc_dirs):\n-\tmkdir -p $@\n+\t@mkdir -p $@\n \n out/doc/api/assets/%: doc/api_assets/% out/doc/api/assets\n-\tcp $< $@\n+\t@cp $< $@\n \n out/doc/%: doc/%\n-\tcp -r $< $@\n+...
2017-10-26T12:28:56
ggml-org/llama.cpp
bb96bfd36122aa491a4572afe92991ac89942328
0644baefde6afc8d2fee8d0ce7770b6485aa4c06
memory : fix kv cache size for hybrid models (#19559)
[ { "path": "src/llama-model.cpp", "patch": "@@ -7965,7 +7965,6 @@ llama_memory_i * llama_model::create_memory(const llama_memory_params & params,\n cparams.n_seq_max,\n nullptr);\n } else if (llm_arch_is_hybrid(arch)) {\n-\n ...
2026-02-13T05:36:24
huggingface/transformers
8e8786e5f04d7bba787ad7876630c72e20092016
673440d073d5f534a6d6bedeeca94869afd8d0a7
Update build ci image [push-ci-image] (#30933) * [build-ci-image] * correct branch * push ci image * [build-ci-image] * update scheduled as well * [push-ci-image] * [build-ci-image] * [push-ci-image] * update deps * [build-ci-image] * [build-ci-image] * [build-ci-image] * [build-ci...
[ { "path": ".circleci/config.yml", "patch": "@@ -31,6 +31,7 @@ jobs:\n steps:\n - checkout\n - run: uv pip install -U -e .\n+ - run: echo 'export \"GIT_COMMIT_MESSAGE=$(git show -s --format=%s)\"' >> \"$BASH_ENV\" && source \"$BASH_ENV\"\n - run: mkdir -...
2024-05-22T08:52:59
ollama/ollama
2ecb2472769ba0bb364aeeb109659750ad8153ce
288ef8ff952e44eb86ae1471437543e8aa29651d
Fix intel mac build Make sure we're building an x86 ext_server lib when cross-compiling
[ { "path": "llm/dyn_ext_server.go", "patch": "@@ -75,7 +75,7 @@ func newDynExtServer(library, model string, adapters, projectors []string, opts\n \tupdatePath(filepath.Dir(library))\n \tlibPath := C.CString(library)\n \tdefer C.free(unsafe.Pointer(libPath))\n-\tresp := newExtServerResp(128)\n+\tresp := newEx...
2024-01-13T22:46:34
nodejs/node
e63782d7896dc840acdef1bc9b475da8ee4bb998
b8888f5aa2deb41b7ab03d3085124eef398e461e
http2: fix stream reading resumption _read should always resume the underlying code that is attempting to push data to a readable stream. Adjust http2 core code to resume its reading appropriately. Some other general cleanup around reading, resuming & draining. PR-URL: https://github.com/nodejs/node/pull/16580 Fixes...
[ { "path": "lib/internal/http2/core.js", "patch": "@@ -282,8 +282,13 @@ function onSessionRead(nread, buf, handle) {\n 'report this as a bug in Node.js');\n _unrefActive(owner); // Reset the session timeout timer\n _unrefActive(stream); // Reset the stream timeout timer\n- if (nread >= 0 && !st...
2017-10-29T00:25:35
ggml-org/llama.cpp
3bb78133abd7c7d341b9b65fa6f1cf406cba82b8
79cc0f2dafbc7cbbfc37a8d99b399b816e141b90
hexagon: fix typo in vtcm_needs_release (#19545)
[ { "path": "ggml/src/ggml-hexagon/htp/main.c", "patch": "@@ -189,7 +189,7 @@ static int vtcm_release_callback(unsigned int rctx, void * state) {\n // otherwise we'll release it once we're done with the current Op.\n \n if (ctx->vtcm_inuse) {\n- ctx->vtcm_needs_release = false;\n+ ctx->v...
2026-02-12T23:07:49
ollama/ollama
cf29bd2d72f70170ef7b5adf6d3e30ac6a23331c
3773fb646521b474d5a869d79f932a2484eb674c
fix: request retry with error this fixes a subtle bug with makeRequestWithRetry where an HTTP status error on a retried request will potentially not return the right err
[ { "path": "server/images.go", "patch": "@@ -1132,49 +1132,46 @@ func GetSHA256Digest(r io.Reader) (string, int64) {\n var errUnauthorized = fmt.Errorf(\"unauthorized\")\n \n func makeRequestWithRetry(ctx context.Context, method string, requestURL *url.URL, headers http.Header, body io.ReadSeeker, regOpts *R...
2024-01-12T21:32:24
nodejs/node
9f33a248b37ed5acb31cffe2483d5dfc3db89521
ace4fe566fc3af4876c7458f983feeb5eae3df26
deps: backport 4ca695819 from npm upstream Original commit message: minizlib@1.0.4 Fixes Node 9 compatibility. Credit: @isaacs PR-URL: https://github.com/nodejs/node/pull/16509 Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michaël Zas...
[ { "path": "deps/npm/node_modules/tar/node_modules/minizlib/index.js", "patch": "@@ -52,6 +52,7 @@ const _offset = Symbol('offset')\n const _level = Symbol('level')\n const _strategy = Symbol('strategy')\n const _ended = Symbol('ended')\n+const _writeState = Symbol('writeState')\n \n class Zlib extends MiniP...
2017-10-27T02:44:44
ggml-org/llama.cpp
79cc0f2dafbc7cbbfc37a8d99b399b816e141b90
338085c69e486b7155e5b03d7b5087e02c0e2528
opencl: add basic support for q4_1 (#19534) * opencl: add q4_1 mv * opencl: clean up * opencl: add flattened q4_1 mv * opencl: clean up * opencl: add basic q4_1 mm * opencl: fix whitespace * opencl: add general q4_0 mm
[ { "path": "ggml/src/ggml-opencl/CMakeLists.txt", "patch": "@@ -85,6 +85,8 @@ set(GGML_OPENCL_KERNELS\n mul_mv_q4_0_f32_8x_flat\n mul_mv_q4_0_f32_1d_8x_flat\n mul_mv_q4_0_f32_1d_16x_flat\n+ mul_mv_q4_1_f32\n+ mul_mv_q4_1_f32_flat\n mul_mv_q4_k_f32\n mul_mv_q6_k_f32\n mul_mv_q6_k...
2026-02-12T22:52:37
huggingface/transformers
673440d073d5f534a6d6bedeeca94869afd8d0a7
60bb571e993b7d73257fb64044726b569fef9403
update ruff version (#30932) * update ruff version * fix research projects * Empty * Fix errors --------- Co-authored-by: Lysandre <lysandre@huggingface.co>
[ { "path": "Makefile", "patch": "@@ -5,7 +5,7 @@ export PYTHONPATH = src\n \n check_dirs := examples tests src utils\n \n-exclude_folders := examples/research_projects\n+exclude_folders := \"\"\n \n modified_only_fixup:\n \t$(eval modified_py_files := $(shell python utils/get_modified_files.py $(check_dirs)...
2024-05-22T04:40:15
golang/go
542693e00529fbb4248fac614ece68b127a5ec4d
5d1378143bc07791296abb420df35537ad80492f
net/http: make SameSiteDefaultMode behavior match the specification The current specification does not foresee a SameSite attribute without a value. While the existing implementation would serialize SameSite in a way that would likely be ignored by well-impelemented clients, it is better to not rely on this kind of qu...
[ { "path": "doc/go1.16.html", "patch": "@@ -286,6 +286,11 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n of the form <code>\"Range\": \"bytes=--N\"</code> where <code>\"-N\"</code> is a negative suffix length, for\n example <code>\"Range\": \"bytes=--2\"</code>. It now repl...
2020-09-22T15:57:06
ggml-org/llama.cpp
f4884293809b5227d7307140a942f1bc4176a603
4d688f9ebba03a597dbaf9df1d0a4375d4947780
llama : update outdated comment in llama.h (#19428) * Updated documentation Model is no longer a parameter * llama : fix trailing whitespace in comment --------- Co-authored-by: Daniel Bevenius <daniel.bevenius@gmail.com>
[ { "path": "include/llama.h", "patch": "@@ -1150,9 +1150,9 @@ extern \"C\" {\n //\n \n /// Apply chat template. Inspired by hf apply_chat_template() on python.\n- /// Both \"model\" and \"custom_template\" are optional, but at least one is required. \"custom_template\" has higher precedence than \...
2026-02-12T14:52:57
huggingface/transformers
5bf9caa06df47acda751ff5bcef95b937b86c71f
d24097e0229485287ff4959258c552168bd898c6
Fix inhomogeneous shape error in example (#30434) Fix inhomogeneous shape error in example.
[ { "path": "examples/flax/question-answering/run_qa.py", "patch": "@@ -426,7 +426,8 @@ def eval_data_collator(dataset: Dataset, batch_size: int):\n \n for idx in batch_idx:\n batch = dataset[idx]\n- batch = {k: np.array(v) for k, v in batch.items()}\n+ # Ignore `offset_mapping` to a...
2024-05-21T17:14:11
ggml-org/llama.cpp
4d688f9ebba03a597dbaf9df1d0a4375d4947780
ff599039a9f54fc75c0d4202941079058a26de2c
(webui) FEATURE: Enable adding or injecting System Message into chat (#19556) * feat: Enable adding System Prompt per-chat * fix: Save draft message in Chat Form when adding System Prompt from new chat view * fix: Proper system message deletion logic * chore: Formatting * chore: update webui build output
[ { "path": "tools/server/webui/src/lib/components/app/chat/ChatForm/ChatForm.svelte", "patch": "@@ -27,23 +27,27 @@\n \tinterface Props {\n \t\tclass?: string;\n \t\tdisabled?: boolean;\n+\t\tinitialMessage?: string;\n \t\tisLoading?: boolean;\n \t\tonFileRemove?: (fileId: string) => void;\n \t\tonFileUpload...
2026-02-12T12:56:08
golang/go
5012e806b5e50a463609643d5ab04f509e55c3be
3f7b4d12075277f28427e6b57708258225841ecd
cmd/vendor,cmd/pprof: sync pprof@1a94d8640e99 Updated cmd/pprof.objTool.Disasm to accept an additional bool param introduced in https://github.com/google/pprof/pull/520 to support intel syntax in the assembly report. Returns an error if the intelSyntax param is set. We use src/cmd/internal/objfile to disassemble and ...
[ { "path": "src/cmd/go.mod", "patch": "@@ -3,7 +3,7 @@ module cmd\n go 1.16\n \n require (\n-\tgithub.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3\n+\tgithub.com/google/pprof v0.0.0-20200708004538-1a94d8640e99\n \tgithub.com/ianlancetaylor/demangle v0.0.0-20200414190113-039b1ae3a340 // indirect\n \tgo...
2020-08-14T16:27:26
nodejs/node
ace4fe566fc3af4876c7458f983feeb5eae3df26
64168eb9b43e30e4c0b986c9b29c41be63e85df6
deps: update npm to 5.5.1 Closes: https://github.com/nodejs/node/pull/16280 PR-URL: https://github.com/nodejs/node/pull/16509 Fixes: https://github.com/nodejs/node/issues/14161 Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michaël Zasso <targos@prot...
[ { "path": "deps/npm/.mailmap", "patch": "@@ -32,6 +32,7 @@ Jake Verbaten <raynos2@gmail.com>\n James Sanders <jimmyjazz14@gmail.com>\n James Treworgy <jamietre@gmail.com>\n Jason Smith <jhs@iriscouch.com>\n+Joshua Bennett <legodudejb@gmail.com>\n Jonas Weber <github@jonasw.de>\n Julien Meddah <julien.meddah...
2017-10-27T02:35:25
ggml-org/llama.cpp
6845f7f87f4ece1ac13db2e7d0388090bc1c8d3c
fa16e517a3bcc15818d0813993693e1c92ce6c76
Add a workaround for compilation with ROCWMMA_FATTN and gfx9 (#19461) There is an upstream problem [1] with AMD's LLVM 22 fork and rocWMMA 2.2.0 causing compilation issues on devices without native fp16 support (CDNA devices). The specialized types aren't resolved properly: ``` /opt/rocm/include/rocwmma/internal/mfma...
[ { "path": "ggml/src/ggml-cuda/fattn-wmma-f16.cu", "patch": "@@ -63,11 +63,19 @@ static __global__ void flash_attn_ext_f16(\n constexpr int frag_m = ncols == 8 ? 32 : 16;\n constexpr int frag_n = ncols == 8 ? 8 : 16;\n static_assert(D % frag_m == 0, \"If ncols == 8 then D % frag_m must be 0.\");...
2026-02-12T08:38:35
golang/go
492258549717d4e73a22170c507fb26a731c4aba
ccf89bef43f3580526019e0804e91352e62047d5
syscall: rewrite Windows makeCmdLine to use []byte It's faster to append to a []byte and only convert to string at the end then it is to build up a string by concatenating characters. Fixes #41825 Change-Id: I45ddf77dcc62726c919f0533c95d483cee8ba366 Reviewed-on: https://go-review.googlesource.com/c/go/+/259978 Trust...
[ { "path": "src/syscall/exec_windows.go", "patch": "@@ -24,74 +24,87 @@ var ForkLock sync.RWMutex\n // - finally, s is wrapped with double quotes (arg -> \"arg\"),\n // but only if there is space or tab inside s.\n func EscapeArg(s string) string {\n+\tfor i := 0; i < len(s); i++ {\n+\t\tswitch s[i] {\n+\t...
2020-10-06T23:31:00
huggingface/transformers
d24097e0229485287ff4959258c552168bd898c6
eae2b6b89e72dbee531e5b96acc94b98161aa8a4
Fix swin embeddings interpolation (#30936)
[ { "path": "src/transformers/models/donut/modeling_donut_swin.py", "patch": "@@ -205,9 +205,7 @@ def forward(\n interpolate_pos_encoding: bool = False,\n ) -> Tuple[torch.Tensor]:\n _, num_channels, height, width = pixel_values.shape\n- embeddings, output_dimensions = self.patch_em...
2024-05-21T14:40:19
nodejs/node
64168eb9b43e30e4c0b986c9b29c41be63e85df6
65d2067936811023c5282b24a35ef9d677c4dc66
v8: migrate setFlagsFromString to internal/errors PR-URL: https://github.com/nodejs/node/pull/16535 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Lui...
[ { "path": "doc/api/v8.md", "patch": "@@ -133,10 +133,11 @@ For example:\n }\n ```\n \n-## v8.setFlagsFromString(string)\n+## v8.setFlagsFromString(flags)\n <!-- YAML\n added: v1.0.0\n -->\n+* `flags` {string}\n \n The `v8.setFlagsFromString()` method can be used to programmatically set\n V8 command line fla...
2017-10-26T23:31:23
rust-lang/rust
f0de899001d9c8fe7735eef061bdc024436f9b6f
81d8edc2000aa38b08ad09fce22d90f1990b6459
triagebot.toml: Don't label `test/rustdoc-json` as A-rustdoc-search This happened because `test/rustdoc-js` is a prefix of `test/rustdoc-json`, and triagebot works on prefixes. Maybe this should be fixed in triagebot, but this works now.
[ { "path": "triagebot.toml", "patch": "@@ -207,7 +207,7 @@ trigger_files = [\n \"tests/rustdoc\",\n \"tests/rustdoc-ui\",\n \"tests/rustdoc-gui\",\n- \"tests/rustdoc-js\",\n+ \"tests/rustdoc-js/\",\n \"tests/rustdoc-js-std\",\n \"tests/rustdoc-json\",\n \n@@ -1307,7 +1307,7 @@ proje...
2025-03-03T19:28:57
ggml-org/llama.cpp
fa16e517a3bcc15818d0813993693e1c92ce6c76
313493de533845150316b9be11bd95511b9f3d4c
server : fix typo in README.md for features list (#19510) extra l for full
[ { "path": "tools/server/README.md", "patch": "@@ -19,7 +19,7 @@ Set of LLM REST APIs and a web UI to interact with llama.cpp.\n * Speculative decoding\n * Easy-to-use web UI\n \n-For the ful list of features, please refer to [server's changelog](https://github.com/ggml-org/llama.cpp/issues/9291)\n+For the...
2026-02-12T07:56:25
golang/go
ccf89bef43f3580526019e0804e91352e62047d5
0941dc446e6b3028c77158728432086b5c06acf6
cmd/compile: store call args in the call block We already do this for OpStore, but we didn't do this for OpMove. Do the same, to ensure that no two memories are live at the same time. Fixes #41846. Change-Id: Iad77ff031b3c4459d1217e0b04aeb0e692eb474d Reviewed-on: https://go-review.googlesource.com/c/go/+/260237 Trus...
[ { "path": "src/cmd/compile/internal/ssa/expand_calls.go", "patch": "@@ -283,7 +283,7 @@ func expandCalls(f *Func) {\n \t\t\t\t// TODO this will be more complicated with registers in the picture.\n \t\t\t\tsrc := a.Args[0]\n \t\t\t\tdst := f.ConstOffPtrSP(src.Type, aux.OffsetOfArg(auxI), sp)\n-\t\t\t\tif a.U...
2020-10-07T15:32:43
ollama/ollama
7427fa138714580f74aafa9f08d7af5d16fa2fad
de2fbdec991ac52ff015818b19482fdff22e2deb
Fix up the CPU fallback selection The memory changes and multi-variant change had some merge glitches I missed. This fixes them so we actually get the cpu llm lib and best variant for the given system.
[ { "path": "gpu/gpu_darwin.go", "patch": "@@ -34,7 +34,7 @@ func GetGPUInfo() GpuInfo {\n \tmem, _ := getCPUMem()\n \tif runtime.GOARCH == \"amd64\" {\n \t\treturn GpuInfo{\n-\t\t\tLibrary: \"default\",\n+\t\t\tLibrary: \"cpu\",\n \t\t\tVariant: GetCPUVariant(),\n \t\t\tmemInfo: mem,\n \t\t}", "additions...
2024-01-11T22:43:16
nodejs/node
65d2067936811023c5282b24a35ef9d677c4dc66
25ef9d2db627ef75d1f5562481c5b4357678d092
build: ignore empty folders in test-addons-napi The same as https://github.com/nodejs/node/pull/16031 except for N-API addons. PR-URL: https://github.com/nodejs/node/pull/16380 Fixes: https://github.com/nodejs/node/issues/13521 Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Daniel Bevenius <daniel.be...
[ { "path": "Makefile", "patch": "@@ -299,7 +299,8 @@ test/addons/.buildstamp: config.gypi \\\n \ttest/addons/.docbuildstamp\n #\tCannot use $(wildcard test/addons/*/) here, it's evaluated before\n #\tembedded addons have been generated from the documentation.\n-#\tIgnore folders without binding.gyp (#14843)\...
2017-10-22T11:23:14
rust-lang/rust
b5562c04e73590c8eefa67400aba022ff7b61f25
81d8edc2000aa38b08ad09fce22d90f1990b6459
Remove i586-pc-windows-msvc See MCP 840. I left a specialized error message that should help users that hit this in the wild (for example, because they use it in their CI).
[ { "path": "compiler/rustc_target/src/spec/mod.rs", "patch": "@@ -1915,7 +1915,6 @@ supported_targets! {\n (\"i686-pc-windows-msvc\", i686_pc_windows_msvc),\n (\"i686-uwp-windows-msvc\", i686_uwp_windows_msvc),\n (\"i686-win7-windows-msvc\", i686_win7_windows_msvc),\n- (\"i586-pc-windows-msvc\...
2025-03-03T19:14:16
ggml-org/llama.cpp
b1ff83bbb08bd946f79b89bc7adbd7f08ae61303
4ae1b7517a787f5b37776b0598ed2b69e6caf5bd
hexagon: further optimization and tuning of matmul and dot kernels (#19407) * ggml-hexagon: implement 2x2 matmul kernel * hexmm: implement vec_dot_rx2x2 for Q8_0 and MXFP4 * hexagon: fix editor config failures * hexagon: refactor matmul ops to use context struct and remove wrappers Also implement vec_dot_f16 2x2 ...
[ { "path": "ggml/src/ggml-hexagon/htp/htp-ops.h", "patch": "@@ -64,25 +64,12 @@ struct htp_ops_context {\n struct fastdiv_values broadcast_rv2;\n struct fastdiv_values broadcast_rv3;\n \n- struct fastdiv_values mm_div_ne12_ne1; // fastdiv values for ne12 * ne1\n- struct fastdiv_values mm_div_ne...
2026-02-12T07:04:27
nodejs/node
25ef9d2db627ef75d1f5562481c5b4357678d092
241eb6122ee6f36de16ee4ed4a6a291510b1807f
doc: more accurate zlib windowBits information Fixes: https://github.com/nodejs/node/issues/14847 PR-URL: https://github.com/nodejs/node/pull/16511 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michael Dawson <mi...
[ { "path": "doc/api/zlib.md", "patch": "@@ -459,12 +459,11 @@ added: v0.5.8\n Creates and returns a new [DeflateRaw][] object with the given [options][].\n \n *Note*: An upgrade of zlib from 1.2.8 to 1.2.11 changed behavior when windowBits\n-is set to 8 for raw deflate streams. zlib does not have a working i...
2017-10-26T10:32:23
golang/go
0941dc446e6b3028c77158728432086b5c06acf6
67edc0ed81947a55adbcd0c9d2317abb93ac9510
cmd/go: env -w validates GOTMPDIR value This change makes go env -w check if GOTMPDIR is an absolute path. If GOTMPDIR is not an absolute and not existing path there will be an error at every `work.Builder.Init()`. If `go env` has `-u/-w` as argument `work.Builder.Init()` is not called. `go env -w GOTMPDIR=` work in...
[ { "path": "src/cmd/go/internal/envcmd/env.go", "patch": "@@ -203,10 +203,19 @@ func runEnv(ctx context.Context, cmd *base.Command, args []string) {\n \t}\n \n \t// Do we need to call ExtraEnvVarsCostly, which is a bit expensive?\n-\t// Only if we're listing all environment variables (\"go env\")\n-\t// or t...
2020-08-24T22:49:39
rust-lang/rust
a23566a57e4d53a35827becc2f65ce27951276c8
81d8edc2000aa38b08ad09fce22d90f1990b6459
Provide more context on resolve error caused from incorrect RTN When encountering a resolve E0575 error for an associated method (when a type was expected), see if it could have been an intended return type notation bound. ``` error[E0575]: expected associated type, found associated function `Trait::method` --> $DI...
[ { "path": "compiler/rustc_ast_lowering/src/lib.rs", "patch": "@@ -926,7 +926,6 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {\n if let Some(first_char) = constraint.ident.as_str().chars().next()\n && first_char.is_ascii_lowercase()\n {\n- ...
2025-02-28T21:39:25
ggml-org/llama.cpp
4d3daf80f8834e0eb5148efc7610513f1e263653
914dde72babffc8aa2e04c97dafcec029a671b2e
opencl: add general Q6_K mm and Q4_K mv (#19347) * opencl: add general q6_k mm * opencl: refine condition for q6_K mm * opencl: add general q4_K mv * opencl: fix whitespace
[ { "path": "ggml/src/ggml-opencl/CMakeLists.txt", "patch": "@@ -85,6 +85,7 @@ set(GGML_OPENCL_KERNELS\n mul_mv_q4_0_f32_8x_flat\n mul_mv_q4_0_f32_1d_8x_flat\n mul_mv_q4_0_f32_1d_16x_flat\n+ mul_mv_q4_k_f32\n mul_mv_q6_k_f32\n mul_mv_q6_k_f32_flat\n mul_mv_q8_0_f32\n@@ -101,6 +102,7...
2026-02-11T18:33:13
huggingface/transformers
3b09d3f05f95629736bf5337ab118fa3327cc8c7
daf281f44f654abd5e7ed07e37985cee2250c3af
fix: center_crop occasionally outputs off-by-one dimension matrix (#30934) If required padding for a crop larger than input image is odd-numbered, the padding would be rounded down instead of rounded up, causing the output dimension to be one smaller than it should be.
[ { "path": "src/transformers/image_transforms.py", "patch": "@@ -14,6 +14,7 @@\n # limitations under the License.\n \n import warnings\n+from math import ceil\n from typing import Iterable, List, Optional, Tuple, Union\n \n import numpy as np\n@@ -483,9 +484,9 @@ def center_crop(\n new_image = np.zeros_l...
2024-05-21T12:56:52
rust-lang/rust
7e0a2fcb1b4c8026948212140d7d58b8ed87fa38
81d8edc2000aa38b08ad09fce22d90f1990b6459
compiletest: change `TEST_BUILD_DIR` to maximally normalize This is to make test stderr insensitive to compare-mode / debugger that changes the test build dir output name. Previously, this normalized paths up to test-suite-specific build root, e.g. `/path/to/build/test/ui/`. Now, this normalizes up to test-specific b...
[ { "path": "src/tools/compiletest/src/runtest.rs", "patch": "@@ -2412,8 +2412,9 @@ impl<'test> TestCx<'test> {\n let rust_src_dir = rust_src_dir.read_link().unwrap_or(rust_src_dir.to_path_buf());\n normalize_path(&rust_src_dir.join(\"library\"), \"$SRC_DIR_REAL\");\n \n- // eg. /home/u...
2025-02-11T12:21:02
nodejs/node
241eb6122ee6f36de16ee4ed4a6a291510b1807f
203b548381c53e904b56b2e1d02c18ed26c24a58
zlib: gracefully set windowBits from 8 to 9 On 4 April 2017, Node.js versions v4.8.2 and v6.10.2 were released. These versions bumped the vendored zlib library from v1.2.8 to v1.2.11 in response to what it describes as low-severity CVEs. In zlib v1.2.9, a change was made that causes an error to be raised when a raw de...
[ { "path": "doc/api/zlib.md", "patch": "@@ -458,9 +458,13 @@ added: v0.5.8\n \n Creates and returns a new [DeflateRaw][] object with the given [options][].\n \n-*Note*: The zlib library rejects requests for 256-byte windows (i.e.,\n-`{ windowBits: 8 }` in `options`). An `Error` will be thrown when creating\n...
2017-10-13T05:10:44
golang/go
c19725016df2600a204c9f8447bfcb7dcbdb128a
f8e554021b7de4bf1150f64d047091b429c92b39
internal/reflectlite: include Kind in ValueError message The implementation has been ported from reflect, but to avoid introducing a dependency on strconv, Kind.String() falls back to "invalid" if the Kind is unknown rather than "kind" + strconv.Itoa(int(k)) Fixes #39286 Change-Id: I82277242a6c41d0146dabd9d20339fe72...
[ { "path": "src/internal/reflectlite/type.go", "patch": "@@ -384,6 +384,44 @@ const (\n \tkindMask = (1 << 5) - 1\n )\n \n+// String returns the name of k.\n+func (k Kind) String() string {\n+\tif int(k) < len(kindNames) {\n+\t\treturn kindNames[k]\n+\t}\n+\treturn kindNames[0]\n+}\n+\n+var kindNames ...
2020-05-29T03:41:38
ggml-org/llama.cpp
914dde72babffc8aa2e04c97dafcec029a671b2e
3136a849dba799490d863ba03ef56b92ff052caf
ggml : unary ops support non-cont src0 + metal F16 unary ops (#19511) * ggml : unary ops support non-cont src0 * metal : support F16 unary ops + fix ELU
[ { "path": "ggml/src/ggml-cpu/ops.cpp", "patch": "@@ -2096,10 +2096,14 @@ static void ggml_compute_forward_gelu_f32(\n \n const ggml_tensor * src0 = dst->src[0];\n \n- assert(ggml_is_contiguous_1(src0));\n- assert(ggml_is_contiguous_1(dst));\n+ assert(ggml_is_contiguous_rows(src0));\n assert...
2026-02-11T16:58:43
ollama/ollama
d2be6387c92e2c3ed3094e5a29793e5ae74a1425
d7af35d3d06ff9422808cf744b2ffcc0b2cdeeac
fix typo
[ { "path": "llm/payload_common.go", "patch": "@@ -76,7 +76,7 @@ func getDynLibs(gpuInfo gpu.GpuInfo) []string {\n \t\t}\n \t}\n \n-\t// Finaly, if we didn't find any matches, LCD CPU FTW\n+\t// Finally, if we didn't find any matches, LCD CPU FTW\n \tif len(dynLibs) == 0 {\n \t\tdynLibs = []string{availableDy...
2024-01-11T22:25:21
huggingface/transformers
daf281f44f654abd5e7ed07e37985cee2250c3af
7a4792e6b3feba1cb379478449483754a70257ec
Enforce saving at end of training if saving option chosen (#30160) * Enforce saving at end of training * Fix test * Rework test * Fixup tests' * Update comment based on sourab feedback * Clean
[ { "path": "src/transformers/trainer_callback.py", "patch": "@@ -544,6 +544,9 @@ def on_step_end(self, args: TrainingArguments, state: TrainerState, control: Tra\n # End training\n if state.global_step >= state.max_steps:\n control.should_training_stop = True\n+ # Save ...
2024-05-21T11:50:11
golang/go
3923460dda205721d9bee2714a7f0dd403082a90
04b8a9fea57e37589d82410281f22ebde0027808
runtime/cgo: only build xx_cgo_panicmem on iOS On iOS, when running under lldb, we install xx_cgo_panicmem as EXC_BAD_ACCESS handler so we can get a proper Go panic for SIGSEGV. Only build it on iOS. Updates #38485. Change-Id: I801c477439e05920a4bb8fdf5eae6f4923ab8274 Reviewed-on: https://go-review.googlesource.com/...
[ { "path": "src/runtime/cgo/gcc_signal_darwin_nolldb.c", "patch": "@@ -2,7 +2,7 @@\n // Use of this source code is governed by a BSD-style\n // license that can be found in the LICENSE file.\n \n-// +build !lldb\n+// +build !lldb !ios\n // +build darwin\n // +build arm64\n ", "additions": 1, "deletio...
2020-10-03T20:18:43
nodejs/node
403ccb68a5379bcf4892e35172730fd52d6d03b6
e2ce1307ede31a30d52887e89c03342772885554
lib: setup IPC channel before console Initializing IOCP on the same fd twice can fail on Windows. Consequently, if the IPC channel uses fd 1 or 2 and the console is setup first, writing to the IPC channel will fail. PR-URL: https://github.com/nodejs/node/pull/16562 Fixes: https://github.com/nodejs/node/issues/16141 R...
[ { "path": "lib/internal/bootstrap_node.js", "patch": "@@ -37,12 +37,6 @@\n NativeModule.require('internal/process/next_tick').setup();\n NativeModule.require('internal/process/stdio').setup();\n \n- const browserGlobals = !process._noBrowserGlobals;\n- if (browserGlobals) {\n- setupGlobal...
2017-10-27T18:23:59
ollama/ollama
3bc8b9832b3bfab9ddca01ec0ebc012303362361
ab6be852c77064d7abeffb0b03c096aab90e95fe
fix gpu_test.go Error (same type) uint64->uint32 (#1921)
[ { "path": "gpu/gpu_test.go", "patch": "@@ -18,7 +18,7 @@ func TestBasicGetGPUInfo(t *testing.T) {\n \tcase \"linux\", \"windows\":\n \t\tassert.Greater(t, info.TotalMemory, uint64(0))\n \t\tassert.Greater(t, info.FreeMemory, uint64(0))\n-\t\tassert.Greater(t, info.DeviceCount, uint64(0))\n+\t\tassert.Greate...
2024-01-11T13:22:23
ggml-org/llama.cpp
e463bbdf659fed30b0fba822257ec7d8b373d1c2
53de59f67dfd17fe9df32bf48e0df757e833419f
model: Add Kimi-K2.5 support (#19170) * Move dequant_model to after the text_config merge Add new kimi-k2.5 keys to mtmd convert Update V_MMPROJ tensor mapping for new mm_projector.proj keys Update V_M_IMP_NORM for new mm_projector.pre_norm key * Fix a couple of oversights * Add image support for Kimi-K2.5 * Revert...
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -160,8 +160,6 @@ def __init__(self, dir_model: Path, ftype: gguf.LlamaFileType, fname_out: Path,\n self.ftype = gguf.LlamaFileType.MOSTLY_F16\n logger.info(\"heuristics unable to detect tensor dtype, defaulting to --outtype f16\...
2026-02-11T15:47:30
huggingface/transformers
7a4792e6b3feba1cb379478449483754a70257ec
a755745546779ae5c42510bc02a859bdac82b3b7
CI: AMD MI300 tests fix (#30797) * add fix * update import * updated dicts and comments * remove prints * Update testing_utils.py
[ { "path": "src/transformers/testing_utils.py", "patch": "@@ -166,6 +166,15 @@\n # Not critical, only usable on the sandboxed CI instance.\n TOKEN = \"hf_94wBhPGp6KrrTH3KDchhKpRxZwd6dmHWLL\"\n \n+if is_torch_available():\n+ import torch\n+\n+ IS_ROCM_SYSTEM = torch.version.hip is not None\n+ IS_CUDA...
2024-05-21T11:46:07
rust-lang/rust
93b8279f4fca7631ca8585ebcc9ed6b31ec57173
81d8edc2000aa38b08ad09fce22d90f1990b6459
Fix docker run-local docs
[ { "path": "src/ci/docker/README.md", "patch": "@@ -11,12 +11,12 @@ the [`jobs.yml`](../github-actions/jobs.yml) file.\n To run a specific CI job locally, you can use the `citool` Rust crate:\n \n ```\n-cargo --manifest-path src/ci/citool/Cargo.toml run run-local <job-name>\n+cargo run --manifest-path src/ci...
2025-03-03T15:15:34
golang/go
930fa890c9b6a75700bda3dc4043de81350749ea
db428ad7b61ed757671162054252b4326045e96c
net/http: add Transport.GetProxyConnectHeader Fixes golang/go#41048 Change-Id: I38e01605bffb6f85100c098051b0c416dd77f261 Reviewed-on: https://go-review.googlesource.com/c/go/+/259917 Trust: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Go Bot <gobot@golang.or...
[ { "path": "src/net/http/transport.go", "patch": "@@ -240,8 +240,18 @@ type Transport struct {\n \n \t// ProxyConnectHeader optionally specifies headers to send to\n \t// proxies during CONNECT requests.\n+\t// To set the header dynamically, see GetProxyConnectHeader.\n \tProxyConnectHeader Header\n \n+\t// ...
2020-10-06T17:53:11
ggml-org/llama.cpp
53de59f67dfd17fe9df32bf48e0df757e833419f
9ab072ebbe8ae679f6a35090979fe58c8659dc11
build : fix case in dSYMs path for build-macos [no ci] (#19515) This commit updates an incorrect dSYMs where the the 's' was uppercase by mistake. The motivation for fixing this is that this can cause issues on case sensitive operating systems. Refs: https://github.com/ggml-org/whisper.cpp/pull/3630
[ { "path": "build-xcframework.sh", "patch": "@@ -534,7 +534,7 @@ xcodebuild -create-xcframework \\\n -framework $(pwd)/build-ios-device/framework/llama.framework \\\n -debug-symbols $(pwd)/build-ios-device/dSYMs/llama.dSYM \\\n -framework $(pwd)/build-macos/framework/llama.framework \\\n- -deb...
2026-02-11T13:02:29
ollama/ollama
b24e8d17b29246cbf520cffc48eac374ec245e48
f83881390f571da412d09809b6e5547783ec2392
Increase minimum CUDA memory allocation overhead and fix minimum overhead for multi-gpu (#1896) * increase minimum cuda overhead and fix minimum overhead for multi-gpu * fix multi gpu overhead * limit overhead to 10% of all gpus * better wording * allocate fixed amount before layers * fixed only include...
[ { "path": "gpu/gpu.go", "patch": "@@ -184,10 +184,11 @@ func getCPUMem() (memInfo, error) {\n func CheckVRAM() (int64, error) {\n \tgpuInfo := GetGPUInfo()\n \tif gpuInfo.FreeMemory > 0 && (gpuInfo.Library == \"cuda\" || gpuInfo.Library == \"rocm\") {\n-\t\t// leave 10% or 384Mi of VRAM free for unaccounted...
2024-01-11T00:08:51
nodejs/node
6e86a6651ccd6d6f02bc4a8ccd87b4225357f292
896eaf6820a0194fb2879c44c4dbcece29e616d3
stream: complete migration to internal/errors Complete the migration to the new error system of _stream_readable and _stream_writable. Adds the corresponding documentation. PR-URL: https://github.com/nodejs/node/pull/16589 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>...
[ { "path": "doc/api/errors.md", "patch": "@@ -1317,6 +1317,18 @@ Node.js does not allow `stdout` or `stderr` Streams to be closed by user code.\n Used when an attempt is made to close the `process.stdout` stream. By design,\n Node.js does not allow `stdout` or `stderr` Streams to be closed by user code.\n \n...
2017-10-29T15:36:32
huggingface/transformers
a755745546779ae5c42510bc02a859bdac82b3b7
d502bd64756535ff6af43cbc5a15aa5da7f52483
PaliGemma - fix processor with no input text (#30916) Update processing_paligemma.py
[ { "path": "src/transformers/models/paligemma/processing_paligemma.py", "patch": "@@ -177,6 +177,7 @@ def __call__(\n logger.warning_once(\n \"You are using PaliGemma without a text prefix. It will perform as a picture-captioning model.\"\n )\n+ text = \"\"\...
2024-05-21T09:43:22
rust-lang/rust
6c0068d93fca7e74a77445b16682cb438020a9c2
4efb6d5fd45cd22a4c5409253372cc884a25c41c
fix compilation on armebv7r-none-eabi
[ { "path": "library/stdarch/crates/core_arch/src/aarch64/neon/generated.rs", "patch": "@@ -11631,8 +11631,8 @@ pub unsafe fn vld2q_dup_p64(a: *const p64) -> poly64x2x2_t {\n #[cfg_attr(test, assert_instr(ld2r))]\n pub unsafe fn vld2q_dup_p64(a: *const p64) -> poly64x2x2_t {\n let mut ret_val: poly64x2x2_...
2025-03-01T17:52:20
golang/go
f8d80977b784fd4879963e61dc9fca1fc9bf2193
d2a80f3fb5b44450e0b304ac5a718f99c053d82a
cmd/compile: correct leaf type when "selecting" singleton register-sized struct Two part fix: 1) bring the type "correction" forward from a later CL in the expand calls series 2) when a leaf-selwect is rewritten in place, update the type (it might have been changed by the type correction in 1). Fixes #41736. Chan...
[ { "path": "src/cmd/compile/internal/ssa/config.go", "patch": "@@ -195,7 +195,7 @@ const (\n \tClassParamOut // return value\n )\n \n-const go116lateCallExpansion = false\n+const go116lateCallExpansion = true\n \n // LateCallExpansionEnabledWithin returns true if late call expansion shoul...
2020-10-02T18:53:48
ggml-org/llama.cpp
0c1f39a9ae68d502bc73b2901e6985ae9f4557a1
73cd5e1b971d6223c58d88907672d1a153bd18d9
common : improve download error reporting (#19491) Signed-off-by: Adrien Gallouët <angt@huggingface.co>
[ { "path": "common/download.cpp", "patch": "@@ -305,7 +305,10 @@ static bool common_pull_file(httplib::Client & cli,\n );\n \n if (!res) {\n- LOG_ERR(\"%s: error during download. Status: %d\\n\", __func__, res ? res->status : -1);\n+ LOG_ERR(\"%s: download failed: %s (status: %d)\\n\",\...
2026-02-11T08:27:55
ollama/ollama
3c49c3ab0da9cccbcca333ae278687734bb5cec8
9754ae4c899c5a55e7725f195f5581aad33866b2
Harden GPU mgmt library lookup When there are multiple management libraries installed on a system not every one will be compatible with the current driver. This change improves our management library algorithm to build up a set of discovered libraries based on glob patterns, and then try all of them until we're able ...
[ { "path": "gpu/gpu.go", "patch": "@@ -13,7 +13,10 @@ import \"C\"\n import (\n \t\"fmt\"\n \t\"log\"\n+\t\"os\"\n+\t\"path/filepath\"\n \t\"runtime\"\n+\t\"strings\"\n \t\"sync\"\n \t\"unsafe\"\n )\n@@ -29,31 +32,79 @@ var gpuHandles *handles = nil\n // With our current CUDA compile flags, 5.2 and older wil...
2024-01-10T22:39:51
nodejs/node
896eaf6820a0194fb2879c44c4dbcece29e616d3
1cdcab09f2a9cc010437129376983ac77c9afd7e
zlib: finish migrating to internal/errors PR-URL: https://github.com/nodejs/node/pull/16540 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Khaidi Chu <i@2333.moe> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@g...
[ { "path": "doc/api/errors.md", "patch": "@@ -1474,6 +1474,11 @@ Used when a given value is out of the accepted range.\n Used when an attempt is made to use a `zlib` object after it has already been\n closed.\n \n+<a id=\"ERR_ZLIB_INITIALIZATION_FAILED\"></a>\n+### ERR_ZLIB_INITIALIZATION_FAILED\n+\n+Used wh...
2017-10-27T00:09:30
huggingface/transformers
8871b261500b3b81b08f58972edbfba8dd78e58c
c876d12127272ce2886ce51399928c3343d475b9
FEAT / Trainer: LOMO optimizer support (#30178) * add V1 - adalomo not working yet * add todo docs + refactor from comments * adjust LR * add docs * add more elaborated test * Apply suggestions from code review Co-authored-by: Zach Mueller <muellerzr@gmail.com> * fix * push * add accelerate ...
[ { "path": "docs/source/en/trainer.md", "patch": "@@ -382,6 +382,56 @@ trainer.train()\n \n Note layerwise optimization is a bit experimental and does not support DDP (Distributed Data Parallel), thus you can run the training script only on a single GPU. Please see [this appropriate section](https://github.c...
2024-05-21T08:16:37
ggml-org/llama.cpp
73cd5e1b971d6223c58d88907672d1a153bd18d9
8ee538ce73de1afbf6924a38c2d016e496c26497
hexagon: Add ARGSORT, DIV, SQR, SQRT, SUM_ROWS, GEGLU (#19406) * hexagon: add ARGSORT op Co-authored-by: Yarden Tal <yardent@qti.qualcomm.com> * hexagon: argsort reject tensors with huge rows for now * Adding support for DIV,SQR,SQRT,SUM_ROWS ops in hexagon backend * hexagon : Add GEGLU op * hexagon: fix editor c...
[ { "path": "ggml/src/ggml-hexagon/ggml-hexagon.cpp", "patch": "@@ -1935,11 +1935,6 @@ static bool ggml_hexagon_supported_binary(const struct ggml_hexagon_session * se\n return false;\n }\n \n- // TODO: add support for non-contigiuos tensors\n- if (!ggml_is_contiguous(src0) || !ggml_is_conti...
2026-02-11T07:21:12
ollama/ollama
224fbf27959ed05f6508c3555fbd0632878a763c
2c6e8f52484f36a39e8bc0c8d7389fd4c55e3533
update submodule to commit `1fc2f265ff9377a37fd2c61eae9cd813a3491bea` until its main branch is fixed
[ { "path": "llm/llama.cpp", "patch": "@@ -1 +1 @@\n-Subproject commit 6efb8eb30e7025b168f3fda3ff83b9b386428ad6\n+Subproject commit 1fc2f265ff9377a37fd2c61eae9cd813a3491bea", "additions": 1, "deletions": 1, "language": "C++" } ]
2024-01-10T22:03:11
huggingface/transformers
c876d12127272ce2886ce51399928c3343d475b9
0df888ffb72ea370555efdef45985378d3cc7b2b
FIX / TST: Fix expected results on Mistral slow test (A10) (#30909) Update test_modeling_mistral.py
[ { "path": "tests/models/mistral/test_modeling_mistral.py", "patch": "@@ -627,7 +627,7 @@ def test_model_7b_long_prompt_sdpa(self):\n def test_speculative_generation(self):\n EXPECTED_TEXT_COMPLETION = {\n 7: \"My favourite condiment is 100% Sriracha. I love the heat, the tang and the...
2024-05-21T07:14:14
ggml-org/llama.cpp
6d957078270f58d4ea14e8c205f5ef4e49be33f3
89181c0b6d6f57fdf82c33bf93ede10433088573
model : fix wavtokenizer embedding notions (#19479)
[ { "path": "src/llama-hparams.h", "patch": "@@ -42,7 +42,6 @@ struct llama_hparams {\n \n uint32_t n_ctx_train; // context size the model was trained on\n uint32_t n_embd;\n- uint32_t n_embd_features = 0;\n uint32_t n_layer;\n int32_t n_layer_kv_from_start = -1; // if non-negative, the fir...
2026-02-11T05:52:20
golang/go
d2a80f3fb5b44450e0b304ac5a718f99c053d82a
8e203884dcd5c525208ffb137fed76fd2d09ffc4
crypto/tls: fix typo in spelling of permanentError Change-Id: I819c121ff388460ec348af773ef94b44416a2ea9 GitHub-Last-Rev: 98dd8fb25cecb73e88d107e0a35e3e63a53dfd09 GitHub-Pull-Request: golang/go#41785 Reviewed-on: https://go-review.googlesource.com/c/go/+/259517 Run-TryBot: Emmanuel Odeke <emm.odeke@gmail.com> TryBot-Re...
[ { "path": "src/crypto/tls/conn.go", "patch": "@@ -168,18 +168,18 @@ type halfConn struct {\n \ttrafficSecret []byte // current TLS 1.3 traffic secret\n }\n \n-type permamentError struct {\n+type permanentError struct {\n \terr net.Error\n }\n \n-func (e *permamentError) Error() string { return e.err.Error...
2020-10-06T08:12:45
ollama/ollama
e868c8a5c794cd71704cfaeae47488438a364533
c336693f07b77f412b2762f5327bc44eb16dc7de
Update api.md (#1878) Fixed assistant in the example response.
[ { "path": "docs/api.md", "patch": "@@ -409,7 +409,7 @@ A stream of JSON objects is returned:\n \"model\": \"llama2\",\n \"created_at\": \"2023-08-04T08:52:19.385406455-07:00\",\n \"message\": {\n- \"role\": \"assisant\",\n+ \"role\": \"assistant\",\n \"content\": \"The\",\n \"images\": n...
2024-01-09T21:21:17
huggingface/transformers
0df888ffb72ea370555efdef45985378d3cc7b2b
616bb11d487aabc231bb230b245c42214ea4b254
[docs] Spanish translation of model_memory_anatomy.md (#30885) * add model_memory_anatomy to es/_toctree.yml * copy model_memory_anatomy.md to es/ * translate first section * translate doc * chage forward activations * fix sentence and and link to Trainer * fix Trainer link
[ { "path": "docs/source/es/_toctree.yml", "patch": "@@ -102,4 +102,6 @@\n title: Perplejidad de los modelos de longitud fija\n - local: pipeline_webserver\n title: Flujo de trabajo para la inferencia de los servidores web\n+ - local: model_memory_anatomy\n+ title: Anatomía del entrenamiento de ...
2024-05-20T23:48:52
ggml-org/llama.cpp
57487a64c88c152ac72f3aea09bd1cc491b2f61e
fc0fe4004985d6749a7a05e250d161f9dbe41d65
[WebGPU] Plug memory leaks and free resources on shutdown (#19315) * Fix memory leaks in shader lib, backend, backend_context, buffer_context, and webgpu_buf_pool * Free pools * Cleanup * More cleanup * Run clang-format * Fix arg-parser and tokenizer test errors that free an unallocated buffer * Fix device lost ...
[ { "path": "ggml/src/ggml-webgpu/ggml-webgpu-shader-lib.hpp", "patch": "@@ -4,6 +4,7 @@\n #include \"ggml.h\"\n #include \"pre_wgsl.hpp\"\n \n+#include <memory>\n #include <string>\n #include <vector>\n \n@@ -18,9 +19,9 @@\n #define GGML_WEBGPU_ARGSORT_MERGE_MAX_WG_SIZE 512u\n \n struct ggml_webgpu_processed...
2026-02-10T16:04:00
ollama/ollama
1961a81f03b474eab428e30e5c9e867548fa9110
8a8c7e7f8dcf4b71601e9912e6dbc12064d77a24
Set corret CUDA minimum compute capability version If you attempt to run the current CUDA build on compute capability 5.2 cards, you'll hit the following failure: cuBLAS error 15 at ggml-cuda.cu:7956: the requested functionality is not supported
[ { "path": "gpu/gpu.go", "patch": "@@ -26,8 +26,8 @@ type handles struct {\n var gpuMutex sync.Mutex\n var gpuHandles *handles = nil\n \n-// TODO verify this is the correct min version\n-const CudaComputeMajorMin = 5\n+// With our current CUDA compile flags, 5.2 and older will not work properly\n+const CudaC...
2024-01-09T19:28:24
golang/go
8e203884dcd5c525208ffb137fed76fd2d09ffc4
694025e74f861bf48a737a8b42612d6397f1879b
doc: fix typo in contribute.html Change-Id: Ica27c4a9e4c364d94250aebfc4c2b59cff7f4a8f Reviewed-on: https://go-review.googlesource.com/c/go/+/258679 Trust: Alberto Donizetti <alb.donizetti@gmail.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
[ { "path": "doc/contribute.html", "patch": "@@ -806,10 +806,9 @@ <h3 id=\"ref_issues\">Referencing issues</h3>\n \n <p>\n If the change is a partial step towards the resolution of the issue,\n-uses the notation \"Updates #12345\".\n-This will leave a comment in the issue\n-linking back to the change in Gerri...
2020-10-01T12:00:48
ggml-org/llama.cpp
9a9635272942541a2722135a3d9fffd5d3af0d9f
c03a5a46f0b9d05dd6099d64ab6ed091feabdb97
test: fix IMROPE perf test case (#19465)
[ { "path": "tests/test-backend-ops.cpp", "patch": "@@ -8523,7 +8523,7 @@ static std::vector<std::unique_ptr<test_case>> make_test_cases_perf() {\n test_cases.emplace_back(new test_rope(type, { 80, 32, 512, 1}, 20, GGML_ROPE_TYPE_NEOX, 512, 1.0f, 0.0f, 1.0f, ff, v, fw)); // neox (stablel...
2026-02-10T13:37:50
huggingface/transformers
616bb11d487aabc231bb230b245c42214ea4b254
92d1d97c05a01160d6e7fcf4198e93bf2cec0dfe
Add torch.compile for Mistral (#30642) * first version * fix sliding window * fix style * add sliding window cache * fix style * address comments * fix test * fix style * move sliding window check inside cache init * revert changes on irrelevant files & add comment on SlidingWindowCache *...
[ { "path": "docs/source/en/llm_optims.md", "patch": "@@ -29,7 +29,7 @@ To optimize this, you can use a kv-cache to store the past keys and values inste\n The *static kv-cache* solves this issue by pre-allocating the kv-cache size to a maximum value which allows you to combine it with torch.compile for up to ...
2024-05-20T14:27:24
nodejs/node
ca82e3088dfe204ab36baa492a3e399d46827453
8a9be4175b17b574459bccb99d8b6e6be6db4070
http2: fix several timeout related issues * correctly reset write timers: currently reset timers on both session & stream when write starts and when it ends. * prevent large writes from timing out: when writing a large chunk of data in http2, once the data is handed off to C++, the JS session & stream lose all t...
[ { "path": "lib/internal/http2/core.js", "patch": "@@ -746,7 +746,8 @@ class Http2Session extends EventEmitter {\n shutdown: false,\n shuttingDown: false,\n pendingAck: 0,\n- maxPendingAck: Math.max(1, (options.maxPendingAck | 0) || 10)\n+ maxPendingAck: Math.max(1, (options.maxPe...
2017-10-25T23:04:41
ollama/ollama
f95d2f25f35c5140acbec44aaf8078c3c0526a7b
2b9892a808a56f9d2634f85907fdc5e0498000c6
fix temporary history file permissions
[ { "path": "readline/history.go", "patch": "@@ -132,7 +132,7 @@ func (h *History) Save() error {\n \n \ttmpFile := h.Filename + \".tmp\"\n \n-\tf, err := os.OpenFile(tmpFile, os.O_CREATE|os.O_WRONLY|os.O_TRUNC|os.O_APPEND, 0o666)\n+\tf, err := os.OpenFile(tmpFile, os.O_CREATE|os.O_WRONLY|os.O_TRUNC|os.O_APPE...
2023-12-18T18:53:51
ggml-org/llama.cpp
6948adc90d77949e7802616d4c030396cf03b9c7
854b09f0d7825dd9b8ca542a7f63c2374d66121a
ggml : use noexcept overload for is_regular_file in backend registration (#19452) using noexcept std::filesystem::directory_entry::is_regular_file overload prevents abnormal termination upon throwing an error (as caused by symlinks to non-existent folders on linux) Resolves: #18560
[ { "path": "ggml/src/ggml-backend-reg.cpp", "patch": "@@ -471,9 +471,10 @@ static ggml_backend_reg_t ggml_backend_load_best(const char * name, bool silent,\n \n int best_score = 0;\n fs::path best_path;\n+ std::error_code ec;\n \n for (const auto & search_path : search_paths) {\n- if (s...
2026-02-10T09:57:48
rust-lang/rust
7c62a4766f65a6875e396be6a50295472f48cfc3
81d8edc2000aa38b08ad09fce22d90f1990b6459
fix order on shl impl this doesn't fix any bugs, it just looks more consistent with the other impl's
[ { "path": "library/core/src/ops/bit.rs", "patch": "@@ -493,7 +493,7 @@ macro_rules! shl_impl_all {\n )*)\n }\n \n-shl_impl_all! { u8 u16 u32 u64 u128 usize i8 i16 i32 i64 isize i128 }\n+shl_impl_all! { u8 u16 u32 u64 u128 usize i8 i16 i32 i64 i128 isize }\n \n /// The right shift operator `>>`. Note tha...
2025-03-03T08:51:51
golang/go
694025e74f861bf48a737a8b42612d6397f1879b
5d12434eee031e3db9e0bfe753c663b565b6a0f9
cmd/compile: avoid applying ARM CMP->CMN rewrite in unsigned context Fixes #41780. Change-Id: I1dc7c19a9f057650905da3a96214c2ff4abb51be Reviewed-on: https://go-review.googlesource.com/c/go/+/259450 Trust: David Chase <drchase@google.com> Run-TryBot: David Chase <drchase@google.com> TryBot-Result: Go Bot <gobot@golang...
[ { "path": "src/cmd/compile/internal/ssa/gen/ARM.rules", "patch": "@@ -1263,8 +1263,8 @@\n (SRLconst (SLLconst x [c]) [d]) && objabi.GOARM==7 && uint64(d)>=uint64(c) && uint64(d)<=31 => (BFXU [(d-c)|(32-d)<<8] x)\n \n // comparison simplification\n-(CMP x (RSBconst [0] y)) => (CMN x y)\n-(CMN x (RSBconst [0]...
2020-10-05T16:07:00
huggingface/transformers
92d1d97c05a01160d6e7fcf4198e93bf2cec0dfe
bb48e921868ac750417956de941606f7e2fa02ca
Introduce configured_state arg for accelerator_config (#29781) * Introduce configured_state * Include note on tuning * Allow for users to have defined a state already * Include tests * Add note on hpam tune * Guard a bit better * Update src/transformers/training_args.py Co-authored-by: amyeroberts...
[ { "path": "src/transformers/trainer_pt_utils.py", "patch": "@@ -1250,6 +1250,10 @@ class AcceleratorConfig:\n Whether to use non-blocking CUDA calls to help minimize synchronization during\n distributed training with prepared `DataLoader` inputs being moved to device.\n B...
2024-05-20T13:21:40
nodejs/node
8a9be4175b17b574459bccb99d8b6e6be6db4070
83b8474e64dedc49c35660bbc9eb80d7e0073ba7
doc: http2.connect accepts net & tls options PR-URL: https://github.com/nodejs/node/pull/16576 Fixes: https://github.com/nodejs/node/issues/15405 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Sne...
[ { "path": "doc/api/http2.md", "patch": "@@ -1627,6 +1627,7 @@ added: v8.4.0\n * `createConnection` {Function} An optional callback that receives the `URL`\n instance passed to `connect` and the `options` object, and returns any\n [`Duplex`][] stream that is to be used as the connection for this se...
2017-10-28T18:40:35
ggml-org/llama.cpp
854b09f0d7825dd9b8ca542a7f63c2374d66121a
66d403c48098a999406c4850b9d7e6256b73d6da
convert : move experts permutation from Qwen2MoeModel to Qwen3VLMoeTextModel (#19445) * Add special case for Qwen3VLMoe * Fix down path, remove arrows and checkmarks * ws * Moved to Qwen3VL * Update convert_hf_to_gguf.py Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com> * Update convert_hf_to_gguf.p...
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -4109,37 +4109,29 @@ def modify_tensors(self, data_torch: Tensor, name: str, bid: int | None) -> Iter\n # Expected GGML ne: {n_embd, n_ff_exp, n_expert} for gate/up, {n_ff_exp, n_embd, n_expert} for down\n if name.endswith(\"mlp.experts.down_pr...
2026-02-10T08:01:37
ollama/ollama
2b9892a808a56f9d2634f85907fdc5e0498000c6
2bb2bdd5d41af52a19d34cf3ee5d4148839562e5
fix(windows): modelpath and list
[ { "path": "server/modelpath.go", "patch": "@@ -46,7 +46,7 @@ func ParseModelPath(name string) ModelPath {\n \t\tname = after\n \t}\n \n-\tparts := strings.Split(name, string(os.PathSeparator))\n+\tparts := strings.Split(name, \"/\")\n \tswitch len(parts) {\n \tcase 3:\n \t\tmp.Registry = parts[0]", "add...
2023-12-15T23:50:51
huggingface/transformers
76e05301c3eb14c08a8c9e0dc3aadbc5a155f0e0
e6708709cb7ee2cc04df641403ed0671ee7806c6
Fix a shape annotation and typos in `mamba` slow forward (#30691) * fix typos and one shape comment * fix `intermediade` typo in jamba
[ { "path": "src/transformers/models/jamba/modeling_jamba.py", "patch": "@@ -962,23 +962,23 @@ def slow_forward(self, input_states, cache_params: HybridMambaAttentionDynamicCa\n # 3.b. Discretization: B and C to [batch, seq_len, intermediate_size, ssm_state_size] (SRAM)\n A = -torch.exp(self.A...
2024-05-20T11:55:57
golang/go
5d12434eee031e3db9e0bfe753c663b565b6a0f9
e7a7a403f92aef0eda8bf9f00091c8b21e2223a3
reflect: support multiple keys in struct tags Fixes #40281 Change-Id: Ie624bce3a78a06d7ed71bba1f501e66802dffd13 Reviewed-on: https://go-review.googlesource.com/c/go/+/248341 Reviewed-by: Ian Lance Taylor <iant@golang.org> Trust: Dmitri Shuralyov <dmitshur@golang.org>
[ { "path": "src/reflect/all_test.go", "patch": "@@ -7165,6 +7165,176 @@ func TestMapIterDelete1(t *testing.T) {\n \t}\n }\n \n+func TestStructTagLookup(t *testing.T) {\n+\tvar tests = []struct {\n+\t\ttag StructTag\n+\t\tkey string\n+\t\texpectedValue string\n+\t\texpectedOK bool\n+\t}...
2020-08-14T08:37:31
nodejs/node
83b8474e64dedc49c35660bbc9eb80d7e0073ba7
5886e204f04013879c00aca5ab653c16bef5befc
test: update test-timers-block-eventloop.js When CPU is busy, the above sequential case fails occasionally, expand the timeout value to fix it. PR-URL: https://github.com/nodejs/node/pull/16314 Fixes: https://github.com/nodejs/node/issues/16310 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Gibson F...
[ { "path": "test/sequential/test-timers-block-eventloop.js", "patch": "@@ -2,21 +2,23 @@\n \n const common = require('../common');\n const fs = require('fs');\n+const platformTimeout = common.platformTimeout;\n \n const t1 = setInterval(() => {\n- common.busyLoop(12);\n-}, 10);\n+ common.busyLoop(platformT...
2017-10-19T09:06:34
huggingface/transformers
e6708709cb7ee2cc04df641403ed0671ee7806c6
c11ac7857bf93914f69a209d50a918ad7fe1d9a3
Add AutoFeatureExtractor support to Wav2Vec2ProcessorWithLM (#28706) * Add AutoFeatureExtractor support to Wav2Vec2ProcessorWithLM * update with a type filter * add raises error test * fix added test
[ { "path": "src/transformers/models/wav2vec2_with_lm/processing_wav2vec2_with_lm.py", "patch": "@@ -70,15 +70,15 @@ class Wav2Vec2ProcessorWithLM(ProcessorMixin):\n with language model support into a single processor for language model boosted speech recognition decoding.\n \n Args:\n- feature...
2024-05-20T11:40:42
ggml-org/llama.cpp
66d403c48098a999406c4850b9d7e6256b73d6da
f0bfe54f552f4783588f333b90d73920a57c5096
tts : fix typos in README.md [no ci] (#19463)
[ { "path": "tools/tts/README.md", "patch": "@@ -34,15 +34,15 @@ $ build/bin/llama-quantize models/outetts-0.2-0.5B-f16.gguf \\\n ```\n The quantized model will be `models/outetts-0.2-0.5B-q8_0.gguf`.\n \n-Next we do something simlar for the audio decoder. First download or checkout\n+Next we do something sim...
2026-02-10T06:30:41
ollama/ollama
2bb2bdd5d41af52a19d34cf3ee5d4148839562e5
acfc376efda39919baeca9a8b68992b7fb74bcc0
fix lint
[ { "path": "cmd/interactive.go", "patch": "@@ -238,10 +238,7 @@ func generateInteractive(cmd *cobra.Command, opts generateOptions) error {\n \t\t\t\t\t\tusageParameters()\n \t\t\t\t\t\tcontinue\n \t\t\t\t\t}\n-\t\t\t\t\tvar params []string\n-\t\t\t\t\tfor _, p := range args[3:] {\n-\t\t\t\t\t\tparams = appen...
2023-12-15T22:07:34
golang/go
a9c75ecd3da2d87ce08b2e75bd4f332185cd7fc8
a65bc048bf388e399af9bcfd726cd0f11bba7c8e
cmd/compile: export notinheap annotation to object file In the rare case when a cgo type makes it into an object file, we need the go:notinheap annotation to go with it. Fixes #41761 Change-Id: I541500cb1a03de954881aef659f96fc0b7738848 Reviewed-on: https://go-review.googlesource.com/c/go/+/259297 Trust: Keith Randal...
[ { "path": "misc/cgo/test/testdata/issue41761.go", "patch": "@@ -0,0 +1,20 @@\n+// Copyright 2020 The Go Authors. All rights reserved.\n+// Use of this source code is governed by a BSD-style\n+// license that can be found in the LICENSE file.\n+\n+package cgotest\n+\n+/*\n+ typedef struct S S;\n+*/\n+impor...
2020-10-02T22:48:50
nodejs/node
5886e204f04013879c00aca5ab653c16bef5befc
c08750275882f1472f7ff2a98916f857a0857dc6
inspector: track async stacks when necessary With this change, we do async stack tracking only when explicitly requested by the inspector client. This avoids unnecessary overhead for clients that might not be interested in async stack traces. PR-URL: https://github.com/nodejs/node/pull/16308 Fixes: https://github.com...
[ { "path": "lib/internal/inspector_async_hook.js", "patch": "@@ -55,10 +55,4 @@ function disable() {\n \n exports.setup = function() {\n inspector.registerAsyncHook(enable, disable);\n-\n- if (inspector.isEnabled()) {\n- // If the inspector was already enabled via --inspect or --inspect-brk,\n- // t...
2017-10-18T23:00:03
huggingface/transformers
c11ac7857bf93914f69a209d50a918ad7fe1d9a3
7b4b4564386dc4e18bf38fc288d87700824d4191
fix for custom pipeline configuration (#29004) * fix for custom pipeline configuration * fix for custom pipelines * remove extra exception * added test for custom pipelines extra tag * format with ruff * limit extra tag for first time only * format with ruff * improve tests for custom pipelines
[ { "path": "src/transformers/configuration_utils.py", "patch": "@@ -32,6 +32,7 @@\n CONFIG_NAME,\n PushToHubMixin,\n add_model_info_to_auto_map,\n+ add_model_info_to_custom_pipelines,\n cached_file,\n copy_func,\n download_url,\n@@ -736,6 +737,10 @@ def _get_config_dict(\n ...
2024-05-20T09:38:32
rust-lang/rust
e403654c8b49f7bf62e551c2dc5aaaca9ba71d76
1c3b035542775e9a5decc93167d351b062942d32
Simplify `<Postorder as Iterator>::size_hint` The current version is wrong (cc 137919); let's see if we can get away with a loose but trivially-correct one.
[ { "path": "compiler/rustc_middle/src/mir/traversal.rs", "patch": "@@ -108,7 +108,6 @@ pub struct Postorder<'a, 'tcx> {\n basic_blocks: &'a IndexSlice<BasicBlock, BasicBlockData<'tcx>>,\n visited: DenseBitSet<BasicBlock>,\n visit_stack: Vec<(BasicBlock, Successors<'a>)>,\n- root_is_start_block...
2025-03-03T07:47:24
ggml-org/llama.cpp
98e57ca422c5adb33663a6406c2f2d5b7d255da7
262364e31d1da43596fe84244fba44e94a0de64e
chat: fix case where template accepts type content only (#19419) * chat: fix case where template accepts type content only * rm stray log * reuse render_message_to_json
[ { "path": "common/chat.cpp", "patch": "@@ -380,15 +380,46 @@ std::vector<common_chat_msg> common_chat_msgs_parse_oaicompat(const json & messa\n return msgs;\n }\n \n-json common_chat_msgs_to_json_oaicompat(const std::vector<common_chat_msg> & msgs, bool concat_typed_text) {\n+static json render_message_...
2026-02-09T21:14:12