repo stringclasses 15
values | fix_commit stringlengths 40 40 | buggy_commit stringlengths 40 40 | message stringlengths 3 64.3k | files listlengths 1 300 | timestamp timestamp[s]date 2013-03-13 20:45:00 2026-04-11 07:48:46 |
|---|---|---|---|---|---|
nodejs/node | beb23570dc4bfb6af53cbb95d4b2840857067863 | 3f95a8a69e32bcb5460199444cc993373408a434 | test: display better error message for assertion
This commit makes understanding assertion failures easier by
displaying the values that failed the assertion.
PR-URL: https://github.com/nodejs/node/pull/15883
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com> | [
{
"path": "test/parallel/test-zlib-random-byte-pipes.js",
"patch": "@@ -150,5 +150,5 @@ const gunz = zlib.createGunzip();\n inp.pipe(gzip).pipe(gunz).pipe(out);\n \n out.on('data', common.mustCall((c) => {\n- assert.strictEqual(c, inp._hash, 'hashes should match');\n+ assert.strictEqual(c, inp._hash, `Has... | 2017-10-06T16:44:50 |
golang/go | 24ff2af65e27eed1e8c7f09c21a5ca68fc2e07ab | 407bf0ca67200463cdd451937623078e0240335e | cmd/dist: fix typo
Change-Id: Ib5d7f3eadff03070043d52659af4312ee293c586
Reviewed-on: https://go-review.googlesource.com/c/go/+/244817
Reviewed-by: Alberto Donizetti <alb.donizetti@gmail.com>
Run-TryBot: Emmanuel Odeke <emm.odeke@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org> | [
{
"path": "src/cmd/dist/build.go",
"patch": "@@ -1209,7 +1209,7 @@ func timelog(op, name string) {\n \t\t}\n \t\ti := strings.Index(s, \" start\")\n \t\tif i < 0 {\n-\t\t\tlog.Fatalf(\"time log %s does not begin with start line\", os.Getenv(\"GOBULDTIMELOGFILE\"))\n+\t\t\tlog.Fatalf(\"time log %s does not b... | 2020-07-26T10:04:37 |
rust-lang/rust | 563435e95b7dc12ebf1676cf86a578924b68467b | 3b05e9307efb5ba78ea6a5b62640b2cfa33f4c38 | Fix codegen of parser inline tests runner
When running `cargo codegen` the `crates/parser/test_data/generated/runner.rs` file is only updated when some file in `crates/parser/test_data/inline` changes. However this is not sufficient in all cases | [
{
"path": "src/tools/rust-analyzer/crates/parser/test_data/generated/runner.rs",
"patch": "@@ -721,16 +721,16 @@ mod err {\n #[test]\n fn bad_asm_expr() { run_and_expect_errors(\"test_data/parser/inline/err/bad_asm_expr.rs\"); }\n #[test]\n+ fn comma_after_default_values_syntax() {\n+ ... | 2025-02-23T10:41:34 |
ggml-org/llama.cpp | 51604435e8efffb4f2e1991ddd2bbc01774dd0fc | 17158965ac95b8bea2cbeff559f4cdba5d44c36f | ggml-cpu : fix RISC-V Q4_0 repack select and RVV feature reporting (#17951)
* ggml-cpu:fix RISC-V Q4_0 repack select and RVV feature reporting
Signed-off-by: Wang Yang <yangwang@iscas.ac.cn>
* using the name VLEN instead of CNT
* Update ggml/include/ggml-cpu.h
---------
Signed-off-by: Wang Yang <yangwang@iscas.ac... | [
{
"path": "ggml/include/ggml-cpu.h",
"patch": "@@ -99,6 +99,7 @@ extern \"C\" {\n GGML_BACKEND_API int ggml_cpu_has_sme (void);\n // other\n GGML_BACKEND_API int ggml_cpu_has_riscv_v (void);\n+ GGML_BACKEND_API int ggml_cpu_get_rvv_vlen (void); // risc-v vector length in bytes\n ... | 2025-12-12T14:26:03 |
ollama/ollama | 24c2c7705785d640454aecbf556cc2a557f30135 | 5614984f06f62eaca1a32fe1f5bd8c3d56ec698b | fix multiline string
the data needs to remove the multiline quotes but include the command:
e.g.
TEMPLATE """
my template values
"""
should be
TEMPLATE
my template values
after scanning | [
{
"path": "parser/parser.go",
"patch": "@@ -4,8 +4,8 @@ import (\n \t\"bufio\"\n \t\"bytes\"\n \t\"errors\"\n-\t\"fmt\"\n \t\"io\"\n+\t\"log\"\n )\n \n type Command struct {\n@@ -28,7 +28,7 @@ func Parse(reader io.Reader) ([]Command, error) {\n \t\tline := scanner.Bytes()\n \n \t\tfields := bytes.SplitN(lin... | 2023-07-25T18:50:23 |
huggingface/transformers | 4df5b9b4b23cffee10171654bdc8ed52ffc4f0be | a2a7f71604ebc930ed6cbc594eb0594811e24bc8 | Allow GradientAccumulationPlugin to be configured from AcceleratorConfig (#29589)
* add gradient_accumulation_kwargs to AcceleratorConfig
* add suggestions from @muellerzr to docstrings, new behavior and tests
* Documentation suggestions from @muellerz
Co-authored-by: Zach Mueller <muellerzr@gmail.com>
* a... | [
{
"path": "src/transformers/testing_utils.py",
"patch": "@@ -52,6 +52,7 @@\n )\n from .integrations.deepspeed import is_deepspeed_available\n from .utils import (\n+ ACCELERATE_MIN_VERSION,\n is_accelerate_available,\n is_apex_available,\n is_aqlm_available,\n@@ -365,11 +366,13 @@ def require... | 2024-03-28T14:01:40 |
nodejs/node | 3f95a8a69e32bcb5460199444cc993373408a434 | 8baa32518527cac222f469bf09360918010855ec | test: changed buffer-zero output
Added interpolated strings to display the error value
PR-URL: https://github.com/nodejs/node/pull/15926
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> | [
{
"path": "test/parallel/test-buffer-zero-fill-reset.js",
"patch": "@@ -15,5 +15,5 @@ function testUint8Array(ui) {\n for (let i = 0; i < 100; i++) {\n Buffer.alloc(0);\n const ui = new Uint8Array(65);\n- assert.ok(testUint8Array(ui), 'Uint8Array is not zero-filled');\n+ assert.ok(testUint8Array(ui), ... | 2017-10-06T17:26:30 |
rust-lang/rust | 3b05e9307efb5ba78ea6a5b62640b2cfa33f4c38 | da06b7c1bbf3b10aafbee635418e5afad12468c1 | Fix parser inline tests codegen panics
When running `cargo codegen` the cwd="rust-analyzer" however when running `cargo test` the cwd="rust-analyzer/xtask" which makes the codegen panic | [
{
"path": "src/tools/rust-analyzer/xtask/src/codegen/parser_inline_tests.rs",
"patch": "@@ -18,23 +18,21 @@ use crate::{\n util::list_rust_files,\n };\n \n-const PARSER_CRATE_ROOT: &str = \"crates/parser\";\n-const PARSER_TEST_DATA: &str = \"crates/parser/test_data\";\n-const PARSER_TEST_DATA_INLINE: &s... | 2025-02-23T10:34:44 |
golang/go | 407bf0ca67200463cdd451937623078e0240335e | 32a84c99e136ed5af0686dbedd31fd7dff40fb38 | reflect: add parentheses to properly bind <- in ChanOf’s string
Adds parentheses so as to properly bind <- to the right most
channel.
This meant that previously given:
ChanOf(<-chan T)
it would mistakenly try to look up the type as
chan <-chan T
instead of
chan (<-chan T)
Fixes #39897
Change-Id: I856... | [
{
"path": "src/reflect/all_test.go",
"patch": "@@ -74,6 +74,10 @@ var typeTests = []pair{\n \t{struct{ x ([]int8) }{}, \"[]int8\"},\n \t{struct{ x (map[string]int32) }{}, \"map[string]int32\"},\n \t{struct{ x (chan<- string) }{}, \"chan<- string\"},\n+\t{struct{ x (chan<- chan string) }{}, \"chan<- chan str... | 2020-06-29T16:02:07 |
ggml-org/llama.cpp | 12280ae9058600b0b14335fe59848e601e10eebc | 54a0fee4b73e9023c6faef9b2cfe4963edb6776c | webui: Fix parsing non-LaTeX occurrencies of `\(` or `\)` (#17810)
* fix: Improve latex protection logic to prevent turning non-latex `\(` into `$`
* chore: update webui build output | [
{
"path": "tools/server/webui/src/lib/utils/latex-protection.test.ts",
"patch": "@@ -303,6 +303,27 @@ $$\\n\\\\pi_n(\\\\mathbb{S}^3) = \\\\begin{cases}\n \t\texpect(output).toBe(input); // Code blocks prevent misinterpretation\n \t});\n \n+\ttest('preserves backslash parentheses in code blocks (GitHub issue... | 2025-12-12T14:13:36 |
huggingface/transformers | a2a7f71604ebc930ed6cbc594eb0594811e24bc8 | e677479c811b0eeca8f66038ae25fbdd171d2cfe | [ `TokenizationLlama`] fix the way we convert tokens to strings to keep leading spaces 🚨 breaking fix (#29453)
* nit
* update test and fix test
* fixup | [
{
"path": "src/transformers/models/llama/tokenization_llama.py",
"patch": "@@ -295,6 +295,8 @@ def convert_tokens_to_string(self, tokens):\n prev_is_special = True\n current_sub_tokens = []\n else:\n+ if prev_is_special and i == 1 and self.add_prefi... | 2024-03-28T12:58:40 |
ollama/ollama | 07971759faa76de05a5f9ff0487dac72081073c1 | af9039a1675f6219136985cade2e19584f835f0f | fix typo | [
{
"path": "web/app/header.tsx",
"patch": "@@ -2,7 +2,7 @@ import Link from \"next/link\"\n \n const navigation = [\n { name: 'Discord', href: 'https://discord.gg/MrfB5FbNWN' },\n- { name: 'Github', href: 'https://github.com/jmorganca/ollama' },\n+ { name: 'GitHub', href: 'https://github.com/jmorganca/ol... | 2023-07-25T17:30:42 |
nodejs/node | 8baa32518527cac222f469bf09360918010855ec | ba6049f7f9e42995b165865546d455926cd2f428 | test: replaced fixturesDir with fixtures module
PR-URL: https://github.com/nodejs/node/pull/15927
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> | [
{
"path": "test/parallel/test-path-resolve.js",
"patch": "@@ -1,5 +1,6 @@\n 'use strict';\n const common = require('../common');\n+const fixtures = require('../common/fixtures');\n const assert = require('assert');\n const child = require('child_process');\n const path = require('path');\n@@ -62,7 +63,7 @@ ... | 2017-10-06T17:20:01 |
ggml-org/llama.cpp | dada4c846df5e2bea1800e70b56ceacac7cfb54b | b8ee22cfde0eac9e20ce7963c02138a74c9471f7 | model-conversion : remove max diff check in compare-logits [no ci] (#17954)
This commit removes the maximum difference check from the
compare-logits.py which would stop early if the difference between
the logits exceeded a threshold.
The motivation for removing this is that it can be useful to be able to
get the comp... | [
{
"path": "examples/model-conversion/scripts/causal/compare-logits.py",
"patch": "@@ -32,10 +32,6 @@ def quick_logits_check(pytorch_file, llamacpp_file):\n print(f\"Top 10 llama.cpp logits: {llamacpp_logits[llamacpp_top10]}\")\n print(f\"Max absolute difference: {max_diff:.4f}\")\n \n- if max_dif... | 2025-12-12T12:25:16 |
golang/go | 32a84c99e136ed5af0686dbedd31fd7dff40fb38 | 02a7b4b4a70d0574f82776309feaf28f109f5399 | cmd/compile: fix live variable computation for deferreturn
Taking the live variable set from the last return point is problematic.
See #40629 for details, but there may not be a return point, or it may
be before the final defer.
Additionally, keeping track of the last call as a *Value doesn't quite
work. If it is dea... | [
{
"path": "src/cmd/compile/internal/gc/plive.go",
"patch": "@@ -140,24 +140,14 @@ type Liveness struct {\n \tregMaps []liveRegMask\n \n \tcache progeffectscache\n-\n-\t// These are only populated if open-coded defers are being used.\n-\t// List of vars/stack slots storing defer args\n-\topenDeferVars []... | 2020-08-08T14:58:04 |
huggingface/transformers | 441de62f49120f15bc453b43399a7e5c9417dcb0 | aac7099c920ed6c97a4158dd785c33c44ee38a45 | RoPE models: add numerical sanity-check test for RoPE scaling (#29808)
* add hard rope scaling test
* make fixup
* quick rope scaling tests
* add copy statements | [
{
"path": "tests/models/falcon/test_modeling_falcon.py",
"patch": "@@ -45,6 +45,11 @@\n FalconForTokenClassification,\n FalconModel,\n )\n+ from transformers.models.falcon.modeling_falcon import (\n+ FalconDynamicNTKScalingRotaryEmbedding,\n+ FalconLinearScalingRotaryEmb... | 2024-03-28T11:25:50 |
nodejs/node | ba6049f7f9e42995b165865546d455926cd2f428 | 96221c2471b2485c0f64097bebc2450114771e43 | test: remove literal error messages
Assertions will now print the values that caused the assertions
to fail.
PR-URL: https://github.com/nodejs/node/pull/15928
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> | [
{
"path": "test/parallel/test-zlib-flush-drain.js",
"patch": "@@ -38,13 +38,11 @@ deflater.on('drain', function() {\n \n process.once('exit', function() {\n assert.strictEqual(\n- beforeFlush, true,\n- 'before calling flush, writable stream should need to drain');\n+ beforeFlush, true);\n asser... | 2017-10-06T17:20:22 |
huggingface/transformers | aac7099c920ed6c97a4158dd785c33c44ee38a45 | 855b95ce345b8eb8295fb969d36f932adada12a5 | add functions to inspect model and optimizer status to trainer.py (#29838)
* add functions to get number of params which require grad, get optimizer group for parameters and get learning rates of param groups to trainer.py
* add tests and raise ValueError when optimizer is None
* add second layer to test and fre... | [
{
"path": "src/transformers/trainer.py",
"patch": "@@ -1049,6 +1049,36 @@ def create_optimizer(self):\n \n return self.optimizer\n \n+ def get_num_trainable_parameters(self):\n+ \"\"\"\n+ Get the number of trainable parameters.\n+ \"\"\"\n+ return sum(p.numel() for p i... | 2024-03-28T10:37:16 |
golang/go | 02a7b4b4a70d0574f82776309feaf28f109f5399 | 8766f96dd72b5d124bf76bf5f88e260a88072683 | cmd/go/internal/modload: don't initialize build cache
modload.Init initialized the build cache with the intent of providing
a better error message in Go 1.12, when the build cache became
mandatory (in module mode, packages aren't installed outside the build
cache). Unfortunately, this didn't provide a more descriptive... | [
{
"path": "src/cmd/go/internal/modload/init.go",
"patch": "@@ -20,7 +20,6 @@ import (\n \t\"strings\"\n \n \t\"cmd/go/internal/base\"\n-\t\"cmd/go/internal/cache\"\n \t\"cmd/go/internal/cfg\"\n \t\"cmd/go/internal/load\"\n \t\"cmd/go/internal/lockedfile\"\n@@ -162,12 +161,6 @@ func Init() {\n \n \t// We're ... | 2020-06-30T17:48:15 |
ggml-org/llama.cpp | a81a569577cc38b32558958b048228150be63eae | 53ecd4fdb923dcb53d311ed42798cae7198aa742 | Add a search field on model selector / improve mobile display (#17765)
* webui: add search field to model selector and fixes mobile viewport overflow
* webui: simplify model search style and code
* refacor: Search Input component & consistent UI for Models Selector search
* feat: Use Popover component + improve int... | [
{
"path": "tools/server/webui/package-lock.json",
"patch": "@@ -41,7 +41,7 @@\n \t\t\t\t\"@tailwindcss/vite\": \"^4.0.0\",\n \t\t\t\t\"@types/node\": \"^22\",\n \t\t\t\t\"@vitest/browser\": \"^3.2.3\",\n-\t\t\t\t\"bits-ui\": \"^2.8.11\",\n+\t\t\t\t\"bits-ui\": \"^2.14.4\",\n \t\t\t\t\"clsx\": \"^2.1.1\",\n ... | 2025-12-11T17:21:21 |
ollama/ollama | 536028c35a7fe1bc74f9fbb157244a2d775afa46 | aedf3d1f3806d3c87d5d8d7e929cc09f7aa9175e | better error message when model not found on pull | [
{
"path": "api/client.go",
"patch": "@@ -131,7 +131,7 @@ func (c *Client) stream(ctx context.Context, method, path string, data any, fn f\n \t\t}\n \n \t\tif errorResponse.Error != \"\" {\n-\t\t\treturn fmt.Errorf(\"stream: %s\", errorResponse.Error)\n+\t\t\treturn fmt.Errorf(errorResponse.Error)\n \t\t}\n ... | 2023-07-24T21:48:17 |
nodejs/node | 96221c2471b2485c0f64097bebc2450114771e43 | 2bf182dc46f9da7c9ed98d9f98898f815da0d2f6 | test: refactor test to use the fixtures module
PR-URL: https://github.com/nodejs/node/pull/15934
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Timothy Gu <timothygu99@gmail.com> | [
{
"path": "test/parallel/test-http2-serve-file.js",
"patch": "@@ -1,38 +1,32 @@\n 'use strict';\n \n const common = require('../common');\n+const fixtures = require('../common/fixtures');\n \n if (!common.hasCrypto)\n common.skip('missing crypto');\n \n const assert = require('assert');\n const http2 = re... | 2017-10-06T16:45:17 |
huggingface/transformers | 855b95ce345b8eb8295fb969d36f932adada12a5 | c9d2e855ea20cfa1767ed26ca58db430a3bc170a | Safe import of LRScheduler (#29919)
* Safe import of LRScheduler
* Update src/transformers/trainer_pt_utils.py
Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>
* Update src/transformers/trainer_pt_utils.py
Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>
* F... | [
{
"path": "src/transformers/trainer_pt_utils.py",
"patch": "@@ -34,13 +34,18 @@\n import torch\n import torch.distributed as dist\n from torch import nn\n-from torch.optim.lr_scheduler import LRScheduler\n from torch.utils.data import Dataset, IterableDataset, RandomSampler, Sampler\n from torch.utils.data.... | 2024-03-28T09:54:51 |
golang/go | 8766f96dd72b5d124bf76bf5f88e260a88072683 | 9a759593d7a71b4c061fd9bd053bd79584c632dc | cmd/go: migrate to module.MatchPrefixPatterns
In CL 239797, str.GlobsMatchPath was copied to golang.org/x/mod/module
as MatchPrefixPatterns. This CL updates x/mod, switches calls to use
the new function, and deletes the old function.
For #38725
Change-Id: I7241032228b574aa539426a92d2f5aad9ee001e2
Reviewed-on: https:... | [
{
"path": "src/cmd/go.mod",
"patch": "@@ -7,7 +7,7 @@ require (\n \tgithub.com/ianlancetaylor/demangle v0.0.0-20200414190113-039b1ae3a340 // indirect\n \tgolang.org/x/arch v0.0.0-20200511175325-f7c78586839d\n \tgolang.org/x/crypto v0.0.0-20200622213623-75b288015ac9\n-\tgolang.org/x/mod v0.3.0\n+\tgolang.org... | 2020-06-25T21:50:38 |
ggml-org/llama.cpp | 53ecd4fdb923dcb53d311ed42798cae7198aa742 | c6f6e4f96a7f7bce49f5c21d19ee69fb8b72f84d | SOLVE_TRI extension to more dimensions (#17793)
* Extended TRI
* Fix whitespace
* chore: update webui build output
* Just use cuBLAS for everything...
* Merge both versions
* Remove incorrect imports causing failures for CI
* Still failing... remove all direct cublas imports and rely on common imports from "comm... | [
{
"path": "ggml/src/ggml-cuda/ggml-cuda.cu",
"patch": "@@ -4630,9 +4630,9 @@ static bool ggml_backend_cuda_device_supports_op(ggml_backend_dev_t dev, const g\n case GGML_OP_CUMSUM:\n case GGML_OP_TRI:\n case GGML_OP_DIAG:\n- return true;\n case GGML_OP_SOLVE_TRI:\n... | 2025-12-11T16:20:43 |
nodejs/node | 2bf182dc46f9da7c9ed98d9f98898f815da0d2f6 | f96745a4d31111788700dd276baed2b966c6f090 | test: replace fixturesDir with fixtures module
PR-URL: https://github.com/nodejs/node/pull/15932
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> | [
{
"path": "test/parallel/test-https-eof-for-eom.js",
"patch": "@@ -35,11 +35,11 @@ if (!common.hasCrypto)\n const assert = require('assert');\n const https = require('https');\n const tls = require('tls');\n-const fs = require('fs');\n+const fixtures = require('../common/fixtures');\n \n const options = {\n... | 2017-10-06T16:52:28 |
huggingface/transformers | 7c19fafe44ce53002468b375ab93d7ccfa492e76 | 22d159ddf93990a3340a93aa49fa96ca60bd8cc3 | [doc] fix some typos and add `xpu` to the testing documentation (#29894)
fix typo | [
{
"path": "docs/source/en/testing.md",
"patch": "@@ -168,7 +168,7 @@ pytest -k \"ada and not adam\" tests/test_optimization.py\n For example to run both `test_adafactor` and `test_adam_w` you can use:\n \n ```bash\n-pytest -k \"test_adam_w or test_adam_w\" tests/test_optimization.py\n+pytest -k \"test_adafa... | 2024-03-28T09:42:49 |
golang/go | 9a759593d7a71b4c061fd9bd053bd79584c632dc | 016e13df7475329c65524b2eabbc5207ceb4ee74 | cmd/go: don't save sums for modules loaded for import resolution
modfetch.WriteGoSum now accepts a map[module.Version]bool parameter.
This is used to prevent some new sums from being saved to go.sum when
they would be removed by the next 'go mod tidy'. Previusly, sums were
saved for modules looked up during import res... | [
{
"path": "src/cmd/go/internal/modcmd/init.go",
"patch": "@@ -52,4 +52,5 @@ func runInit(ctx context.Context, cmd *base.Command, args []string) {\n \t\tbase.Fatalf(\"go mod init: module path must not contain '@'\")\n \t}\n \tmodload.InitMod() // does all the hard work\n+\tmodload.WriteGoMod()\n }",
"add... | 2020-06-08T22:06:11 |
ggml-org/llama.cpp | c6f6e4f96a7f7bce49f5c21d19ee69fb8b72f84d | d9f8f60618a1df2797cb7df4ad1272f71d6bd7b2 | ggml-alloc : fix reuse-parent logic for misaligned sizes (#17884) | [
{
"path": "ggml/src/ggml-alloc.c",
"patch": "@@ -312,16 +312,9 @@ static struct buffer_address ggml_dyn_tallocr_alloc(struct ggml_dyn_tallocr * al\n }\n \n // this is a very naive implementation, but for our case the number of free blocks should be very small\n-static void ggml_dyn_tallocr_free_tensor(struc... | 2025-12-11T12:30:10 |
ollama/ollama | 0fd62784462185a19d6e1736aa1761516341afe6 | 29fe07f0cc7b59428d648c990e0d8be1625a1348 | do not panic server if file cannot be opened | [
{
"path": "server/images.go",
"patch": "@@ -974,7 +974,7 @@ func downloadBlob(mp ModelPath, digest string, regOpts *RegistryOptions, fn func\n \n \tout, err := os.OpenFile(fp+\"-partial\", os.O_CREATE|os.O_APPEND|os.O_WRONLY, 0o644)\n \tif err != nil {\n-\t\tpanic(err)\n+\t\treturn fmt.Errorf(\"open file: %... | 2023-07-24T19:23:50 |
ggml-org/llama.cpp | d9f8f60618a1df2797cb7df4ad1272f71d6bd7b2 | e4ae38331702aeb43b6ecc3f912d626171c9862a | batch : fix sequence id ownership (#17915)
* batch : fix sequence id ownage
* cont : reduce allocations | [
{
"path": "src/llama-batch.cpp",
"patch": "@@ -695,6 +695,8 @@ llama_ubatch llama_batch_allocr::ubatch_add(const std::vector<int32_t> & idxs, u\n udata->seq_idx .resize(LLAMA_MAX_SEQ, -1);\n udata->output .resize(n_tokens);\n \n+ udata->seq_id_data.reserve(n_tokens);\n+\n seq_set_t seq_s... | 2025-12-11T12:29:47 |
huggingface/transformers | 22d159ddf93990a3340a93aa49fa96ca60bd8cc3 | 3a7e68362b2d6e9b229a080f84bcb0ee3e82d8c4 | Adding Flash Attention 2 Support for GPT2 (#29226)
* First commit to add flash attention 2 for GPT-2
* more improvements
* Make GPT2 pass tests and fixed Decison Transformers copies
* Fixed missing arg
* fix copies
* Added expected speedup
* Update src/transformers/models/gpt2/modeling_gpt2.py
Co-... | [
{
"path": "docs/source/en/model_doc/gpt2.md",
"patch": "@@ -60,6 +60,73 @@ This model was contributed by [thomwolf](https://huggingface.co/thomwolf). The o\n - Enabling the *scale_attn_by_inverse_layer_idx* and *reorder_and_upcast_attn* flags will apply the training stability\n improvements from [Mistral]... | 2024-03-28T09:31:24 |
nodejs/node | 3f5f847ed131799da2e8424bf39acf3be55ad683 | 31ab2ebbdea7d9e19ec93deb3465c9f018fda733 | test: replace common.fixturesDir with fixture
PR-URL: https://github.com/nodejs/node/pull/15940
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com> | [
{
"path": "test/parallel/test-http2-respond-file-compat.js",
"patch": "@@ -4,9 +4,9 @@ const common = require('../common');\n if (!common.hasCrypto)\n common.skip('missing crypto');\n const http2 = require('http2');\n-const path = require('path');\n+const fixtures = require('../common/fixtures');\n \n-con... | 2017-10-06T17:29:49 |
golang/go | 5ae198087bd07e88009885ac96c864381f8d8272 | a20cb4ca5c14ff27bdf16989d450c83b22f156d8 | cmd/go: don't initialize Builder in envcmd.MkEnv
The Builder isn't needed by MkEnv, and Builder.Init doesn't have side
effects that change the environment. Builder.Init does currently call
CheckGOOSARCHPair, but that's being moved out in CL 234658.
Builder.Init creates the temporary work directory used by the
builder... | [
{
"path": "src/cmd/go/internal/envcmd/env.go",
"patch": "@@ -63,9 +63,6 @@ var (\n )\n \n func MkEnv() []cfg.EnvVar {\n-\tvar b work.Builder\n-\tb.Init()\n-\n \tenvFile, _ := cfg.EnvFile()\n \tenv := []cfg.EnvVar{\n \t\t{Name: \"GO111MODULE\", Value: cfg.Getenv(\"GO111MODULE\")},",
"additions": 0,
"... | 2020-06-04T15:41:43 |
ggml-org/llama.cpp | 34ce48d97a8cd5497ee418224da5bf422ed96673 | 45e350e3d3a663714d7d3d2397e14c2904534338 | ggml-hexagon: fix `rope` failure at `test-backend-ops` (#17565)
* fix test failure
* fix: correct scaling calculations in rope_cache_init
* fix: optimize element copying in rope_hex_f32 using memcpy
* fix: optimize loop boundaries in rope_hex_f32 for better performance
* feat: add profiling macros for performance ... | [
{
"path": "ggml/src/ggml-hexagon/htp/rope-ops.c",
"patch": "@@ -73,15 +73,15 @@ static float rope_yarn_ramp(const float low, const float high, const int i0) {\n return (1 - MIN(1, MAX(0, y)));\n }\n \n-static void rope_cache_init(const float theta_base,\n- float freq... | 2025-12-10T22:45:43 |
huggingface/transformers | 3a7e68362b2d6e9b229a080f84bcb0ee3e82d8c4 | 543889f3f68040c0875b3501cfd498533f0cbb6b | [`pipeline`]. Zero shot add doc warning (#29845)
* add doc warning
* fix build pr | [
{
"path": "src/transformers/pipelines/zero_shot_audio_classification.py",
"patch": "@@ -35,6 +35,12 @@ class ZeroShotAudioClassificationPipeline(Pipeline):\n Zero shot audio classification pipeline using `ClapModel`. This pipeline predicts the class of an audio when you\n provide an audio and a set ... | 2024-03-28T08:10:26 |
nodejs/node | 3a265556ece7c23e2d9afdfe492bff2812e43bfb | fcb0079c5f10913ea0755202daed8edba5772063 | test: replace fixturesDir with fixtures
PR-URL: https://github.com/nodejs/node/pull/15949
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Tobias Nießen <tniessen@tnie.de> | [
{
"path": "test/parallel/test-stdin-from-file.js",
"patch": "@@ -1,11 +1,12 @@\n 'use strict';\n const common = require('../common');\n+const fixtures = require('../common/fixtures');\n const assert = require('assert');\n-const join = require('path').join;\n+const { join } = require('path');\n const childPr... | 2017-10-06T17:37:01 |
golang/go | a20cb4ca5c14ff27bdf16989d450c83b22f156d8 | d0d6593d1d4e81acd073244f42b6893fa65c99d8 | database/sql: make Rows.Scan properly wrap underlying errors
The prior implementation used the format verb %v which unfortunately
improperly wrapped any underlying scanner errors, and we couldn't use
errors.Is nor errors.As. This change fixes that by using the %w verb.
Added a unit to ensure that both error sub strin... | [
{
"path": "src/database/sql/sql.go",
"patch": "@@ -3110,6 +3110,9 @@ func rowsColumnInfoSetupConnLocked(rowsi driver.Rows) []*ColumnType {\n // \"select cursor(select * from my_table) from dual\", into a\n // *Rows value that can itself be scanned from. The parent\n // select query will close any cursor *Ro... | 2020-08-13T08:56:31 |
ollama/ollama | abfc73d31ed41e0f858199d0d3f6cff882c1c81d | 4cb42ca55e718777c16b2c66340b0d5c3405cca6 | make response errors unique for error trace | [
{
"path": "server/images.go",
"patch": "@@ -510,7 +510,7 @@ func CopyModel(src, dest string) error {\n \t\treturn err\n \t}\n \n-\terr = ioutil.WriteFile(destPath, input, 0644)\n+\terr = ioutil.WriteFile(destPath, input, 0o644)\n \tif err != nil {\n \t\tfmt.Println(\"Error reading file:\", err)\n \t\treturn... | 2023-07-24T19:04:21 |
huggingface/transformers | b256516a8c28946d26df11987cb5e38a5a3bdfe2 | d9dc993fdd6e6b0a61fe68ccbe838e00c73b9f80 | [`make fix-copies`] update and help (#29924)
* add some help
* style | [
{
"path": "utils/check_copies.py",
"patch": "@@ -309,7 +309,16 @@ def split_code_into_blocks(\n \"\"\"\n splits = []\n # `indent - 4` is the indent level of the target class/func header\n- target_block_name = re.search(rf\"^{' ' * (indent - 4)}((class|def)\\s+\\S+)(\\(|\\:)\", lines[start_ind... | 2024-03-28T07:56:14 |
ggml-org/llama.cpp | 45e350e3d3a663714d7d3d2397e14c2904534338 | c6b2c9310cc53e5cd4f65bbb8d0cb498caf2ed1e | ci: fix riscv64-native build (#17916) | [
{
"path": ".github/workflows/build.yml",
"patch": "@@ -1770,7 +1770,7 @@ jobs:\n echo \"Fetch llama2c model\"\n wget https://huggingface.co/karpathy/tinyllamas/resolve/main/stories260K/stories260K.bin\n ./bin/llama-convert-llama2c-to-ggml --copy-vocab-from-model ./tok512.bin --... | 2025-12-10T22:24:31 |
golang/go | d0d6593d1d4e81acd073244f42b6893fa65c99d8 | cde5fd1c0f8c40804bfd942eec1e2d69bccf4e13 | cmd/internal/obj: fix inline marker issue on s390x
The optimization that replaces inline markers with pre-existing
instructions assumes that 'Prog' values produced by the compiler are
still reachable after the assembler has run. This was not true on
s390x where the assembler was removing NOP instructions from the
link... | [
{
"path": "src/cmd/internal/obj/pcln.go",
"patch": "@@ -278,6 +278,21 @@ func linkpcln(ctxt *Link, cursym *LSym) {\n \tfuncpctab(ctxt, &pcln.Pcfile, cursym, \"pctofile\", pctofileline, pcln)\n \tfuncpctab(ctxt, &pcln.Pcline, cursym, \"pctoline\", pctofileline, nil)\n \n+\t// Check that all the Progs used as... | 2020-08-10T15:01:21 |
nodejs/node | fcb0079c5f10913ea0755202daed8edba5772063 | e6e58fde8bd4e69c02ce0b9fe3f06972320a7fc6 | test: remove common.fixturesDir
Replace `common.fixturesDir` with usage of the `common.fixtures` module
PR-URL: https://github.com/nodejs/node/pull/15950
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com> | [
{
"path": "test/parallel/test-dsa-fips-invalid-key.js",
"patch": "@@ -1,16 +1,16 @@\n 'use strict';\n const common = require('../common');\n+const fixtures = require('../common/fixtures');\n+\n if (!common.hasFipsCrypto)\n common.skip('node compiled without FIPS OpenSSL.');\n \n const assert = require('as... | 2017-10-06T17:24:51 |
ollama/ollama | 65d93a86b2cf7d94072f34d7f2a2e61c316f4329 | 6d6b0d33219322553c2ac70393e347f1bba61367 | Update modelfile.md (#177)
fix markdown. | [
{
"path": "docs/modelfile.md",
"patch": "@@ -38,7 +38,7 @@ SYSTEM You are Mario from super mario bros, acting as an assistant.\n \n To use this:\n \n-1. Save it as a file (eg. `Modelfile``)\n+1. Save it as a file (eg. `Modelfile`)\n 2. `ollama create NAME -f <location of the file eg. ./Modelfile>'`\n 3. `ol... | 2023-07-22T15:19:30 |
huggingface/transformers | d9dc993fdd6e6b0a61fe68ccbe838e00c73b9f80 | a25037beb9f039270b30a94c34ead72ea80ae8a5 | Fix typo in T5Block error message (#29881) | [
{
"path": "src/transformers/models/mt5/modeling_mt5.py",
"patch": "@@ -552,7 +552,7 @@ def forward(\n if len(past_key_value) != expected_num_past_key_values:\n raise ValueError(\n f\"There should be {expected_num_past_key_values} past states. \"\n- ... | 2024-03-28T02:30:29 |
ggml-org/llama.cpp | c6b2c9310cc53e5cd4f65bbb8d0cb498caf2ed1e | 34a6d86982b54314516fd40ef5110525247528b8 | mtmd: some small clean up (#17909)
* clip: add support for fused qkv in build_vit
* use bulid_ffn whenever possible
* fix internvl
* mtmd-cli: move image to beginning
* test script: support custom args | [
{
"path": "tools/mtmd/clip.cpp",
"patch": "@@ -595,11 +595,12 @@ struct clip_graph {\n cur = ggml_mul(ctx0, cur, model.mm_input_norm_w);\n cur = ggml_add(ctx0, cur, model.mm_input_norm_b);\n \n- cur = ggml_mul_mat(ctx0, model.mm_1_w, cur);\n- cur = ggml_add(ctx0... | 2025-12-10T21:20:06 |
rust-lang/rust | 11959a8b6e75d2c55500a703070a248342d29549 | 07697360aee0cebcb4e304236ba1884d8dde5469 | Fix invalid suggestion from type error for derive macro | [
{
"path": "compiler/rustc_hir_typeck/src/fn_ctxt/suggestions.rs",
"patch": "@@ -23,7 +23,7 @@ use rustc_middle::ty::{\n };\n use rustc_session::errors::ExprParenthesesNeeded;\n use rustc_span::source_map::Spanned;\n-use rustc_span::{Ident, Span, Symbol, sym};\n+use rustc_span::{ExpnKind, Ident, MacroKind, S... | 2025-02-23T06:44:27 |
nodejs/node | ca4e549410d0e638a12b8d56eed59939e1ff9790 | 3f263403e53af403196207e60841f3012e41b2af | test: upgrade from fixturesDir to fixtures.path
The common/fixtures module provides convenience methods
for working with files in the test/fixtures directory.
PR-URL: https://github.com/nodejs/node/pull/15960
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
R... | [
{
"path": "test/parallel/test-http2-respond-file-204.js",
"patch": "@@ -3,16 +3,16 @@\n const common = require('../common');\n if (!common.hasCrypto)\n common.skip('missing crypto');\n+const fixtures = require('../common/fixtures');\n const http2 = require('http2');\n const assert = require('assert');\n-c... | 2017-10-06T17:34:26 |
golang/go | cde5fd1c0f8c40804bfd942eec1e2d69bccf4e13 | 7d7bd5abc7f7ac901830b79496f63ce86895e262 | cmd/compile: correct type of CvtBoolToUint8 values
Fixes #40746
Change-Id: I539f07d1f958dacee87d846171a8889d03182d25
Reviewed-on: https://go-review.googlesource.com/c/go/+/248397
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang... | [
{
"path": "src/cmd/compile/internal/ssa/phiopt.go",
"patch": "@@ -154,7 +154,7 @@ func phioptint(v *Value, b0 *Block, reverse int) {\n \t}\n \tv.AddArg(a)\n \n-\tcvt := v.Block.NewValue1(v.Pos, OpCvtBoolToUint8, a.Type, a)\n+\tcvt := v.Block.NewValue1(v.Pos, OpCvtBoolToUint8, v.Block.Func.Config.Types.UInt8... | 2020-08-13T19:39:04 |
ollama/ollama | 6d6b0d33219322553c2ac70393e347f1bba61367 | 37324a0a007036096755e58e2cd4af030cd0a2c5 | change error handler behavior and fix error when a model isn't found (#173) | [
{
"path": "api/client.go",
"patch": "@@ -210,15 +210,9 @@ func (c *Client) List(ctx context.Context) (*ListResponse, error) {\n \treturn &lr, nil\n }\n \n-type DeleteProgressFunc func(ProgressResponse) error\n-\n-func (c *Client) Delete(ctx context.Context, req *DeleteRequest, fn DeleteProgressFunc) error {... | 2023-07-22T06:02:12 |
ggml-org/llama.cpp | f32ca51bfeb74b8d1b735c2744c0e4a6224f6b7c | e1f4921980444b30d3b4fa1c6e18cdecd85b0690 | server: add presets (config) when using multiple models (#17859)
* llama-server: recursive GGUF loading
Replace flat directory scan with recursive traversal using
std::filesystem::recursive_directory_iterator. Support for
nested vendor/model layouts (e.g. vendor/model/*.gguf).
Model name now reflects the relative pat... | [
{
"path": "common/CMakeLists.txt",
"patch": "@@ -73,6 +73,8 @@ add_library(${TARGET} STATIC\n ngram-cache.h\n peg-parser.cpp\n peg-parser.h\n+ preset.cpp\n+ preset.h\n regex-partial.cpp\n regex-partial.h\n sampling.cpp",
"additions": 2,
"deletions": 0,
"language": "... | 2025-12-10T21:18:21 |
huggingface/transformers | 75769744e95797936e3994316ca361cfe01e7fc6 | 0efcf32351d5368e6aa0754e9503d576f7b5ca36 | add Cambricon MLUs support (#29627)
* add Cambricon MLUs support
* fix mlu device rng state
* up for quality check
* up mlu to support fp16
* fix mlu device dependency error
* fix mlu device dependency error
* enable mlu device for bf16
* fix mlu device memory tracker | [
{
"path": "src/transformers/__init__.py",
"patch": "@@ -1109,6 +1109,7 @@\n \"is_timm_available\",\n \"is_tokenizers_available\",\n \"is_torch_available\",\n+ \"is_torch_mlu_available\",\n \"is_torch_neuroncore_available\",\n \"is_torch_npu_available\",\n ... | 2024-03-27T14:54:28 |
rust-lang/rust | 431b9aa38ff466fbed1b933cd17efa10f6cd03b4 | 46420c96070b4c4bd8242f16d5806b8f26a57016 | Fix missing self subst when rendering Fn* trait with no output type | [
{
"path": "compiler/rustc_middle/src/ty/print/pretty.rs",
"patch": "@@ -232,7 +232,7 @@ pub trait PrettyPrinter<'tcx>: Printer<'tcx> + fmt::Write {\n f: F,\n ) -> Result<(), PrintError>\n where\n- T: Print<'tcx, Self> + TypeFoldable<TyCtxt<'tcx>>,\n+ T: TypeFoldable<TyCtxt<'tcx... | 2025-02-23T04:46:51 |
nodejs/node | 37681b5e09a755e2cd9631429dcd1d2b5f0650f2 | 0dbff4c8625965168dc6b577f9bf57565a29ed61 | test: replace fixturesDir with fixtures module
PR-URL: https://github.com/nodejs/node/pull/15961
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com> | [
{
"path": "test/parallel/test-npm-install.js",
"patch": "@@ -7,6 +7,7 @@ const path = require('path');\n const exec = require('child_process').exec;\n const assert = require('assert');\n const fs = require('fs');\n+const fixtures = require('../common/fixtures');\n \n common.refreshTmpDir();\n const npmSandb... | 2017-10-06T17:29:35 |
golang/go | 954db9fe51154e5d4663c0c1a62c82a99eef1ed4 | b249703e3c53cd7f1e5f808fb2f03714fec44b43 | [dev.link] debug/gosym: fix file mappings
CL 246497 introduced bugs in gosym that the long tests caught. These two
bugs were:
1) In 1.16, 0 is now a valid file number from pcfile tables.
2) Also, in 1.16, when we scan all functions looking for a pc/file pair,
the values returned from pcfile are no longer the direc... | [
{
"path": "src/debug/gosym/pclntab.go",
"patch": "@@ -59,9 +59,12 @@ type LineTable struct {\n \tnfunctab uint32\n \tfiletab []byte\n \tnfiletab uint32\n-\tfileMap map[string]uint32\n \tfuncNames map[uint32]string // cache the function names\n \tstrings map[uint32]string // interned subs... | 2020-08-12T20:37:42 |
huggingface/transformers | 0efcf32351d5368e6aa0754e9503d576f7b5ca36 | 31c575bcf13c2b85b65d652dd1b5b401f99be999 | Move `eos_token_id` to stopping criteria (#29459)
* add eos stopping criteria
* minor fix
* Update tests/generation/test_stopping_criteria.py
Co-authored-by: Joao Gante <joaofranciscocardosogante@gmail.com>
* check eos is not None and fix tests
* make style and fixup
* Update src/transformers/generat... | [
{
"path": "src/transformers/generation/__init__.py",
"patch": "@@ -82,6 +82,7 @@\n \"MaxNewTokensCriteria\",\n \"MaxLengthCriteria\",\n \"MaxTimeCriteria\",\n+ \"EosTokenCriteria\",\n \"StoppingCriteria\",\n \"StoppingCriteriaList\",\n \"validate_stoppi... | 2024-03-27T12:18:10 |
rust-lang/rust | f04bfae764c90270dddeb5d0cf1e8254fb0098ce | d92da0fb322e833e481a4c50f0f73b7b27829546 | correct version attribute for `io_other_error` | [
{
"path": "clippy_lints/src/methods/mod.rs",
"patch": "@@ -4478,7 +4478,7 @@ declare_clippy_lint! {\n /// ```no_run\n /// let _ = std::io::Error::other(\"bad\".to_string());\n /// ```\n- #[clippy::version = \"1.86.0\"]\n+ #[clippy::version = \"1.87.0\"]\n pub IO_OTHER_ERROR,\n styl... | 2025-02-23T02:57:16 |
ggml-org/llama.cpp | e1f4921980444b30d3b4fa1c6e18cdecd85b0690 | 4dff236a522bd0ed949331d6cb1ee2a1b3615c35 | Fix race conditions in threadpool when dealing with dynamic/frequent n_threads changes (#17748)
* tests: update barrier test to check for race condition in active threads
* cpu: combine n_graph and n_threads into a single atomic update
* tests: add multi-graph test for test_barrier | [
{
"path": "ggml/src/ggml-cpu/ggml-cpu.c",
"patch": "@@ -187,6 +187,9 @@ typedef void * thread_ret_t;\n \n typedef pthread_t ggml_thread_t;\n \n+#define GGML_THREADPOOL_N_THREADS_MASK (0xffffU)\n+#define GGML_THREADPOOL_N_THREADS_BITS (16)\n+\n #if defined(__APPLE__)\n #include <unistd.h>\n #include <mach/ma... | 2025-12-10T20:32:23 |
golang/go | 7d7bd5abc7f7ac901830b79496f63ce86895e262 | c2e73fb446bffd02c651e51c6641cc90fd065b70 | cmd/internal/obj/ppc64: don't remove NOP in assembler
Previously, the assembler removed NOPs from the Prog list in
obj9.go. NOPs shouldn't be removed if they were added as
an inline mark, as described in the issue below.
Fixes #40689
Once the NOPs were left in the Prog list, some instructions
were flagged as invalid... | [
{
"path": "src/cmd/internal/obj/ppc64/asm9.go",
"patch": "@@ -613,6 +613,9 @@ var optab = []Optab{\n \t{obj.APCDATA, C_LCON, C_NONE, C_NONE, C_LCON, 0, 0, 0},\n \t{obj.AFUNCDATA, C_SCON, C_NONE, C_NONE, C_ADDR, 0, 0, 0},\n \t{obj.ANOP, C_NONE, C_NONE, C_NONE, C_NONE, 0, 0, 0},\n+\t{obj.ANOP, C_LCON, C_NONE,... | 2020-08-11T16:04:25 |
nodejs/node | 0dbff4c8625965168dc6b577f9bf57565a29ed61 | 55bb9c41284d49bf4f1ebbb674d4ba9cad7508d5 | test: replaced fixturesDir with common.fixtures
PR-URL: https://github.com/nodejs/node/pull/15971
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com> | [
{
"path": "test/parallel/test-https-host-headers.js",
"patch": "@@ -1,15 +1,16 @@\n 'use strict';\n const common = require('../common');\n+const fixtures = require('../common/fixtures');\n+\n if (!common.hasCrypto)\n common.skip('missing crypto');\n \n const assert = require('assert');\n const https = req... | 2017-10-06T17:52:28 |
huggingface/transformers | 31c575bcf13c2b85b65d652dd1b5b401f99be999 | 4d8427f739bc77262138ccaa9748e4abbe2b3c75 | fix fuyu device_map compatibility (#29880)
fix foward | [
{
"path": "src/transformers/models/fuyu/modeling_fuyu.py",
"patch": "@@ -290,7 +290,9 @@ def forward(\n inputs_embeds = self.language_model.get_input_embeddings()(input_ids)\n if image_patches is not None and past_key_values is None:\n patch_embeddings = [\n- ... | 2024-03-27T09:18:48 |
ollama/ollama | 20a5d99f77ec8fe16aad5f4c9b08cbef7e717ef8 | 3b43cc019a1cf1074eb52eda9c0b9d663ae9f35c | fix vars.First | [
{
"path": "server/images.go",
"patch": "@@ -51,7 +51,7 @@ func (m *Model) Prompt(request api.GenerateRequest) (string, error) {\n \t\tContext []int\n \t}\n \n-\tvars.First = len(vars.Context) == 0\n+\tvars.First = len(request.Context) == 0\n \tvars.System = m.System\n \tvars.Prompt = request.Prompt\n \tvars... | 2023-07-22T03:45:32 |
nodejs/node | 0d38e6d01f110bd0ac373da6c6e781d4826be83e | 91724cb2a10f06ab1e6a3dca879f785f2c12dc45 | test: use common.fixtures module in test-preload
PR-URL: https://github.com/nodejs/node/pull/15975
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> | [
{
"path": "test/parallel/test-preload.js",
"patch": "@@ -1,12 +1,12 @@\n 'use strict';\n \n const common = require('../common');\n+const fixtures = require('../common/fixtures');\n // Refs: https://github.com/nodejs/node/pull/2253\n if (common.isSunOS)\n common.skip('unreliable on SunOS');\n \n const asse... | 2017-10-06T17:52:36 |
golang/go | 92bda33d2771a9b12868d9025f113538fa7a84de | b2353174db1349f15113416b4df2a833db6058a6 | runtime: revert signal stack mlocking
Go 1.14 included a (rather awful) workaround for a Linux kernel bug
that corrupted vector registers on x86 CPUs during signal delivery
(https://bugzilla.kernel.org/show_bug.cgi?id=205663). This bug was
introduced in Linux 5.2 and fixed in 5.3.15, 5.4.2 and all 5.5 and
later kernel... | [
{
"path": "src/runtime/defs_linux_386.go",
"patch": "@@ -226,14 +226,3 @@ type sockaddr_un struct {\n \tfamily uint16\n \tpath [108]byte\n }\n-\n-const __NEW_UTS_LEN = 64\n-\n-type new_utsname struct {\n-\tsysname [__NEW_UTS_LEN + 1]byte\n-\tnodename [__NEW_UTS_LEN + 1]byte\n-\trelease [__NEW_UTS_... | 2020-07-31T19:58:00 |
ollama/ollama | 3b43cc019a1cf1074eb52eda9c0b9d663ae9f35c | b8421dce3d1ed4e3b56aa6818e926ebcfe96c017 | fix extended tag names (#171) | [
{
"path": "server/modelpath.go",
"patch": "@@ -45,7 +45,7 @@ func ParseModelPath(name string) ModelPath {\n \t\treturn ModelPath{}\n \t}\n \n-\tcolonParts := strings.Split(name, \":\")\n+\tcolonParts := strings.Split(slashParts[len(slashParts)-1], \":\")\n \tif len(colonParts) == 2 {\n \t\ttag = colonParts[... | 2023-07-22T03:27:25 |
huggingface/transformers | 4d8427f739bc77262138ccaa9748e4abbe2b3c75 | a81cf9ee90c2e3c802b6454e84a4545876382b7d | Reimplement "Automatic safetensors conversion when lacking these files" (#29846)
* 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
* Ca... | [
{
"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-27T07:58:08 |
rust-lang/rust | 04c453c4bc4de30b41e3bd3ee7492d37b2cc3d89 | 794c12416b2138064af1f2746646973fafd9419d | Fix bugs due to unhandled ControlFlow | [
{
"path": "compiler/rustc_lint/src/types.rs",
"patch": "@@ -1587,7 +1587,7 @@ impl<'a, 'tcx> ImproperCTypesVisitor<'a, 'tcx> {\n }\n \n impl<'a, 'b, 'tcx> ty::visit::TypeVisitor<TyCtxt<'tcx>> for FnPtrFinder<'a, 'b, 'tcx> {\n- type Result = ControlFlow<Ty<'tcx>>;\n+ typ... | 2025-02-22T23:54:08 |
huggingface/transformers | a81cf9ee90c2e3c802b6454e84a4545876382b7d | cefb819f7a54009b36493b90878ee9b3b198039f | Fix 29807, sinusoidal positional encodings overwritten by post_init() (#29813)
* Check for requires_grad when initing weights
* Add unit test
* Move sinusoidal positional encoding generation after post_init()
* Add modules to skip init list
* Move create_sinusoidal_embeddings to _init_weights | [
{
"path": "src/transformers/models/distilbert/modeling_distilbert.py",
"patch": "@@ -106,10 +106,6 @@ def __init__(self, config: PretrainedConfig):\n super().__init__()\n self.word_embeddings = nn.Embedding(config.vocab_size, config.dim, padding_idx=config.pad_token_id)\n self.positi... | 2024-03-27T05:28:00 |
nodejs/node | 037d9085f1d1ed996dc8f4958b4e7f5e53a6fa39 | b050c14d91edc6f25983395673f28e785ee60a48 | src: use more appropriate context-entered check
Make the context check in `MakeCallback` match what the comment says
(and what actually makes sense).
PR-URL: https://github.com/nodejs/node/pull/15691
Fixes: https://github.com/nodejs/node/issues/15672
Ref: https://github.com/nodejs/node/pull/15428
Ref: f27b5e4bdaafc73... | [
{
"path": "src/node.cc",
"patch": "@@ -1383,7 +1383,7 @@ InternalCallbackScope::InternalCallbackScope(Environment* env,\n \n HandleScope handle_scope(env->isolate());\n // If you hit this assertion, you forgot to enter the v8::Context first.\n- CHECK_EQ(env->context(), env->isolate()->GetCurrentContext... | 2017-09-29T21:35:43 |
golang/go | b2353174db1349f15113416b4df2a833db6058a6 | 50f63a7ae4b7f951fa894b96633b1716adca55fa | doc/go1.15: include behavior updates to the context package
Fixes #40737
Change-Id: I8e2c1e1653d427af1ded6d61df1aa450e3c4d35c
Reviewed-on: https://go-review.googlesource.com/c/go/+/248329
Run-TryBot: Andrew Bonventre <andybons@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <ia... | [
{
"path": "doc/go1.15.html",
"patch": "@@ -436,6 +436,19 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n </dd>\n </dl><!-- bufio -->\n \n+<dl id=\"context\"><dt><a href=\"/pkg/context/\">context</a></dt>\n+ <dd>\n+ <p><!-- CL 223777 -->\n+ Creating a derived <code>Context<... | 2020-08-12T21:45:48 |
huggingface/transformers | cefb819f7a54009b36493b90878ee9b3b198039f | 1c39974a4c4036fd641bc1191cc32799f85715a4 | Mamba `slow_forward` gradient fix (#29563)
* FIX: Cached slow forward in mamba
- additionally added mamba cached test
- added unused test (mamba causal lm forward and backward)
- fixed typo: "causl" --> "causal"
* formatting
* fix: use real `slow_forward` call instead of torch module's
* add shape assertio... | [
{
"path": "src/transformers/models/mamba/modeling_mamba.py",
"patch": "@@ -230,7 +230,7 @@ def slow_forward(self, input_states, cache_params: Optional[MambaCache]=None):\n \n # 2. Convolution sequence transformation\n if cache_params is not None:\n- ssm_state = cache_params.ssm_st... | 2024-03-27T03:52:12 |
ggml-org/llama.cpp | 6c2131773c5975c719863a21a8195a66dea4a4d0 | b6777218198888ed4b18d839e805f887562a9be4 | cli: new CLI experience (#17824)
* wip
* wip
* fix logging, add display info
* handle commands
* add args
* wip
* move old cli to llama-completion
* rm deprecation notice
* move server to a shared library
* move ci to llama-completion
* add loading animation
* add --show-timings arg
* add /read command, im... | [
{
"path": ".github/workflows/build.yml",
"patch": "@@ -243,7 +243,7 @@ jobs:\n echo \"Fetch llama2c model\"\n wget https://huggingface.co/karpathy/tinyllamas/resolve/main/stories260K/stories260K.bin\n ./bin/llama-convert-llama2c-to-ggml --copy-vocab-from-model ./tok512.bin --ll... | 2025-12-10T14:28:59 |
nodejs/node | b050c14d91edc6f25983395673f28e785ee60a48 | 4457f4feb98d891f8f9343c69c53e0a2552b35de | test: replaced common.fixturesDir with readKey
PR-URL: https://github.com/nodejs/node/pull/15933
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Gibson ... | [
{
"path": "test/parallel/test-https-client-get-url.js",
"patch": "@@ -21,6 +21,7 @@\n \n 'use strict';\n const common = require('../common');\n+const fixtures = require('../common/fixtures');\n if (!common.hasCrypto)\n common.skip('missing crypto');\n \n@@ -29,14 +30,13 @@ process.env.NODE_TLS_REJECT_UNAU... | 2017-10-06T17:18:35 |
golang/go | 50f63a7ae4b7f951fa894b96633b1716adca55fa | 52fe92fbaa41a6441144029760ada24b5be1d398 | doc/go1.15: clarify external linking can still be used for building PIE
In Go 1.15 we switched the default linking mode for PIE on
Linux/AMD64 and Linux/ARM64 to internal linking. Clarify that
the previous behavior (external linking) can still be used with
a flag.
Fixes #40719.
Change-Id: Ib7042622bc91e1b1aa31f52099... | [
{
"path": "doc/go1.15.html",
"patch": "@@ -357,7 +357,10 @@ <h2 id=\"linker\">Linker</h2>\n The linker now defaults to internal linking mode\n for <code>-buildmode=pie</code> on\n <code>linux/amd64</code> and <code>linux/arm64</code>, so these\n- configurations no longer require a C linker.\n+ confi... | 2020-08-12T17:30:43 |
ggml-org/llama.cpp | 17f7f4baad8b3a716ee139da7bb56ae984e8c0fa | 9e79b0116ebb6ff4a1ef1b42a7f2f64182ec4f10 | CUDA: fix unpadded strides in MMA FA kernel (#17891) | [
{
"path": "ggml/src/ggml-cuda/fattn-mma-f16.cuh",
"patch": "@@ -955,43 +955,40 @@ static __device__ __forceinline__ void flash_attn_ext_f16_process_tile(\n (K_h2 + int64_t(kb0)*nbatch_fa*stride_K, tile_K, nbatch_K2, stride_K, k_VKQ_sup);\n }\n \n- for (; kb0 < kb0_stop-1; ++kb0) {\n- ... | 2025-12-10T11:39:56 |
nodejs/node | 4457f4feb98d891f8f9343c69c53e0a2552b35de | 41b65b9fa36aef1fb40b408ee7586da5dd1c5d90 | test: replace fixturesDir in tls-env-bad-extra-ca
PR-URL: https://github.com/nodejs/node/pull/15813
Reviewed-By: Ryan Graham <r.m.graham@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> | [
{
"path": "test/parallel/test-tls-env-bad-extra-ca.js",
"patch": "@@ -7,8 +7,9 @@ if (!common.hasCrypto)\n common.skip('missing crypto');\n \n const assert = require('assert');\n-const tls = require('tls');\n+const fixtures = require('../common/fixtures');\n const fork = require('child_process').fork;\n+c... | 2017-10-06T16:32:57 |
huggingface/transformers | 1c39974a4c4036fd641bc1191cc32799f85715a4 | 8e08acad6bff68667075e7bf6868836dde4cc62e | Add Qwen2MoE (#29377)
* add support for qwen2 MoE models
* update docs
* add support for qwen2 MoE models
* update docs
* update model name & test
* update readme
* update class names & readme & model_doc of Qwen2MoE.
* update architecture name
* fix qwen2_moe tests
* use Qwen2Tokenizer inst... | [
{
"path": "README.md",
"patch": "@@ -473,6 +473,7 @@ Current number of checkpoints: ** (from Shanghai AI Laboratory, Nanjing University, The University of Hong Kong etc.) released with ... | 2024-03-27T01:11:55 |
ggml-org/llama.cpp | 2e9eab80c26d4b7e64f27c48b5af683c35c28742 | 2fbe3b7bb7814621477d658a81f0d0cca08761cf | fix softmax for iGPU (#17838) | [
{
"path": "ggml/src/ggml-sycl/softmax.cpp",
"patch": "@@ -277,7 +277,7 @@ static void soft_max_f32_sycl(const float *x, const T *mask,\n const int id = get_current_device_id();\n const size_t smpbo = ggml_sycl_info().devices[id].smpbo;\n \n- if (nbytes_shared <= smpbo) {\n+ if (nbytes_sh... | 2025-12-10T08:59:57 |
nodejs/node | 41b65b9fa36aef1fb40b408ee7586da5dd1c5d90 | b3a8bf3dca3783a76e90f75fe42c8ad8c6da42f7 | test: use common.fixtures in checkServerIdentity
PR-URL: https://github.com/nodejs/node/pull/15951
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> | [
{
"path": "test/parallel/test-https-client-checkServerIdentity.js",
"patch": "@@ -25,13 +25,12 @@ if (!common.hasCrypto)\n common.skip('missing crypto');\n \n const assert = require('assert');\n+const fixtures = require('../common/fixtures');\n const https = require('https');\n-const fs = require('fs');\n... | 2017-10-06T17:09:09 |
ollama/ollama | 8454f298acc89af4917db0162116fca59a1d9d92 | a3badaf1031a1f74bdcc58a60dfb24bfe3c99451 | fix example `Modelfile`s | [
{
"path": "examples/mario/readme.md",
"patch": "@@ -20,14 +20,8 @@ What the model file looks like:\n ```\n FROM llama2\n PARAMETER temperature 1\n-PROMPT \"\"\"\n-{{- if not .Context }}\n-<<SYS>>\n-You are Mario from super mario bros, acting as an assistant.\n-<</SYS>>\n-\n-{{- end }}\n-[INST] {{ .Prompt }}... | 2023-07-20T22:46:32 |
huggingface/transformers | 8e08acad6bff68667075e7bf6868836dde4cc62e | f01e1609bf4dba146d1347c1368c8c49df8636f6 | Support `num_attention_heads` != `num_key_value_heads` in Flax Llama Implementation (#29557)
* fix tinyllama flax modelling
* rename vars to minimize changes
* move
* formatting
* remove unused var | [
{
"path": "src/transformers/models/llama/modeling_flax_llama.py",
"patch": "@@ -198,24 +198,32 @@ def setup(self):\n self.embed_dim = config.hidden_size\n self.num_heads = config.num_attention_heads\n self.head_dim = self.embed_dim // self.num_heads\n+ self.num_key_value_heads... | 2024-03-27T01:08:43 |
nodejs/node | b3a8bf3dca3783a76e90f75fe42c8ad8c6da42f7 | b13e660a47a88396c7316cbb6178a18a8f4a52d3 | test: replaced common.fixturesDir with readKey
PR-URL: https://github.com/nodejs/node/pull/15952
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> | [
{
"path": "test/parallel/test-https-agent-sni.js",
"patch": "@@ -1,15 +1,15 @@\n 'use strict';\n const common = require('../common');\n+const fixtures = require('../common/fixtures');\n if (!common.hasCrypto)\n common.skip('missing crypto');\n \n const assert = require('assert');\n const https = require('... | 2017-10-06T16:57:14 |
ggml-org/llama.cpp | 086a63e3a5d2dbbb7183a74db453459e544eb55a | b63509262ac88db248fa70a1364c8a76e339e93f | metal: SSM kernel improvements (#17876)
* feat: Add a batched version of ssm_conv
This was done using Claude Code. It found a number of optimizations around
how the threads were organized, resulting in a huge performance boost!
Branch: Mamba2SSD
Signed-off-by: Gabe Goodhart <ghart@us.ibm.com>
* feat: Optimized SSM... | [
{
"path": "ggml/src/ggml-metal/ggml-metal-device.cpp",
"patch": "@@ -411,6 +411,38 @@ ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_ssm_conv(ggml_me\n return res;\n }\n \n+ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_ssm_conv_batched(ggml_metal_library_t lib, const g... | 2025-12-09T19:30:02 |
huggingface/transformers | ef609958586a24b7943ad6c31184ff5a84b6f8e2 | 998b5bb56f161ef9270d17674dec693d40e8fde5 | Add `cosine_with_min_lr` scheduler in Trainer (#29341)
* Add cosine_with_min_lr scheduler
* Update error message for missing min_lr or min_lr_rate | [
{
"path": "src/transformers/optimization.py",
"patch": "@@ -324,6 +324,69 @@ def get_inverse_sqrt_schedule(\n return LambdaLR(optimizer, lr_lambda, last_epoch=last_epoch)\n \n \n+def _get_cosine_schedule_with_warmup_lr_lambda(\n+ current_step: int, *, num_warmup_steps: int, num_training_steps: int, n... | 2024-03-26T12:57:07 |
golang/go | 2bfa45cfa994512c47da2d98f3baca5bb474ec9b | 14715b24793176b30b3c41adf4ac4e676c2a56f0 | cmd/go: propagate context into PackagesForBuild and Do for tracing
This change propagates context into PackagesForErrors and Do for
the purpose of tracing, and calls trace.StartSpan on PackagesForErrors
and Do, so that the trace now shows the broad outline of where
the "Loading" and "Execution" phases are in the build... | [
{
"path": "src/cmd/go/internal/clean/clean.go",
"patch": "@@ -117,7 +117,7 @@ func runClean(ctx context.Context, cmd *base.Command, args []string) {\n \t}\n \n \tif cleanPkg {\n-\t\tfor _, pkg := range load.PackagesAndErrors(args) {\n+\t\tfor _, pkg := range load.PackagesAndErrors(ctx, args) {\n \t\t\tclean... | 2020-06-17T19:50:14 |
nodejs/node | b13e660a47a88396c7316cbb6178a18a8f4a52d3 | 59e6791fe5bc9c04ced109e4c222aed6954c7d11 | test: use fixtures.path for cmd string building
PR-URL: https://github.com/nodejs/node/pull/15982
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Joyee Ch... | [
{
"path": "test/parallel/test-error-reporting.js",
"patch": "@@ -23,10 +23,10 @@\n const common = require('../common');\n const assert = require('assert');\n const exec = require('child_process').exec;\n-const path = require('path');\n+const fixtures = require('../common/fixtures');\n \n function errExec(sc... | 2017-10-06T17:49:44 |
ggml-org/llama.cpp | 02e409a5becd2142c97a843bb63876fb8da7c6f0 | 6b82eb7883d1babf5f6bd4bca70997f229691fed | ggml : Provide macos-specific backtrace printing to avoid terminal death (#17869)
* fix: Provide macos-specific backtrace printing to avoid terminal death
Branch: MacOSSafeBacktrace
Signed-off-by: Gabe Goodhart <ghart@us.ibm.com>
* fix: Add GGML_BACKTRACE_LLDB env var to enable using lldb for backtrace
Branch: Mac... | [
{
"path": "ggml/src/ggml.c",
"patch": "@@ -124,6 +124,13 @@ static void ggml_print_backtrace_symbols(void) {\n int nptrs = backtrace(trace, sizeof(trace)/sizeof(trace[0]));\n backtrace_symbols_fd(trace, nptrs, STDERR_FILENO);\n }\n+#elif defined(__APPLE__)\n+#include <execinfo.h>\n+static void ggml_... | 2025-12-09T16:29:07 |
rust-lang/rust | ef337a6599145766fc73b2896c6ff3e0fef65b0b | ed49386d3aa3a445a9889707fd405df01723eced | Make `ptr_cast_add_auto_to_object` lint into hard error
In Rust 1.81, we added a FCW lint (including linting in dependencies)
against pointer casts that add an auto trait to dyn bounds. This was
part of work making casts of pointers involving trait objects stricter
which was needed to restabilize trait upcasting.
We... | [
{
"path": "compiler/rustc_error_codes/src/error_codes/E0804.md",
"patch": "@@ -0,0 +1,41 @@\n+An auto trait cannot be added to the bounds of a `dyn Trait` type via\n+a pointer cast.\n+\n+Erroneous code example:\n+\n+```rust,edition2021,compile_fail,E0804\n+let ptr: *const dyn core::any::Any = &();\n+_ = ptr... | 2025-02-09T06:08:59 |
huggingface/transformers | de81a677c4f5d069deee427e348cca8606554a8e | b32bf85b58260f05da7f3623dca722f9780d2cbc | Fix header in IFE task guide (#29859)
Update image_feature_extraction.md | [
{
"path": "docs/source/en/tasks/image_feature_extraction.md",
"patch": "@@ -14,7 +14,7 @@ rendered properly in your Markdown viewer.\n \n -->\n \n-# Image Feature Extraction\n+# Image Feature Extraction\n \n [[open-in-colab]]\n ",
"additions": 1,
"deletions": 1,
"language": "Markdown"
}
] | 2024-03-26T11:32:37 |
golang/go | 52b0ea20ff10fdcfe570ef407bd462d23e13d782 | 20254c02b38055c1bb6d5ac8aba70bb7b8d638ef | cmd/go: add a debug-trace flag to generate traces
If cmd/go is provided with a -debug-trace=<file> option, cmd/go will write an
execution trace to that file.
Updates #38714
Change-Id: I3e6521343902c08266a0292f4280298a3bf8b725
Reviewed-on: https://go-review.googlesource.com/c/go/+/237683
Run-TryBot: Michael Matloob <... | [
{
"path": "src/cmd/go/internal/cfg/cfg.go",
"patch": "@@ -51,6 +51,7 @@ var (\n \tCmdName string // \"build\", \"install\", \"list\", \"mod tidy\", etc.\n \n \tDebugActiongraph string // -debug-actiongraph flag (undocumented, unstable)\n+\tDebugTrace string // -debug-trace flag\n )\n \n func defaultCo... | 2020-04-14T21:29:27 |
ollama/ollama | 6cea2061ec97130140c06f8bacc769a2c984e48e | 2832801c2a76a3c091c06f34fc3379402ca24b55 | windows: fix model pulling | [
{
"path": "server/images.go",
"patch": "@@ -854,6 +854,10 @@ func downloadBlob(mp ModelPath, digest string, username, password string, fn fun\n \t\t})\n \n \t\tif completed >= total {\n+\t\t\tif err := out.Close(); err != nil {\n+\t\t\t\treturn err\n+\t\t\t}\n+\n \t\t\tif err := os.Rename(fp+\"-partial\", f... | 2023-07-20T18:23:43 |
nodejs/node | 59e6791fe5bc9c04ced109e4c222aed6954c7d11 | 86d803b3855ef8cf3b14510f484fdbdb17872533 | test: replace fixturesDir with fixtures.readKey
PR-URL: https://github.com/nodejs/node/pull/15948
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Gibson Fahnesto... | [
{
"path": "test/parallel/test-https-agent-secure-protocol.js",
"patch": "@@ -5,12 +5,12 @@ if (!common.hasCrypto)\n \n const assert = require('assert');\n const https = require('https');\n-const fs = require('fs');\n+const fixtures = require('../common/fixtures');\n \n const options = {\n- key: fs.readFile... | 2017-10-06T17:37:36 |
ggml-org/llama.cpp | 6b82eb7883d1babf5f6bd4bca70997f229691fed | 86a3f0fad8b153ac9396e1ac18e790e4179c53f2 | metal : print node names for debugging (#17882) | [
{
"path": "ggml/src/ggml-metal/ggml-metal-ops.cpp",
"patch": "@@ -221,7 +221,7 @@ static int ggml_metal_op_encode_impl(ggml_metal_op_t ctx, int idx) {\n }\n \n if (ctx->debug_graph > 0) {\n- GGML_LOG_DEBUG(\"%s: node[%5d] - %-12s %s\\n\", __func__, idx, ggml_op_name(node->op), is_... | 2025-12-09T13:25:49 |
huggingface/transformers | b32bf85b58260f05da7f3623dca722f9780d2cbc | b5a6d6eeab2524546776057b40774835c45c4971 | Replace 'decord' with 'av' in VideoClassificationPipeline (#29747)
* replace the 'decord' with 'av' in VideoClassificationPipeline
* fix the check of backend in VideoClassificationPipeline
* adjust the order of imports
* format 'video_classification.py'
* format 'video_classification.py' with ruff
-----... | [
{
"path": "src/transformers/__init__.py",
"patch": "@@ -1083,6 +1083,7 @@\n \"add_end_docstrings\",\n \"add_start_docstrings\",\n \"is_apex_available\",\n+ \"is_av_available\",\n \"is_bitsandbytes_available\",\n \"is_datasets_available\",\n \"is_decord_... | 2024-03-26T10:12:24 |
ggml-org/llama.cpp | 63908b631a2cef6491c2b6ce1c504f046660183f | 42b12b560886dc2093b17af11c97ef6d276a3b97 | cmake: fix Mach-O current version number (#17877)
PR #17091 set the VERSION of various libraries to 0.0.abcd, where abcd
is the LLAMA_BUILD_NUMBER. That build number is too large to fit in the
Mach-O 'current version' field's 'micro' part, which only goes up to
255. This just sets the Mach-O current version to 0 to ge... | [
{
"path": "src/CMakeLists.txt",
"patch": "@@ -139,6 +139,7 @@ add_library(llama\n set_target_properties(llama PROPERTIES\n VERSION ${LLAMA_INSTALL_VERSION}\n SOVERSION 0\n+ MACHO_CURRENT_VERSION 0 # keep macOS linker from seeing oversized version number\n )\n \n target_include_directories(llama P... | 2025-12-09T11:17:41 |
golang/go | 991adcd21b57b9d906021f972eb01534176ad493 | 27e3778793c4ae4e54d27185f6955bc5c180151b | [dev.link] cmd/internal/obj: traverse files in deterministic order
CL 245485 introduced a map for used files in a function. When
numbering symbols, make sure we traverse the files in
deterministic order.
Should fix longtest builders.
Change-Id: I1006bc5425116ab40e33a61e8f5acd1bdb4abad9
Reviewed-on: https://go-review... | [
{
"path": "src/cmd/internal/obj/sym.go",
"patch": "@@ -368,7 +368,12 @@ func (ctxt *Link) traverseFuncAux(flag traverseFlag, fsym *LSym, fn func(parent\n \t\t}\n \t}\n \tfiles := ctxt.PosTable.FileTable()\n+\tusedFiles := make([]goobj.CUFileIndex, 0, len(pc.UsedFiles))\n \tfor f := range pc.UsedFiles {\n+\t... | 2020-08-11T18:58:03 |
nodejs/node | 86d803b3855ef8cf3b14510f484fdbdb17872533 | 2b5b423dffec7e2250e6153c6d6c3a21d7086664 | test: replace common.fixturesDir with readKey
PR-URL: https://github.com/nodejs/node/pull/15946
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> | [
{
"path": "test/parallel/test-http2-https-fallback.js",
"patch": "@@ -1,13 +1,12 @@\n 'use strict';\n \n const common = require('../common');\n+const fixtures = require('../common/fixtures');\n \n if (!common.hasCrypto)\n common.skip('missing crypto');\n \n const { strictEqual } = require('assert');\n-con... | 2017-10-06T17:33:46 |
huggingface/transformers | 00a09ed448082da3d6d35fb23a37b7d04f7b4dcd | 8e9a2207b3e77eb586b2488aced2a748dde865ff | fix 😭 | [
{
"path": "src/transformers/modeling_utils.py",
"patch": "@@ -600,7 +600,9 @@ def _load_state_dict_into_model(model_to_load, state_dict, start_prefix):\n # so we need to apply the function recursively.\n def load(module: nn.Module, state_dict, prefix=\"\"):\n local_metadata = {} if metadata ... | 2024-03-25T12:57:31 |
ggml-org/llama.cpp | 4e842d5120f0349fe4c014a1cc8b9a55c5715c66 | ca709e427b1c5cf0134aaabc9bbc0183f32d1df0 | console: allow using arrow left/right, home/end keys and history mode (#17836)
* console: allow using arrow left/right to edit the line (with UTF-8 support)
* console: fix arrow keys on Windows using private-use Unicode
* console: add Home/End key support for Windows and Linux
* console: add basic Up/Down history n... | [
{
"path": "common/console.cpp",
"patch": "@@ -1,6 +1,11 @@\n #include \"console.h\"\n #include <vector>\n #include <iostream>\n+#include <cassert>\n+#include <cstddef>\n+#include <cctype>\n+#include <cwctype>\n+#include <cstdint>\n \n #if defined(_WIN32)\n #define WIN32_LEAN_AND_MEAN\n@@ -35,9 +40,26 @@\n \... | 2025-12-09T10:53:59 |
huggingface/transformers | afe73aed549701e264d87554a036910015f98c49 | 39114c03838f9cb0c8805b64366d534007021d85 | Fix the behavior of collecting 'num_input_tokens_seen' (#29099)
fix the behavior of collecting 'num_input_tokens_seen'
See https://github.com/huggingface/transformers/issues/28791 for more details. | [
{
"path": "src/transformers/trainer.py",
"patch": "@@ -2097,7 +2097,12 @@ def _inner_training_loop(\n \"a `main_input_name` attribute to the model class you are using.\"\n )\n else:\n- self.state.num_input_tokens_... | 2024-03-25T09:43:46 |
Subsets and Splits
Assembly Language GitHub Issues
Retrieves a sample of assembly-language related commits with their details, but doesn't provide meaningful analysis or patterns beyond basic filtering.
Swift Compiler Issues Analysis
Retrieves all training data for the Swift programming language repository, providing basic filtering but offering limited analytical insight beyond identifying relevant code examples.