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 | e7d52a10d721f4475c810d403b1e71689d4b94b9 | 38b53da38af231b0af967d15ca29c52470e402d5 | Fix GroundingDINO, DPR after BERT SDPA update (#30506)
Fix GroundingDINO, DPR after BET SDPA update | [
{
"path": "docs/source/en/perf_infer_gpu_one.md",
"patch": "@@ -194,6 +194,7 @@ For now, Transformers supports SDPA inference and training for the following arc\n * [Bert](https://huggingface.co/docs/transformers/model_doc/bert#transformers.BertModel)\n * [Cohere](https://huggingface.co/docs/transformers/mo... | 2024-04-26T17:04:41 |
golang/go | a86b6f23f08fd42154bc5bbfa417da6ee5ef48fb | e82c9bd81654dab14f786c26af2dd8ea3a7a1737 | cmd/internal/obj/arm64: optimize the instruction of moving long effective stack address
Currently, when the offset of "MOVD $offset(Rn), Rd" is a large positive
constant or a negative constant, the assembler will load this offset from
the constant pool.This patch gets rid of the constant pool by encoding the
offset in... | [
{
"path": "src/cmd/asm/internal/asm/testdata/arm64.s",
"patch": "@@ -340,8 +340,19 @@ TEXT\tfoo(SB), DUPOK|NOSPLIT, $-8\n \tMOVD\t$0x1111ffff1111aaaa, R1 // MOVD\t$1230045644216969898, R1 // a1aa8a922122a2f22122e2f2\n \tMOVD\t$0, R1 // 010080d2\n \tMOVD\t$-1, R1 ... | 2020-04-02T02:39:28 |
nodejs/node | dc086834b14647acacfd6d1e9a20bf83df34644a | b07aa9264e6fc7ad0fb4c4b5e15e6e5f9a604706 | test: remove error message
PR-URL: https://github.com/nodejs/node/pull/15983
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "test/pummel/test-net-connect-memleak.js",
"patch": "@@ -26,10 +26,10 @@ const common = require('../common');\n const assert = require('assert');\n const net = require('net');\n \n+console.log('Run this test with --expose-gc');\n assert.strictEqual(\n typeof global.gc,\n- 'function',\n- 'Run t... | 2017-10-06T17:54:58 |
ggml-org/llama.cpp | 36f0132464096e49ed344cdeeee65e39e2b43b14 | d98b548120eecf98f0f6eaa1ba7e29b3afda9f2e | CUDA: Factor out and re-use `block_reduce` function (#18785)
* CUDA: Refactor and expose two_stage_warp_reduce_* function
* Use `two_stage_warp_reduce` also in softmax kernel, move smem out of it
Moving smem out of `__device__` function to `__global__` function
allows for explicit smem reuse, as either compiler or c... | [
{
"path": "ggml/src/ggml-cuda/common.cuh",
"patch": "@@ -530,6 +530,86 @@ static __device__ __forceinline__ half2 warp_prefix_inclusive_sum(half2 a) {\n #endif // FP16_AVAILABLE\n }\n \n+enum class block_reduce_method {\n+ MAX,\n+ SUM,\n+};\n+\n+template<block_reduce_method method_t, typename T>\n+str... | 2026-01-15T02:44:54 |
huggingface/transformers | 38b53da38af231b0af967d15ca29c52470e402d5 | aafa7ce72b65c730788c122a72a974e464409e9a | [examples] update whisper fine-tuning (#29938)
* [examples] update whisper fine-tuning
* deprecate forced/suppress tokens
* item assignment
* update readme
* final fix | [
{
"path": "examples/pytorch/speech-recognition/README.md",
"patch": "@@ -368,6 +368,7 @@ python run_speech_recognition_seq2seq.py \\\n \t--dataset_name=\"mozilla-foundation/common_voice_11_0\" \\\n \t--dataset_config_name=\"hi\" \\\n \t--language=\"hindi\" \\\n+\t--task=\"transcribe\" \\\n \t--train_split_n... | 2024-04-26T16:06:03 |
golang/go | b6dbaef68fdbb3f14387e4c32a8890144220f54e | 8248b5791cd825f80c55e972c1e96c6fadf5885e | os/signal: add NotifyContext to cancel context using system signals
Fixes #37255
Change-Id: Ic0fde3498afefed6e4447f8476e4da7c1faa7145
Reviewed-on: https://go-review.googlesource.com/c/go/+/219640
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Giovanni Bajo <rasky@devele... | [
{
"path": "src/os/signal/example_unix_test.go",
"patch": "@@ -0,0 +1,47 @@\n+// Copyright 2020 The Go Authors. All rights reserved.\n+// Use of this source code is governed by a BSD-style\n+// license that can be found in the LICENSE file.\n+\n+// +build aix darwin dragonfly freebsd linux netbsd openbsd sol... | 2020-02-17T01:22:47 |
ggml-org/llama.cpp | d98b548120eecf98f0f6eaa1ba7e29b3afda9f2e | 8fb717557638f819e668e87f6d7dc0f39eb09c68 | Restore clip's cb() to its rightful glory - extract common debugging elements in llama (#17914)
* Extract common debugging functions; plug eval-callback and mtmd's MTMD_DEBUG_GRAPH with same functionality
* Move to common
* Remove unneeded header
* Unlink from common
* chore: update webui build output
* Cleanup; ... | [
{
"path": "common/CMakeLists.txt",
"patch": "@@ -60,6 +60,8 @@ add_library(${TARGET} STATIC\n common.h\n console.cpp\n console.h\n+ debug.cpp\n+ debug.h\n download.cpp\n download.h\n http.h",
"additions": 2,
"deletions": 0,
"language": "Plain Text"
},
{
"pat... | 2026-01-14T19:29:35 |
nodejs/node | b07aa9264e6fc7ad0fb4c4b5e15e6e5f9a604706 | 932499ec10088713f58482c1a7ff59decf23f69d | test: expand error message
PR-URL: https://github.com/nodejs/node/pull/15991
Reviewed-By: Yosuke Furukawa <yosuke.furukawa@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "test/parallel/test-cluster-worker-isdead.js",
"patch": "@@ -5,13 +5,16 @@ const assert = require('assert');\n \n if (cluster.isMaster) {\n const worker = cluster.fork();\n- assert.ok(\n- !worker.isDead(),\n- 'isDead() should return false right after the worker has been created.');\n+ le... | 2017-10-06T18:09:42 |
huggingface/transformers | aafa7ce72b65c730788c122a72a974e464409e9a | 77ff304d290d17c9cca4aa2f03330489812e423d | [`DETR`] Remove timm hardcoded logic in modeling files (#29038)
* Enable instantiating model with pretrained backbone weights
* Clarify pretrained import
* Use load_backbone instead
* Add backbone_kwargs to config
* Fix up
* Add tests
* Tidy up
* Enable instantiating model with pretrained backbone... | [
{
"path": "src/transformers/models/conditional_detr/configuration_conditional_detr.py",
"patch": "@@ -192,10 +192,16 @@ def __init__(\n if backbone_config is not None and use_timm_backbone:\n raise ValueError(\"You can't specify both `backbone_config` and `use_timm_backbone`.\")\n \n- ... | 2024-04-26T15:55:24 |
golang/go | de0957dc081e1ec49c99a0f37403ceadbaaedf85 | f1c400a06393aad55cd4758fc78ccd7aec379ec0 | cmd/go: relax version's error on unexpected flags
In https://golang.org/cl/221397 we made commands like "go version -v"
error, since both of the command's flags only make sense when arguments
follow them. Without arguments, the command only reports Go's own
version, and the flags are most likely a mistake.
However, t... | [
{
"path": "src/cmd/go/internal/base/goflags.go",
"patch": "@@ -130,3 +130,20 @@ func SetFromGOFLAGS(flags *flag.FlagSet) {\n \t\t}\n \t}\n }\n+\n+// InGOFLAGS returns whether GOFLAGS contains the given flag, such as \"-mod\".\n+func InGOFLAGS(flag string) bool {\n+\tfor _, goflag := range GOFLAGS() {\n+\t\t... | 2020-09-10T21:53:59 |
ggml-org/llama.cpp | 8fb717557638f819e668e87f6d7dc0f39eb09c68 | 516a4ca9b5f2fa72c2a71f412929a67cf76a6213 | model : clean up and fix EXAONE-MoE configuration (#18840)
* Fix mismatch of EXAONE-MoE configuration
* ensure gating func is set, cleanup
---------
Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com> | [
{
"path": "convert_hf_to_gguf.py",
"patch": "@@ -8772,11 +8772,7 @@ def set_gguf_parameters(self):\n self.gguf_writer.add_expert_weights_norm(self.hparams[\"norm_topk_prob\"])\n n_dense_layer = self.hparams.get(\"first_k_dense_replace\", self.hparams.get(\"first_last_k_dense_replace\", 0))\n... | 2026-01-14T18:38:21 |
nodejs/node | 932499ec10088713f58482c1a7ff59decf23f69d | 53f08841f85e112a2dabe6cc870f7e273b82588a | test: use fixtures module
PR-URL: https://github.com/nodejs/node/pull/15959
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: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Rich Trott <rtrott@gmail.... | [
{
"path": "test/parallel/test-fs-error-messages.js",
"patch": "@@ -20,15 +20,15 @@\n // USE OR OTHER DEALINGS IN THE SOFTWARE.\n \n 'use strict';\n-const common = require('../common');\n+require('../common');\n+const fixtures = require('../common/fixtures');\n const assert = require('assert');\n-const path ... | 2017-10-06T17:23:44 |
huggingface/transformers | dfa7b580e9863c38c2f0e0dedf0958c2eab9cb48 | 2de5cb12be7b7b3d5cf1f51880897a40879cb805 | [`BERT`] Add support for sdpa (#28802)
* Adding SDPA support for BERT
* Using the proper input name for testing model input in inference()
* Adding documentation for SDPA in BERT model page
* Use the stable link for the documentation
* Adding a gate to only call .contiguous() for torch < 2.2.0
* Additio... | [
{
"path": "docs/source/en/model_doc/bert.md",
"patch": "@@ -61,6 +61,53 @@ This model was contributed by [thomwolf](https://huggingface.co/thomwolf). The o\n \n - The model must predict the original sentence, but has a second objective: inputs are two sentences A and B (with a separation token in betwee... | 2024-04-26T15:23:44 |
ggml-org/llama.cpp | 47f9612492eafe665b6781aefc1afa3c85bae458 | 01cbdfd7eb3dd6c0512daddb487b4cf382a9b016 | llama-model: fix unfortunate typo (#18832) | [
{
"path": "src/llama-model.cpp",
"patch": "@@ -446,7 +446,7 @@ struct llama_model::impl {\n llama_mlocks mlock_bufs;\n llama_mlocks mlock_mmaps;\n \n- // contexts where the model tensors metadata is stored as well ass the corresponding buffers:\n+ // contexts where the model tensors metadata i... | 2026-01-14T09:55:15 |
golang/go | f1c400a06393aad55cd4758fc78ccd7aec379ec0 | 03875bd9bc112d25a4496f7ff22888f23a26baea | cmd/go: fix broken mod_outside test
Since CL 254369, 'go mod graph' now reports an error when invoked
outside a module. This broke the mod_outside test, which expected
'go mod graph' to succeed with no output.
Change-Id: Ic30ee68f1f4c4d33795bdf7df70a7631fb9395e5
Reviewed-on: https://go-review.googlesource.com/c/go/+/... | [
{
"path": "src/cmd/go/testdata/script/mod_outside.txt",
"patch": "@@ -69,10 +69,9 @@ go clean -n\n ! stdout .\n ! stderr .\n \n-# 'go mod graph' should not display anything, since there are no active modules.\n-go mod graph\n-! stdout .\n-! stderr .\n+# 'go mod graph' should fail, since there's no module gr... | 2020-09-15T14:14:15 |
nodejs/node | bd74fb4cee2557a2590b34afcce7eaf101c6b439 | f720b82e3979f9e920b13ac3b4a6191e862f6259 | test: fix stderr reference
PR-URL: https://github.com/nodejs/node/pull/15938
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> | [
{
"path": "test/parallel/test-child-process-silent.js",
"patch": "@@ -62,7 +62,7 @@ if (process.argv[2] === 'pipe') {\n stdoutData = true;\n });\n let stderrData = false;\n- parent.stdout.on('data', function() {\n+ parent.stderr.on('data', function() {\n stderrData = true;\n });\n ",
"ad... | 2017-10-06T17:25:41 |
ollama/ollama | 434a6f9d46aef19d50306adc6e7cba20538db989 | 84725ec7e3195e0d9ef2dece5ff4f8d8db5fb472 | return last error | [
{
"path": "server/download.go",
"patch": "@@ -149,9 +149,10 @@ func (b *blobDownload) run(ctx context.Context, requestURL *url.URL, opts *Regis\n \n \t\ti := i\n \t\tg.Go(func() error {\n+\t\t\tvar err error\n \t\t\tfor try := 0; try < maxRetries; try++ {\n \t\t\t\tw := io.NewOffsetWriter(file, part.StartsA... | 2023-11-03T23:49:51 |
rust-lang/rust | e3f42aa59fd9e325690bb32f10e865c9a6f47779 | cb08599451226d780b2490f1aa9b414fe9e36657 | compiler: bump `cc` to 1.2.16 to fix `x86` Windows jobs on newest Windows SDK
See <https://github.com/rust-lang/rust/issues/137733>. | [
{
"path": "Cargo.lock",
"patch": "@@ -407,9 +407,9 @@ version = \"0.1.0\"\n \n [[package]]\n name = \"cc\"\n-version = \"1.2.13\"\n+version = \"1.2.16\"\n source = \"registry+https://github.com/rust-lang/crates.io-index\"\n-checksum = \"c7777341816418c02e033934a09f20dc0ccaf65a5201ef8a450ae0105a573fda\"\n+ch... | 2025-02-28T13:10:21 |
huggingface/transformers | 20081c743ee2ce31d178f2182c7466c3313adcd2 | 59e715f71c5133cf342b94c002598fea8d7409b0 | Update `dtype_byte_size` to handle torch.float8_e4m3fn/float8_e5m2 types (#30488)
* Update modeling_utils/dtype_byte_size to handle float8 types
* Add a test for dtype_byte_size
* Format
* Fix bool | [
{
"path": "src/transformers/modeling_utils.py",
"patch": "@@ -324,7 +324,7 @@ def dtype_byte_size(dtype):\n \"\"\"\n if dtype == torch.bool:\n return 1 / 8\n- bit_search = re.search(r\"[^\\d](\\d+)$\", str(dtype))\n+ bit_search = re.search(r\"[^\\d](\\d+)_?\", str(dtype))\n if bit_... | 2024-04-26T10:26:43 |
ggml-org/llama.cpp | 01cbdfd7eb3dd6c0512daddb487b4cf382a9b016 | 635ef78ec5dda84b0708b67d97291c7ab6740a8d | CUDA : fix typo in clang pragma comment [no ci] (#18830) | [
{
"path": "ggml/src/ggml-cuda/fattn-vec.cuh",
"patch": "@@ -10,7 +10,7 @@ static constexpr __device__ int ggml_cuda_fattn_vec_get_nthreads_device() {\n return 128;\n }\n \n-// Currenlty llvm with the amdgcn target dose not support unrolling loops\n+// Currenlty llvm with the amdgcn target does not suppo... | 2026-01-14T09:31:49 |
golang/go | 03875bd9bc112d25a4496f7ff22888f23a26baea | e3063636124d0e5b2d0fad7912a9c6810629f486 | cmd/go: add modload.NeedRoot mode for commands that need module root
This makes error reporting a bit more consistent for 'go mod'
subcommands. Most of these commands only work in module mode when a
go.mod file is present.
Setting modload.ForceUseModules reports an error when GO111MODULE=off.
Setting modload.RootMod... | [
{
"path": "src/cmd/go/internal/modcmd/download.go",
"patch": "@@ -80,9 +80,7 @@ type moduleJSON struct {\n \n func runDownload(ctx context.Context, cmd *base.Command, args []string) {\n \t// Check whether modules are enabled and whether we're in a module.\n-\tif cfg.Getenv(\"GO111MODULE\") == \"off\" {\n-\t... | 2020-09-11T17:30:43 |
nodejs/node | f720b82e3979f9e920b13ac3b4a6191e862f6259 | 3b90bd006f6a585f5c992a249712d3b456d4e759 | test: fix typo
PR-URL: https://github.com/nodejs/node/pull/15938
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> | [
{
"path": "test/parallel/test-child-process-silent.js",
"patch": "@@ -74,17 +74,17 @@ if (process.argv[2] === 'pipe') {\n child.stdout.pipe(process.stdout, { end: false });\n \n let childSending = false;\n- let childReciveing = false;\n+ let childReceiving = false;\n child.on('message', function(mes... | 2017-10-06T17:25:26 |
ollama/ollama | fe5a8724443edcee92e1c44ce9b11ad4586531be | d39709260f29a8a556430b9edcb0ec5c33213595 | fix upload | [
{
"path": "server/images.go",
"patch": "@@ -1188,15 +1188,19 @@ func makeRequestWithRetry(ctx context.Context, method string, requestURL *url.UR\n \n \t\t\tregOpts.Token = token\n \t\t\tif body != nil {\n-\t\t\t\tif _, err := body.Seek(0, io.SeekStart); err != nil {\n-\t\t\t\t\treturn nil, err\n-\t\t\t\t}\n... | 2023-11-02T20:22:42 |
huggingface/transformers | 59e715f71c5133cf342b94c002598fea8d7409b0 | 19cfdf0fac5aa9e1045bc41c2cb12d2d51a851c6 | Fix the `bitsandbytes` error formatting ("Some modules are dispatched on ...") (#30494)
Fix the `bitsandbytes` error when some modules are not properly offloaded. | [
{
"path": "src/transformers/quantizers/quantizer_bnb_4bit.py",
"patch": "@@ -84,14 +84,12 @@ def validate_environment(self, *args, **kwargs):\n }\n if \"cpu\" in device_map_without_lm_head.values() or \"disk\" in device_map_without_lm_head.values():\n raise ValueError... | 2024-04-26T09:13:52 |
ggml-org/llama.cpp | 635ef78ec5dda84b0708b67d97291c7ab6740a8d | 7d587e5544bf9e781c198c55697b928663faf0b4 | vulkan: work around Intel fp16 bug in mmq (#18814) | [
{
"path": "ggml/src/ggml-vulkan/vulkan-shaders/mul_mmq_funcs.glsl",
"patch": "@@ -264,7 +264,7 @@ void block_a_to_shmem(const uint buf_ib, const uint ib, const uint iqs) {\n const i8vec2 scales = i8vec2(unpack8(uint32_t(((data_a_packed16[ib_k].scales[(is % 8 ) / 2] >> (4 * (is / 8))) & 0x0F0F) ... | 2026-01-14T08:41:23 |
golang/go | bae9cf651796db898b1e4bd77a1a47c5f2d7b04d | d20298e1c7d1df794a11ce7768e027c6759df2a4 | test: fix inline.go to pass linux-amd64-noopt
Updates #33485.
Change-Id: I3330860cdff1e9797466a7630bcdb7792c465b06
Reviewed-on: https://go-review.googlesource.com/c/go/+/254938
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
TryBot-Result: Go Bot <gobot@golang.... | [
{
"path": "test/inline.go",
"patch": "@@ -10,7 +10,6 @@\n package foo\n \n import (\n-\t\"errors\"\n \t\"runtime\"\n \t\"unsafe\"\n )\n@@ -50,7 +49,7 @@ func j(x int) int { // ERROR \"can inline j\"\n \t}\n }\n \n-var somethingWrong error = errors.New(\"something went wrong\") // ERROR \"can inline init\" \... | 2020-09-15T02:24:55 |
rust-lang/rust | a7970c0b271b3fc4c19f580977a44c46130c077a | 933d45fe8f29904f315161b9c42b96a72e3eefb4 | remove useless tests
they don't detect any bugs in the search graph. We instead check
for these via `search_graph_fuzz`. | [
{
"path": "tests/ui/traits/next-solver/cycles/double-cycle-inductive-coinductive.rs",
"patch": "@@ -1,37 +0,0 @@\n-//@ compile-flags: -Znext-solver\n-#![feature(rustc_attrs)]\n-\n-// Test that having both an inductive and a coinductive cycle\n-// is handled correctly.\n-\n-#[rustc_coinductive]\n-trait Trait... | 2025-02-17T14:25:06 |
nodejs/node | c35a3e004e17925a0591d7956c872a8400b9fb15 | b0965334cf416d8e4193477d0d0138ab89917dbc | test: use fixtures module in test-https-truncate
PR-URL: https://github.com/nodejs/node/pull/15875
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> | [
{
"path": "test/parallel/test-https-truncate.js",
"patch": "@@ -26,12 +26,11 @@ 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 \n-const fs = require('fs');\n-\n-const key =... | 2017-10-06T17:01:16 |
ggml-org/llama.cpp | d34aa07193d27aa04da9a77c63ee125ec614714a | f709c7a33fd89dd4de3f0eeccbfd2da8297fe9d3 | mmap: add Haiku support by skipping RLIMIT_MEMLOCK check (#18819)
Haiku OS does not support RLIMIT_MEMLOCK, similar to visionOS/tvOS.
Skip the resource limit check on Haiku to allow mlock functionality
to work without compile errors.
Tested on Haiku with NVIDIA RTX 3080 Ti using Vulkan backend. | [
{
"path": "src/llama-mmap.cpp",
"patch": "@@ -614,9 +614,9 @@ struct llama_mlock::impl {\n \n char* errmsg = std::strerror(errno);\n bool suggest = (errno == ENOMEM);\n-#if defined(TARGET_OS_VISION) || defined(TARGET_OS_TV) || defined(_AIX)\n- // visionOS/tvOS dont't support RLIMIT_ME... | 2026-01-14T07:11:05 |
huggingface/transformers | a98c41798cf6ed99e1ff17e3792d6e06a2ff2ff3 | 26ddc58047b14cf4567b78682d9d66070d297af7 | [docs] Spanish translation of pipeline_tutorial.md (#30252)
* add pipeline_webserver to es/
* add pipeline_webserver to es/, translate first section
* add comment for checking link
* translate pipeline_webserver
* edit pipeline_webserver
* fix typo | [
{
"path": "docs/source/es/_toctree.yml",
"patch": "@@ -100,4 +100,6 @@\n title: BERTología\n - local: perplexity\n title: Perplejidad de los modelos de longitud fija\n+ - local: pipeline_webserver\n+ title: Flujo de trabajo para la inferencia de los servidores web\n title: Guías conceptuales... | 2024-04-25T19:18:06 |
golang/go | d20298e1c7d1df794a11ce7768e027c6759df2a4 | f4936d09fd5a1fff890d63ee2ab9543243dc4da6 | cmd/compile: make funccompile non-reentrant
Currently, there's awkward reentrancy issue with funccompile:
funccompile -> compile -> dtypesym -> geneq/genhash/genwrapper -> funccompile
Though it's not a problem at this moment, some attempts by @mdempsky to
move order/walk/instrument into buildssa was failed, due ... | [
{
"path": "src/cmd/compile/internal/gc/alg.go",
"patch": "@@ -392,7 +392,7 @@ func genhash(t *types.Type) *obj.LSym {\n \t}\n \n \tfn.Func.SetNilCheckDisabled(true)\n-\tfunccompile(fn)\n+\txtop = append(xtop, fn)\n \n \t// Build closure. It doesn't close over any variables, so\n \t// it contains just the fu... | 2020-09-14T03:38:45 |
rust-lang/rust | 933d45fe8f29904f315161b9c42b96a72e3eefb4 | edadb54f6f731727383569045e91b908a0ea854d | fix typo | [
{
"path": "compiler/rustc_next_trait_solver/src/solve/normalizes_to/inherent.rs",
"patch": "@@ -39,7 +39,7 @@ where\n //\n // FIXME(-Znext-solver=coinductive): I think this should be split\n // and we tag the impl bounds with `GoalSource::ImplWhereBound`?\n- // Right not this ... | 2025-02-10T15:14:52 |
ollama/ollama | c4cc738cbfd1cc0481aac9626c34c7b604c7e7fd | 2c6189f4fe5c3a00454c7fe6a6e42c4d98a144a4 | fix log | [
{
"path": "server/upload.go",
"patch": "@@ -104,7 +104,7 @@ func (b *blobUpload) Prepare(ctx context.Context, requestURL *url.URL, opts *Reg\n \t\toffset += size\n \t}\n \n-\tlog.Printf(\"uploading %s in %d %s part(s)\", b.Digest[7:19], len(b.Parts), format.HumanBytes(size))\n+\tlog.Printf(\"uploading %s in... | 2023-11-02T00:18:03 |
nodejs/node | b0965334cf416d8e4193477d0d0138ab89917dbc | 5887d80351b453f500c09e53edbee769031016d7 | test: use fixtures module
PR-URL: https://github.com/nodejs/node/pull/15874
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> | [
{
"path": "test/parallel/test-tls-getcipher.js",
"patch": "@@ -27,13 +27,14 @@ if (!common.hasCrypto)\n \n const assert = require('assert');\n const tls = require('tls');\n+// import fixtures directly from its module\n+const fixtures = require('../common/fixtures');\n \n-const fs = require('fs');\n const ci... | 2017-10-06T16:58:34 |
huggingface/transformers | f39627125b3778f98bbb202525790cf33a684c54 | bc274a28a9a72c5fe98b070e2083fe689c8fd5e9 | Add sidebar tutorial for chat models (#30401)
* Draft tutorial for talking to chat models
* Reformat lists and text snippets
* Cleanups and clarifications
* Finish up remaining TODOs
* Correct section link
* Small fix
* Add proper quantization examples
* Add proper quantization examples
* Add p... | [
{
"path": "docs/source/en/_toctree.yml",
"patch": "@@ -27,6 +27,8 @@\n title: Agents\n - local: llm_tutorial\n title: Generation with LLMs\n+ - local: conversations\n+ title: Chatting with Transformers\n title: Tutorials\n - sections:\n - isExpanded: false",
"additions": 2,
"deleti... | 2024-04-25T18:38:48 |
rust-lang/rust | edadb54f6f731727383569045e91b908a0ea854d | 46faf4bed643172fd0e04b28d93a3288fa998e99 | fix rustc_type_ir without the nightly feature | [
{
"path": "compiler/rustc_type_ir/Cargo.toml",
"patch": "@@ -16,7 +16,7 @@ rustc_macros = { path = \"../rustc_macros\", optional = true }\n rustc_serialize = { path = \"../rustc_serialize\", optional = true }\n rustc_span = { path = \"../rustc_span\", optional = true }\n rustc_type_ir_macros = { path = \"..... | 2025-02-10T14:30:42 |
golang/go | 237410547bb81ae3c58e9c5bf0cf59edc989e243 | 506eb0a9b1a7051f64788f330ea26722fa293f3c | cmd/compile: better dclcontext handling in func{hdr,body}
funchdr and funcbody currently assume that either (1) Curfn == nil &&
dclcontext == PEXTERN, or (2) Curfn != nil && dclcontext == PAUTO.
This is a reasonable assumption during parsing. However, these
functions end up getting used in other contexts, and not all ... | [
{
"path": "src/cmd/compile/internal/gc/dcl.go",
"patch": "@@ -382,14 +382,11 @@ func ifacedcl(n *Node) {\n // returns in auto-declaration context.\n func funchdr(n *Node) {\n \t// change the declaration context from extern to auto\n-\tif Curfn == nil && dclcontext != PEXTERN {\n-\t\tFatalf(\"funchdr: dclcon... | 2020-09-14T19:53:36 |
ggml-org/llama.cpp | 6e36299b472b284c008b6ae85cb475f10e4de69b | 60591f01d433f3fc7603d5273fbe361bd05a3507 | llama : print_info alignment fix (#18708)
* fix text spacing in print_info
* align all | [
{
"path": "src/llama-model.cpp",
"patch": "@@ -7211,59 +7211,59 @@ void llama_model::print_info() const {\n };\n \n // hparams\n- LLAMA_LOG_INFO(\"%s: arch = %s\\n\", __func__, arch_name().c_str());\n- LLAMA_LOG_INFO(\"%s: vocab_only = %d\\n\", __func__, hparams.vocab... | 2026-01-13T23:05:11 |
huggingface/transformers | e60491adc945f112d2fd410652f43d7149f0122c | ad697f18016cf5eb4be48f9552c69c2421aa5581 | Fix Llava for 0-embeddings (#30473) | [
{
"path": "src/transformers/models/llava/modeling_llava.py",
"patch": "@@ -327,8 +327,11 @@ def _merge_input_ids_with_image_features(self, image_features, inputs_embeds, in\n if labels is not None:\n final_labels[batch_indices, text_to_overwrite] = labels[batch_indices, non_image_indices... | 2024-04-25T15:28:51 |
nodejs/node | 5887d80351b453f500c09e53edbee769031016d7 | 8597a18cdbb339abd20a2342d263c8eee3bc51e8 | test: use fixtures module
PR-URL: https://github.com/nodejs/node/pull/15872
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> | [
{
"path": "test/parallel/test-tls-inception.js",
"patch": "@@ -21,20 +21,19 @@\n \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 tls = requi... | 2017-10-06T16:54:41 |
rust-lang/rust | 786fc1b0a78b424c06d9d08f00fa0dcff980bbdb | cb08599451226d780b2490f1aa9b414fe9e36657 | Fix typo in query expansion documentation | [
{
"path": "compiler/rustc_middle/src/query/plumbing.rs",
"patch": "@@ -258,7 +258,7 @@ macro_rules! query_if_arena {\n };\n }\n \n-/// If `separate_provide_if_extern`, then the key can be projected to its\n+/// If `separate_provide_extern`, then the key can be projected to its\n /// local key via `<$K a... | 2025-02-28T09:32:57 |
ggml-org/llama.cpp | e4832e3ae4d58ac0ecbdbf4ae055424d6e628c9f | 960e5e3b46f211b3c4446ce8380e88404274dbce | vocab : fix attribute overrides for harmony (#18806)
* vocab : fix attribute overrides for harmony
* cont : add warning log | [
{
"path": "src/llama-vocab.cpp",
"patch": "@@ -2436,7 +2436,10 @@ void llama_vocab::impl::load(llama_model_loader & ml, const LLM_KV & kv) {\n auto & attr = id_to_token[t.second].attr;\n \n if (t.first == \"<|channel|>\" || t.first == \"<|message|>\" || t.first == \"<|start|>\" || t.... | 2026-01-13T15:40:13 |
golang/go | 506eb0a9b1a7051f64788f330ea26722fa293f3c | 114719e16e9681bd1001326598ededa719c17944 | Revert "encoding/json: implement Is on SyntaxError"
This reverts CL 253037.
Reason for revert: The recommended way to check for a type of error is errors.As. API changes should also start with a proposal.
Change-Id: I62896717aa47ed491c2c4775d2b05d80e5e9cde3
Reviewed-on: https://go-review.googlesource.com/c/go/+/2548... | [
{
"path": "src/encoding/json/scanner.go",
"patch": "@@ -49,12 +49,6 @@ type SyntaxError struct {\n \n func (e *SyntaxError) Error() string { return e.msg }\n \n-// Is returns true if target is a SyntaxError.\n-func (e *SyntaxError) Is(target error) bool {\n-\t_, ok := target.(*SyntaxError)\n-\treturn ok\n-}... | 2020-09-14T20:59:50 |
huggingface/transformers | ad697f18016cf5eb4be48f9552c69c2421aa5581 | 86f2569738793f9fa45e55f1047a70399bf3c2ad | Introduce Stateful Callbacks (#29666)
* Introduce saveable callbacks
* Add note
* Test for non-present and flag
* Support early stopping and refusing to train further
* Update docstring
* More saving
* Import oopsie
* Apply suggestions from code review
Co-authored-by: amyeroberts <22614925+amye... | [
{
"path": "src/transformers/trainer.py",
"patch": "@@ -78,6 +78,7 @@\n from .trainer_callback import (\n CallbackHandler,\n DefaultFlowCallback,\n+ ExportableState,\n PrinterCallback,\n ProgressCallback,\n TrainerCallback,\n@@ -649,12 +650,15 @@ def __init__(\n else:\n ... | 2024-04-25T15:00:09 |
ollama/ollama | bf6786bb398d81ed482e9cd3176fd629787edabc | ad88799411f2e928e09085ec8885fc84c2e9e4f1 | fix tautology | [
{
"path": "cmd/cmd.go",
"patch": "@@ -102,16 +102,14 @@ func RunHandler(cmd *cobra.Command, args []string) error {\n \tname := args[0]\n \t// check if the model exists on the server\n \t_, err = client.Show(context.Background(), &api.ShowRequest{Name: name})\n-\tif err != nil {\n-\t\tvar statusError api.Sta... | 2023-11-01T03:49:48 |
nodejs/node | 8597a18cdbb339abd20a2342d263c8eee3bc51e8 | ef96b05c741cd2ab3434e89bcb9bf5b54b568c3a | test: replace fixturesDir with fixtures module
PR-URL: https://github.com/nodejs/node/pull/15840
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> | [
{
"path": "test/parallel/test-global.js",
"patch": "@@ -24,9 +24,9 @@\n \n /* eslint-disable strict */\n const common = require('../common');\n+const fixtures = require('../common/fixtures');\n \n const assert = require('assert');\n-const path = require('path');\n \n common.globalCheck = false;\n \n@@ -40,7... | 2017-10-06T16:34:59 |
ggml-org/llama.cpp | 960e5e3b46f211b3c4446ce8380e88404274dbce | 20ca2e12c40bb1b17b22b8acef22bf559a6f91c3 | llama-mmap: fix direct-io loading fallback EOF exception (#18801) | [
{
"path": "src/llama-mmap.cpp",
"patch": "@@ -244,11 +244,14 @@ struct llama_file::impl {\n }\n errno = 0;\n if (fd == -1) {\n- std::size_t ret = std::fread(ptr, len, 1, fp);\n+ const size_t curr_off = tell();\n+ const size_t to_read = std::min(len, s... | 2026-01-13T14:57:07 |
golang/go | 114719e16e9681bd1001326598ededa719c17944 | a408139bb0166f6e0a5d9fd17fc934da960c354e | Revert "encoding/json: implement Is on all errors"
This reverts CL 254537.
Reason for revert: Reason for revert: The recommended way to check for a type of error is errors.As. API changes should also start with a proposal.
Change-Id: I07c37428575e99c80b17525833a61831d10963bb
Reviewed-on: https://go-review.googlesour... | [
{
"path": "src/encoding/json/decode.go",
"patch": "@@ -136,12 +136,6 @@ func (e *UnmarshalTypeError) Error() string {\n \treturn \"json: cannot unmarshal \" + e.Value + \" into Go value of type \" + e.Type.String()\n }\n \n-// Is returns true if target is a UnmarshalTypeError.\n-func (e *UnmarshalTypeError)... | 2020-09-14T21:00:52 |
huggingface/transformers | 928331381ef6ce0622c0b1ac704299046b3afa21 | 7b1170b0faa49a33322415a2f6f8b398fd8fbcc7 | Fix Issue #29817 Video Classification Task Guide Using Undeclared Variables (#30457)
* Fix issue #29817
Video Classification Task Guide Using Undeclared Variables
* Update docs/source/en/tasks/video_classification.md
updated with review comments
Co-authored-by: amyeroberts <22614925+amyeroberts@users.norep... | [
{
"path": "docs/source/en/tasks/video_classification.md",
"patch": "@@ -104,6 +104,31 @@ UCF101_subset/\n ...\n ```\n \n+You can then count the number of total videos.\n+\n+```py \n+>>> import pathlib\n+>>> dataset_root_path = \"UCF101_subset\"\n+>>> dataset_root_path = pathlib.Path(dataset_root_pat... | 2024-04-25T12:49:30 |
ggml-org/llama.cpp | ea4a321f2a607ca315d998f0656fd255715884a6 | c1e79e610fd28f2c3923539fee9313734bbf8cfa | HIP: add fattn-mma-f16 for RDNA4 (#18481)
* finish VQ mma
* flash_attn_ext_f16_iter
* KQ_rowsum
* correct exp
* fix scale error
* fix softmax scale
* fix softmax scale
* enable fattn on cpu side
* fix random error
* disable fattn-mma-f16 on rdna3
* fix wrong col for rdna
* use identity mat to transpose
* r... | [
{
"path": "ggml/src/ggml-cuda/common.cuh",
"patch": "@@ -262,6 +262,10 @@ static const char * cu_get_error_str(CUresult err) {\n #define FLASH_ATTN_AVAILABLE\n #endif // !defined(GGML_CUDA_NO_FA) && !(defined(GGML_USE_MUSA) && __MUSA_ARCH__ < 220)\n \n+#if defined(TURING_MMA_AVAILABLE)\n+#define LDMATRIX_TR... | 2026-01-13T12:52:16 |
rust-lang/rust | 637dbe56fa651c8ce1f37fb8c78c959a55742e46 | d4b92f4b682eb7d856f09a3f58adc6338b5f5e9c | Fix prefix adjustment hints unnecessarily introducing parens | [
{
"path": "src/tools/rust-analyzer/crates/ide/src/inlay_hints/adjustment.rs",
"patch": "@@ -260,7 +260,7 @@ fn needs_parens_for_adjustment_hints(expr: &ast::Expr, postfix: bool) -> (bool,\n if postfix {\n // postfix ops have higher precedence than any other operator, so we need to wrap\n ... | 2025-02-28T08:45:24 |
huggingface/transformers | 7b1170b0faa49a33322415a2f6f8b398fd8fbcc7 | 90cb55bf773d6879441616e6378d16971b557868 | Add WSD scheduler (#30231)
* Added WSD scheduler.
* Added tests.
* Fixed errors.
* Fix formatting.
* CI fixes. | [
{
"path": "docs/source/en/main_classes/optimizer_schedules.md",
"patch": "@@ -66,6 +66,8 @@ The `.optimization` module provides:\n \n [[autodoc]] get_inverse_sqrt_schedule\n \n+[[autodoc]] get_wsd_schedule\n+\n ### Warmup (TensorFlow)\n \n [[autodoc]] WarmUp",
"additions": 2,
"deletions": 0,
"la... | 2024-04-25T11:07:21 |
golang/go | a408139bb0166f6e0a5d9fd17fc934da960c354e | 57646534297a9bd193e6aaa4239c98984f371b97 | testing: fix panicking tests hang if Cleanup calls FailNow
Previously, it was impossible to call FailNow in a Cleanup.
Because it can terminate a panicking goroutine and cause its
parent hangs on t.signal channel. This CL sends the signal
in a deferred call to prevent the hang.
Fixes #41355
Change-Id: I4552d3a7ea763... | [
{
"path": "src/cmd/go/testdata/script/test_cleanup_failnow.txt",
"patch": "@@ -0,0 +1,33 @@\n+# For issue 41355\n+[short] skip\n+\n+! go test -v cleanup_failnow/panic_nocleanup_test.go\n+stdout '(?s)panic: die \\[recovered\\].*panic: die'\n+! stdout '(?s)panic: die \\[recovered\\].*panic: die.*panic: die'\n... | 2020-09-14T08:24:59 |
ollama/ollama | 874bb31986ad723487c95fed12a0c3c8a70f4e8e | f9a42811248620106adea733ab3713f631c84ae5 | Fix conversion command for gptneox (#948) | [
{
"path": "docs/import.md",
"patch": "@@ -185,7 +185,7 @@ python convert.py <path to model directory>\n python convert-falcon-hf-to-gguf.py <path to model directory>\n \n # GPTNeoXForCausalLM\n-python convert-falcon-hf-to-gguf.py <path to model directory>\n+python convert-gptneox-hf-to-gguf.py <path to mode... | 2023-10-30T18:34:29 |
rust-lang/rust | 41dd80aeaa706c169df62bdf16033b61b914cb87 | 96cfc75584359ae7ad11cc45968059f29e7b44b7 | add test to reproduce #137662 (using ty decl macro fragment in an attr) and fix it | [
{
"path": "compiler/rustc_attr_parsing/src/parser.rs",
"patch": "@@ -473,6 +473,15 @@ impl<'a> MetaItemListParserContext<'a> {\n {\n self.inside_delimiters.next();\n return Some(MetaItemOrLitParser::Lit(lit));\n+ } else if let Some(TokenTree::Delimited(.., Delimiter::I... | 2025-02-26T13:29:19 |
ggml-org/llama.cpp | e047f9ee9d6d54c5c7d58de82c71103ca2c26b6c | 0a57271ab66ac52057e13f6658ecedf5d338c0be | mtmd: fix use_non_causal being reported incorrectly (#18793)
* mtmd: fix use_non_causal being reported incorrectly
* move clip_is_mrope to mtmd_decode_use_mrope
* fix sloppy code ggml_cpy | [
{
"path": "src/models/gemma3n-iswa.cpp",
"patch": "@@ -258,12 +258,12 @@ ggml_tensor * llm_build_gemma3n_iswa::get_per_layer_inputs() {\n res->add_input(std::move(inp));\n } else {\n // Vision embedding path: use padding token (ID=0) embedding\n+ // TODO: verify if this is the cor... | 2026-01-13T11:19:38 |
huggingface/transformers | 90cb55bf773d6879441616e6378d16971b557868 | ce5ae5a434ee87204f77da356476d14ab0e0afd7 | 🚨 Add training compatibility for Musicgen-like models (#29802)
* first modeling code
* make repository
* still WIP
* update model
* add tests
* add latest change
* clean docstrings and copied from
* update docstrings md and readme
* correct chroma function
* correct copied from and remove u... | [
{
"path": "src/transformers/models/auto/modeling_auto.py",
"patch": "@@ -161,6 +161,8 @@\n (\"mpt\", \"MptModel\"),\n (\"mra\", \"MraModel\"),\n (\"mt5\", \"MT5Model\"),\n+ (\"musicgen\", \"MusicgenModel\"),\n+ (\"musicgen_melody\", \"MusicgenMelodyModel\"),\n (... | 2024-04-25T10:51:19 |
golang/go | 57646534297a9bd193e6aaa4239c98984f371b97 | 14c7caae5074fdf0d97a3ad995e20c63e4065cbf | cmd/api: omit outside dependencies when listing the packages in "std"
As of CL 251159, when 'go list -deps std' is run within GOROOT/src, it
treats the vendored external dependencies as real module dependencies,
not standard-library "vendor/" packages (which still exist in that
case, but are treated as distinct packag... | [
{
"path": "src/cmd/api/goapi.go",
"patch": "@@ -87,7 +87,10 @@ var contexts = []*build.Context{\n func contextName(c *build.Context) string {\n \ts := c.GOOS + \"-\" + c.GOARCH\n \tif c.CgoEnabled {\n-\t\treturn s + \"-cgo\"\n+\t\ts += \"-cgo\"\n+\t}\n+\tif c.Dir != \"\" {\n+\t\ts += fmt.Sprintf(\" [%s]\", ... | 2020-09-14T14:19:47 |
ollama/ollama | f7856a57ebd87f473842d458d5e077ffab5fa47f | 8d03bd7b54c69d3aee3a07020ff4fe828faf988e | fix: private gpt example was broken due to changes in chroma
Signed-off-by: Matt Williams <m@technovangelist.com> | [
{
"path": "examples/langchain-python-rag-privategpt/constants.py",
"patch": "@@ -6,7 +6,7 @@\n \n # Define the Chroma settings\n CHROMA_SETTINGS = Settings(\n- chroma_db_impl='duckdb+parquet',\n+ # chroma_db_impl='duckdb+parquet',\n persist_directory=PERSIST_DIRECTORY,\n anonym... | 2023-10-30T17:56:25 |
ggml-org/llama.cpp | 0a57271ab66ac52057e13f6658ecedf5d338c0be | 076b0faf7ddbcf9c1c68b90be2a47497a57141c2 | CUDA : fix unused argument when USE_CUDA_GRAPH=OFF (#18800) | [
{
"path": "ggml/src/ggml-cuda/ggml-cuda.cu",
"patch": "@@ -3737,6 +3737,7 @@ static bool ggml_cuda_graph_set_enabled(ggml_backend_cuda_context * cuda_ctx) {\n \n return cuda_ctx->cuda_graph->is_enabled();\n #else\n+ GGML_UNUSED(cuda_ctx);\n return false;\n #endif // USE_CUDA_GRAPH\n }",
"addi... | 2026-01-13T10:25:53 |
nodejs/node | 33f5014b373c567cbf2e79328624c313618eb8a2 | d7456ab2ebb3d4c45deb09420271f0da437685f8 | 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": "common.gypi",
"patch": "@@ -27,7 +27,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.1',\n+ 'v8_embedder_string': '-node.2',\n \n # Enable disassembler for `--print-code... | 2017-09-20T17:08:26 |
huggingface/transformers | ce5ae5a434ee87204f77da356476d14ab0e0afd7 | aca4a1037f27eee203bb4b506b454209efbe8678 | Prevent crash with `WandbCallback` with third parties (#30477)
* Use EAFP principle to prevent crash with third parties
* Remove leftover debugging code
* Add info-level logger message | [
{
"path": "src/transformers/integrations/integration_utils.py",
"patch": "@@ -786,15 +786,10 @@ def setup(self, args, state, model, **kwargs):\n self._wandb.run._label(code=\"transformers_trainer\")\n \n # add number of model parameters to wandb config\n- if any(\n- ... | 2024-04-25T10:49:06 |
golang/go | 14c7caae5074fdf0d97a3ad995e20c63e4065cbf | c0c396bd6ad2aea40f7f302711c8b89e20feb371 | runtime: add 24 byte allocation size class
This CL introduces a 24 byte allocation size class which
fits 3 pointers on 64 bit and 6 pointers on 32 bit architectures.
Notably this new size class fits a slice header on 64 bit
architectures exactly while previously a 32 byte size class
would have been used for allocatin... | [
{
"path": "src/runtime/mbitmap.go",
"patch": "@@ -30,10 +30,9 @@\n // indicates scanning can ignore the rest of the allocation.\n //\n // The 2-bit entries are split when written into the byte, so that the top half\n-// of the byte contains 4 high bits and the bottom half contains 4 low (pointer)\n-// bits.... | 2020-07-13T16:12:20 |
ollama/ollama | 9ec16f0f037720bb36681cb7534c078c6285c976 | 57a58db1b0cfb253de31724e756f23bde9a61650 | fix formatting when exiting `ollama run` | [
{
"path": "cmd/cmd.go",
"patch": "@@ -561,6 +561,7 @@ func generateInteractive(cmd *cobra.Command, model string) error {\n \t\tline, err := scanner.Readline()\n \t\tswitch {\n \t\tcase errors.Is(err, io.EOF):\n+\t\t\tfmt.Println()\n \t\t\treturn nil\n \t\tcase errors.Is(err, readline.ErrInterrupt):\n \t\t\t... | 2023-10-28T04:26:23 |
ggml-org/llama.cpp | 076b0faf7ddbcf9c1c68b90be2a47497a57141c2 | db79dc06b14d8d4c5f6b49c0191444689e6a5db3 | graph : clean up t5 input builders (#18795)
* fix: Remove unnecessary `h` loops where `h` was only ever 0
Branch: CleanUpT5InputBuilders
Signed-off-by: Gabe Goodhart <ghart@us.ibm.com>
* fix: Remove unnecessary padding loop that is never hit anymore
The upper bound used to use GGML_PAD(n_tokens, GGML_KQ_MASK_PAD),... | [
{
"path": "src/llama-graph.cpp",
"patch": "@@ -96,11 +96,9 @@ void llm_graph_input_pos_bucket::set_input(const llama_ubatch * ubatch) {\n \n int32_t * data = (int32_t *) pos_bucket->data;\n \n- for (int h = 0; h < 1; ++h) {\n- for (int j = 0; j < n_tokens; ++j) {\n- ... | 2026-01-13T08:43:51 |
huggingface/transformers | 4fed29e3a4ba5aa4cc01f39caf78b725325afea5 | 30ee508c6c92a1c0aa0281d193c7c0fb815b8d2f | Fix SigLip classification doctest (#30475)
* Fix SigLip classification doctest
* Remove extra line
* Update src/transformers/models/siglip/modeling_siglip.py | [
{
"path": "src/transformers/models/siglip/modeling_siglip.py",
"patch": "@@ -1258,7 +1258,7 @@ def forward(\n >>> # model predicts one of the two classes\n >>> predicted_class_idx = logits.argmax(-1).item()\n >>> print(\"Predicted class:\", model.config.id2label[predicted_class_idx])... | 2024-04-25T10:13:53 |
rust-lang/rust | 86945c0a545643457e551a78e8c2a90355d0f17c | f45d4acf1bb635aa010f19f8a749eed8293203b3 | Tweak incorrect ABI suggestion
Provide a better suggestion message, and make the suggestion verbose.
```
error[E0703]: invalid ABI: found `riscv-interrupt`
--> $DIR/riscv-discoverability-guidance.rs:17:8
|
LL | extern "riscv-interrupt" fn isr() {}
| ^^^^^^^^^^^^^^^^^ invalid ABI
|
= note: invoke ... | [
{
"path": "compiler/rustc_ast_lowering/messages.ftl",
"patch": "@@ -88,7 +88,7 @@ ast_lowering_invalid_abi_clobber_abi =\n invalid ABI for `clobber_abi`\n .note = the following ABIs are supported on this target: {$supported_abis}\n \n-ast_lowering_invalid_abi_suggestion = did you mean\n+ast_lowering... | 2025-02-28T03:35:13 |
nodejs/node | d7456ab2ebb3d4c45deb09420271f0da437685f8 | 2780f01392a43a0714d7f5c871eb73c04f4551e8 | deps: cherry-pick 9b21865822243 from V8 upstream
Original commit message:
[api] Add optional data pointer to GC callbacks
This can be useful when there may be multiple callbacks attached by
code that's not directly tied to a single isolate, e.g. working
on a per-context basis.
This also allows r... | [
{
"path": "common.gypi",
"patch": "@@ -27,7 +27,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.0',\n+ 'v8_embedder_string': '-node.1',\n \n # Enable disassembler for `--print-code... | 2017-09-08T13:36:50 |
golang/go | 86dbeefe1f2770daad3c8d8b46a8b7f21b2c69e1 | 4f5cd0c0331943c7ec72df3b827d972584f77833 | syscall: fix fsync for read-only files on aix
AIX fsync syscall doesn't work on read-only files. Using fsync_range
instead allows syscall.Fsync to work on any files.
Fixes #41372
Change-Id: I66d33e847875496af53da60828c1bddf6c2b76b7
Reviewed-on: https://go-review.googlesource.com/c/go/+/254657
Run-TryBot: Tobias Klau... | [
{
"path": "src/syscall/syscall_aix.go",
"patch": "@@ -214,6 +214,11 @@ func Wait4(pid int, wstatus *WaitStatus, options int, rusage *Rusage) (wpid int,\n \treturn\n }\n \n+//sys\tfsyncRange(fd int, how int, start int64, length int64) (err error) = fsync_range\n+func Fsync(fd int) error {\n+\treturn fsyncRan... | 2020-09-14T11:06:40 |
ggml-org/llama.cpp | 4150da9a956d0587a3e8a08e69940f9a27f88e5c | 8e2da778dab89990590c68c69db06208a9c11e31 | examples : add --kv-unified to batched example (#18774)
This commit adds the --kv-unified flag to the batched example. This flag
is currently specified in the README.md as required, but is currently
not available as a command line option for the batched example.
The motivation for this is that specifying this flag as... | [
{
"path": "common/arg.cpp",
"patch": "@@ -1295,7 +1295,7 @@ common_params_context common_params_parser_init(common_params & params, llama_ex\n [](common_params & params) {\n params.kv_unified = true;\n }\n- ).set_env(\"LLAMA_ARG_KV_UNIFIED\").set_examples({LLAMA_EXAMPLE_SERVER... | 2026-01-12T12:47:58 |
huggingface/transformers | 30ee508c6c92a1c0aa0281d193c7c0fb815b8d2f | c60749d6a67d223d65a2fb6105c2459f3469a30d | Script for finding candidate models for deprecation (#29686)
* Add utility for finding candidate models for deprecation
* Better model filtering
* Update
* Add warning tip
* Fix up
* Review comments
* Filter requests based on tags
* Add copyright header | [
{
"path": "utils/models_to_deprecate.py",
"patch": "@@ -0,0 +1,199 @@\n+# Copyright 2024 The HuggingFace Team. All rights reserved.\n+#\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance with the License.\n+# You may obtain a copy of the ... | 2024-04-25T09:10:01 |
rust-lang/rust | b67b6c05032e98a5984ebb39f581125e7d0b48b9 | f45d4acf1bb635aa010f19f8a749eed8293203b3 | Fix sized constraint for unsafe binder | [
{
"path": "compiler/rustc_ty_utils/src/ty.rs",
"patch": "@@ -37,8 +37,6 @@ fn sized_constraint_for_ty<'tcx>(tcx: TyCtxt<'tcx>, ty: Ty<'tcx>) -> Option<Ty<'\n | Never\n | Dynamic(_, _, ty::DynStar) => None,\n \n- UnsafeBinder(_) => todo!(),\n-\n // these are never sized\n ... | 2025-02-28T03:17:02 |
ollama/ollama | 474860961114c9255db80be88abe7a089eca679f | c0dcea1398792218e5faa3b4e6f6c9f7fa49dd21 | Don't quit ioloop on `NUL` character (#940)
* dont quit ioloop on 0 rune
* check for closed channel
* remove unused error on `Close()` | [
{
"path": "readline/buffer.go",
"patch": "@@ -45,7 +45,7 @@ func (b *Buffer) MoveLeft() {\n \t\tif b.Pos%b.LineWidth == 0 {\n \t\t\tfmt.Printf(CursorUp + CursorBOL + cursorRightN(b.Width))\n \t\t} else {\n-\t\t\tfmt.Printf(CursorLeft)\n+\t\t\tfmt.Print(CursorLeft)\n \t\t}\n \t\tb.Pos -= 1\n \t}\n@@ -78,7 +7... | 2023-10-28T03:01:48 |
nodejs/node | 2780f01392a43a0714d7f5c871eb73c04f4551e8 | 33b2b10b687aff47f689f7bd9a92bd1816de8650 | deps: backport b096c44 from upstream V8
Original commit message:
[build] Introduce an embedder version string
Sometimes, the embedder might want to merge a fix to an abandoned branch
or to a supported branch but the fix is not relevant to Chromium.
This adds a new version string that the embedder can... | [
{
"path": "deps/v8/BUILD.gn",
"patch": "@@ -40,6 +40,9 @@ declare_args() {\n # Embeds the given script into the snapshot.\n v8_embed_script = \"\"\n \n+ # Allows the embedder to add a custom suffix to the version string.\n+ v8_embedder_string = \"\"\n+\n # Sets -dENABLE_DISASSEMBLER.\n v8_enable_d... | 2017-10-18T16:27:07 |
golang/go | 4f5cd0c0331943c7ec72df3b827d972584f77833 | 66e66e71132034aa620ffbae9008f951da0f9f27 | net/http/cgi,net/http/fcgi: add Content-Type detection
This CL ensures that responses served via CGI and FastCGI
have a Content-Type header based on the content of the
response if not explicitly set by handlers.
If the implementers of the handler did not explicitly
specify a Content-Type both CGI implementations woul... | [
{
"path": "src/net/http/cgi/child.go",
"patch": "@@ -166,10 +166,12 @@ func Serve(handler http.Handler) error {\n }\n \n type response struct {\n-\treq *http.Request\n-\theader http.Header\n-\tbufw *bufio.Writer\n-\theaderSent bool\n+\treq *http.Request\n+\theader http.He... | 2020-08-26T06:53:03 |
huggingface/transformers | c60749d6a67d223d65a2fb6105c2459f3469a30d | e9b1635478994f253b6e6f118ecfb88af5a47b94 | [fix codellama conversion] (#30472)
* fix codellama conversion
* nit | [
{
"path": "src/transformers/convert_slow_tokenizer.py",
"patch": "@@ -1395,14 +1395,14 @@ def tokenizer(self, proto):\n def normalizer(self, proto):\n if getattr(self.original_tokenizer, \"legacy\", True):\n sequence = []\n- if getattr(self.original_tokenizer, \"add_prefix... | 2024-04-25T08:56:48 |
ggml-org/llama.cpp | 2bbe4c2cf8298114e3908e285125b9d0d1c5bb42 | 1051ecd28907d2ca0a15c135f190fe415d0a3d1b | vulkan: Use VK_EXT_shader_64bit_indexing to handle large mat_mul(_id) (#18678)
This fixes incoherent output in Llama-4-Maverick-17B-128E-PAB-Q8_0, which
has a mul_mat_id with an A matrix that's Q8_0 8192 x 5120 x 128.
This should work when the number of blocks in the A matrix is less than 2^32
(for mul_mat_vec or mul... | [
{
"path": "ggml/src/ggml-vulkan/ggml-vulkan.cpp",
"patch": "@@ -119,6 +119,8 @@ struct ggml_backend_vk_context;\n // Max number of adds that can be fused without exceeding MAX_PARAMETER_COUNT.\n #define MAX_FUSED_ADDS (MAX_PARAMETER_COUNT - 3)\n \n+typedef std::shared_ptr<struct vk_pipeline_struct> vk_pipel... | 2026-01-12T11:32:13 |
rust-lang/rust | b2bb7cc8ae45e8852e4b76fa10408a1eed626412 | f45d4acf1bb635aa010f19f8a749eed8293203b3 | Fix char count in Display for ByteStr | [
{
"path": "library/core/src/bstr.rs",
"patch": "@@ -151,7 +151,9 @@ impl fmt::Display for ByteStr {\n };\n let nchars: usize = self\n .utf8_chunks()\n- .map(|chunk| chunk.valid().len() + if chunk.invalid().is_empty() { 0 } else { 1 })\n+ .map(|chunk| {\n+ ... | 2025-02-28T03:06:06 |
nodejs/node | 33b2b10b687aff47f689f7bd9a92bd1816de8650 | 8f9e738a692a4617c905cd622473b0bc53630a62 | src: fix rename of entry frame in v8abbr.h
PR-URL: https://github.com/nodejs/node/pull/15362
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> | [
{
"path": "src/v8abbr.h",
"patch": "@@ -35,7 +35,7 @@\n \n /* Stack frame types */\n #define V8_FT_ENTRY V8DBG_FRAMETYPE_ENTRYFRAME\n-#define V8_FT_ENTRYCONSTRUCT V8DBG_FRAMETYPE_ENTRYCONSTRUCTFRAME\n+#define V8_FT_ENTRYCONSTRUCT V8DBG_FRAMETYPE_CONSTRUCTENTRYFRAME\n #define V8... | 2017-08-29T17:21:29 |
huggingface/transformers | e9b1635478994f253b6e6f118ecfb88af5a47b94 | cd0cd12add42b4a4afc0528a06be17b41efc4905 | FIX / Workflow: Fix SSH workflow bug (#30474)
Update ssh-runner.yml | [
{
"path": ".github/workflows/ssh-runner.yml",
"patch": "@@ -24,8 +24,8 @@ env:\n \n jobs:\n ssh_runner:\n- name: SSH\n- runs-on: [single-gpu, nvidia-gpu, ${{ github.event.inputs.runner_type }}, ci]\n+ name: \"SSH\"\n+ runs-on: [single-gpu, nvidia-gpu, \"${{ github.event.inputs.runner_type }}\"... | 2024-04-25T08:36:54 |
golang/go | 66e66e71132034aa620ffbae9008f951da0f9f27 | afb5fca25a6f59e9045317727f6899a58471d5f0 | make.bat: fix compare between GOROOT and srcdir paths, when either contains whitespace.
CL 96455 brings CL 57753 to Windows
However, a path comparison within it was left unquoted.
If the Go source directory resides in a path containing whitespace,
the interpreter will compare against the first portion of the path stri... | [
{
"path": "src/make.bat",
"patch": "@@ -77,7 +77,7 @@ if not \"x%GOROOT_BOOTSTRAP%\"==\"x\" goto bootstrapset\n for /f \"tokens=*\" %%g in ('where go 2^>nul') do (\r\n \tif \"x%GOROOT_BOOTSTRAP%\"==\"x\" (\r\n \t\tfor /f \"tokens=*\" %%i in ('%%g env GOROOT 2^>nul') do (\r\n-\t\t\tif /I not %%i==%GOROOT_TEM... | 2020-09-13T17:03:48 |
ggml-org/llama.cpp | 0c3b7a9efebc73d206421c99b7eb6b6716231322 | 0e76501e1d2450e486481b640bb3a942977cfd3a | model: fix qwen3next broken due to #18683 (#18762) | [
{
"path": "src/models/qwen3next.cpp",
"patch": "@@ -590,6 +590,7 @@ std::pair<ggml_tensor *, ggml_tensor *> llm_build_qwen3next::build_qkvz(\n ggml_tensor * z = ggml_view_4d(ctx0, mixed_qkvz_reshaped, split_sizes_qkvz[3], num_k_heads, n_seq_tokens, n_seqs,\n mixed... | 2026-01-11T20:00:10 |
rust-lang/rust | 4efb6d5fd45cd22a4c5409253372cc884a25c41c | bcf796a34c2fac9240288e1b62d1e00f11c25cd3 | Fix doctests failing due to unused_unsafe | [
{
"path": "library/stdarch/crates/core_arch/src/x86/mod.rs",
"patch": "@@ -47,6 +47,7 @@ types! {\n ///\n /// # fn main() {\n /// # #[target_feature(enable = \"sse2\")]\n+ /// # #[allow(unused_unsafe)] // temporary, to unstick CI\n /// # unsafe fn foo() { unsafe {\n /// let all_bytes_... | 2025-02-27T17:48:07 |
nodejs/node | a7487c92e208004a7da0e98d395306a4a9e780ef | 205a4d23310ed2db70810acdbe4e40013f7ccbce | test: fix message test after V8 upgrade
With V8 6.2 there is one line less in the promise trace.
PR-URL: https://github.com/nodejs/node/pull/15362
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Ben Noo... | [
{
"path": "test/message/unhandled_promise_trace_warnings.out",
"patch": "@@ -21,7 +21,6 @@\n at getAsynchronousRejectionWarningObject (internal/process/promises.js:*)\n at rejectionHandled (internal/process/promises.js:*)\n at *\n- at Promise.then *\n at Promise.catch *\n at Immediate... | 2017-08-28T14:19:14 |
huggingface/transformers | cd0cd12add42b4a4afc0528a06be17b41efc4905 | cebb07262ff71724aa2c49f54d38c32e933fe8c7 | FIX / Workflow: Change tailscale trigger condition (#30471)
Update push-important-models.yml | [
{
"path": ".github/workflows/push-important-models.yml",
"patch": "@@ -127,7 +127,7 @@ jobs:\n slack_token: ${{ secrets.CI_SLACK_BOT_TOKEN }}\n \n - name: Tailscale # In order to be able to SSH when a test fails\n- if: ${{ failure() || runner.debug == '1'}}\n+ if: ${{ runner.de... | 2024-04-25T08:33:12 |
rust-lang/rust | dbf8fe068a30b9dc0186410e3e977cabe4e5aedb | f45d4acf1bb635aa010f19f8a749eed8293203b3 | fix: fix overflowing hex wrong suggestion
Signed-off-by: 11happy <soni5happy@gmail.com>
rebase
Signed-off-by: 11happy <soni5happy@gmail.com>
fix: rebless
Signed-off-by: 11happy <soni5happy@gmail.com> | [
{
"path": "compiler/rustc_lint/src/types/literal.rs",
"patch": "@@ -186,7 +186,7 @@ fn report_bin_hex_error(\n lit_no_suffix,\n negative_val: actually.clone(),\n int_ty: int_ty.name_str(),\n- uint_ty: int_ty.to_unsigned().name_str(),\n+ ... | 2025-02-02T05:41:48 |
ggml-org/llama.cpp | 9789e28459a231bed38859edbdcb10bd058c66d4 | 84ae04f163140f24eb7d1fae9c1893edbec5ca05 | debug : include LLAMA_POOLING_TYPE_UNSPECIFIED in pooling check (#18692)
* debug : include LLAMA_POOLING_TYPE_UNSPECIFIED in pooling check
This commit updates the pooling check in the debug example to
also include LLAMA_POOLING_TYPE_UNSPECIFIED and not just
LLAMA_POOLING_TYPE_NONE.
* debug : normalize both pooled an... | [
{
"path": "examples/debug/debug.cpp",
"patch": "@@ -57,11 +57,21 @@ struct callback_data {\n }\n };\n \n+static bool has_pooling(llama_context * ctx) {\n+ switch (llama_pooling_type(ctx)) {\n+ case LLAMA_POOLING_TYPE_NONE:\n+ case LLAMA_POOLING_TYPE_UNSPECIFIED:\n+ return fal... | 2026-01-11T15:34:41 |
golang/go | afb5fca25a6f59e9045317727f6899a58471d5f0 | 5f1b12bfbeb04ca6dbecbf064f5e5a42d8ba4b5a | test: fix flaky test for issue24491
runtime.GC() doesn't guarantee the finalizer has run, so use a channel
instead to make sure finalizer was run in call to "after()".
Fixes #41361
Change-Id: I69c801e29aea49757ea72c52e8db13239de19ddc
Reviewed-on: https://go-review.googlesource.com/c/go/+/254401
Run-TryBot: Cuong Man... | [
{
"path": "test/fixedbugs/issue24491b.go",
"patch": "@@ -11,33 +11,33 @@ package main\n \n import (\n \t\"runtime\"\n-\t\"sync/atomic\"\n \t\"unsafe\"\n )\n \n-var done uint32\n+var done = make(chan bool)\n \n func setup() unsafe.Pointer {\n \ts := \"ok\"\n-\truntime.SetFinalizer(&s, func(p *string) { atomi... | 2020-09-13T06:22:42 |
ollama/ollama | 5b2cf16397d302f97a079ec925adb0e81bcc2bd5 | deeac961bb78e53102d33497c210953123497bc4 | fix docker build annotations (#917) | [
{
"path": "readline/term_bsd.go",
"patch": "@@ -1,4 +1,4 @@\n-// go build darwin dragonfly freebsd netbsd openbsd\n+//go:build darwin || freebsd || netbsd || openbsd\n package readline\n \n import (",
"additions": 1,
"deletions": 1,
"language": "Go"
},
{
"path": "readline/term_linux.go",... | 2023-10-26T19:00:33 |
huggingface/transformers | cebb07262ff71724aa2c49f54d38c32e933fe8c7 | fbb41cd4209c00671fef583a39db2f608fcd7098 | Workflow / ENH: Add SSH into our runners workflow (#30425)
* add SSH into our runners workflow
* fix
* fix
* fix
* use our previous approaches
* forward contrib credits from discussions
---------
Co-authored-by: Yih-Dar <ydshieh@users.noreply.github.com> | [
{
"path": ".github/workflows/ssh-runner.yml",
"patch": "@@ -0,0 +1,60 @@\n+name: SSH into our runners\n+\n+on:\n+ workflow_dispatch:\n+ inputs:\n+ runner_type:\n+ description: 'Type of runner to test (a10 or t4)'\n+ required: true \n+ docker_image:\n+ description: 'Name of... | 2024-04-25T08:23:40 |
nodejs/node | e2cddbb8ccdb7b3c4a40c8acc630f68703bc77b5 | aec115b54b5c9957c4dacf38f11122b08dc41086 | doc: clarify using crlfDelay with fs streams
PR-URL: https://github.com/nodejs/node/pull/16259
Fixes: https://github.com/nodejs/node/issues/16077
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> | [
{
"path": "doc/api/readline.md",
"patch": "@@ -379,7 +379,8 @@ changes:\n end-of-line input. Default to `100` milliseconds.\n `crlfDelay` will be coerced to a number no less than `100`. It can be set to\n `Infinity`, in which case `\\r` followed by `\\n` will always be considered a\n- single ... | 2017-10-17T15:41:27 |
rust-lang/rust | f3399516fac53bc0f3ee1c23fbefc41b442eb7bb | f45d4acf1bb635aa010f19f8a749eed8293203b3 | Revert "Fix 32-bit MSVC CI"
This reverts commit 6ea4823733254432aee255465177b8e53f01a79d. | [
{
"path": "src/ci/github-actions/jobs.yml",
"patch": "@@ -474,13 +474,13 @@ auto:\n env:\n RUST_CONFIGURE_ARGS: --build=i686-pc-windows-msvc --enable-sanitizers\n SCRIPT: make ci-msvc-py\n- <<: *job-windows-8c\n+ <<: *job-windows\n \n - name: i686-msvc-2\n env:\n RUST_CONF... | 2025-02-28T00:47:38 |
ggml-org/llama.cpp | 506bb6e01009058f35558474cf987eeb56361782 | 79456a690ae35cb2a75faf24d3b1926f716b0485 | model: try to improve Qwen3 Next (#18683)
* qwen3next: simplify qkvz projection
* use ggml_swiglu_split
* revert swiglu_split, but remove redundant repeat()
* fix missing reshape
* rm 2 redundant transposes
* move mul_mat(k,q) to outside of chunking
* rm redundant cont
* improve g_cs_chunk
* add comments about... | [
{
"path": "convert_hf_to_gguf.py",
"patch": "@@ -4367,7 +4367,37 @@ def modify_tensors(self, data_torch: Tensor, name: str, bid: int | None) -> Iter\n elif name.endswith(\"norm.weight\") and not name.endswith(\"linear_attn.norm.weight\"):\n data_torch = data_torch + 1\n \n- yield ... | 2026-01-11T11:53:33 |
golang/go | 1f4521669416a2e14fb0b84481447f4a93f19878 | 95bb00d1088767ed14e3bd1a5f533a690d619a5f | cmd/compile: attach OVARLIVE nodes to OCALLxxx
So we can insert theses OVARLIVE nodes right after OpStaticCall in SSA.
This helps fixing issue that unsafe-uintptr arguments are not kept alive
during return statement, or can be kept alive longer than expected.
Fixes #24491
Change-Id: Ic04a5d1bbb5c90dcfae65bd95cdd1da... | [
{
"path": "src/cmd/compile/internal/gc/order.go",
"patch": "@@ -288,20 +288,13 @@ func (o *Order) popTemp(mark ordermarker) {\n \to.temp = o.temp[:mark]\n }\n \n-// cleanTempNoPop emits VARKILL and if needed VARLIVE instructions\n-// to *out for each temporary above the mark on the temporary stack.\n+// cle... | 2020-09-11T18:57:27 |
ollama/ollama | 910816a532ad993fca5163a0ddf8981624c5521a | deeac961bb78e53102d33497c210953123497bc4 | fix(download): no retry when out of space | [
{
"path": "server/download.go",
"patch": "@@ -15,6 +15,7 @@ import (\n \t\"strings\"\n \t\"sync\"\n \t\"sync/atomic\"\n+\t\"syscall\"\n \t\"time\"\n \n \t\"golang.org/x/sync/errgroup\"\n@@ -158,7 +159,8 @@ func (b *blobDownload) run(ctx context.Context, requestURL *url.URL, opts *Regis\n \t\t\t\tw := io.New... | 2023-10-26T18:34:02 |
huggingface/transformers | d1d94d798f1ed5c0b5de9a794381aeb7dc319c12 | 661190b44d60af606ddb025dec3d799bd8ee827e | Neuron: When save_safetensor=False, no need to move model to CPU (#29703)
save_safetensor=True is default as of release 4.35.0, which then
required TPU hotfix https://github.com/huggingface/transformers/pull/27799
(issue https://github.com/huggingface/transformers/issues/27578).
However, when the flag save_safetens... | [
{
"path": "src/transformers/trainer.py",
"patch": "@@ -3267,7 +3267,8 @@ def _save_tpu(self, output_dir: Optional[str] = None):\n logger.info(f\"Saving model checkpoint to {output_dir}\")\n model = self.model\n xm.mark_step()\n- model.to(\"cpu\")\n+ if self.args.save_sa... | 2024-04-24T17:22:08 |
nodejs/node | 28dcdb910844a554c1e5a5d8d4028ae3e6a134f5 | e647c5d7de54e4866fbf272edbfceb8dc68e5445 | test: fix flaky test-benchmark-buffer
Allow zero operations for short buffer benchmark tests.
PR-URL: https://github.com/nodejs/node/pull/16296
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com> | [
{
"path": "test/sequential/test-benchmark-buffer.js",
"patch": "@@ -20,5 +20,5 @@ runBenchmark('buffers',\n 'source=array',\n 'type=',\n 'withTotalLength=0'\n-\n- ]);\n+ ],\n+ { NODEJS_BENCHMARK_ZERO_ALLOWED: 1 });",
"addit... | 2017-10-18T15:56:54 |
ggml-org/llama.cpp | 28068af78996485eaa5c34557eae56dc1f996f92 | 707cbafcaa3a88d893147bcc107e76b925a867da | security: narrow down the scope of what we consider a vulnerability (#18752)
* security: narrow down the scope of what we consider a vulnerability
* fix typo | [
{
"path": "SECURITY.md",
"patch": "@@ -1,12 +1,48 @@\n # Security Policy\n \n+ - [**Reporting a vulnerability**](#reporting-a-vulnerability)\n+ - [**Requirements**](#requirements)\n+ - [**Covered Topics**](#covered-topics)\n - [**Using llama.cpp securely**](#using-llamacpp-securely)\n - [Untrusted model... | 2026-01-11T11:23:36 |
golang/go | 95bb00d1088767ed14e3bd1a5f533a690d619a5f | b3ef90ec7304a28b89f616ced20b09f56be30cc4 | encoding/json: implement Is on all errors
Allows users to check:
errors.Is(err, &UnmarshalTypeError{})
errors.Is(err, &UnmarshalFieldError{})
errors.Is(err, &InvalidUnmarshalError{})
errors.Is(err, &UnsupportedValueError{})
errors.Is(err, &MarshalerError{})
which is the recommended way ... | [
{
"path": "src/encoding/json/decode.go",
"patch": "@@ -136,6 +136,12 @@ func (e *UnmarshalTypeError) Error() string {\n \treturn \"json: cannot unmarshal \" + e.Value + \" into Go value of type \" + e.Type.String()\n }\n \n+// Is returns true if target is a UnmarshalTypeError.\n+func (e *UnmarshalTypeError)... | 2020-09-13T02:12:02 |
huggingface/transformers | d0d430f14a221a8bfdf2994b214cace9a85359ec | c9693db2fcd6876bfc4b00dd9088808896fff94c | Fix wrong indent in `utils/check_if_new_model_added.py` (#30456)
fix
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> | [
{
"path": "utils/check_if_new_model_added.py",
"patch": "@@ -91,6 +91,6 @@ def get_new_python_files() -> List[str]:\n find_new_model = reg.findall(x)\n if len(find_new_model) > 0:\n new_model = find_new_model[0]\n- # It's unlikely we have 2 new modeling files in a pull req... | 2024-04-24T15:44:12 |
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.