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
b338a6c3b8eda29610d4d472cad8cd87cbfdaaed
ddf177ee4af89750a086d36e81c472f6aa7fe5bc
Fix `VisionEncoderDecoder` Positional Arg (#29497) * :bug: Fix vision encoder decoder positional arg * :white_check_mark: Add test for VisionEncoderDecoder with LayoutLMv3 encoder --------- Co-authored-by: Nick DeGroot <1966472+nickthegroot@users.noreply.github.com>
[ { "path": "src/transformers/models/vision_encoder_decoder/modeling_vision_encoder_decoder.py", "patch": "@@ -573,7 +573,7 @@ def forward(\n raise ValueError(\"You have to specify pixel_values\")\n \n encoder_outputs = self.encoder(\n- pixel_values,\n+ ...
2024-03-07T20:45:51
golang/go
3c474d4164990c10c48c2b881211b6af95058be9
186e61f319c2fb0d0abc72c85d8818eba06e26e3
doc/go1.15: fix typos and wording in a few places Change-Id: Ib1fc7a8305f3bc698b9022e0a565ccbcf687e0d1 Reviewed-on: https://go-review.googlesource.com/c/go/+/240158 Reviewed-by: Ian Lance Taylor <iant@golang.org>
[ { "path": "doc/go1.15.html", "patch": "@@ -447,7 +447,7 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n <a href=\"/pkg/crypto/tls/#Dialer\"><code>Dialer</code></a>\n type and its\n <a href=\"/pkg/crypto/tls/#Dialer.DialContext\"><code>DialContext</code></a>\n- ...
2020-06-26T17:05:13
rust-lang/rust
e6be02eaf5372d82690d8724ff8cf3718076bb48
934471ce30a1630397518b56a29a5ea04b059353
Rustup: fix 32bit tests
[ { "path": "tests/ui/cast_size.32bit.stderr", "patch": "@@ -9,8 +9,9 @@ LL | 1isize as i8;\n = help: to override `-D warnings` add `#[allow(clippy::cast_possible_truncation)]`\n help: ... or use `try_from` and handle the error accordingly\n |\n-LL | i8::try_from(1isize);\n- | ~~~~~~~~~~~~...
2025-02-20T14:54:12
nodejs/node
456d8e21eac95c291dd5e301f60d0432e6ad1b68
d8a226673bd9621a5a07346f8702d7dac2f25481
url: fix windows drive letter handling Address issue with Windows drive letter handling that was causing es-module test suite to fail. PR-URL: https://github.com/nodejs/node/pull/15490 Ref: https://github.com/whatwg/url/pull/343 Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: James M Snell <jasnell@gmail...
[ { "path": "src/node_url.cc", "patch": "@@ -552,6 +552,19 @@ static inline bool IsSpecial(std::string scheme) {\n return false;\n }\n \n+// https://url.spec.whatwg.org/#start-with-a-windows-drive-letter\n+static inline bool StartsWithWindowsDriveLetter(const char* p,\n+ ...
2017-09-21T18:27:55
huggingface/transformers
4ed9ae623d16876ad84ea89dfdf1c9378e36961b
45c065109074d60c587d3e562f16531d02a422f6
test_generation_config_is_loaded_with_model - fall back to pytorch model for now (#29521) * Fall back to pytorch model for now * Fix up
[ { "path": "tests/test_modeling_utils.py", "patch": "@@ -1188,12 +1188,14 @@ def test_generation_config_is_loaded_with_model(self):\n # `transformers_version` field set to `foo`. If loading the file fails, this test also fails.\n \n # 1. Load without further parameters\n- model = AutoM...
2024-03-07T17:30:28
golang/go
186e61f319c2fb0d0abc72c85d8818eba06e26e3
d1015f3e58e50c3e6f958391a9174fc15e030e83
doc/go1.14: crypto/tls.Config.NameToCertificate is deprecated Also crypto/tls.Config.BuildNameToCertificate. Note that this field and method were deprecated in the Go 1.14 release, so this change is to the 1.14 release notes. Fixes #37626 Change-Id: If8549bc746f42a93f1903439e1b464b3e81e2c19 Reviewed-on: https://go-...
[ { "path": "doc/go1.14.html", "patch": "@@ -466,7 +466,15 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n certificate, and letting the package automatically select the best one.\n Note that the performance of this selection is going to be poor unless the\n <a href=\"...
2020-06-25T23:39:56
rust-lang/rust
8f6b18494641a9457b94e9f42bc88846e42dadbb
eeb9035117dc85fa4abe8e2abb09285fd65b0263
Turn order dependent trait objects future incompat warning into a hard error
[ { "path": "compiler/rustc_lint_defs/src/builtin.rs", "patch": "@@ -73,7 +73,6 @@ declare_lint_pass! {\n NEVER_TYPE_FALLBACK_FLOWING_INTO_UNSAFE,\n NON_CONTIGUOUS_RANGE_ENDPOINTS,\n NON_EXHAUSTIVE_OMITTED_PATTERNS,\n- ORDER_DEPENDENT_TRAIT_OBJECTS,\n OUT_OF_SCOPE_MACRO_...
2025-02-13T09:53:08
ggml-org/llama.cpp
134e6940caf5c64071b7f3b7bc6c2f32f1b3a5a4
0543f928a3ae576e6e16d3bbf02c0bf9fddba688
llama : skip output reordering for single token batches (#17466) This commit adds a check to skip the output reordering logic when n_outputs == 1. With a single output token, the data is trivially sorted and the reordering code is currently doing unnecessary work (resetting and rebuilding output_ids to the same values...
[ { "path": "src/llama-context.cpp", "patch": "@@ -1248,7 +1248,7 @@ int llama_context::decode(const llama_batch & batch_inp) {\n \n // make the outputs have the same order they had in the user-provided batch\n // note: this is mostly relevant for recurrent models atm\n- if (!sorted_out...
2025-11-24T20:06:17
nodejs/node
d9cc1051026d4f7485ec5967f3661239bf494d31
6faede7eb4d1568e79f03bdc4807cce598d30c47
test: update test-fs-fsync to run from temp We copy the "a.js" file fixture to a temp directory and then we open it with write access. This makes sure we are only writing to the provided temp-dir and not in the fixture dir. PR-URL: https://github.com/nodejs/node/pull/15537 Reviewed-By: James M Snell <jasnell@gmail.co...
[ { "path": "test/parallel/test-fs-fsync.js", "patch": "@@ -25,10 +25,16 @@ const assert = require('assert');\n const fixtures = require('../common/fixtures');\n \n const fs = require('fs');\n+const path = require('path');\n \n-const file = fixtures.path('a.js');\n+const fileFixture = fixtures.path('a.js');\n...
2017-09-21T18:13:37
huggingface/transformers
9288e759adb3a0af595d7b167b2cf6a7b558b8e6
f6133d767a6bbc0614bc889cd0624fb0842cd643
fix: Avoid error when fsdp_config is missing xla_fsdp_v2 (#29480) Signed-off-by: Ashok Pon Kumar Sree Prakash <ashokponkumar@gmail.com>
[ { "path": "src/transformers/trainer.py", "patch": "@@ -647,7 +647,7 @@ def __init__(\n if args.torch_compile and not is_torch_compile_available():\n raise RuntimeError(\"Using torch.compile requires PyTorch 2.0 or higher.\")\n \n- self.is_fsdp_xla_v2_enabled = args.fsdp_config[\"x...
2024-03-07T11:44:23
ollama/ollama
da3a5cf712f00b9574066dda9a53560f780a9838
27a7ce600881babe17c053622a5fbbf334972cf4
fix `README.md` formatting
[ { "path": "README.md", "patch": "@@ -2,7 +2,7 @@\n \n Run ai models locally.\n \n-_Note: this project is a work in progress. The features below are still in development_\n+> _Note: this project is a work in progress. The features below are still in development_\n \n **Features**\n ", "additions": 1, ...
2023-06-28T14:19:33
golang/go
d1015f3e58e50c3e6f958391a9174fc15e030e83
c143a5f2a692c2da6a5d29ca9a9462df3a17e0dc
runtime: don't preempt if preemption is disabled If asyncpreemptoff is set, don't preempt upon receiving a SIGURG. Fixes #38531. Change-Id: I6d9a828b45c199d3e479cbdfe17a896a40d540f9 Reviewed-on: https://go-review.googlesource.com/c/go/+/240121 Run-TryBot: Cherry Zhang <cherryyz@google.com> Reviewed-by: Keith Randall...
[ { "path": "src/runtime/signal_unix.go", "patch": "@@ -536,7 +536,7 @@ func sighandler(sig uint32, info *siginfo, ctxt unsafe.Pointer, gp *g) {\n \t\treturn\n \t}\n \n-\tif sig == sigPreempt {\n+\tif sig == sigPreempt && debug.asyncpreemptoff == 0 {\n \t\t// Might be a preemption signal.\n \t\tdoSigPreempt(g...
2020-06-26T15:57:08
rust-lang/rust
83fd16f6258f3ae6fb6c8d6cf06eb4f8c654333e
79b2360d985d325741e066e7b6070ed465b785df
vectorcall ABI: error if sse2 is not available
[ { "path": "compiler/rustc_monomorphize/messages.ftl", "patch": "@@ -22,6 +22,20 @@ monomorphize_abi_error_unsupported_vector_type =\n *[false] defined\n } here\n \n+monomorphize_abi_required_target_feature =\n+ this function {$is_call ->\n+ [true] call\n+ *[false] definition\n+ } uses ABI \"{$...
2025-02-18T16:17:16
ggml-org/llama.cpp
0543f928a3ae576e6e16d3bbf02c0bf9fddba688
b61de2b2df4ff07e6d6de96320fb311d96908b7a
HIP: WMMA-MMQ kernels for RDNA 4 (#17156) * first commit naive test to enable mmq for RDNA4 * adding appropriate WMMA instructions * git rebase on top of master: fixing the correctness of the mat mul operations, updating layout mappings for RDNA4 * clean up merge conflicts * add comments and code clean up * PR cl...
[ { "path": "ggml/src/ggml-cuda/mma.cuh", "patch": "@@ -73,34 +73,7 @@ namespace ggml_cuda_mma {\n static constexpr int I = I_;\n static constexpr int J = J_;\n \n-#if defined(GGML_USE_HIP)\n-#if defined(RDNA4)\n- static constexpr int ne = I * J / 32;\n- T x[ne] = {0};\n-\n- ...
2025-11-24T19:00:10
huggingface/transformers
d45f47ab7f7c31991bb98a0302ded59ab6adac31
2a939f20ff34c5fcf10f944f1e994c87a84fe83d
Fix: Disable torch.autocast in RotaryEmbedding of Gemma and LLaMa for MPS device (#29439) * Fix: Disable torch.autocast in RotaryEmbedding of Gemma and LLaMa for MPS devices * Update src/transformers/models/gemma/modeling_gemma.py Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com> * Updat...
[ { "path": "src/transformers/models/gemma/modeling_gemma.py", "patch": "@@ -115,7 +115,7 @@ def forward(self, x, position_ids, seq_len=None):\n # Force float32 since bfloat16 loses precision on long contexts\n # See https://github.com/huggingface/transformers/pull/29285\n device_type ...
2024-03-06T23:57:22
nodejs/node
6faede7eb4d1568e79f03bdc4807cce598d30c47
3d7f7b2a0c2bb36e67ac6901bb9bd41cbd211c7a
test: fixing AliasedBuffer tests to enter Isolate AliasedBuffer tests weren't creating an v8::Isolate::Scope, and this had negative impact on the node-chakracore branch, where expectation is an Isoalte has been Enter()'d before being used. PR-URL: https://github.com/nodejs/node/pull/15536 Reviewed-By: James M Snell <...
[ { "path": "test/cctest/test_aliased_buffer.cc", "patch": "@@ -82,6 +82,7 @@ void ReadAndValidate(v8::Isolate* isolate,\n \n template<class NativeT, class V8T>\n void ReadWriteTest(v8::Isolate* isolate) {\n+ v8::Isolate::Scope isolate_scope(isolate);\n v8::HandleScope handle_scope(isolate);\n v8::Local<...
2017-09-21T17:55:09
ollama/ollama
ab828602f2e737816bffee6fdaf312d8c4f2aabf
594f07d729d5017c16c8fff55e4327a27d7133aa
fix readme download link
[ { "path": "README.md", "patch": "@@ -4,7 +4,7 @@ The easiest way to run ai models.\n \n ## Download\n \n-- [macOS](https://ollama.ai/download/darwin) (Apple Silicon)\n+- [macOS](https://ollama.ai/download/darwin_arm64) (Apple Silicon)\n - macOS (Intel – Coming soon)\n - Windows (Coming soon)\n - Linux (Comi...
2023-06-28T02:05:41
rust-lang/rust
79b2360d985d325741e066e7b6070ed465b785df
eeb9035117dc85fa4abe8e2abb09285fd65b0263
mono-time abi_check: unify error paths for call and definition sites also move the existing tests to a more sensible location
[ { "path": "compiler/rustc_monomorphize/messages.ftl", "patch": "@@ -1,18 +1,26 @@\n-monomorphize_abi_error_disabled_vector_type_call =\n- this function call uses SIMD vector type `{$ty}` which (with the chosen ABI) requires the `{$required_feature}` target feature, which is not enabled in the caller\n- .l...
2025-02-18T15:51:47
ggml-org/llama.cpp
6ab8eacddf50cda653b1e27521bd88945c41df1b
2d50b9d8cb6b6c0ef935809af61ad4958be47648
examples : add -kvu to batched usage example [no ci] (#17469) This commit adds the --kv-unified flag to the usage example in the README.md file for the batched example. The motivation for this is that without this flag the example will fail with the following error: ```console Hello my name is split_equal: sequential...
[ { "path": "examples/batched/README.md", "patch": "@@ -3,7 +3,7 @@\n The example demonstrates batched generation from a given prompt\n \n ```bash\n-./llama-batched -m ./models/llama-7b-v2/ggml-model-f16.gguf -p \"Hello my name is\" -np 4\n+./llama-batched -m ./models/llama-7b-v2/ggml-model-f16.gguf -p \"Hell...
2025-11-24T13:38:45
golang/go
c143a5f2a692c2da6a5d29ca9a9462df3a17e0dc
b13774691cfb22b1cb18263c9a35176c4a0e94b2
doc/go1.15: fix bad link to crypto/tls Change-Id: Ie81579cbb1873349a91280f5aebe59624fcb1ef8 Reviewed-on: https://go-review.googlesource.com/c/go/+/240157 Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
[ { "path": "doc/go1.15.html", "patch": "@@ -440,7 +440,7 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n </dd>\n </dl><!-- crypto/rsa -->\n \n-<dl id=\"crypto/tls\"><dt><a href=\"/crypto/tls/\">crypto/tls</a></dt>\n+<dl id=\"crypto/tls\"><dt><a href=\"/pkg/crypto/tls/\">crypto/tls</...
2020-06-26T16:24:15
huggingface/transformers
2a939f20ff34c5fcf10f944f1e994c87a84fe83d
965cf677695dd363285831afca8cf479cf0c600c
Substantially reduce memory usage in _update_causal_mask for large batches by using .expand instead of .repeat [needs tests+sanity check] (#29413) * try to fix gemma mem use * fix: handle attention mask dim==2 case * remove logits=logits.float() * clean up + add llama * apply formatting * readability ed...
[ { "path": "src/transformers/models/gemma/modeling_gemma.py", "patch": "@@ -14,6 +14,7 @@\n # See the License for the specific language governing permissions and\n # limitations under the License.\n \"\"\" PyTorch Gemma model.\"\"\"\n+\n import math\n import warnings\n from typing import List, Optional, Tupl...
2024-03-06T23:56:25
nodejs/node
3d7f7b2a0c2bb36e67ac6901bb9bd41cbd211c7a
55d49eb3ccf36a08fe3521ce1261ec77d1798878
src: add --pending-deprecation to NODE_OPTIONS PR-URL: https://github.com/nodejs/node/pull/15494 Fixes: https://github.com/nodejs/node/issues/15484 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
[ { "path": "src/node.cc", "patch": "@@ -3913,6 +3913,7 @@ static void CheckIfAllowedInEnv(const char* exe, bool is_env,\n \"--no-deprecation\",\n \"--trace-deprecation\",\n \"--throw-deprecation\",\n+ \"--pending-deprecation\",\n \"--no-warnings\",\n \"--napi-modules\",\n \"--expos...
2017-09-20T13:08:19
ollama/ollama
1459ffc9f321e6ed76655845b6e70a8b9e049437
01d2667f8bb2bdf8078388b8b1615999b9200a11
desktop: fix response parsing
[ { "path": "desktop/src/app.tsx", "patch": "@@ -39,7 +39,8 @@ async function generate(prompt: string, model: string, callback: (res: string) =\n \n let decoder = new TextDecoder()\n let str = decoder.decode(value)\n- let re = /}{/g\n+\n+ let re = /}\\s*{/g\n str = '[' + str.replace(re, '},{...
2023-06-27T21:39:26
rust-lang/rust
83d70c029860e619f8cb91f15bfc34f7f2d7965f
51d9a6c617b6e7357b506e59a4b4a64e5e63a825
Improve debugging for metadata structures I had to do a lot of debug by printing; having these `Debug` traits in place made it easier. Additionally, add some more information to existing `info!` statements.
[ { "path": "compiler/rustc_metadata/src/creader.rs", "patch": "@@ -147,6 +147,7 @@ impl<'a> std::fmt::Debug for CrateDump<'a> {\n writeln!(fmt, \" cnum: {cnum}\")?;\n writeln!(fmt, \" hash: {}\", data.hash())?;\n writeln!(fmt, \" reqd: {:?}\", data.dep_kind())?;\n+ ...
2025-01-29T23:45:36
ggml-org/llama.cpp
697edfeead9769d68387dec6884e0ecac23d2e4e
dbb852b549adf29609ec53b518f7922a982f14b9
ggml : remove dirty flag from version string (ggml/1391) This commit removes the "-dirty" suffix from the GGML version string. The motivation for this change is to ensure that the version string works with different ways of checking out ggml and using it in projects. By removing the dirty flag from the version string...
[ { "path": "ggml/CMakeLists.txt", "patch": "@@ -25,16 +25,17 @@ if(GIT_EXE)\n )\n endif()\n \n-# Build the version string with optional dirty flag\n set(GGML_VERSION \"${GGML_VERSION_BASE}\")\n-if(GGML_GIT_DIRTY AND NOT GGML_GIT_DIRTY EQUAL 0)\n- set(GGML_VERSION \"${GGML_VERSION}-dirty\")\n-endif()\n...
2025-11-24T11:51:50
huggingface/transformers
965cf677695dd363285831afca8cf479cf0c600c
19fb1e22d2bdadf6611e029a6ae82606d1520c5f
Fix `TextGenerationPipeline.__call__` docstring (#29491)
[ { "path": "src/transformers/pipelines/text_generation.py", "patch": "@@ -194,7 +194,7 @@ def __call__(self, text_inputs, **kwargs):\n Complete the prompt(s) given as inputs.\n \n Args:\n- args (`str` or `List[str]`):\n+ text_inputs (`str` or `List[str]`):\n ...
2024-03-06T17:03:55
golang/go
a9a1217112aa8f5e01fe2f3e5f203ac880dbd566
1fdf5ba50cf67d28dffb4a4f0e29fcb053d660ad
[dev.link] cmd/link: handle runtime.text/etext symbols more consistently Currently, on most platforms, the start/end symbols runtime.text and runtime.etext are defined in symtab pass and assigned values in address pass. In some cases (darwin+dynlink or AIX+external), however, they are defined and assigned values in te...
[ { "path": "src/cmd/link/internal/ld/data.go", "patch": "@@ -2084,8 +2084,9 @@ func (ctxt *Link) textaddress() {\n \tsect.Align = int32(Funcalign)\n \n \tldr := ctxt.loader\n-\ttext := ldr.LookupOrCreateSym(\"runtime.text\", 0)\n-\tldr.SetAttrReachable(text, true)\n+\n+\ttext := ctxt.xdefine(\"runtime.text\"...
2020-06-26T02:22:59
nodejs/node
55d49eb3ccf36a08fe3521ce1261ec77d1798878
cef6e1c55f88a013a9fea8c0e1de4fed33fe7560
errors: replace `.split()` with `.replace()` Replace a somewhat idiosyncratic use of `split()` to remove a prefix with `replace()`. (A case could be made for `slice()` as well but I think this is more readable.) PR-URL: https://github.com/nodejs/node/pull/15545 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.c...
[ { "path": "lib/internal/errors.js", "patch": "@@ -311,7 +311,7 @@ function invalidArgType(name, expected, actual) {\n let determiner;\n if (typeof expected === 'string' && expected.startsWith('not ')) {\n determiner = 'must not be';\n- expected = expected.split('not ')[1];\n+ expected = expect...
2017-09-21T23:15:25
ggml-org/llama.cpp
dbb852b549adf29609ec53b518f7922a982f14b9
5f55c385cbff7bcee0901782dec6d01de53f4dfe
ggml-cpu: arm64: q4_K repack gemm and gemv implementations (i8mm) (#16739) * Enabled q4_K_8x8_q8_K path on ARM * wip: I8mm qs multiplication, pending bias * cpu : arm : REPACK gemm q4_K8x8 implementation Signed-off-by: Alberto Cabrera <alberto.cabrera@liquid.ai> * Guard gemm with proper features, improved superblo...
[ { "path": "ggml/src/ggml-cpu/arch-fallback.h", "patch": "@@ -51,10 +51,8 @@\n #elif defined(__aarch64__) || defined(__arm__) || defined(_M_ARM) || defined(_M_ARM64)\n // repack.cpp\n #define ggml_quantize_mat_q8_K_4x8_generic ggml_quantize_mat_q8_K_4x8\n-#define ggml_gemv_q4_K_8x8_q8_K_generic ggml_gemv_q4_...
2025-11-24T11:08:11
ollama/ollama
a3b87c836dc48f76208af41274b7171fd4a6bc2c
843ccf50706ff23051199cc11b8b3e973a4cae41
desktop: fix local dev port
[ { "path": "desktop/README.md", "patch": "@@ -7,7 +7,7 @@ The Ollama desktop experience\n In the background run the `ollama.py` [development](../docs/development.md) server:\n \n ```\n-python ../ollama.py serve --port 5001\n+python ../ollama.py serve --port 7734\n ```\n \n Then run the desktop app:", "ad...
2023-06-27T21:06:57
huggingface/transformers
9322576e2f49d1014fb0c00a7a7c8c34b6a5fd35
0a5b0516f879d19551f935f19f006cbb0f9e68ca
Fix test failure on DeepSpeed (#29444) * Fix test failure * use item
[ { "path": "src/transformers/trainer.py", "patch": "@@ -2011,7 +2011,10 @@ def _inner_training_loop(\n is_accelerate_available()\n and self.accelerator.distributed_type == DistributedType.DEEPSPEED\n ):\n- ...
2024-03-06T12:11:53
golang/go
b13774691cfb22b1cb18263c9a35176c4a0e94b2
3b2f67a59702e4881625cb967f853ef56b0c4828
crypto/x509: move and update the SSL_CERT_FILE and SSL_CERT_DIR docs Fixes #37907 Change-Id: Ia077de6dcc74ed761d278eab4efbf45e151429b8 Reviewed-on: https://go-review.googlesource.com/c/go/+/239747 Run-TryBot: Filippo Valsorda <filippo@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Katie Hockma...
[ { "path": "src/crypto/x509/cert_pool.go", "patch": "@@ -47,11 +47,15 @@ func (s *CertPool) copy() *CertPool {\n \n // SystemCertPool returns a copy of the system cert pool.\n //\n-// Any mutations to the returned pool are not written to disk and do\n-// not affect any other pool returned by SystemCertPool.\...
2020-06-24T20:49:05
ggml-org/llama.cpp
5f55c385cbff7bcee0901782dec6d01de53f4dfe
4902eebe33ed2341ef9bd7c80195bbd9d24f4d5f
ggml: add RISC-V cpu-feats (#17461) * ggml: add RISC-V cpu-feats Signed-off-by: Wang Yang <yangwang@iscas.ac.cn> * fix comment[1] --------- Signed-off-by: Wang Yang <yangwang@iscas.ac.cn>
[ { "path": "ggml/src/CMakeLists.txt", "patch": "@@ -328,6 +328,14 @@ function(ggml_add_cpu_backend_variant tag_name)\n set(GGML_INTERNAL_${feat} OFF)\n endforeach()\n \n+ foreach (feat ${ARGN})\n+ set(GGML_INTERNAL_${feat} ON)\n+ endforeach()\n+ elseif (GGML_SY...
2025-11-24T11:07:14
ollama/ollama
969a9dbbcb9d5fa31f02f457b4876e1cb254529b
217eb4dbe3923a4070e27106f5ab21a44cf24bab
fix generating symbol
[ { "path": "desktop/src/app.tsx", "patch": "@@ -86,7 +86,7 @@ export default function () {\n </div>\n <div className='flex-1 text-gray-800'>\n {m.content}\n- {m.sender === 'bot' && generating && (\n+ {m.sender === 'bot' && generating &...
2023-06-27T20:16:14
nodejs/node
cef6e1c55f88a013a9fea8c0e1de4fed33fe7560
33760ccc18e4be10cce3d39f59d374881c49ee2e
errors: refactor `invalidArgType()` `invalidArgType()` uses `includes()` in two places where `startsWith()` and `endsWith()` are more appropriate (at least in my opinion). Switch to those more specific functions. PR-URL: https://github.com/nodejs/node/pull/15544 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-B...
[ { "path": "lib/internal/errors.js", "patch": "@@ -309,7 +309,7 @@ function invalidArgType(name, expected, actual) {\n \n // determiner: 'must be' or 'must not be'\n let determiner;\n- if (expected.includes('not ')) {\n+ if (typeof expected === 'string' && expected.startsWith('not ')) {\n determine...
2017-09-21T23:06:13
golang/go
3b2f67a59702e4881625cb967f853ef56b0c4828
334752dc8207d6d19d9fb1a99d2e97f7d326c82a
cmd/compile: remove check that Zero's arg has the correct base type It doesn't have to. The type in the aux field is authoritative. There are cases involving casting from interface{} where pointers have a placeholder pointer type (because the type is not known when the IData op is generated). The check was introduced...
[ { "path": "src/cmd/compile/internal/ssa/deadstore.go", "patch": "@@ -73,9 +73,11 @@ func dse(f *Func) {\n \t\t}\n \n \t\t// Walk backwards looking for dead stores. Keep track of shadowed addresses.\n-\t\t// An \"address\" is an SSA Value which encodes both the address and size of\n-\t\t// the write. This co...
2020-06-25T03:59:18
ggml-org/llama.cpp
4902eebe33ed2341ef9bd7c80195bbd9d24f4d5f
923ae3c61983e60a2324ae56b412be5b8b511a53
models : Added support for RND1 Diffusion Language Model (#17433) * Converted RND1 model to GGUF weights * RND1 llama.cpp support v1 * RND1 llama.cpp support v2 non causal bug * RND1 llama.cpp support v3 doccumentation * RND1 llama.cpp support v4 clean code * linting issues * RND1 pr fixes v1 * RND1 pr fixes v...
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -4183,6 +4183,21 @@ def set_vocab(self):\n super().set_vocab()\n \n \n+@ModelBase.register(\"RND1\")\n+class RND1Model(Qwen2MoeModel):\n+ model_arch = gguf.MODEL_ARCH.RND1\n+\n+ def set_gguf_parameters(self):\n+ super().set_gguf_parameters...
2025-11-24T06:16:56
ollama/ollama
217eb4dbe3923a4070e27106f5ab21a44cf24bab
bf730ac6c567c18a222169a4684d691e93db403d
desktop: fix localhost port
[ { "path": "desktop/src/app.tsx", "patch": "@@ -3,7 +3,7 @@ import path from 'path'\n import os from 'os'\n import { dialog, getCurrentWindow } from '@electron/remote'\n \n-const API_URL = 'http://127.0.0.1:5001'\n+const API_URL = 'http://127.0.0.1:7734'\n \n type Message = {\n sender: 'bot' | 'human'", ...
2023-06-27T19:32:10
nodejs/node
a406a32ee979ff91a23c815cdb25f43e4dbd3752
3f071fa28ac591db90daeffe5cf946c129e9e242
n-api: fix warning about size_t compare with int PR-URL: https://github.com/nodejs/node/pull/15508 Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Revie...
[ { "path": "src/node_api.cc", "patch": "@@ -117,16 +117,23 @@ struct napi_env__ {\n CHECK_TO_TYPE((env), Boolean, (context), (result), (src), \\\n napi_boolean_expected)\n \n+// n-api defines NAPI_AUTO_LENGHTH as the indicator that a string\n+// is null terminated. For V8 the equivalent is -1. The asse...
2017-09-20T21:36:56
golang/go
334752dc8207d6d19d9fb1a99d2e97f7d326c82a
1bb247a469e306c57a5e0eaba788efb8b3b1acef
os: return *PathError error in File.Sync on Plan 9 File.Sync was returning *SyscallError instead of *PathError on Plan 9. Adjust the error type to match other systems. Fixes #39800 Change-Id: I844e716eb61c193ef78d29cb0b4a3ef790bb3320 Reviewed-on: https://go-review.googlesource.com/c/go/+/239857 Reviewed-by: David du...
[ { "path": "src/os/file_plan9.go", "patch": "@@ -233,10 +233,10 @@ func (f *File) Sync() error {\n \tvar buf [syscall.STATFIXLEN]byte\n \tn, err := d.Marshal(buf[:])\n \tif err != nil {\n-\t\treturn NewSyscallError(\"fsync\", err)\n+\t\treturn &PathError{\"sync\", f.name, err}\n \t}\n \tif err = syscall.Fwst...
2020-06-25T05:15:42
ggml-org/llama.cpp
fcb013847c2c983967e9d8c9a13b16829fb799e6
d5bc1ad11062563faa3e57320399c0938c4803fa
ggml-hexagon: Initial Hexagon v68/v69 support (#17394) * ggml-hexagon: fix build error with GCC Add stdexcept include to fix GCC build errors Signed-off-by: Mohamed Mediouni <mohamed@unpredictable.fr> * ggml-hexagon: check VTCM acquire failures Signed-off-by: Mohamed Mediouni <mohamed@unpredictable.fr> * ggml-he...
[ { "path": "ggml/src/ggml-hexagon/CMakeLists.txt", "patch": "@@ -43,6 +43,14 @@ set(HTP_CMAKE_ARGS\n -DHEXAGON_TOOLS_ROOT=$ENV{HEXAGON_TOOLS_ROOT}\n -DHEXAGON_HTP_DEBUG=${GGML_HEXAGON_HTP_DEBUG})\n \n+ExternalProject_Add(htp-v68\n+ SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/htp BUILD_ALWAYS ON\n+ C...
2025-11-24T00:54:49
rust-lang/rust
b53fc6e91a21f4925d2cc75ea02a6aeb96783744
1ad2fa8d8a67794065eac2f1e947ea9118aacea4
Update configuration.md fix dead links
[ { "path": "src/tools/rust-analyzer/docs/book/src/configuration.md", "patch": "@@ -3,13 +3,13 @@\n **Source:**\n [config.rs](https://github.com/rust-lang/rust-analyzer/blob/master/crates/rust-analyzer/src/config.rs)\n \n-The [Installation](#_installation) section contains details on\n+The [Installation](./in...
2025-02-20T02:21:45
huggingface/transformers
2890116ab761256c8d7e806c6cbf8f7e841b2abc
b27aa206ddf3fe66b36db587603141b3d0379a82
Fix TrainingArguments regression with torch <2.0.0 for dataloader_prefetch_factor (#29447) * Fix TrainingArguments regression with torch <2.0.0 for dataloader_prefetch_factor dataloader_prefetch_factor was added to TrainingArguments in #28498 with the default value None, but versions of torch<2.0.0 do not accept N...
[ { "path": "src/transformers/training_args.py", "patch": "@@ -66,6 +66,8 @@\n import torch\n import torch.distributed as dist\n \n+ from .pytorch_utils import is_torch_greater_or_equal_than_2_0\n+\n if is_accelerate_available():\n from accelerate.state import AcceleratorState, PartialState\n ...
2024-03-06T09:44:08
ollama/ollama
3b4f45f6bf3d4b9d5f583788b674e1bbbcba519f
1879267ac90550ee26ed7aab891559788c77079e
desktop: fixes for initial publish
[ { "path": "build.py", "patch": "@@ -11,8 +11,7 @@\n \"--paths\",\n site_packages_dir,\n \"--add-data\",\n- f\"{llama_cpp_dir}{os.pathsep}llama_cpp\",\n- \"--onefile\"\n+ f\"{llama_cpp_dir}{os.pathsep}llama_cpp\"\n ]\n \n # generate the .spec file and run PyInstaller", "additions": 1...
2023-06-27T18:33:49
golang/go
d7e3a161f50a45c0c86e2621f99074c38572df82
b4652028d48f42506cfd10c1763c6d7e8b22cb7b
doc/faq: fix a grammar mistake Change-Id: Ifa060f5f91d7b964eb180465245104411310d423 GitHub-Last-Rev: cd1862f2ca721a4f3d4ede7bcb3e7759ce96c6d5 GitHub-Pull-Request: golang/go#39780 Reviewed-on: https://go-review.googlesource.com/c/go/+/239388 Reviewed-by: Ian Lance Taylor <iant@golang.org>
[ { "path": "doc/go_faq.html", "patch": "@@ -515,7 +515,7 @@ <h3 id=\"exceptions\">\n See the <a href=\"/doc/articles/defer_panic_recover.html\">Defer, Panic, and Recover</a> article for details.\n Also, the <a href=\"https://blog.golang.org/errors-are-values\">Errors are values</a> blog post\n describes one ...
2020-06-23T10:45:36
nodejs/node
322fdc72c3a5dba59c66a1ad6d92657a4de76d34
193926ecabe144d622e38aad89ba442df3e2114a
deps: v8: fix potential segfault in profiler This change fixes a potential segfault in the sampling heap profiler. This landed as part of a larger change upstream [1]. This is the minimal backport that avoids the segfault. [1]: https://git.io/vdTYL PR-URL: https://github.com/nodejs/node/pull/15498 Reviewed-By: Ben N...
[ { "path": "deps/v8/src/profiler/sampling-heap-profiler.h", "patch": "@@ -172,8 +172,11 @@ class SamplingAllocationObserver : public AllocationObserver {\n void Step(int bytes_allocated, Address soon_object, size_t size) override {\n USE(heap_);\n DCHECK(heap_->gc_state() == Heap::NOT_IN_GC);\n- ...
2017-09-20T17:08:26
ggml-org/llama.cpp
d5bc1ad11062563faa3e57320399c0938c4803fa
0c7220db56525d40177fcce3baa0d083448ec813
ggml-hexagon: add `hex_supported_buffer` for better buffer supported check (#17212) * hexagon: add buffer support checks for hexagon sessions * refactor: simplify buffer support checks in hexagon operations * hexagon: update buffer support checks to use tensor structure * refactor: streamline buffer initialization ...
[ { "path": "ggml/src/ggml-hexagon/ggml-hexagon.cpp", "patch": "@@ -240,6 +240,23 @@ struct ggml_hexagon_session {\n uint32_t prof_pkts;\n };\n \n+static inline void hex_print_op_info(const ggml_tensor * op, ggml_hexagon_session * sess, const uint32_t req_flags) {\n+ char dims[64 * GGML_MAX_SRC...
2025-11-23T22:26:36
huggingface/transformers
00bf44270f9def905af70ee994c290adc12ef2cb
7b01579f73a216ddfdbcbe9c5b5c2b1f4dc4d10f
[FIX] `offload_weight()` takes from 3 to 4 positional arguments but 5 were given (#29457) * use require_torch_gpu * enable on XPU * fix
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -796,7 +796,7 @@ def _load_state_dict_into_meta_model(\n if not is_safetensors:\n offload_index = offload_weight(param, param_name, offload_folder, offload_index)\n elif param_device == \"cpu\" and state_dict_in...
2024-03-06T02:58:42
ollama/ollama
a0527284126ffbc17031f75d2bfbf9cf2ca9c907
20cdd9fee66efdd80e9426ede7d5184dfcb3a179
fix `README.md` typo
[ { "path": "README.md", "patch": "@@ -77,7 +77,7 @@ ollama.search(\"llama-7b\")\n In the future, there will be an `ollama` CLI for running models on servers, in containers or for local development environments.\n \n ```\n-ollama generaate huggingface.co/thebloke/llama-7b-ggml\n+ollama generate huggingface.co...
2023-06-27T17:52:32
golang/go
66cb673de6068a42ce67b538ae561ac23aca13f1
3c6fec86e30a28b3a773d1b972ca8bc8c3c90c30
crypto/tls: expand the ConnectionState docs Fixes #37572 Change-Id: I493392f535a979ee16609861041da2ecfe21cf77 Reviewed-on: https://go-review.googlesource.com/c/go/+/239744 Run-TryBot: Filippo Valsorda <filippo@golang.org> Reviewed-by: Katie Hockman <katie@golang.org>
[ { "path": "src/crypto/tls/common.go", "patch": "@@ -213,28 +213,72 @@ var testingOnlyForceDowngradeCanary bool\n \n // ConnectionState records basic TLS details about the connection.\n type ConnectionState struct {\n-\tVersion uint16 // TLS version used by the connection (...
2020-06-24T18:27:32
ggml-org/llama.cpp
028f93ef9819d1a039f97d74d72380c986cd69aa
8e9ddba610e8c86361e068117a1935cde94b8903
HIP: RDNA4 tensor core support for MMF (#17077) * mmf for rdna4 * align the padding for rdna4 * forbit mul_mat_f for rdna4 * fix as comment * remove device kernels * add constexpr for early return * update based on review comment * change based on the review comment * pass compile error * keep code consistenc...
[ { "path": "ggml/src/ggml-cuda/common.cuh", "patch": "@@ -224,6 +224,10 @@ static const char * cu_get_error_str(CUresult err) {\n #define AMD_MFMA_AVAILABLE\n #endif // defined(GGML_USE_HIP) && defined(CDNA) && !defined(GGML_HIP_NO_MMQ_MFMA)\n \n+#if defined(GGML_USE_HIP) && defined(RDNA4)\n+#define AMD_WMMA...
2025-11-21T23:03:24
nodejs/node
193926ecabe144d622e38aad89ba442df3e2114a
150b8f7fda526b52f07070b25f404f0b417d6d27
tls,doc: fix unallocated deprecation code Deprecation was landed using `DEP00XX` instead of a properly allocated deprecation code. PR-URL: https://github.com/nodejs/node/pull/15534 Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Refael Ac...
[ { "path": "doc/api/deprecations.md", "patch": "@@ -661,8 +661,8 @@ Type: Runtime\n \n `REPLServer.parseREPLKeyword()` was removed from userland visibility.\n \n-<a id=\"DEP00XX\"></a>\n-### DEP00XX: tls.parseCertString()\n+<a id=\"DEP0076\"></a>\n+### DEP0076: tls.parseCertString()\n \n Type: Runtime\n ", ...
2017-09-21T16:42:06
huggingface/transformers
a69cbf4e64c7bc054d814d64f6877180f7cd3a25
9c5e560924c4868033cc9ac650bee80dc4049158
Automatic safetensors conversion when lacking these files (#29390) * Automatic safetensors conversion when lacking these files * Remove debug * Thread name * Typo * Ensure that raises do not affect the main thread
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -29,6 +29,7 @@\n from contextlib import contextmanager\n from dataclasses import dataclass\n from functools import partial, wraps\n+from threading import Thread\n from typing import Any, Callable, Dict, List, Optional, Tuple, Union\n from zipfile ...
2024-03-05T12:37:55
ollama/ollama
a12df7faf42b3049ec5ec9c4daa8983223cb86a3
6599268d78cdabbadc63bf1fd8820800c3555113
fix build
[ { "path": "ollama.py", "patch": "@@ -86,7 +86,6 @@ def unload(model):\n def generate(model, prompt):\n # auto load\n error = load(model)\n- print(error)\n if error is not None:\n return error\n generated = llms[model](", "additions": 0, "deletions": 1, "language": "Pyt...
2023-06-27T16:32:21
ggml-org/llama.cpp
28175f857d21f7acb9bd060d61d8b073219fe59c
9cc4080441114bef1f2a13405a2a1f1d7b1ce6ca
cmake : add option to build and link BoringSSL (#17205) * cmake: add option to build and link BoringSSL Signed-off-by: Adrien Gallouët <angt@huggingface.co> * cmake : fix typo Signed-off-by: Adrien Gallouët <angt@huggingface.co> * cmake : disable boringssl test and asm by default Signed-off-by: Adrien Gallouët <a...
[ { "path": ".github/workflows/build.yml", "patch": "@@ -69,20 +69,15 @@ jobs:\n key: macOS-latest-cmake-arm64\n evict-old-files: 1d\n \n- - name: Dependencies\n- id: depends\n- continue-on-error: true\n- run: |\n- brew update\n- brew install cur...
2025-11-21T10:46:45
golang/go
3c6fec86e30a28b3a773d1b972ca8bc8c3c90c30
72019cf3128af1b8f48f7ec5f04bc04a98c23131
crypto/tls: fix DialContext docs Change-Id: I58e3febbf63049bebb4f8ed8893288183c8aaccd Reviewed-on: https://go-review.googlesource.com/c/go/+/239745 Run-TryBot: Filippo Valsorda <filippo@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Katie Hockman <katie@golang.org>
[ { "path": "src/crypto/tls/tls.go", "patch": "@@ -235,7 +235,7 @@ func (d *Dialer) netDialer() *net.Dialer {\n \treturn new(net.Dialer)\n }\n \n-// Dial connects to the given network address and initiates a TLS\n+// DialContext connects to the given network address and initiates a TLS\n // handshake, returni...
2020-06-24T18:29:20
huggingface/transformers
9c5e560924c4868033cc9ac650bee80dc4049158
8f3f8e6766be33a15031a8844a9223d1cb04e820
Update pytest `import_path` location (#29154) * Update to pull function from proper lib * Fix ruff formatting error * Remove accidently added file
[ { "path": "src/transformers/testing_utils.py", "patch": "@@ -137,9 +137,9 @@\n _is_mocked,\n _patch_unwrap_mock_aware,\n get_optionflags,\n- import_path,\n )\n from _pytest.outcomes import skip\n+ from _pytest.pathlib import import_path\n from pytest import Doct...
2024-03-05T12:23:34
nodejs/node
9d7574eef54de1a3675eb58328aeac17d6327de4
6f1caadb85f70bb902c078d9b7a96e3c4b36b31f
module: deprecate Module._debug The _debug of Module is undocumented and it useless here. PR-URL: https://github.com/nodejs/node/pull/13948 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Timothy Gu <timothygu9...
[ { "path": "doc/api/deprecations.md", "patch": "@@ -684,6 +684,15 @@ difference is that `querystring.parse()` does url encoding:\n { '%E5%A5%BD': '1' }\n ```\n \n+<a id=\"DEP0077\"></a>\n+### DEP0077: Module.\\_debug()\n+\n+Type: Runtime\n+\n+`Module._debug()` has been deprecated.\n+\n+*Note*: `Module._debug...
2017-06-27T17:20:12
ollama/ollama
23c645388ce491059e6a6bd77b4359cd0618961e
2db9c1bbfcafd68c37ebe74efec1b07f23483a2d
fix model lookup directory for other routes
[ { "path": "proto.py", "patch": "@@ -18,11 +18,11 @@ def load():\n \n if not model:\n return Response(\"Model is required\", status=400)\n- if not os.path.exists(f\"../models/{model}.bin\"):\n+ if not os.path.exists(f\"./models/{model}.bin\"):\n return {\"error\": \"The model does n...
2023-06-25T23:38:35
ggml-org/llama.cpp
21d31e0810d398f75ddd7d7c4cec9907a5576f26
dd0f3219419b24740864b5343958a97e1b3e4b26
ggml-hexagon: fix swiglu failure at `test-backend-ops` (#17344) * refactor: use hvx_vec_exp_fp32_guard_inf for overflow handling in hvx_exp_f32 * feat: add fast sigmoid function with overflow guard for fp32 * refactor: replace hvx_vec_inverse_fp32 with hvx_vec_inverse_fp32_guard_inf for improved overflow handling *...
[ { "path": "ggml/src/ggml-hexagon/htp/act-ops.c", "patch": "@@ -106,33 +106,32 @@ static void glu_swiglu_fp32_per_thread(const struct htp_tensor * src0,\n t1 = HAP_perf_get_qtimer_count();\n \n int is_aligned = 1;\n- int opt_path = 0;\n if (!htp_is_aligned((void *) src0->data, VLEN) || !htp_...
2025-11-20T23:45:05
huggingface/transformers
8f3f8e6766be33a15031a8844a9223d1cb04e820
fb1c62e9731b0acd2ff4edc09af519ebc62dfd39
Fix bug with passing capture_* args to neptune callback (#29041) * Fix bug with passing capture_* args to neptune callback * ruff happy? * instantiate (frozen)set only once * code review * code review 2 * ruff happy? * code review
[ { "path": "src/transformers/integrations/integration_utils.py", "patch": "@@ -1265,7 +1265,9 @@ def _initialize_run(self, **additional_neptune_kwargs):\n self._stop_run_if_exists()\n \n try:\n- self._run = init_run(**self._init_run_kwargs, **additional_neptune_kwargs)\n+ ...
2024-03-05T11:54:00
golang/go
72019cf3128af1b8f48f7ec5f04bc04a98c23131
3e95c5b0a100595105972a70dfcfa0856c91cb38
crypto/x509: restore support for ios tag on darwin/amd64 Fixes #38710 Change-Id: I9b210e95fd997ff53ec704c5f61110045aaa94bb Reviewed-on: https://go-review.googlesource.com/c/go/+/239559 Run-TryBot: Filippo Valsorda <filippo@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitsh...
[ { "path": "src/cmd/dist/test.go", "patch": "@@ -461,6 +461,18 @@ func (t *tester) registerTests() {\n \t\t})\n \t}\n \n+\t// Test the ios build tag on darwin/amd64 for the iOS simulator.\n+\tif goos == \"darwin\" && !t.iOS() {\n+\t\tt.tests = append(t.tests, distTest{\n+\t\t\tname: \"amd64ios\",\n+\t\t\t...
2020-06-24T16:59:10
nodejs/node
10bea3c431c8a81a69c2f025df46511a0626872b
20259f90927a8b2923a0ad3210f6400d3a29966b
doc: fix 'aborted' event documentation The `'aborted'` event is only emitted on `http.IncomingMessage` instances. PR-URL: https://github.com/nodejs/node/pull/15471 Fixes: https://github.com/nodejs/node/issues/15259 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Minwoo Jung <minwoo@nodesource.com>...
[ { "path": "doc/api/http.md", "patch": "@@ -321,14 +321,6 @@ added: v1.4.1\n Emitted when the request has been aborted by the client. This event is only\n emitted on the first call to `abort()`.\n \n-### Event: 'aborted'\n-<!-- YAML\n-added: v0.3.8\n--->\n-\n-Emitted when the request has been aborted by the ...
2017-09-19T12:23:23
ggml-org/llama.cpp
054a45c3d313387a4becd5eae982285932852b35
4c91f2633f29a51ac2dcaa1c462483ea0ef6de8a
grammar: fix regression caused by #17381 (#17412) * grammar: fix regression caused by #17381 * more readable
[ { "path": "src/llama-grammar.cpp", "patch": "@@ -347,10 +347,10 @@ const char * llama_grammar_parser::parse_sequence(\n size_t last_sym_start = rule.size();\n const char * pos = src;\n \n- // use UINT64_MAX as the empty value because we aligned to the proper unsigned long type so -1 can't be used...
2025-11-20T17:35:10
golang/go
320e4adc4bd153cb0cb7e31e186fb3b4564fd0a7
9f33108dfa22946622a8a78b5cd3f64cd3e455dd
crypto/elliptic: document and test that IsOnCurve(∞) == false This also implies it can't be passed to Marshal. Fixes #37294 Change-Id: I1e6b6abd87ff31f323486958d5cb34a5c8f76b5f Reviewed-on: https://go-review.googlesource.com/c/go/+/239562 Run-TryBot: Filippo Valsorda <filippo@golang.org> TryBot-Result: Gobot Gobot <...
[ { "path": "src/crypto/elliptic/elliptic.go", "patch": "@@ -20,7 +20,10 @@ import (\n )\n \n // A Curve represents a short-form Weierstrass curve with a=-3.\n-// See https://www.hyperelliptic.org/EFD/g1p/auto-shortw.html\n+//\n+// Note that the point at infinity (0, 0) is not considered on the curve, and\n+/...
2020-06-23T22:14:25
nodejs/node
20259f90927a8b2923a0ad3210f6400d3a29966b
84063a73144fba50ef55373a26bcbb589b8d156c
net: support passing null to listen() This commit fixes a regression around the handling of null as the port passed to Server#listen(). With this commit, null, undefined, and 0 have the same behavior, which was the case in Node 4. Fixes: https://github.com/nodejs/node/issues/14205 PR-URL: https://github.com/nodejs/no...
[ { "path": "lib/net.js", "patch": "@@ -1451,11 +1451,12 @@ Server.prototype.listen = function(...args) {\n }\n \n // ([port][, host][, backlog][, cb]) where port is omitted,\n- // that is, listen() or listen(cb),\n- // or (options[, cb]) where options.port is explicitly set as undefined,\n- // bind to...
2017-07-13T15:10:54
huggingface/transformers
fb1c62e9731b0acd2ff4edc09af519ebc62dfd39
87a0783dde7291876d096d9dba5685dc1b7bd4c6
[`Add Mamba`] Adds support for the `Mamba` models (#28094) * initial-commit * start cleaning * small nits * small nits * current updates * add kernels * small refactoring little step * add comments * styling * nit * nits * Style * Small changes * Push dummy mambda simple slow ...
[ { "path": "README.md", "patch": "@@ -415,6 +415,7 @@ Current number of checkpoints: ![](https://img.shields.io/endpoint?url=https://h\n 1. **[M-CTC-T](https://huggingface.co/docs/transformers/model_doc/mctct)** (from Facebook) released with the paper [Pseudo-Labeling For Massively Multilingual Speech Recogn...
2024-03-05T11:01:06
ollama/ollama
6ba93652c65618a1ed9c89098cf3624bbc16e0bb
0ce372f744fba41b0e042284408bfd813e44c814
fix model lookup directory
[ { "path": "proto.py", "patch": "@@ -52,7 +52,7 @@ def generate():\n return Response(\"Model is required\", status=400)\n if not prompt:\n return Response(\"Prompt is required\", status=400)\n- if not os.path.exists(f\"../models/{model}.bin\"):\n+ if not os.path.exists(f\"./models/{...
2023-06-25T18:18:48
ggml-org/llama.cpp
92c0b387a9301ad6f9a180898d970b9cd7831716
2286a360ff5c6b5edd33e53b5773bdf67bc25d23
grammar : fix integer overflow (#17381) * Fix DoS / integer overflow * Remove optional, use INT64_MAX instead as placeholder value (it's technically -1, so it fits :) * White space * Actually, since it's unsigned, use UINT64_MAX
[ { "path": "src/llama-grammar.cpp", "patch": "@@ -6,8 +6,10 @@\n \n #include <cmath>\n #include <algorithm>\n+#include <cstdint>\n #include <stdexcept>\n \n+#define MAX_REPETITION_THRESHOLD 2000\n //\n // helpers\n //\n@@ -345,7 +347,9 @@ const char * llama_grammar_parser::parse_sequence(\n size_t last_s...
2025-11-20T12:47:04
golang/go
a89fd32316954dea9fa87e45b266eb2e648f7f8e
f0cf4d4d7f60ed5ae806e6ed410b346bb2fd0b5a
[dev.link] cmd/link: fix data race on AIX On AIX, in relocsym we call Xcoffadddynrel, which adds a relocation record to a global array. relocsym already runs in parallel. In the past we only parallelize over segments, and we call Xcoffadddynrel only for symbols in data segment, so it is effectively called sequentially...
[ { "path": "src/cmd/link/internal/ld/xcoff.go", "patch": "@@ -16,6 +16,7 @@ import (\n \t\"path/filepath\"\n \t\"sort\"\n \t\"strings\"\n+\t\"sync\"\n )\n \n // This file handles all algorithms related to XCOFF files generation.\n@@ -417,6 +418,7 @@ type xcoffFile struct {\n \tdynLibraries map[string]int ...
2020-06-23T21:29:17
huggingface/transformers
4d892b729744a8f10ddac1077b06e381255258c3
57d007b912604ac3fac4dd60cd1e6f43908fba08
[`Udop imports`] Processor tests were not run. (#29456) * fix udop imports * sort imports
[ { "path": "tests/models/udop/test_processor_udop.py", "patch": "@@ -21,8 +21,13 @@\n \n import numpy as np\n \n-from transformers import PreTrainedTokenizer, PreTrainedTokenizerBase, PreTrainedTokenizerFast\n-from transformers.models.udop import UdopTokenizer, UdopTokenizerFast\n+from transformers import (\...
2024-03-05T10:01:08
nodejs/node
84063a73144fba50ef55373a26bcbb589b8d156c
6983157adfb49d644fb27985f97f12a54fcc98e1
src: do not include internals from node_buffer.h `node_buffer.h` is a public header, so it should not be using the `node_internals.h` internal header. Ref: 290315ace7eed6eeeb300754dd68fc1af4d80c9b Fixes: https://github.com/nodejs/node/issues/15552 PR-URL: https://github.com/nodejs/node/pull/15554 Reviewed-By: Matteo ...
[ { "path": "src/node_buffer.h", "patch": "@@ -22,7 +22,8 @@\n #ifndef SRC_NODE_BUFFER_H_\n #define SRC_NODE_BUFFER_H_\n \n-#include \"node_internals.h\"\n+#include \"node.h\"\n+#include \"v8.h\"\n \n namespace node {\n ", "additions": 2, "deletions": 1, "language": "C/C++ Header" }, { "pa...
2017-09-22T10:15:47
ollama/ollama
0ce372f744fba41b0e042284408bfd813e44c814
b361fa72ecd27b8aed5ff429110cf06d1808d16b
fix `README.md`
[ { "path": "README.md", "patch": "@@ -39,11 +39,13 @@ Get the dependencies:\n pip install -r requirements.txt\n ```\n \n+Then build a binary for your current platform:\n+\n ```bash\n python3 build.py\n ```\n \n-Then to build the app:\n+### Building the app\n \n ```\n cd desktop", "additions": 3, "del...
2023-06-25T17:10:15
ggml-org/llama.cpp
1d321e592bee0f83b0a248db9b5a8241745f25d1
196f5083efe636ceaf247aa4dca5593c6c2b743f
metal : fix compile on macos 11 (whisper/3533)
[ { "path": "ggml/src/ggml-metal/ggml-metal-ops.cpp", "patch": "@@ -11,6 +11,7 @@\n #include <cassert>\n #include <algorithm>\n #include <limits>\n+#include <cmath>\n \n static ggml_metal_buffer_id ggml_metal_get_buffer_id(const ggml_tensor * t) {\n if (!t) {", "additions": 1, "deletions": 0, ...
2025-11-20T11:54:54
golang/go
f0cf4d4d7f60ed5ae806e6ed410b346bb2fd0b5a
f547046850010e726dc179340fcc8b7b5c470155
[dev.link] cmd/{compile,link}: fix file/line of last instruction in DWARF line table The code in the compiler's DWARF line table generation emits line table ops at the end of each function fragment to reset the state machine registers back to an initial state, so that when the line table fragments for each function ar...
[ { "path": "src/cmd/internal/obj/dwarf.go", "patch": "@@ -51,14 +51,12 @@ func (ctxt *Link) generateDebugLinesSymbol(s, lines *LSym) {\n \tdctxt.AddUint8(lines, dwarf.DW_LNE_set_address)\n \tdctxt.AddAddress(lines, s, 0)\n \n-\t// Set up the debug_lines state machine.\n-\t// NB: This state machine is reset t...
2020-06-22T17:26:15
huggingface/transformers
0d52f9f582efb82a12e8d9162b43a01b1aa0200f
132852203a02e320049457316a63cffb64968aa1
more fix
[ { "path": "tests/models/udop/test_processor_udop.py", "patch": "@@ -22,7 +22,6 @@\n import numpy as np\n \n from transformers import PreTrainedTokenizer, PreTrainedTokenizerBase, PreTrainedTokenizerFast\n-from transformers.models.udop import UdopTokenizer, UdopTokenizerFast\n from transformers.testing_utils...
2024-03-05T09:27:25
nodejs/node
f4899ac4c07658c1857fb3a41ef305cb2cfa40e4
3888a576ac83239d8d3d2fc985e7ea1856dac83e
src: use UV_EINVAL instead of EINVAL in udp_wrap Currently if the buffer size exceeds the maximum int size the following error will be thrown: dgram.js:180 throw new errors.Error('ERR_SOCKET_BUFFER_SIZE', e); ^ Error [ERR_SOCKET_BUFFER_SIZE]: Could not get or set buffer size: Error: Unknown system error 22: U...
[ { "path": "src/udp_wrap.cc", "patch": "@@ -237,9 +237,9 @@ void UDPWrap::BufferSize(const FunctionCallbackInfo<Value>& args) {\n \n if (!args[0]->IsInt32()) {\n if (args[1].As<Uint32>()->Value() == 0)\n- return env->ThrowUVException(EINVAL, \"uv_recv_buffer_size\");\n+ return env->ThrowUVExc...
2017-09-17T10:11:51
ggml-org/llama.cpp
196f5083efe636ceaf247aa4dca5593c6c2b743f
5088b435d47614b03d8e05d31f4dc693beb208ff
common : more accurate sampling timing (#17382) * common : more accurate sampling timing * eval-callback : minor fixes * cont : add time_meas impl * cont : fix log msg [no ci] * cont : fix multiple definitions of time_meas * llama-cli : exclude chat template init from time measurement * cont : print percentage o...
[ { "path": "common/common.cpp", "patch": "@@ -26,7 +26,6 @@\n #include <sstream>\n #include <string>\n #include <thread>\n-#include <unordered_map>\n #include <unordered_set>\n #include <vector>\n \n@@ -60,6 +59,14 @@\n #pragma warning(disable: 4244 4267) // possible loss of data\n #endif\n \n+common_time_me...
2025-11-20T11:40:10
huggingface/transformers
132852203a02e320049457316a63cffb64968aa1
fa7f3cf336eb5d93cfaa7611723c299e7851fb02
[`UdopTokenizer`] Fix post merge imports (#29451) * update * ... * nits * arf * 🧼 * beat the last guy * style everyone
[ { "path": "src/transformers/models/udop/tokenization_udop.py", "patch": "@@ -157,12 +157,6 @@\n }\n \n \n-# TODO(PVP) - this should be removed in Transformers v5\n-PRETRAINED_POSITIONAL_EMBEDDINGS_SIZES = {\n- \"microsoft/udop-large\": 512,\n-}\n-\n-\n class UdopTokenizer(PreTrainedTokenizer):\n \"\"...
2024-03-05T08:42:52
golang/go
9f33108dfa22946622a8a78b5cd3f64cd3e455dd
18bcc7c2854f900dfb631d7ef01a839021e24576
cmd/link: skip zero values in fingerprint check Normally, packages are loaded in dependency order, and if a Library object is not nil, it is already loaded with the actual fingerprint. In shared build mode, however, packages may be added not in dependency order (e.g. go install -buildmode=shared std adds all std packa...
[ { "path": "misc/cgo/testshared/shared_test.go", "patch": "@@ -1028,3 +1028,9 @@ func TestGeneratedHash(t *testing.T) {\n \tgoCmd(nil, \"install\", \"-buildmode=shared\", \"-linkshared\", \"./issue30768/issue30768lib\")\n \tgoCmd(nil, \"test\", \"-linkshared\", \"./issue30768\")\n }\n+\n+// Test that package...
2020-06-23T16:02:54
ggml-org/llama.cpp
5088b435d47614b03d8e05d31f4dc693beb208ff
845f200b2895f7b3d88c6a2503879f7b12f1eb10
convert : fix TypeError when loading base model remotely in convert_lora_to_gguf (#17385) * fix: TypeError when loading base model remotely in convert_lora_to_gguf * refactor: simplify base model loading using cache_dir from HuggingFace * Update convert_lora_to_gguf.py Co-authored-by: Sigbjørn Skjæret <sigbjorn.skj...
[ { "path": "convert_lora_to_gguf.py", "patch": "@@ -277,10 +277,15 @@ def parse_args() -> argparse.Namespace:\n return parser.parse_args()\n \n \n-def load_hparams_from_hf(hf_model_id: str) -> dict[str, Any]:\n+def load_hparams_from_hf(hf_model_id: str) -> tuple[dict[str, Any], Path | None]:\n+ from h...
2025-11-20T11:30:12
nodejs/node
3888a576ac83239d8d3d2fc985e7ea1856dac83e
60460bf80dbba313759b0c6f73f8c17831b17e11
doc: fix types and description for dns.resolveTxt PR-URL: https://github.com/nodejs/node/pull/15472 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "doc/api/dns.md", "patch": "@@ -266,7 +266,7 @@ records. The type and structure of individual results varies based on `rrtype`:\n | `'PTR'` | pointer records | {string} | [`dns.resolvePtr()`][] |\n | `'SOA'` | start of authority records | {Object} | [`dns.resolveSoa(...
2017-09-19T12:51:28
huggingface/transformers
fa7f3cf336eb5d93cfaa7611723c299e7851fb02
ebccb09169f42ef0d1e508b47d1ca8227ab4b019
[tests] enable test_pipeline_accelerate_top_p on XPU (#29309) * use torch_device * Update tests/pipelines/test_pipelines_text_generation.py Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com> * fix style --------- Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github....
[ { "path": "tests/pipelines/test_pipelines_text_generation.py", "patch": "@@ -450,7 +450,9 @@ def test_small_model_fp16(self):\n def test_pipeline_accelerate_top_p(self):\n import torch\n \n- pipe = pipeline(model=\"hf-internal-testing/tiny-random-bloom\", device_map=\"auto\", torch_dtype=...
2024-03-05T08:16:05
golang/go
968e18eebd736870a1e3bf06d941dc06e7b20688
b486bd896720cd5a40bc39771a8dbe332fce7ffe
text/template: fix lint typo in VariableNode doc Change-Id: I68b8c782478aa3e7adbd36a2de1c20b04e8c395b GitHub-Last-Rev: 50f27197837e57e1d68b8905eaa66ea142bd45fc GitHub-Pull-Request: golang/go#39622 Reviewed-on: https://go-review.googlesource.com/c/go/+/239383 Reviewed-by: Rob Pike <r@golang.org>
[ { "path": "src/text/template/parse/node.go", "patch": "@@ -349,7 +349,7 @@ func (i *IdentifierNode) Copy() Node {\n \treturn NewIdentifier(i.Ident).SetTree(i.tr).SetPos(i.Pos)\n }\n \n-// AssignNode holds a list of variable names, possibly with chained field\n+// VariableNode holds a list of variable names,...
2020-06-23T00:09:26
ggml-org/llama.cpp
845f200b2895f7b3d88c6a2503879f7b12f1eb10
a7784a8b1d8ceba27767bf48c92723ab3127c8a4
ggml : Fix transposed SOLVE_TRI result (#17323) * Did someone transpose the SOLVE_TRI result matrix? Perhaps... * Update ggml/src/ggml-cpu/ops.cpp Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com> * Update ggml/src/ggml-cpu/ops.cpp Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com> ------...
[ { "path": "ggml/src/ggml-cpu/ops.cpp", "patch": "@@ -9696,13 +9696,12 @@ static void ggml_compute_forward_solve_tri_f32(const struct ggml_compute_params\n for (int64_t i00 = 0; i00 < n; ++i00) {\n float sum = 0.0f;\n for (int64_t t = 0; t < i00; ++t) {\n- sum +...
2025-11-20T10:58:21
vuejs/vue
9e88707940088cb1f4cd7dd210c9168a50dc347c
73486cb5f5862a443b42c2aff68b82320218cbcd
chore: fix spelling mistakes (#13216) [skip ci]
[ { "path": "CHANGELOG.md", "patch": "@@ -3,7 +3,7 @@\n \n ### Bug Fixes\n \n-* **lifecycle:** esnure component effect scopes are disconnected ([56ce7f8](https://github.com/vuejs/vue/commit/56ce7f8c573116ed6683149206cf35c987249d42)), closes [#13134](https://github.com/vuejs/vue/issues/13134)\n+* **lifecycle:*...
2024-10-10T07:24:14
nodejs/node
60460bf80dbba313759b0c6f73f8c17831b17e11
66e45b821a3f70cfde7c6e2feda7e17a8607ae9c
fs: add O_DSYNC PR-URL: https://github.com/nodejs/node/pull/15451 Fixes: https://github.com/nodejs/node/issues/15425 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: T...
[ { "path": "doc/api/fs.md", "patch": "@@ -2808,6 +2808,11 @@ The following constants are meant for use with `fs.open()`.\n <td><code>O_SYNC</code></td>\n <td>Flag indicating that the file is opened for synchronous I/O.</td>\n </tr>\n+ <tr>\n+ <td><code>O_DSYNC</code></td>\n+ <td>Flag indicat...
2017-09-15T21:08:11
huggingface/transformers
bd891aed01cfcdd96565d74b0a9de6da36456289
4fc708f98c9c8d5cb48e8a2639e3f7a21c65802f
Fix max length for BLIP generation (#29296) * fix mal_length for blip * update also min length * fixes * add a comment * Update src/transformers/models/instructblip/modeling_instructblip.py Co-authored-by: Joao Gante <joaofranciscocardosogante@gmail.com> * Update src/transformers/models/blip_2/modeli...
[ { "path": "src/transformers/generation/utils.py", "patch": "@@ -1453,6 +1453,7 @@ def generate(\n and not self.config.is_encoder_decoder\n ):\n generation_config.max_length -= inputs_tensor.shape[1]\n+ generation_config.min_length = max(generation_config.min_length...
2024-03-05T07:18:22
ggml-org/llama.cpp
79bb74351213da6c368fd53372be17378458b161
3ae282a06f74f8a24fa1ac3b1ab6dc8dda4ea22c
ggml : remove useless and error-prone variadic macros (#17399) Signed-off-by: Adrien Gallouët <angt@huggingface.co>
[ { "path": "ggml/src/ggml-cpu/simd-mappings.h", "patch": "@@ -160,18 +160,18 @@ inline static float ggml_lookup_fp16_to_fp32(ggml_fp16_t f) {\n #define GGML_F32xt svfloat32_t\n #define GGML_F32xt_ZERO svdup_n_f32(0.0f)\n #define GGML_F32xt_SET1(x) svdup...
2025-11-20T10:18:27
golang/go
b486bd896720cd5a40bc39771a8dbe332fce7ffe
60f78765022a59725121d3b800268adffe78bde3
runtime: fix comment about memequal implementation locations Change-Id: I9ae3f462a6a6b3809de14b0d08f369524b636d57 Reviewed-on: https://go-review.googlesource.com/c/go/+/237097 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Keith Randall <khr@golang.org>
[ { "path": "src/runtime/stubs.go", "patch": "@@ -130,7 +130,7 @@ func fastrandn(n uint32) uint32 {\n //go:linkname sync_fastrand sync.fastrand\n func sync_fastrand() uint32 { return fastrand() }\n \n-// in asm_*.s\n+// in internal/bytealg/equal_*.s\n //go:noescape\n func memequal(a, b unsafe.Pointer, size ui...
2020-06-09T05:53:39
vuejs/vue
73486cb5f5862a443b42c2aff68b82320218cbcd
e428d891456eeb6d34cfac070c423694dcda8806
chore: fix link broken (#13192) * chore: fix link broken Signed-off-by: snoppy <michaleli@foxmail.com> * Update packages/template-compiler/README.md [skip ci] --------- Signed-off-by: snoppy <michaleli@foxmail.com> Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
[ { "path": "packages/template-compiler/README.md", "patch": "@@ -130,7 +130,7 @@ This is only useful at runtime with pre-configured builds, so it doesn't accept\n \n Same as `compiler.compile` but generates SSR-specific render function code by optimizing parts of the template into string concatenation in ord...
2024-06-14T12:52:12
rust-lang/rust
83a7fb61fbf2377961d05cad10a699fd954a4bb7
c039533656d344b465cf95da721197a6fdd3d7f7
Improve how the MIR dialect/phase index is reported. The only visible change is to the filenames produce by `-Zdump-mir`. E.g. before and after: ``` h.main.003-000.analysis-post-cleanup.after.mir h.main.2-2-000.analysis-post-cleanup.after.mir ``` It also fixes a FIXME comment.
[ { "path": "compiler/rustc_middle/src/mir/mod.rs", "patch": "@@ -99,20 +99,13 @@ impl<'tcx> HasLocalDecls<'tcx> for Body<'tcx> {\n }\n \n impl MirPhase {\n- /// Gets the index of the current MirPhase within the set of all `MirPhase`s.\n- ///\n- /// FIXME(JakobDegen): Return a `(usize, usize)` instea...
2025-02-18T04:17:50
nodejs/node
66e45b821a3f70cfde7c6e2feda7e17a8607ae9c
78339e25111cee826debf0e864c7f8d894f3288c
build: don't fail `make test` on source tarballs Tries to achieve the same effect as https://github.com/nodejs/node/pull/13658 without breaking source tarballs. Presumably if `tools/eslint` wasn't there at all, people would notice in the PR review! PR-URL: https://github.com/nodejs/node/pull/15441 Fixes: https://gith...
[ { "path": "Makefile", "patch": "@@ -922,7 +922,7 @@ cpplint:\n \t@$(PYTHON) tools/cpplint.py $(CPPLINT_FILES)\n \t@$(PYTHON) tools/check-imports.py\n \n-ifneq (\"\",\"$(wildcard tools/eslint/bin/eslint.js)\")\n+ifneq (\"\",\"$(wildcard tools/eslint/)\")\n lint:\n \t@EXIT_STATUS=0 ; \\\n \t$(MAKE) jslint || ...
2017-09-16T23:43:54
huggingface/transformers
81c8191b4651de216c00e25e1af607683e980614
e9476832942a19cf99354776ef112babc83c139a
FIX [`Generation`] Fix some issues when running the MaxLength criteria on CPU (#29317) fix the bitwise or issue
[ { "path": "src/transformers/generation/stopping_criteria.py", "patch": "@@ -73,7 +73,7 @@ def __call__(self, input_ids: torch.LongTensor, scores: torch.FloatTensor, **kwa\n f\"maximum length ({self.max_position_embeddings}). Depending on the model, you may observe \"\n \"exce...
2024-03-05T01:29:19
ggml-org/llama.cpp
3ae282a06f74f8a24fa1ac3b1ab6dc8dda4ea22c
5be353ec4a4c74a9efc96ba686264bf4a282a493
kleidiai: fix zero-size array declaration (#17240)
[ { "path": "ggml/src/ggml-cpu/kleidiai/kernels.cpp", "patch": "@@ -39,7 +39,7 @@\n \n #include \"kernels.h\"\n \n-#define NELEMS(x) sizeof(x) / sizeof(*x)\n+#define NELEMS(x) (sizeof(x) / sizeof(*x))\n \n template<size_t(*Fn)(size_t,size_t,size_t)>\n static inline size_t kernel_offs_fn3(size_t a, size_t b, s...
2025-11-20T09:45:49
vuejs/vue
56ce7f8c573116ed6683149206cf35c987249d42
305e4ae9dce0a05a422b675ff555f17878e86063
fix(lifecycle): esnure component effect scopes are disconnected close #13134
[ { "path": "src/core/instance/init.ts", "patch": "@@ -34,6 +34,9 @@ export function initMixin(Vue: typeof Component) {\n vm.__v_skip = true\n // effect scope\n vm._scope = new EffectScope(true /* detached */)\n+ // #13134 edge case where a child component is manually created during the\n+ /...
2023-12-24T14:40:05
golang/go
f2bba30e4068695fcb08ddf5006e776c1fd38eca
27a0012bd65a44429e78c19ec18ecf87640d8f45
cmd/link: use sym.Symbol in addpersrc addpersrc is called very late, after we have converted to sym.Symbols and various fields in loader representation have been dropped. Use the Symbol representation there. Fixes #39658. Change-Id: I616e838655b6f01554644171317e2cc5cefabf39 Reviewed-on: https://go-review.googlesourc...
[ { "path": "src/cmd/link/internal/ld/pe.go", "patch": "@@ -1470,25 +1470,26 @@ func setpersrc(ctxt *Link, sym loader.Sym) {\n \t}\n \n \trsrcsym = sym\n+\tctxt.loader.SetAttrReachable(rsrcsym, true)\n }\n \n func addpersrc(ctxt *Link) {\n \tif rsrcsym == 0 {\n \t\treturn\n \t}\n \n-\tdata := ctxt.loader.Data...
2020-06-18T22:05:10
vuejs/vue
db9c566032da0ec5cd758a3e8525e9733874c1e5
895669ffa01f8075a326308caa8ad6a5f69a1919
fix: account for nested render calls close #13131
[ { "path": "src/core/instance/render.ts", "patch": "@@ -15,7 +15,7 @@ import VNode, { createEmptyVNode } from '../vdom/vnode'\n \n import { isUpdatingChildComponent } from './lifecycle'\n import type { Component } from 'types/component'\n-import { setCurrentInstance } from 'v3/currentInstance'\n+import { cur...
2023-12-14T01:21:11
ggml-org/llama.cpp
5be353ec4a4c74a9efc96ba686264bf4a282a493
7d77f07325985c03a91fa371d0a68ef88a91ec7f
ggml-cpu:add RISC-V RVV (Zvfh) optimization for FP16 vector scaling (#17314) * ggml-cpu:add RISC-V RVV (Zvfh) optimization for FP16 vector scaling Signed-off-by: Wang Yang <yangwang@iscas.ac.cn> * fix comment * fix comment 2 --------- Signed-off-by: Wang Yang <yangwang@iscas.ac.cn>
[ { "path": "ggml/src/ggml-cpu/vec.h", "patch": "@@ -698,60 +698,61 @@ inline static void ggml_vec_scale_f32(const int n, float * y, const float v) {\n }\n \n inline static void ggml_vec_scale_f16(const int n, ggml_fp16_t * y, const float v) {\n-#if defined(GGML_SIMD)\n- #if defined(__ARM_FEATURE_SVE)\n-...
2025-11-20T06:09:18
golang/go
27a0012bd65a44429e78c19ec18ecf87640d8f45
b424a312ea9d970b4ee7e535a092b7f183c53ae5
cmd/dist: don't copy arm64 specific files for bootstap build This patch avoids copying cmd/compile/internal/ssa/flags_arm64_test.s. Fixes #39701 Change-Id: I35d0567e2d3455faf28828c55a0b6d66a5be49e2 Reviewed-on: https://go-review.googlesource.com/c/go/+/238679 Run-TryBot: fannie zhang <Fannie.Zhang@arm.com> TryBot-Re...
[ { "path": "src/cmd/dist/buildtool.go", "patch": "@@ -115,6 +115,7 @@ var ignorePrefixes = []string{\n // These must not be copied into the bootstrap build directory.\n var ignoreSuffixes = []string{\n \t\"_arm64.s\",\n+\t\"_arm64_test.s\",\n \t\"_arm64.go\",\n \t\"_riscv64.s\",\n \t\"_riscv64.go\",", "a...
2020-06-19T03:19:22