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 |
|---|---|---|---|---|---|
golang/go | a65bc048bf388e399af9bcfd726cd0f11bba7c8e | 72ee5bad9f9bd8979e14fab02fb07e39c5e9fd8c | cmd/go: use cmd/internal/pkgpath for gccgo pkgpath symbol
Fixes #37272
Change-Id: I6554fd5e5400acb20c5a7e96b1d6cb1a1afb9871
Reviewed-on: https://go-review.googlesource.com/c/go/+/259299
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Re... | [
{
"path": "src/cmd/go/internal/work/gccgo.go",
"patch": "@@ -11,11 +11,13 @@ import (\n \t\"os/exec\"\n \t\"path/filepath\"\n \t\"strings\"\n+\t\"sync\"\n \n \t\"cmd/go/internal/base\"\n \t\"cmd/go/internal/cfg\"\n \t\"cmd/go/internal/load\"\n \t\"cmd/go/internal/str\"\n+\t\"cmd/internal/pkgpath\"\n )\n \n ... | 2020-10-02T23:17:30 |
nodejs/node | c08750275882f1472f7ff2a98916f857a0857dc6 | 88fb359c578b5d1a58885f3afcf6e542a9f07843 | deps: V8: backport b1cd96e from upstream
Original commit message:
[inspector] added V8InspectorClient::maxAsyncCallStackDepthChanged
R=dgozman@chromium.org
Bug: none
Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_chromium_rel_ng
Change-Id: I0fa109782... | [
{
"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.7',\n+ 'v8_embedder_string': '-node.8',\n \n # Enable disassembler for `--print-code... | 2017-10-18T22:19:43 |
huggingface/transformers | 7b4b4564386dc4e18bf38fc288d87700824d4191 | 1834916481235948f413d3b965f96ccd3b2e44ae | separate kwargs in processor (similar to #30193) (#30905)
* Fix similar bug in processor (related to #30193)
* Reformat processing_git.py to comply with ruff formatting | [
{
"path": "src/transformers/models/git/processing_git.py",
"patch": "@@ -76,15 +76,21 @@ def __call__(self, text=None, images=None, return_tensors=None, **kwargs):\n `None`).\n - **pixel_values** -- Pixel values to be fed to a model. Returned when `images` is not `None`.\n ... | 2024-05-20T09:18:17 |
ollama/ollama | 37708931fb37f228a9bf5c74c4c98ad1b1c9650e | f6cb0a553cc2ab87192c5ac9f001ad7c366d396e | update cuda overhead to 20% to fix crashes when switching between models and large context sizes | [
{
"path": "gpu/gpu.go",
"patch": "@@ -131,14 +131,8 @@ func getCPUMem() (memInfo, error) {\n func CheckVRAM() (int64, error) {\n \tgpuInfo := GetGPUInfo()\n \tif gpuInfo.FreeMemory > 0 && (gpuInfo.Library == \"cuda\" || gpuInfo.Library == \"rocm\") {\n-\t\t// leave 15% or 400MiB of VRAM free for overhead\n-... | 2024-01-09T05:05:23 |
ggml-org/llama.cpp | 820ebfa6f45347c77e9ddfcc670e44109d6df43f | 292f6908cdc6abb5c38581e34fa141973e5aba82 | Server: log when converting requests to chat completions format (#19457)
* Log converting requests
* Print as debug instead of info [no ci]
---------
Co-authored-by: openingnow <> | [
{
"path": "tools/server/server-context.cpp",
"patch": "@@ -3584,6 +3584,8 @@ void server_routes::init_routes() {\n auto res = create_response();\n std::vector<raw_buffer> files;\n json body = convert_responses_to_chatcmpl(json::parse(req.body));\n+ SRV_DBG(\"%s\\n\", \"Request... | 2026-02-09T15:22:57 |
golang/go | b064eb7e1bb1b138405b9c8da1d90c476a266ef5 | 9f24388a7d57a79d0d68c1c04cf3fa4f86338e21 | cmd/go: update go_windows_test to use test go binary
Most of the cmd/go tests build the cmd/go binary and run that binary to
test it, but TestAbsolutePath used the GOROOT's cmd/go instead, which
makes debugging confusing and means that make.bash has to be run in each
iteration cycle. Update TestAbsolutePath to use the... | [
{
"path": "src/cmd/go/go_windows_test.go",
"patch": "@@ -2,10 +2,9 @@\n // Use of this source code is governed by a BSD-style\n // license that can be found in the LICENSE file.\n \n-package main\n+package main_test\n \n import (\n-\t\"internal/testenv\"\n \t\"io/ioutil\"\n \t\"os\"\n \t\"os/exec\"\n@@ -17,... | 2020-09-24T15:26:23 |
huggingface/transformers | 1834916481235948f413d3b965f96ccd3b2e44ae | 1c2bb3ac54d18a0bfc3e212b73f8d1c4aac3ea48 | Fix num_hidden_layers in initialization of new model in Mamba (#30403)
Fix num_hidden_layers in initialization
Originally, the initialization was using config.num_layers instead of config.num_hidden_layers. This fixes that. | [
{
"path": "src/transformers/models/mamba/modeling_mamba.py",
"patch": "@@ -399,7 +399,7 @@ def _init_weights(self, module):\n # Having just p *= scale would repeatedly scale it down\n nn.init.kaiming_uniform_(p, a=math.sqrt(5))\n with torch.no_grad... | 2024-05-20T09:18:09 |
nodejs/node | 88fb359c578b5d1a58885f3afcf6e542a9f07843 | de61f97c3dbc1a07911349f8360f94be127ca28a | stream: migrate _stream_readable use error codes
PR-URL: https://github.com/nodejs/node/pull/15042
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: J... | [
{
"path": "doc/api/errors.md",
"patch": "@@ -1317,6 +1317,24 @@ Node.js does not allow `stdout` or `stderr` Streams to be closed by user code.\n Used when an attempt is made to close the `process.stdout` stream. By design,\n Node.js does not allow `stdout` or `stderr` Streams to be closed by user code.\n \n... | 2017-08-26T07:53:27 |
ggml-org/llama.cpp | 81ddc60cb3b980a4503a9a0177b079dfa562c60e | 972f323e73bf0b28358ccaa3b9aa02779421f260 | ci : add metal server workflows (#19293)
* ci : add metal server workflows
* cont : try fix python init
* cont : move to a separate workflow that runs only on master
* cont : fix num jobs
Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com>
---------
Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@... | [
{
"path": ".github/workflows/server-metal.yml",
"patch": "@@ -0,0 +1,73 @@\n+name: Server-Metal\n+\n+on:\n+ workflow_dispatch: # allows manual triggering\n+ inputs:\n+ sha:\n+ description: 'Commit SHA1 to build'\n+ required: false\n+ type: string\n+ slow_tests:\n+ d... | 2026-02-09T13:09:30 |
huggingface/transformers | 1c2bb3ac54d18a0bfc3e212b73f8d1c4aac3ea48 | 66b0d9ee5d440518a990d604025f916ac710d701 | add return_token_timestamps to WhisperProcessor (#30812)
* compute num_frames in WhisperFeatureExtractor
* add return_num_frames in WhisperFeatureProcessor + adapt pipeline
* return_timestamps renaming + pipeline fix
* fix
* fix
* fix
* add tests
* Update src/transformers/models/whisper/feature_ex... | [
{
"path": "src/transformers/models/whisper/feature_extraction_whisper.py",
"patch": "@@ -188,6 +188,7 @@ def __call__(\n sampling_rate: Optional[int] = None,\n do_normalize: Optional[bool] = None,\n device: Optional[str] = \"cpu\",\n+ return_token_timestamps: Optional[bool] = ... | 2024-05-20T08:53:58 |
ollama/ollama | 2680078c137a93e12a55392a7e4d64632c58fb7b | f1b7e5f560e5c45b13f4c9dfb8114d67bb99d3d9 | fix build on linux | [
{
"path": "gpu/gpu.go",
"patch": "@@ -132,7 +132,7 @@ func CheckVRAM() (int64, error) {\n \tgpuInfo := GetGPUInfo()\n \tif gpuInfo.FreeMemory > 0 && (gpuInfo.Library == \"cuda\" || gpuInfo.Library == \"rocm\") {\n \t\t// leave 15% or 400MiB of VRAM free for overhead\n-\t\toverhead := gpuInfo.FreeMemory 3 / ... | 2024-01-09T04:44:13 |
golang/go | 9dc65d7dc9268d5150174ec55cc4753fe18f554c | e70bbc702f093ab2d5e305ddb33b8dca2baf8104 | runtime: correct signature of call16
The signature of call16 is currently missing the "typ" parameter. This
CL fixes this. This wasn't caught by vet because call16 is defined by
macro expansion (see #17544), and we didn't notice the mismatch with
the other call* functions because call16 is defined only on 32-bit
archi... | [
{
"path": "src/runtime/stubs32.go",
"patch": "@@ -11,4 +11,4 @@ import \"unsafe\"\n // Declarations for runtime services implemented in C or assembly that\n // are only present on 32 bit systems.\n \n-func call16(fn, arg unsafe.Pointer, n, retoffset uint32)\n+func call16(typ, fn, arg unsafe.Pointer, n, reto... | 2020-10-03T20:44:22 |
nodejs/node | de61f97c3dbc1a07911349f8360f94be127ca28a | 7c3d6ccbf2101580d7704f8c37de09ef109ba841 | src: move handle properties to prototype
Reduce the size of wrap objects by moving a couple of accessors from the
instance template to the prototype template. They occupied one slot per
instance instead of one slot per class.
This commit fixes some instances of unwrapping twice since that code had
to be updated anyw... | [
{
"path": "src/stream_base-inl.h",
"patch": "@@ -33,26 +33,26 @@ void StreamBase::AddMethods(Environment* env,\n \n enum PropertyAttribute attributes =\n static_cast<PropertyAttribute>(v8::ReadOnly | v8::DontDelete);\n- t->InstanceTemplate()->SetAccessor(env->fd_string(),\n- ... | 2017-10-25T08:02:54 |
ggml-org/llama.cpp | f5e7734ff2e1d2e22015f4a9da9a52c70240a064 | 1e8924fd65ad349d1d838412a2172292618f3bbf | ggml-virtgpu: add backend documentation (#19354)
* ggml-virtgpu: add backend documentation
Assisted-by-AI: Claude Code
* CODEOWNERS: add /docs/backend/GGML-VirtGPU/ -> kpouget
* README: add the link to docs/backend/GGML-VirtGPU/ggml-virt.md
* docs/ggml-virt: add link to testing + configuration
* Revert "CODEOWNER... | [
{
"path": "README.md",
"patch": "@@ -288,6 +288,7 @@ Instructions for adding support for new models: [HOWTO-add-model.md](docs/develo\n | [WebGPU [In Progress]](docs/build.md#webgpu) | All |\n | [RPC](https://github.com/ggml-org/llama.cpp/tree/master/tools/rpc) | All |\n | [Hexagon [In Progress]](docs/backe... | 2026-02-09T12:15:42 |
huggingface/transformers | fce78fd0e917312da36cea4d352896a8f6ec9cdc | 07bf2dff78dce04314447efe46ccb70480374daf | FIX / Quantization: Fix Dockerfile build (#30890)
* Update Dockerfile
* Update docker/transformers-quantization-latest-gpu/Dockerfile | [
{
"path": "docker/transformers-quantization-latest-gpu/Dockerfile",
"patch": "@@ -1,4 +1,4 @@\n-FROM nvidia/cuda:12.1.0-cudnn8-devel-ubuntu20.04\n+FROM nvidia/cuda:11.8.0-cudnn8-devel-ubuntu20.04\n LABEL maintainer=\"Hugging Face\"\n \n ARG DEBIAN_FRONTEND=noninteractive",
"additions": 1,
"deletions... | 2024-05-20T08:08:26 |
golang/go | e70bbc702f093ab2d5e305ddb33b8dca2baf8104 | 39d562ecea74bb41aa8fbb9d016fa64165e84bb3 | encoding/asn1: clarify use of SET suffix
This change clarifies the usage of the SET type name suffix. Previously
the documentation was somewhat confusing about where the suffix should
be used, and when used what it applied to. For instance the previous
language could be interpreted such that []exampleSET would be pars... | [
{
"path": "src/encoding/asn1/asn1.go",
"patch": "@@ -1086,9 +1086,10 @@ func setDefaultValue(v reflect.Value, params fieldParameters) (ok bool) {\n // If the type of the first field of a structure is RawContent then the raw\n // ASN1 contents of the struct will be stored in it.\n //\n-// If the type name of... | 2020-10-05T15:46:23 |
nodejs/node | 287545997288b038c0e8a84f44d338e4d1acc384 | a70ef362ef8de8505ac9f140a4e803af9d706b77 | build: run linter before running tests
PR-URL: https://github.com/nodejs/node/pull/16284
Fixes: https://github.com/node/issues/16283
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.... | [
{
"path": "Makefile",
"patch": "@@ -213,15 +213,26 @@ test: all\n \t$(MAKE) build-addons\n \t$(MAKE) build-addons-napi\n \t$(MAKE) doc-only\n+\t$(MAKE) lint\n \t$(MAKE) cctest\n \t$(PYTHON) tools/test.py --mode=release -J \\\n \t\t$(CI_ASYNC_HOOKS) \\\n \t\t$(CI_JS_SUITES) \\\n \t\t$(CI_NATIVE_SUITES) \\\n ... | 2017-10-18T05:58:46 |
ollama/ollama | 18ddf6d57d809b22e12f276854b2949f8b52d956 | 61e650244963c791ddaf11051f69d9ff2eb49221 | fix windows build | [
{
"path": "llm/ext_server_windows.go",
"patch": "@@ -4,9 +4,9 @@ import (\n \t\"github.com/jmorganca/ollama/api\"\n )\n \n-func newDefaultExtServer(model string, adapters, projectors []string, numLayers int64, opts api.Options) (extServer, error) {\n+func newDefaultExtServer(model string, adapters, projecto... | 2024-01-09T01:04:01 |
ggml-org/llama.cpp | 39bf692af1cba2a1072e4a42425611bf1ec2807d | e06088da0fa86aa444409f38dff274904931c507 | [Model] Qwen3.5 dense and MoE support (no vision) (#19435)
* Unified delta net handling
* Remove old methods.
* Refactor and optimize
* Adapt autoregressive version from @ymcki
* Change to decay mask approach
* Fix bad permute
* Qwen 3.5 support
* Apply suggestions from code review
Co-authored-by: Sigbjørn Skj... | [
{
"path": "convert_hf_to_gguf.py",
"patch": "@@ -4102,39 +4102,27 @@ def modify_tensors(self, data_torch: Tensor, name: str, bid: int | None) -> Iter\n # process the experts separately\n name = name.replace(\"language_model.\", \"\") # InternVL\n \n- # handle aggregated expert tensors... | 2026-02-08T23:24:08 |
huggingface/transformers | bf646fbf2d29ec78b96e32d46c020ccbfb2249dc | e9a8041d1c27d3fc1b9b9efb8b02a301f8065047 | Add fixed resize and pad strategy for object detection (#30742)
* Add resize and pad strategy
* Merge get_size functions
* Add pad_size + tests to object detection models
* Fixup
* Update docstrings
* Fixup | [
{
"path": "src/transformers/image_processing_utils.py",
"patch": "@@ -662,7 +662,13 @@ def center_crop(\n )\n \n \n-VALID_SIZE_DICT_KEYS = ({\"height\", \"width\"}, {\"shortest_edge\"}, {\"shortest_edge\", \"longest_edge\"}, {\"longest_edge\"})\n+VALID_SIZE_DICT_KEYS = (\n+ {\"height\", \"width\"... | 2024-05-17T15:21:26 |
golang/go | 39d562ecea74bb41aa8fbb9d016fa64165e84bb3 | 059ca6185c19404e991cc7714b1df047fd78785f | misc/ios: fixup review comments from CL 255257
Change-Id: I247fc9e0e26e706e6af07367f953eaa1b7e544c1
Reviewed-on: https://go-review.googlesource.com/c/go/+/259577
Trust: Elias Naur <mail@eliasnaur.com>
Run-TryBot: Elias Naur <mail@eliasnaur.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Go Bot ... | [
{
"path": "misc/ios/detect.go",
"patch": "@@ -6,7 +6,7 @@\n \n // detect attempts to autodetect the correct\n // values of the environment variables\n-// used by go_io_exec.\n+// used by go_ios_exec.\n // detect shells out to ideviceinfo, a third party program that can\n // be obtained by following the inst... | 2020-10-05T15:51:54 |
nodejs/node | a70ef362ef8de8505ac9f140a4e803af9d706b77 | 1906df1b29f6402cd869b6c2b12a402c2eebc881 | test: replace fixturesDir in test-tls-connect
Replace common.fixturesDir with fixtures module in test-tls-connect.
PR-URL: https://github.com/nodejs/node/pull/15849
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> | [
{
"path": "test/parallel/test-tls-connect.js",
"patch": "@@ -25,16 +25,16 @@ const common = require('../common');\n if (!common.hasCrypto)\n common.skip('missing crypto');\n \n+const fixtures = require('../common/fixtures');\n+\n const assert = require('assert');\n-const fs = require('fs');\n-const path =... | 2017-10-06T16:46:22 |
ggml-org/llama.cpp | e06088da0fa86aa444409f38dff274904931c507 | 5fa1c190d9fc86c02698b730a2cb933195e19d96 | CUDA: Fix non-contig rope (#19338)
* Rename variables + fix rope_neox
Seems memory layout is shared with Vulkan so we can port fix from
https://github.com/ggml-org/llama.cpp/pull/19299
* Fix rope_multi
* Fix rope_vision
* Fix rope_norm
* Rename ne* to ne0* for consistent variable naming
* cont : consistent strid... | [
{
"path": "ggml/src/ggml-cuda/rope.cu",
"patch": "@@ -43,10 +43,15 @@ static __device__ void rope_yarn(\n template <bool forward, bool has_ff, typename T, typename D>\n static __global__ void rope_norm(const T * x,\n D * dst,\n- ... | 2026-02-08T13:12:51 |
huggingface/transformers | 0a9300f474e17dd6e05635d1742273cf0396d9ea | 57edd84bdb1f8a8c2bd6229d5be6a0a21991135b | Support arbitrary processor (#30875)
* Support arbitrary processor
* fix
* nit
* update
* nit
* nit
* fix and revert
* add a small test
* better check
* fixup
* bug so let's just use class for now
* oups
* . | [
{
"path": "src/transformers/models/llava/processing_llava.py",
"patch": "@@ -41,8 +41,8 @@ class LlavaProcessor(ProcessorMixin):\n \"\"\"\n \n attributes = [\"image_processor\", \"tokenizer\"]\n- image_processor_class = \"CLIPImageProcessor\"\n- tokenizer_class = (\"LlamaTokenizer\", \"LlamaTo... | 2024-05-17T14:51:31 |
golang/go | d888f1d5c06828e9d7b0166f770a443f6315c2d1 | 79dbdf2a4c2ad93d3de493956f8bbca1465ba932 | runtime: add debugging to TestTimePprof
We've seen timeouts of TestTimePprof, but the tracebacks aren't useful
because goroutines are running on other threads. Add GOTRACEBACK=crash
to catch these in the future.
For #41120.
Change-Id: I97318172ef78d0cbab10df5e4ffcbfeadff579e3
Reviewed-on: https://go-review.googlesou... | [
{
"path": "src/runtime/crash_test.go",
"patch": "@@ -667,7 +667,9 @@ func TestBadTraceback(t *testing.T) {\n }\n \n func TestTimePprof(t *testing.T) {\n-\tfn := runTestProg(t, \"testprog\", \"TimeProf\")\n+\t// Pass GOTRACEBACK for issue #41120 to try to get more\n+\t// information on timeout.\n+\tfn := run... | 2020-10-01T20:06:03 |
ollama/ollama | 08f1e18965c15648504fc5ec367134898e92ec6d | 7e8f7c835859b54abe50dc855f90357db27c7059 | Offload layers to GPU based on new model size estimates (#1850)
* select layers based on estimated model memory usage
* always account for scratch vram
* dont load +1 layers
* better estmation for graph alloc
* Update gpu/gpu_darwin.go
Co-authored-by: Bruce MacDonald <brucewmacdonald@gmail.com>
* Upd... | [
{
"path": "gpu/gpu.go",
"patch": "@@ -16,8 +16,6 @@ import (\n \t\"runtime\"\n \t\"sync\"\n \t\"unsafe\"\n-\n-\t\"github.com/jmorganca/ollama/api\"\n )\n \n type handles struct {\n@@ -133,31 +131,14 @@ func getCPUMem() (memInfo, error) {\n func CheckVRAM() (int64, error) {\n \tgpuInfo := GetGPUInfo()\n \tif... | 2024-01-08T21:42:00 |
ggml-org/llama.cpp | 96441c955ea45cfa2b6834cad419b849aa144463 | 8872ad2125336d209a9911a82101f80095a9831d | ci : use -j param correctly when building with sanitizers (#19411)
* ci : use less jobs when building with sanitizers
* cont : fix nproc
* cont : fix the fix
* cont : simplify | [
{
"path": ".github/workflows/build.yml",
"patch": "@@ -295,6 +295,7 @@ jobs:\n -DLLAMA_SANITIZE_${{ matrix.sanitizer }}=ON \\\n -DGGML_SANITIZE_${{ matrix.sanitizer }}=ON \\\n -DCMAKE_BUILD_TYPE=${{ matrix.build_type }}\n+\n cmake --build build --config ${{ matr... | 2026-02-07T22:50:47 |
rust-lang/rust | 68679f295f50093501c9781f67f07f3feb7bf02c | a9c61ec1e1445d4eb8a8eabf0bb858ac220bd345 | fix: `manual_let_else` missing binding mode | [
{
"path": "clippy_lints/src/manual_let_else.rs",
"patch": "@@ -5,7 +5,8 @@ use clippy_utils::higher::IfLetOrMatch;\n use clippy_utils::source::snippet_with_context;\n use clippy_utils::ty::is_type_diagnostic_item;\n use clippy_utils::{is_lint_allowed, is_never_expr, msrvs, pat_and_expr_can_be_question_mark,... | 2025-02-12T13:06:09 |
huggingface/transformers | 57edd84bdb1f8a8c2bd6229d5be6a0a21991135b | 977ce58a78fc46f89151944da745188d2f21332e | [whisper] fix multilingual fine-tuning (#30865)
* [whisper] fix multilingual fine-tuning
* config ids as well | [
{
"path": "examples/pytorch/speech-recognition/run_speech_recognition_seq2seq.py",
"patch": "@@ -425,12 +425,8 @@ def main():\n if hasattr(model.generation_config, \"is_multilingual\") and model.generation_config.is_multilingual:\n # We only need to set the language and task ids in a multilingua... | 2024-05-17T14:12:44 |
golang/go | 44a15a7262b14d517fefab5b7c13ca97ab099a30 | 8f1c99035d7797993a5ee393704603f21bb6f10c | net/http: remove duplicate declaration of error
there is no need to declare a error variable here.
Change-Id: I9ea5bcf568d800efed19c90caf751aaf9abe5555
GitHub-Last-Rev: 538d1f9cee0b8564a8bec262529f567da847f1b0
GitHub-Pull-Request: golang/go#41751
Reviewed-on: https://go-review.googlesource.com/c/go/+/259037
Reviewed-... | [
{
"path": "src/net/rpc/client.go",
"patch": "@@ -245,7 +245,6 @@ func DialHTTP(network, address string) (*Client, error) {\n // DialHTTPPath connects to an HTTP RPC server\n // at the specified network address and path.\n func DialHTTPPath(network, address, path string) (*Client, error) {\n-\tvar err error\... | 2020-10-02T09:09:24 |
nodejs/node | 1906df1b29f6402cd869b6c2b12a402c2eebc881 | 51637574daa06f5f378d72c83336008f5ec0050d | test: use fixtures module
Replace usage of common.fixturesDir with fixtures module in
test-https-agent-disable-session-reuse.js.
PR-URL: https://github.com/nodejs/node/pull/15901
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> | [
{
"path": "test/parallel/test-https-agent-disable-session-reuse.js",
"patch": "@@ -1,17 +1,19 @@\n 'use strict';\n const common = require('../common');\n+\n if (!common.hasCrypto)\n common.skip('missing crypto');\n \n+const fixtures = require('../common/fixtures');\n+\n const assert = require('assert');\n... | 2017-10-06T17:00:59 |
ggml-org/llama.cpp | 8872ad2125336d209a9911a82101f80095a9831d | 34ba7b5a2f5cd88f99629a3bd68d003fbd5bc2cf | metal : consolidate bin kernels (#19390)
* metal : refactor bin kernels
* cont
* cont : fix cv | [
{
"path": "ggml/src/ggml-metal/ggml-metal-device.cpp",
"patch": "@@ -1392,34 +1392,78 @@ ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_flash_attn_ext_v\n GGML_UNUSED(op);\n }\n \n-ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_bin(\n- ggml_metal_library_t lib,\n... | 2026-02-07T08:35:56 |
rust-lang/rust | e213f4beeabbb2604565a8e9324f66c5c72780c6 | daf59857d6d2b87af4b846316bf1561a6083ed51 | Improve error message for AsyncFn trait failure for RPIT | [
{
"path": "compiler/rustc_trait_selection/src/error_reporting/traits/fulfillment_errors.rs",
"patch": "@@ -829,7 +829,9 @@ impl<'a, 'tcx> TypeErrCtxt<'a, 'tcx> {\n && let ty::Closure(closure_def_id, _) | ty::CoroutineClosure(closure_def_id, _) =\n *typeck_results.node_typ... | 2025-03-03T04:09:43 |
huggingface/transformers | 977ce58a78fc46f89151944da745188d2f21332e | 3802e786ef64b13bef5e8669dcb96e291d2c5317 | Fix dependencies for image classification example (#30842)
* fix: missing dependencies
* fix: image classification dependencies | [
{
"path": "docs/source/en/tasks/zero_shot_image_classification.md",
"patch": "@@ -39,7 +39,7 @@ In this guide you'll learn how to:\n Before you begin, make sure you have all the necessary libraries installed:\n \n ```bash\n-pip install -q transformers\n+pip install -q \"transformers[torch]\" pillow\n ```\n ... | 2024-05-17T12:57:47 |
nodejs/node | 6ff2909ef6dac12ca8975f0c888b3daa7b5f4ea0 | 50fe1a840915a22517ffd2c480558409dbfd6677 | test: use fixtures module in test-fs-realpath.js
PR-URL: https://github.com/nodejs/node/pull/15904
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de> | [
{
"path": "test/parallel/test-fs-realpath.js",
"patch": "@@ -21,6 +21,8 @@\n \n 'use strict';\n const common = require('../common');\n+const fixtures = require('../common/fixtures');\n+\n const assert = require('assert');\n const fs = require('fs');\n const path = require('path');\n@@ -133,7 +135,7 @@ funct... | 2017-10-06T17:11:15 |
golang/go | 15bf061b699593953b6350236eb93c316f8741d4 | fe2cfb74ba6352990f5b41260b99e80f78e4a90a | cmd/go: remove test checking GO386=387 invalidates cache
Since GO386=387 is no longer supported, this change deletes a cmd/go
test checking that building something with GO386=387, and then with
sse2, invalidated the build cache.
Fixes the longtest builders.
Change-Id: I5f645ef4ddf1cddb26dcf9390cee94907fc45a70
Review... | [
{
"path": "src/cmd/go/testdata/script/build_cache_arch_mode.txt",
"patch": "@@ -1,15 +1,7 @@\n-# Issue 9737: verify that GOARM and GO386 affect the computed build ID\n+# Issue 9737: verify that GOARM affects the computed build ID\n \n [short] skip\n \n-# 386\n-env GOOS=linux\n-env GOARCH=386\n-env GO386=387... | 2020-10-02T07:58:45 |
ggml-org/llama.cpp | 34ba7b5a2f5cd88f99629a3bd68d003fbd5bc2cf | b83111815e9a79949257e9d4b087206b320a3063 | metal : fix event synchronization in cpy_tensor_async (#19402) | [
{
"path": "ggml/src/ggml-metal/ggml-metal-context.m",
"patch": "@@ -394,7 +394,7 @@ bool ggml_metal_cpy_tensor_async(ggml_metal_t ctx_src, ggml_metal_t ctx_dst, con\n [encoder endEncoding];\n \n ggml_metal_event_t ev_cpy = ggml_metal_get_ev_cpy(ctx_src);\n- ggml_metal_event_record(ctx... | 2026-02-07T05:37:15 |
ollama/ollama | d74ce6bd4f78f8a06c97bf9b24485211c48a41d8 | 57942b467696f9d7dbd194a2591d144e1da596b9 | Detect very old CUDA GPUs and fall back to CPU
If we try to load the CUDA library on an old GPU, it panics and crashes
the server. This checks the compute capability before we load the
library so we can gracefully fall back to CPU mode. | [
{
"path": "gpu/gpu.go",
"patch": "@@ -28,6 +28,9 @@ type handles struct {\n var gpuMutex sync.Mutex\n var gpuHandles *handles = nil\n \n+// TODO verify this is the correct min version\n+const CudaComputeMajorMin = 5\n+\n // Note: gpuMutex must already be held\n func initGPUHandles() {\n \t// TODO - if the o... | 2024-01-07T05:40:04 |
huggingface/transformers | 3d7d3a87a0bf4d0bb9346beb9419b1d76b5b988f | 15c74a28294fe9082b81b24efe58df16fed79a9e | TEST: Add llama logits tests (#30835)
* add llama logits test
* fix
* fix tests
"
"
* fix for a10
* format
* format
* fix
* [run-slow] remove fmt: skip
* Your commit message
* test commit
* Revert "test commit"
This reverts commit b66e01e55f5e31d4c0479cac4bcacc0f123dc9d2.
* [run... | [
{
"path": "tests/models/llama/test_modeling_llama.py",
"patch": "@@ -28,7 +28,6 @@\n require_flash_attn,\n require_read_token,\n require_torch,\n- require_torch_accelerator,\n require_torch_gpu,\n require_torch_sdpa,\n slow,\n@@ -45,7 +44,6 @@\n import torch\n \n from tran... | 2024-05-17T10:23:00 |
nodejs/node | 64aded33ef310ca87e5566239ab2dbd12b1899b9 | eefee3e9a612696f5a0a25fa86bf91552e4bc616 | test: use fixtures module
PR-URL: https://github.com/nodejs/node/pull/15843
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> | [
{
"path": "test/parallel/test-https-localaddress-bind-error.js",
"patch": "@@ -25,12 +25,13 @@ if (!common.hasCrypto)\n common.skip('missing crypto');\n \n const assert = require('assert');\n-const fs = require('fs');\n const https = require('https');\n \n+const fixtures = require('../common/fixtures');\n... | 2017-10-06T16:53:49 |
golang/go | fe2cfb74ba6352990f5b41260b99e80f78e4a90a | 41df0e22184a0fcfb1e67e994c993239e9c2efc7 | all: drop 387 support
My last 387 CL. So sad ... ... ... ... not!
Fixes #40255
Change-Id: I8d4ddb744b234b8adc735db2f7c3c7b6d8bbdfa4
Reviewed-on: https://go-review.googlesource.com/c/go/+/258957
Trust: Keith Randall <khr@golang.org>
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
R... | [
{
"path": "src/cmd/asm/internal/asm/endtoend_test.go",
"patch": "@@ -353,12 +353,7 @@ func testErrors(t *testing.T, goarch, file string) {\n }\n \n func Test386EndToEnd(t *testing.T) {\n-\tdefer func(old string) { objabi.GO386 = old }(objabi.GO386)\n-\tfor _, go386 := range []string{\"387\", \"sse2\"} {\n-\... | 2020-10-01T21:49:33 |
huggingface/transformers | 15c74a28294fe9082b81b24efe58df16fed79a9e | 4e17e7dcf8ac7c72268151823e82ff8db8c8fcba | Fix VideoLlava imports (#30867)
* Fix VideoLlava imports
* Update dummy objects | [
{
"path": "src/transformers/__init__.py",
"patch": "@@ -1160,6 +1160,7 @@\n _import_structure[\"models.swin2sr\"].append(\"Swin2SRImageProcessor\")\n _import_structure[\"models.tvlt\"].append(\"TvltImageProcessor\")\n _import_structure[\"models.tvp\"].append(\"TvpImageProcessor\")\n+ _import_... | 2024-05-16T16:06:21 |
ggml-org/llama.cpp | b83111815e9a79949257e9d4b087206b320a3063 | 3228e7728789e0456d0458ce38d20d0b1d60a9aa | model : support Step3.5-Flash (#19283)
* Support Step3.5-Flash
* fix: norm.weight + 1 (HF zero_centered=true)
* step35: simplify GGUF conversion + drop redundant rope KVs
* Address review feedback
* rename limits -> clamp
* Apply suggestions from code review
Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@sc... | [
{
"path": "convert_hf_to_gguf.py",
"patch": "@@ -920,7 +920,7 @@ def set_gguf_parameters(self):\n self.gguf_writer.add_expert_group_used_count(n_group_used)\n logger.info(f\"gguf: expert groups used count = {n_group_used}\")\n \n- if (score_func := self.find_hparam([\"score_fu... | 2026-02-06T20:06:14 |
nodejs/node | 2e8c04b1bb3fd9e735b26ff0de2f18d8e9c7099c | 6a7210edcf4621f65c73e442ff7d0cb9ebe43bd3 | src: use maybe versions of methods
PR-URL: https://github.com/nodejs/node/pull/16005
Fixes: https://github.com/nodejs/node/issues/15864
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Timothy Gu <timothygu99@gm... | [
{
"path": "src/inspector_agent.cc",
"patch": "@@ -496,11 +496,11 @@ bool Agent::StartIoThread(bool wait_for_connect) {\n \n v8::Isolate* isolate = parent_env_->isolate();\n HandleScope handle_scope(isolate);\n+ auto context = parent_env_->context();\n \n // Enable tracking of async stack traces\n i... | 2017-10-06T18:30:48 |
golang/go | 507a88c39bb1089b9d44facb7dd3449a9b5a3e10 | f4cbf3477f1456b4d28a7b74b31820ee60b7e6d1 | cmd/go/internal/modfetch: always extract module directories in place
Previously by default, we extracted modules to a temporary directory,
then renamed it into place. This failed with ERROR_ACCESS_DENIED on
Windows if another process (usually an anti-virus scanner) opened
files in the temporary directory.
Since Go 1.... | [
{
"path": "src/cmd/go/internal/modfetch/fetch.go",
"patch": "@@ -63,12 +63,9 @@ func download(ctx context.Context, mod module.Version) (dir string, err error) {\n \tctx, span := trace.StartSpan(ctx, \"modfetch.download \"+mod.String())\n \tdefer span.Done()\n \n-\t// If the directory exists, and no .partial... | 2020-10-01T17:37:06 |
rust-lang/rust | 83fa2faf239b4bcde67eda7adf0a1a10dfca620d | f4a216d28ee635afce685b4206e713579f66e130 | Fix pretty printing of unsafe binders | [
{
"path": "compiler/rustc_middle/src/ty/print/pretty.rs",
"patch": "@@ -133,6 +133,20 @@ pub macro with_no_queries($e:expr) {{\n ))\n }}\n \n+#[derive(Copy, Clone, Debug, PartialEq, Eq)]\n+pub enum WrapBinderMode {\n+ ForAll,\n+ Unsafe,\n+}\n+impl WrapBinderMode {\n+ pub fn start_str(self) -> &... | 2025-03-01T19:28:04 |
huggingface/transformers | 95b3c3814db27d2a57ec16c9488792543573717c | 1b3dba9417eebe16b7c206d1dfca6a4c7f11dbec | Video-LLaVa: Fix docs (#30855)
fix model id in docs | [
{
"path": "docs/source/en/model_doc/video_llava.md",
"patch": "@@ -80,8 +80,8 @@ def read_video_pyav(container, indices):\n return np.stack([x.to_ndarray(format=\"rgb24\") for x in frames])\n \n \n-model = VideoLlavaForConditionalGeneration.from_pretrained(\"RaushanTurganbay/video-llava-7b-hf\", device_... | 2024-05-16T12:23:01 |
ggml-org/llama.cpp | 3228e7728789e0456d0458ce38d20d0b1d60a9aa | 7fbd36c50c1a439a485486729faf20b47a0e6d8c | gguf-py : bump sentencepiece version (#19319)
* gguf-py: Bump sentencepiece version
There's a new version that's been out for a while that addresses the issues mentioned in https://github.com/ggml-org/llama.cpp/pull/14200. There's a long chain of reasons I would like this change, but the short version is that it allo... | [
{
"path": "gguf-py/pyproject.toml",
"patch": "@@ -23,7 +23,7 @@ numpy = \">=1.17\"\n tqdm = \">=4.27\"\n pyyaml = \">=5.1\"\n requests = \">=2.25\"\n-sentencepiece = { version = \">=0.1.98,<=0.2.0\", optional = true }\n+sentencepiece = { version = \">=0.1.98,<0.3.0\", optional = true }\n PySide6 = { version... | 2026-02-06T20:05:19 |
ollama/ollama | 2ef9352b941bce4280d5a42a7781984b1625f7df | 3a9f4471412cf132f0fa7b872cb4f616a1dd8b59 | fix(cmd): history in alt mode | [
{
"path": "readline/buffer.go",
"patch": "@@ -25,10 +25,7 @@ func NewBuffer(prompt *Prompt) (*Buffer, error) {\n \t\treturn nil, err\n \t}\n \n-\tlwidth := width - len(prompt.Prompt)\n-\tif prompt.UseAlt {\n-\t\tlwidth = width - len(prompt.AltPrompt)\n-\t}\n+\tlwidth := width - len(prompt.prompt())\n \n \tb... | 2024-01-06T00:19:37 |
rust-lang/rust | 6b29bb6680e0df3bbcd8e9defdf0ad142e80cdf0 | 7c4a55c2ac6497629c273ccd00e185583542f0d2 | Prevent ICE in autodiff validation by emitting user-friendly errors | [
{
"path": "compiler/rustc_codegen_ssa/src/codegen_attrs.rs",
"patch": "@@ -930,13 +930,19 @@ fn autodiff_attrs(tcx: TyCtxt<'_>, id: DefId) -> Option<AutoDiffAttrs> {\n }\n }\n \n+ // Validate input and return activities\n+ let mut msg = \"\".to_string();\n for &input in &arg_activities... | 2025-03-02T22:38:55 |
golang/go | f4cbf3477f1456b4d28a7b74b31820ee60b7e6d1 | c78c79f152dff010820a22e9a79cfffe48322914 | cmd/compile: allow directory specification for GOSSAFUNC output
This was useful for debugging failures occurring during make.bash.
The added flush also ensures that any hints in the GOSSAFUNC output
are flushed before fatal exit.
The environment variable GOSSADIR specifies where the SSA html debugging
files should be... | [
{
"path": "src/cmd/compile/internal/gc/main.go",
"patch": "@@ -516,6 +516,7 @@ func Main(archInit func(*Arch)) {\n \t}\n \n \tssaDump = os.Getenv(\"GOSSAFUNC\")\n+\tssaDir = os.Getenv(\"GOSSADIR\")\n \tif ssaDump != \"\" {\n \t\tif strings.HasSuffix(ssaDump, \"+\") {\n \t\t\tssaDump = ssaDump[:len(ssaDump)-... | 2020-08-31T18:29:58 |
nodejs/node | 737239a053bb8b1f368625cceb72c3c467335481 | 4eaf1fc0f8e93e54e43bc7d9fed4436cd878a28f | doc: fix CHANGELOG_V8 indentation
Should not be nested under the bullet point. Headings need to be at the
root level.
PR-URL: https://github.com/nodejs/node/pull/16507
Refs: https://github.com/nodejs/nodejs.org/pull/1425
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: James M Snell <jasnell@gmail.c... | [
{
"path": "doc/changelogs/CHANGELOG_V8.md",
"patch": "@@ -35,29 +35,29 @@\n * [io.js](CHANGELOG_IOJS.md)\n * [Archive](CHANGELOG_ARCHIVE.md)\n \n- <a id=\"8.8.1\"></a>\n- ## 2017-10-25, Version 8.8.1 (Current), @cjihrig\n-\n- ### Notable Changes\n-\n- * **net**:\n- - Fix timeout with null handle ... | 2017-10-26T00:55:38 |
huggingface/transformers | 1b3dba9417eebe16b7c206d1dfca6a4c7f11dbec | 0753134f4d2c723aa4460f0ed14f668c94d21050 | Make `Gemma` work with `torch.compile` (#30775)
* fix
* [run-slow] gemma
* add test
* add `test_compile_static_cache`
* fix
* style
* remove subprocess
* use attribute
* fix
* style
* update
* [run-slow] dbrx,gemma,jetmoe,phi3,recurrent_gemma
---------
Co-authored-by: ydshieh <yd... | [
{
"path": "src/transformers/models/dbrx/modeling_dbrx.py",
"patch": "@@ -55,15 +55,14 @@ def __init__(self, dim, max_position_embeddings=2048, base=10000, device=None):\n self.dim = dim\n self.max_position_embeddings = max_position_embeddings\n self.base = base\n- self.registe... | 2024-05-16T11:41:33 |
ggml-org/llama.cpp | 537eadb1b9e664aa23bf19f7215c1876fc8e5fb9 | db6adb3c88a96845b7d6863f451a54484a9f5a7e | sycl: add F16 support for GGML_OP_CEIL (#19306)
* Fix SYCL CEIL operator
* sycl: implement GGML_OP_CEIL | [
{
"path": "docs/ops.md",
"patch": "@@ -22,7 +22,7 @@ Legend:\n | ARANGE | ❌ | ✅ | ✅ | ✅ | ✅ | ❌ | ✅ | ✅ | ❌ | ❌ | ❌ |\n | ARGMAX | ❌ | ✅ | ✅ | ✅ | ✅ | ❌ | ✅ | ✅ | ✅ | ❌ | ❌ |\n | ARGSORT | ❌ | ✅ | ✅ | ✅ | ✅ | 🟡 | 🟡 | ✅ | ✅ | ❌ | ... | 2026-02-06T15:13:44 |
ollama/ollama | 5580ae2472f982db5c3aae1433a02a56e0b967ec | 9c2941e61b31ca3c90098d10f3cef496011ddf0a | fix: set template without triple quotes | [
{
"path": "cmd/interactive.go",
"patch": "@@ -139,8 +139,8 @@ func generateInteractive(cmd *cobra.Command, opts generateOptions) error {\n \tfmt.Print(readline.StartBracketedPaste)\n \tdefer fmt.Printf(readline.EndBracketedPaste)\n \n+\tvar sb strings.Builder\n \tvar multiline MultilineState\n-\tvar prompt ... | 2024-01-05T23:51:33 |
huggingface/transformers | 9d889f870ed202de2859b0236895fe7f985a0c72 | 17cc71e1490179647cd43e3a7835a5d9153c4321 | Cache: add new flag to distinguish models that `Cache` but not static cache (#30800)
* jamba cache
* new flag
* generate exception | [
{
"path": "src/transformers/generation/utils.py",
"patch": "@@ -1616,6 +1616,11 @@ def generate(\n \"issue: https://github.com/huggingface/transformers/issues/28981.\"\n )\n if generation_config.cache_implementation == \"static\":\n+ if not self... | 2024-05-16T11:08:35 |
nodejs/node | 9788e96836243e2439867b81c6d6bf522115a0f5 | 1c0772444c2649f1fc0e6d1a1571b981995a08c7 | querystring: convert to using internal/errors
PR-URL: https://github.com/nodejs/node/pull/15565
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> | [
{
"path": "doc/api/errors.md",
"patch": "@@ -1116,6 +1116,11 @@ API] [`URLSearchParams` constructor][`new URLSearchParams(iterable)`] does not\n represent a `[name, value]` tuple – that is, if an element is not iterable, or\n does not consist of exactly two elements.\n \n+<a id=\"ERR_INVALID_URI\"></a>\n+##... | 2017-09-23T05:40:37 |
golang/go | c78c79f152dff010820a22e9a79cfffe48322914 | 5756b3560141d0c09c4a27d2025f5438f49f59f2 | cmd/compile: activate revert switch for late call expansion regression
Not a fix, but things will work while I fix it.
Credit @andybons "for we revert switches for scary stuff".
Updates #41736
Change-Id: I55f90860eae919765aac4f6d9f108a54139027e1
Reviewed-on: https://go-review.googlesource.com/c/go/+/258897
Trust: Da... | [
{
"path": "src/cmd/compile/internal/ssa/config.go",
"patch": "@@ -196,7 +196,7 @@ const (\n \tClassParamOut // return value\n )\n \n-const go116lateCallExpansion = true\n+const go116lateCallExpansion = false\n \n // LateCallExpansionEnabledWithin returns true if late call expansion shoul... | 2020-10-01T20:22:19 |
ggml-org/llama.cpp | dfde5993eaed8c2e7b609ab21f7e24d137d40b79 | 06bf3796f48ddd88d984218acee306ccb8638a3e | common : add common_speculative_is_compat() (#19270)
* llama : add llama_memory_can_rm_suffix()
* Revert "llama : add llama_memory_can_rm_suffix()"
This reverts commit d30e59b62a15ef4266a6503e3f4eba770aec001b.
* spec : check if the target context is compatible for spec decoding | [
{
"path": "common/speculative.cpp",
"patch": "@@ -805,6 +805,42 @@ enum common_speculative_type common_speculative_type_from_name(const std::string\n return it->second;\n }\n \n+bool common_speculative_is_compat(llama_context * ctx_tgt) {\n+ auto * mem = llama_get_memory(ctx_tgt);\n+ if (mem == nu... | 2026-02-06T14:47:22 |
ollama/ollama | 22e93efa410a5523c5896a0ac6597fc4534f1b3e | 2909dce89435fdf7227233483a64558ac593e9ec | add show info command and fix the modelfile | [
{
"path": "api/types.go",
"patch": "@@ -148,7 +148,12 @@ type DeleteRequest struct {\n }\n \n type ShowRequest struct {\n-\tName string `json:\"name\"`\n+\tName string `json:\"name\"`\n+\tModel string `json:\"model\"`\n+\tSystem string `json:\"system\"`\n+\tTemplate string `json:\"template\"`\n+\n+... | 2024-01-05T01:23:11 |
ggml-org/llama.cpp | 06bf3796f48ddd88d984218acee306ccb8638a3e | 3688c4f504f8e336663157bcc6e0af78d617420c | unicode : MSVC regex fix (#19340)
* Fix model loading regex error
* Change comments
* Use const_iterator and remove specializations
---------
Co-authored-by: Alde Rojas <hello@alde.dev> | [
{
"path": "src/unicode.cpp",
"patch": "@@ -497,49 +497,26 @@ static std::vector<size_t> unicode_regex_split_custom_llama3(const std::string &\n return bpe_offsets;\n }\n \n-// use std::wregex to split the text\n-static std::vector<size_t> unicode_regex_split_stl(const std::wstring & wtext, const std::ws... | 2026-02-06T13:56:13 |
nodejs/node | cadc47fe076caa91bda6aa148e0b37be609781d7 | d853758a227066ce4cf58d3d7577b9c513ff8c7c | module: fix extension lookups for top-level main
The reason is that absolute URLs do not go through extension and index
checks. By switching to an absolute path, the resolver still applies
extensions properly to the top-level main.
PR-URL: https://github.com/nodejs/node/pull/16526
Fixes: https://github.com/nodejs/nod... | [
{
"path": "lib/module.js",
"patch": "@@ -436,7 +436,7 @@ Module._load = function(request, parent, isMain) {\n ESMLoader.hook(hooks);\n }\n }\n- await ESMLoader.import(getURLFromFilePath(request).href);\n+ await ESMLoader.import(getURLFromFilePath(request).pathname);\n }... | 2017-10-26T19:52:00 |
golang/go | 5756b3560141d0c09c4a27d2025f5438f49f59f2 | cc2a5cf4b8b0aeaccd3dd439f8d3d68f25eef358 | runtime: align 12-byte objects to 8 bytes on 32-bit systems
Currently on 32-bit systems 8-byte fields in a struct have an alignment
of 4 bytes, which means that atomic instructions may fault. This issue
is tracked in #36606.
Our current workaround is to allocate memory and put any such atomically
accessed fields at t... | [
{
"path": "src/runtime/malloc.go",
"patch": "@@ -1016,6 +1016,14 @@ func mallocgc(size uintptr, typ *_type, needzero bool) unsafe.Pointer {\n \t\t\t// Align tiny pointer for required (conservative) alignment.\n \t\t\tif size&7 == 0 {\n \t\t\t\toff = alignUp(off, 8)\n+\t\t\t} else if sys.PtrSize == 4 && size... | 2020-09-10T21:20:46 |
huggingface/transformers | 1c21f48a505c90378582681e93bba6de15e91adb | 9fd606dbdb392e76e66a4e4e852948ebf814dbb6 | add sdpa to ViT [follow up of #29325] (#30555)
remove blank line (+1 squashed commit)
Squashed commits:
[24ccd2061] [run-slow]vit_msn,vision_encoder_decoder (+24 squashed commits)
Squashed commits:
[08bd27e7a] [run-slow]vit_msn,vision_encoder_decoder
[ec96a8db3] [run-slow]vit_msn
[ead817eca] fix vit msn multi gp... | [
{
"path": "docs/source/en/model_doc/audio-spectrogram-transformer.md",
"patch": "@@ -43,6 +43,34 @@ the authors compute the stats for a downstream dataset.\n - Note that the AST needs a low learning rate (the authors use a 10 times smaller learning rate compared to their CNN model proposed in the\n [PSLA pa... | 2024-05-16T09:56:11 |
ollama/ollama | df086d3c8c7fc79164aa02d6a8b927473c450d34 | cd8fad339826b15c109f8a9487ac0a7577f98b3b | fix docker doc to point to hub
Signed-off-by: Matt Williams <m@technovangelist.com> | [
{
"path": "docs/README.md",
"patch": "@@ -12,7 +12,7 @@ Import models using source model weights found on Hugging Face and similar sites\n \n Installing on Linux in most cases is easy using the script on Ollama.ai. To get more detail about the install, including CUDA drivers, see the **[Linux Documentation]... | 2024-01-05T02:42:23 |
nodejs/node | d853758a227066ce4cf58d3d7577b9c513ff8c7c | edd78f86acc6f7ad90cac18b57b81cbb647daeea | module: fix hook module CJS dependency loading
It can be useful to load dependencies as part of the loader hook
definition file. This fixes a bug where `import x from 'x'` would
always return `x` as `undefined` if the import was made in a loader
hooks definition module.
A parallel change to the CJS loading injection ... | [
{
"path": "lib/module.js",
"patch": "@@ -431,7 +431,8 @@ Module._load = function(request, parent, isMain) {\n ESMLoader = new Loader();\n const userLoader = process.binding('config').userLoader;\n if (userLoader) {\n- const hooks = await new Loader().import(userLoader);\n+ ... | 2017-10-22T12:42:50 |
ggml-org/llama.cpp | 3688c4f504f8e336663157bcc6e0af78d617420c | 1946e46f4c29da7b9294d702756969839e922bb8 | Kimi-Linear support (backend agnostic + MLA KV cache) (#18755)
* kimi linear model implementation
* kimi linear convert_hf_to_gguf
* kimi linear constants.py tensor_mapping.py
* Kimi Linear ggml.h
* kimi linear ggml-cpu
* Kimi Linear ggml-cuda
* Kimi Linear ggml.c
* kimi linear src/llama
* remove "const int64_... | [
{
"path": "convert_hf_to_gguf.py",
"patch": "@@ -586,6 +586,10 @@ def prepare_tensors(self):\n gguf.MODEL_TENSOR.A_ENC_EMBD_POS,\n gguf.MODEL_TENSOR.ALTUP_CORRECT_COEF,\n gguf.MODEL_TENSOR.ALTUP_PREDICT_COEF,\n+ ... | 2026-02-06T10:39:58 |
golang/go | cc2a5cf4b8b0aeaccd3dd439f8d3d68f25eef358 | 4ad5dd63a7b5bc57312a95bd7dcdb6c209456a6f | cmd/compile,cmd/internal/obj/ppc64: fix some shift rules due to a regression
A recent change to improve shifts was generating some
invalid cases when the rule was based on an AND. The
extended mnemonics CLRLSLDI and CLRLSLWI only allow
certain values for the operands and in the mask case
those values were not being ch... | [
{
"path": "src/cmd/asm/internal/asm/testdata/ppc64enc.s",
"patch": "@@ -287,8 +287,8 @@ TEXT asmtest(SB),DUPOK|NOSPLIT,$0\n \tRLDICRCC $0, R4, $15, R6 // 788603c5\n \tRLDIC $0, R4, $15, R6 // 788603c8\n \tRLDICCC $0, R4, $15, R6 // 788603c9\n-\tCLRLSLWI $16, R5, $8, R4 // 54a... | 2020-09-28T22:20:12 |
huggingface/transformers | 9fd606dbdb392e76e66a4e4e852948ebf814dbb6 | 4b3eb19fa7f359d25f62ca9108479f71de912ebc | [LLaVa-NeXT] Small fixes (#30841)
* First draft
* Update docstring | [
{
"path": "src/transformers/models/llava_next/image_processing_llava_next.py",
"patch": "@@ -156,8 +156,8 @@ class LlavaNextImageProcessor(BaseImageProcessor):\n number of channels in the image. Can be overridden by the `image_std` parameter in the `preprocess` method.\n Can be overr... | 2024-05-16T06:19:15 |
ollama/ollama | 8baaaa39c0c58bf2abf334aa9edebe3fcca23942 | cd8fad339826b15c109f8a9487ac0a7577f98b3b | Allow extension origins (still needs explicit listing), fixes #1686 | [
{
"path": "server/routes.go",
"patch": "@@ -837,6 +837,7 @@ func (s *Server) GenerateRoutes() http.Handler {\n \n \tconfig := cors.DefaultConfig()\n \tconfig.AllowWildcard = true\n+\tconfig.AllowBrowserExtensions = true\n \n \tconfig.AllowOrigins = origins\n \tfor _, allowOrigin := range defaultAllowOrigins... | 2024-01-05T01:55:47 |
ggml-org/llama.cpp | 1946e46f4c29da7b9294d702756969839e922bb8 | f9bd518a6bac615e1060dcc44f3f302f9e7ae0e8 | vulkan: For coopmat2 FA, use fp16 accumulators for the final result (#19376)
The cpu and cuda backends use fp16 for the VKQ accumulator type, this change
does the same for vulkan. This helps particularly with large head sizes which
are very register-limited.
I tried this for the coopmat1 path and it slowed down a bit... | [
{
"path": "ggml/src/ggml-vulkan/vulkan-shaders/flash_attn_base.glsl",
"patch": "@@ -240,3 +240,7 @@ void init_indices()\n // and breaking the alignment detection.\n m_stride = (p.gqa_ratio > 1) ? (p.gqa_ratio >> 16) : KV;\n }\n+\n+// Bias applied to softmax to stay in fp16 range.\n+// Based on ggml-... | 2026-02-06T08:15:13 |
nodejs/node | edd78f86acc6f7ad90cac18b57b81cbb647daeea | cf38d2f402930177225df03fe188dbc8cf30b9da | deps: cherry-pick e0d64dc from upstream V8
Original commit message:
[heap] Print the number of chunks in unmapper queue in --trace-gc-nvp
Bug: chromium:771966
Change-Id: I146b279c4713b7dd716c6d55ca5e6c6e23a3ad7e
Reviewed-on: https://chromium-review.googlesource.com/704740
Reviewed-by: Michael Lip... | [
{
"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.6',\n+ 'v8_embedder_string': '-node.7',\n \n # Enable disassembler for `--print-code... | 2017-10-25T13:54:40 |
huggingface/transformers | 4b3eb19fa7f359d25f62ca9108479f71de912ebc | 2d83324ecfdb5c545a5d64aeb97b072e27fee2fe | Fix llama model sdpa attention forward function masking bug when output_attentions=True (#30652)
* Fix llama model forward function with attention=True, same-length encoded sequence.
* Fix style
* propagate fix to modeling_cohere, gemma, dbrx, and olmo (which copy the same sdpa masking logic from llama)
* Fix... | [
{
"path": "src/transformers/models/cohere/modeling_cohere.py",
"patch": "@@ -889,7 +889,9 @@ def forward(\n if position_ids is None:\n position_ids = cache_position.unsqueeze(0)\n \n- causal_mask = self._update_causal_mask(attention_mask, inputs_embeds, cache_position, past_key_va... | 2024-05-15T17:48:19 |
golang/go | adef4deeb85ede59201f37f5145763ed55a807f7 | 75ea9953a812dcb2f64ea949054e529d9748d553 | cmd/compile: enable late expansion for interface calls
Includes a few tweaks to Value.copyOf(a) (make it a no-op for
a self-copy) and new pattern hack "___" (3 underscores) is
like ellipsis, except the replacement doesn't need to have
matching ellipsis/underscores.
Moved the arg-length check in generated pattern-matc... | [
{
"path": "src/cmd/compile/internal/gc/ssa.go",
"patch": "@@ -2556,7 +2556,7 @@ func (s *state) expr(n *Node) *ssa.Value {\n \t\treturn s.addr(n.Left)\n \n \tcase ORESULT:\n-\t\tif s.prevCall == nil || s.prevCall.Op != ssa.OpStaticLECall {\n+\t\tif s.prevCall == nil || s.prevCall.Op != ssa.OpStaticLECall &&... | 2020-08-08T02:46:43 |
ollama/ollama | e9ce91e9a609968e066859900e06e663b929d197 | 4ad6c9b11f558a3822bb7f720e51f0224228257a | Load dynamic cpu lib on windows
On linux, we link the CPU library in to the Go app and fall back to it
when no GPU match is found. On windows we do not link in the CPU library
so that we can better control our dependencies for the CLI. This fixes
the logic so we correctly fallback to the dynamic CPU library
on window... | [
{
"path": "llm/ext_server_windows.go",
"patch": "@@ -1,15 +1,12 @@\n package llm\n \n import (\n-\t\"fmt\"\n-\n \t\"github.com/jmorganca/ollama/api\"\n )\n \n func newDefaultExtServer(model string, adapters, projectors []string, numLayers int64, opts api.Options) (extServer, error) {\n \t// On windows we al... | 2024-01-04T16:41:41 |
huggingface/transformers | 3f435823e032666aa9198c304774d138c541eb1c | 58faa7b82472a712b95453382bff73ee917a06d0 | FEAT / Bitsandbytes: Add `dequantize` API for bitsandbytes quantized models (#30806)
* add method
* change method name
* more comments
* Apply suggestions from code review
Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.com>
Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.... | [
{
"path": "docs/source/en/quantization.md",
"patch": "@@ -642,6 +642,27 @@ double_quant_config = BitsAndBytesConfig(\n model_double_quant = AutoModelForCausalLM.from_pretrained(\"meta-llama/Llama-2-13b\", quantization_config=double_quant_config)\n ```\n \n+### Dequantizing `bitsandbytes` models\n+\n+Once qu... | 2024-05-15T15:17:09 |
nodejs/node | cf38d2f402930177225df03fe188dbc8cf30b9da | 55a4d66843a8d98491325e807704bad3cbe0ffa6 | deps: cherry-pick 676c413 from upstream V8
Original commit message:
[heap] Fix threshold for delayed chunks after 2c7561.
Bug: chromium:771966
Change-Id: Iac5ee55c0d31de477f21f091f4be015a1ca8d00c
Reviewed-on: https://chromium-review.googlesource.com/702382
Reviewed-by: Michael Lippautz <mlippautz... | [
{
"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.5',\n+ 'v8_embedder_string': '-node.6',\n \n # Enable disassembler for `--print-code... | 2017-10-25T13:54:28 |
golang/go | ad8447bed94ccb89338b05e7e38f7d53874f0340 | 89f687d6dbc11613f715d1644b4983905293dd33 | cmd/compile: fix late call expansion for SSA-able aggregate results and arguments
This change incorporates the decision that it should be possible to
run call expansion relatively late in the optimization chain, so that
(1) calls themselves can be exposed to useful optimizations
(2) the effect of selectors on aggregat... | [
{
"path": "src/cmd/compile/internal/gc/ssa.go",
"patch": "@@ -10,7 +10,6 @@ import (\n \t\"html\"\n \t\"os\"\n \t\"sort\"\n-\t\"strings\"\n \n \t\"bufio\"\n \t\"bytes\"\n@@ -2560,19 +2559,19 @@ func (s *state) expr(n *Node) *ssa.Value {\n \t\tif s.prevCall == nil || s.prevCall.Op != ssa.OpStaticLECall {\n \... | 2020-07-27T20:46:35 |
ollama/ollama | 4ad6c9b11f558a3822bb7f720e51f0224228257a | c0285158a91809d059ff9006dae5ce545bf9c812 | fix: pull either original model or from model on create (#1774) | [
{
"path": "server/images.go",
"patch": "@@ -485,9 +485,15 @@ func CreateModel(ctx context.Context, name, modelFileDir string, commands []pars\n \t\t\t\t\tif err != nil {\n \t\t\t\t\t\treturn err\n \t\t\t\t\t}\n-\t\t\t\t\tif err := PullModel(ctx, parent.OriginalModel, &RegistryOptions{}, fn); err != nil {\n-... | 2024-01-04T06:34:38 |
huggingface/transformers | 58faa7b82472a712b95453382bff73ee917a06d0 | 5ca085b882ab34e1565a3e95db2b25fd139d2e11 | Deprecate models script - correctly set the model name for the doc file (#30785)
* Correctly set the moel name for the doc file
* Fix up | [
{
"path": "utils/deprecate_models.py",
"patch": "@@ -79,17 +79,13 @@ def insert_tip_to_model_doc(model_doc_path, tip_message):\n \n def get_model_doc_path(model: str) -> Tuple[Optional[str], Optional[str]]:\n # Possible variants of the model name in the model doc path\n- model_doc_paths = [\n- ... | 2024-05-15T14:14:11 |
nodejs/node | 55a4d66843a8d98491325e807704bad3cbe0ffa6 | 22882d409400e02b309f2d0802b904bf9e78ef2d | deps: cherry-pick 2c75616 from upstream V8
Original commit message:
[heap] Ensure progress in unmapping memory chunks.
If sweeping is not making progress and there are many young generation
GCs happening, then this can lead to accumulation of memory chunks in
the unmapper queue.
Bug: chromium:77... | [
{
"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.4',\n+ 'v8_embedder_string': '-node.5',\n \n # Enable disassembler for `--print-code... | 2017-10-25T13:52:20 |
golang/go | 2ca2e94731b1cb2ffe7f3cc68d6afdbbe2fd99ef | 56dac60074698d23dc6acc047e61d2ad59c9610d | doc/go1.16: fix crypto typo
Change-Id: Icf962098cc22f16b0acf75db1e82eaddb9fa0c80
Reviewed-on: https://go-review.googlesource.com/c/go/+/258777
Trust: Roland Shoemaker <roland@golang.org>
Run-TryBot: Roland Shoemaker <roland@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> | [
{
"path": "doc/go1.16.html",
"patch": "@@ -164,7 +164,7 @@ <h2 id=\"library\">Core library</h2>\n TODO\n </p>\n \n-<h3 id=\"ctypto/tls\"><a href=\"/pkg/crypto/tls\">crypto/tls</a></h3>\n+<h3 id=\"crypto/tls\"><a href=\"/pkg/crypto/tls\">crypto/tls</a></h3>\n \n <p><!-- CL 256897 -->\n I/O operations on ... | 2020-10-01T14:57:00 |
huggingface/transformers | 5ca085b882ab34e1565a3e95db2b25fd139d2e11 | bdfefbadaf7553d8a104dce096fd2905692f8197 | Better llava next. (#29850)
* Better llava next.
- Batched forward with multiple image of different sizes (number of patches).
- Support training, for cases without any image.
- Support multi-image in same sequence. e.g: ["<image> <image> the first image is a dog while the second is a cat", "<image> <image> <image>... | [
{
"path": "src/transformers/models/llava_next/image_processing_llava_next.py",
"patch": "@@ -15,12 +15,13 @@\n \"\"\"Image processor class for LLaVa-NeXT.\"\"\"\n \n import math\n-from typing import Dict, List, Optional, Union\n+from typing import Dict, Iterable, List, Optional, Tuple, Union\n \n import num... | 2024-05-15T14:02:56 |
ollama/ollama | c0285158a91809d059ff9006dae5ce545bf9c812 | 77a66df72cc085b487c2e3df38f1eacb59daafa7 | tweak memory requirements error text | [
{
"path": "llm/llm.go",
"patch": "@@ -63,9 +63,9 @@ func New(workDir, model string, adapters, projectors []string, opts api.Options)\n \t\tsystemMemory := int64(memory.TotalMemory())\n \n \t\tif ggml.FileType() == \"F16\" && requiredMemory*f16Multiplier > systemMemory {\n-\t\t\treturn nil, fmt.Errorf(\"F16 ... | 2024-01-04T00:47:18 |
ggml-org/llama.cpp | b828e18c75137e29fbfd3f3daa38281172d6a636 | a4ea7a188f3f777da665d73fe297fb7bb716e526 | docker : fix vulkan build (#19352) | [
{
"path": ".devops/vulkan.Dockerfile",
"patch": "@@ -54,6 +54,7 @@ RUN apt-get update \\\n build-essential \\\n git \\\n python3 \\\n+ python3-dev \\\n python3-pip \\\n python3-wheel \\\n && pip install --break-system-packages --upgrade setuptools \\",
"additions": 1,
"del... | 2026-02-05T10:10:39 |
nodejs/node | 22882d409400e02b309f2d0802b904bf9e78ef2d | 3690a72347cae09ad63a59334257adb6a01b6ee1 | tools: fix cpplint.py when path contains non-ascii
PR-URL: https://github.com/nodejs/node/pull/16047
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> | [
{
"path": "tools/cpplint.py",
"patch": "@@ -1074,8 +1074,8 @@ def RepositoryName(self):\n \"\"\"\n fullname = self.FullName()\n # XXX(bnoordhuis) Expects that cpplint.py lives in the tools/ directory.\n- toplevel = os.path.abspath(\n- os.path.join(os.path.dirname(__file__), '..')).repl... | 2017-10-06T20:20:34 |
golang/go | 56dac60074698d23dc6acc047e61d2ad59c9610d | 734790716469c7dd887a1f31b8700d42e9cb3e29 | cmd/link: enable ASLR on windows binaries built with -buildmode=c-shared
Windows binaries built with -buildmode=c-shared set will have
IMAGE_DLLCHARACTERISTICS_DYNAMIC_BASE flag set, and
IMAGE_DLLCHARACTERISTICS_HIGH_ENTROPY_VA flag set for windows/amd64.
ASLR can be disabled on windows by using the new linker -aslr ... | [
{
"path": "src/cmd/link/internal/ld/ld_test.go",
"patch": "@@ -5,6 +5,7 @@\n package ld\n \n import (\n+\t\"debug/pe\"\n \t\"fmt\"\n \t\"internal/testenv\"\n \t\"io/ioutil\"\n@@ -167,3 +168,72 @@ func TestPPC64LargeTextSectionSplitting(t *testing.T) {\n \t\tt.Fatal(err)\n \t}\n }\n+\n+func TestWindowsBuildm... | 2020-09-16T23:59:14 |
huggingface/transformers | a42844955f3134a2b2fd8075353c710dcfb7b362 | bd9f4d79517a3ad2f9da999d090dc3bbfc506dc4 | Loading GGUF files support (#30391)
* Adds support for loading GGUF files
Co-authored-by: Younes Belkada <younesbelkada@gmail.com>
Co-authored-by: 99991 <99991@users.noreply.github.com>
* add q2_k q3_k q5_k support from @99991
* fix tests
* Update doc
* Style
* Docs
* fix CI
* Update docs/sour... | [
{
"path": "docker/transformers-all-latest-gpu/Dockerfile",
"patch": "@@ -45,6 +45,9 @@ RUN python3 -m pip install --no-cache-dir git+https://github.com/huggingface/opt\n # For video model testing\n RUN python3 -m pip install --no-cache-dir decord av==9.2.0\n \n+# For GGUF tests\n+RUN python3 -m pip install ... | 2024-05-15T12:28:20 |
ggml-org/llama.cpp | a498c75ad1d7019bc2cc1e5d83e11bb8a062861f | 3409ab842d988c3e0dc0d3110dd793a5e187d37e | vulkan: fix GPU deduplication logic. (#19222)
* vulkan: fix GPU deduplication logic.
As reported in https://github.com/ggml-org/llama.cpp/issues/19221, the
(same uuid, same driver) logic is problematic for windows+intel igpu.
Let's just avoid filtering for MoltenVK which is apple-specific, and
keep the logic the sa... | [
{
"path": "ggml/src/ggml-vulkan/ggml-vulkan.cpp",
"patch": "@@ -5561,9 +5561,9 @@ static void ggml_vk_instance_init() {\n // Check if there are two physical devices corresponding to the same GPU\n // This handles the case where the same GPU appears with different drivers (e.g... | 2026-02-05T08:06:59 |
nodejs/node | 98eab4a4610bc9a9b6f95fafd1af364c58564094 | 2f47b6869ad4e5f49a8234edd2635fef6f0bb6c6 | test: use process.features.debug in common module
Replace process.config.target_defaults.default_configuration check with
process.features.debug.
PR-URL: https://github.com/nodejs/node/pull/16537
Ref: https://github.com/nodejs/node/pull/4431#issuecomment-173663527
Reviewed-By: Refael Ackermann <refack@gmail.com>
Revi... | [
{
"path": "test/common/index.js",
"patch": "@@ -340,7 +340,7 @@ exports.spawnSyncPwd = function(options) {\n };\n \n exports.platformTimeout = function(ms) {\n- if (process.config.target_defaults.default_configuration === 'Debug')\n+ if (process.features.debug)\n ms = 2 * ms;\n \n if (global.__cover... | 2017-10-26T23:50:43 |
golang/go | b8ec1d5f49ec5f9350f2b0bd99560e4aadfcb70c | 846dce9d05f19a1f53465e62a304dea21b99f910 | internal/poll: use ignoringEINTR in Darwin Fsync
Also add comment explaining why we don't use ignoringEINTR around
call to close.
Fixes #41115
Change-Id: Ia7bbe01eaf26003f70d184b7e82803efef2b2c18
Reviewed-on: https://go-review.googlesource.com/c/go/+/258542
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian L... | [
{
"path": "src/internal/poll/fd_fsync_darwin.go",
"patch": "@@ -14,7 +14,8 @@ func (fd *FD) Fsync() error {\n \t\treturn err\n \t}\n \tdefer fd.decref()\n-\n-\t_, e1 := fcntl(fd.Sysfd, syscall.F_FULLFSYNC, 0)\n-\treturn e1\n+\treturn ignoringEINTR(func() error {\n+\t\t_, err := fcntl(fd.Sysfd, syscall.F_FUL... | 2020-10-01T00:37:24 |
ggml-org/llama.cpp | c342c3b93de358a4571941b41c35dc5ba2081145 | af252d0758b0d3ed67c57bad2a735abf53d21c55 | vulkan: fix non-contig rope (#19299) | [
{
"path": "ggml/src/ggml-vulkan/ggml-vulkan.cpp",
"patch": "@@ -1263,25 +1263,30 @@ struct vk_op_diag_mask_push_constants {\n \n struct vk_op_rope_push_constants {\n uint32_t rope_mode;\n- uint32_t ncols;\n uint32_t nrows;\n uint32_t n_dims;\n float freq_scale;\n- uint32_t p_delta_rows... | 2026-02-05T07:38:59 |
rust-lang/rust | 6867806f67ad6a8343014f8c1ca6867b72a92b1c | dee7d0e730a3a3ed98c89dd33c4ac16edc82de8a | Document workings of successors more clearly
This is an attempt to fix #135087 together with https://github.com/rust-lang/rust/pull/135886, but I am not sure if I've succeeded in adding much clarity here, so don't be shy with your comments. | [
{
"path": "library/core/src/iter/sources/successors.rs",
"patch": "@@ -1,11 +1,16 @@\n use crate::fmt;\n use crate::iter::FusedIterator;\n \n-/// Creates a new iterator where each successive item is computed based on the preceding one.\n+/// Creates an iterator which, starting from an initial item,\n+/// co... | 2025-01-22T19:16:34 |
ollama/ollama | ddbfa6fe31c4fc1894dbfdf77df53590dfdf5119 | c7ea8f237ea1f38f664ffb2450f57f13677772f7 | Fix CPU only builds
Go embed doesn't like when there's no matching files, so put
a dummy placeholder in to allow building without any GPU support
If no "server" library is found, it's safely ignored at runtime. | [
{
"path": "llm/llama.cpp/gen_linux.sh",
"patch": "@@ -35,6 +35,9 @@ BUILD_DIR=\"gguf/build/linux/cpu\"\n build\n install\n \n+# Placeholder to keep go embed happy until we start building dynamic CPU lib variants\n+touch ${BUILD_DIR}/lib/dummy.so\n+\n if [ -d /usr/local/cuda/lib64/ ]; then\n echo \"CUDA ... | 2024-01-04T00:08:34 |
nodejs/node | ee76f3153b51c60c74e7e4b0882a99f3a3745294 | a0f7ae6c4110cca75793964dc9dbbf457071dad8 | crypto: migrate setFipsCrypto to internal/errors
With the exception of ThrowCryptoError, use internal/errors
to report fips unavailable or forced
PR-URL: https://github.com/nodejs/node/pull/16428
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Joyee Cheu... | [
{
"path": "doc/api/errors.md",
"patch": "@@ -643,6 +643,17 @@ Used when an invalid value for the `format` argument has been passed to the\n Used when an invalid crypto engine identifier is passed to\n [`require('crypto').setEngine()`][].\n \n+<a id=\"ERR_CRYPTO_FIPS_FORCED\"></a>\n+### ERR_CRYPTO_FIPS_FORCE... | 2017-10-24T05:44:52 |
golang/go | 2f6e7f0ed16004e1ac40e7108878fd4ec99bb15d | f811663f0483b05bb9986ce648bb653564217c6e | src/go.mod, net/http: update bundled and latest golang.org/x/net
Updates x/net/http2 to git rev 5d4f7005572804eaf7f5ecdd2473a62557f733ba
http2: send WINDOW_UPDATE on a body's write failure
https://golang.org/cl/245158 (fixes #40423)
also updates the vendored version of golang.org/x/net as per
$ go get golan... | [
{
"path": "src/go.mod",
"patch": "@@ -4,7 +4,7 @@ go 1.16\n \n require (\n \tgolang.org/x/crypto v0.0.0-20200820211705-5c72a883971a\n-\tgolang.org/x/net v0.0.0-20200925080053-05aa5d4ee321\n+\tgolang.org/x/net v0.0.0-20200927032502-5d4f70055728\n \tgolang.org/x/sys v0.0.0-20200923182605-d9f96fdee20d // indir... | 2020-09-30T07:47:48 |
ggml-org/llama.cpp | b536eb023368701fe3564210440e2df6151c3e65 | e0c93af2a03f5c53d052dfaefd86c06ed3784646 | codeowners : add danbev for examples/debug (#19332)
* codeowners : add danbev for examples/debug
* Add @pwilkin to CODEOWNERS for debug
---------
Co-authored-by: Piotr Wilkin (ilintar) <piotr.wilkin@syndatis.com> | [
{
"path": "CODEOWNERS",
"patch": "@@ -27,6 +27,7 @@\n /examples/batched.swift/ @ggerganov\n /examples/batched/ @ggerganov\n /examples/convert-llama2c-to-ggml/ @ggerganov\n+/examples/debug/ @danbev @pwilkin\n /examples/deprecation-warning/ ... | 2026-02-04T19:20:40 |
nodejs/node | c66e5551dfd6c65a75938155c39975a44bae8be2 | 363091dea5fc23b1661160a378116512235a240f | test: use fixtures module in tls-handshake-error
PR-URL: https://github.com/nodejs/node/pull/15939
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> | [
{
"path": "test/parallel/test-tls-handshake-error.js",
"patch": "@@ -1,16 +1,18 @@\n 'use strict';\n \n const common = require('../common');\n+\n if (!common.hasCrypto)\n common.skip('missing crypto');\n \n const assert = require('assert');\n const tls = require('tls');\n-const fs = require('fs');\n+\n+co... | 2017-10-06T17:32:00 |
golang/go | f811663f0483b05bb9986ce648bb653564217c6e | bb9b319228760f9e4b2517114b6eecc6fe0cef30 | cmd/go: test more commands in mod_build_info_error
For #26909
For #41688
Change-Id: I22f28d426ce499fce6f0f1295dbde425998042aa
Reviewed-on: https://go-review.googlesource.com/c/go/+/258219
Trust: Bryan C. Mills <bcmills@google.com>
Trust: Jay Conrod <jayconrod@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com... | [
{
"path": "src/cmd/go/testdata/script/mod_build_info_err.txt",
"patch": "@@ -1,8 +1,19 @@\n # This test verifies that line numbers are included in module import errors.\n # Verifies golang.org/issue/34393.\n \n-go list -e -deps -f '{{with .Error}}{{.Pos}}: {{.Err}}{{end}}' ./main\n-stdout 'bad[/\\\\]bad.go:... | 2020-09-29T14:23:07 |
ggml-org/llama.cpp | e0c93af2a03f5c53d052dfaefd86c06ed3784646 | 423bee462b46323433e5f1e322e3076cedbeec83 | debug: make common_debug_print_tensor readable (#19331)
* debug: make common_debug_print_tensor readable
* editorconfig | [
{
"path": "common/debug.cpp",
"patch": "@@ -45,6 +45,8 @@ static float common_ggml_get_float_value(const uint8_t * data,\n return v;\n }\n \n+#define INDENT \" \"\n+\n template <bool abort>\n void common_debug_print_tensor(uint8_t * data, ggml_type type, const int64_t * ne, const size_t * nb, int64_t... | 2026-02-04T16:55:31 |
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.