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
vercel/next.js
b936be235d5ccd92083da80213522c8950493584
f6ca7aad33948e76e117799f5bb38d6c9f11e286
bugfixes for dynamic imports (#501)
[ { "path": "crates/turbopack-ecmascript/src/chunk/loader.rs", "patch": "@@ -1,6 +1,6 @@\n use std::{collections::HashSet, fmt::Write as FmtWrite};\n \n-use anyhow::Result;\n+use anyhow::{anyhow, Result};\n use turbo_tasks::{primitives::StringVc, ValueToString, ValueToStringVc};\n use turbo_tasks_fs::FileSyst...
2022-10-11T22:18:41
ollama/ollama
e0f03790b1a9d77c6ff39de21a4600832a0d41c5
3ab842b0f5033b0074f999fa25ce97a1c0ec9b29
parsers/ministral: fix nested tool call parsing by counting brace nesting (#13905) * parsers/ministral: fix nested tool call parsing by counting brace nesting * fix lint error * parsers: refactor ministral parser The old one was very tied to expecting to see only one token at a time, which I don't like to assume (w...
[ { "path": "model/parsers/ministral.go", "patch": "@@ -4,6 +4,7 @@ import (\n \t\"encoding/json\"\n \t\"fmt\"\n \t\"strings\"\n+\t\"unicode\"\n \n \t\"github.com/ollama/ollama/api\"\n )\n@@ -17,12 +18,34 @@ const (\n \tministralCollectingToolArgs\n )\n \n+// ministralEvent represents an event emitted during ...
2026-01-26T23:03:43
nodejs/node
63eb267c34198c4bece62cb6432bb2bceb399de6
289d152ce0222d3be32bf20ef7dc7d8d5e40f218
src: migrate string_bytes.cc to throw errors with code PR-URL: https://github.com/nodejs/node/pull/19739 Fixes: https://github.com/nodejs/node/issues/3175 Fixes: https://github.com/nodejs/node/issues/9489 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen ...
[ { "path": "src/string_bytes.cc", "patch": "@@ -23,6 +23,7 @@\n \n #include \"base64.h\"\n #include \"node_internals.h\"\n+#include \"node_errors.h\"\n #include \"node_buffer.h\"\n \n #include <limits.h>\n@@ -36,20 +37,6 @@\n // use external string resources.\n #define EXTERN_APEX 0xFBEE9\n \n-// TODO(addale...
2018-04-02T02:39:26
huggingface/transformers
4302b2771917046272817a0dc8e9e84fa33dd51c
deac971c469bcbb182c2e52da0b82fb3bf54cccf
Fix typos in translated quicktour docs (#35302) * fix: quicktour typos * fix: one more
[ { "path": "docs/source/ar/quicktour.md", "patch": "@@ -347,17 +347,17 @@ tensor([[0.0021, 0.0018, 0.0115, 0.2121, 0.7725],\n ```py\n >>> from transformers import AutoModel\n \n->>> tokenizer = AutoTokenizer.from_pretrained(tf_save_directory)\n->>> pt_model = AutoModelForSequenceClassification.from_pretraine...
2024-12-17T17:32:00
golang/go
bcac57f89c0ec609e6fbebcbcd42bb73fdaef2f0
3137da82fd74d534fff59092329c0ca820ff6589
cmd: upgrade golang.org/x/mod to fix go.mod parser modfile.Parse passed an empty string to the VersionFixer for the module path. This caused errors for v2+ versions. Fixes #44494 Change-Id: I13b86b6ecf6815c4bc9a96ec0668284c9228c205 Reviewed-on: https://go-review.googlesource.com/c/go/+/296131 Trust: Jay Conrod <jayc...
[ { "path": "src/cmd/go.mod", "patch": "@@ -6,7 +6,7 @@ require (\n \tgithub.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2\n \tgolang.org/x/arch v0.0.0-20201008161808-52c3e6f60cff\n \tgolang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897\n-\tgolang.org/x/mod v0.4.2-0.20210223202949-66f6d92cabd5\n+\tgol...
2021-02-24T23:24:45
vercel/next.js
f6ca7aad33948e76e117799f5bb38d6c9f11e286
a70636b5dd11dd934ae86e08af86e3f24eac31f8
swc-ast-explorer: Fix AST printing (#502) After some upgrade, we needed to wrap our parse in a `GLOBALS.set()`. The old code was giving: ```bash $ echo 'a["length"]' | RUST_BACKTRACE=1 cargo run -p swc-ast-explorer Running `target/debug/swc-ast-explorer` thread 'main' panicked at '`swc_common::GLOBALS` is requi...
[ { "path": "crates/swc-ast-explorer/src/main.rs", "patch": "@@ -5,7 +5,7 @@ use clap::Parser;\n use regex::{NoExpand, Regex};\n use swc_core::{\n base::{config::IsModule, try_with_handler, Compiler, HandlerOpts},\n- common::{errors::ColorConfig, source_map::FileName, SourceMap},\n+ common::{errors:...
2022-10-11T18:04:33
rust-lang/rust
f1ed314003a1b52218aef9779edda0a137750ffc
56cf54f03f025d034e2f3686a1521f2ee76c9152
fix: Fix `format_args` lowering for >=1.87
[ { "path": "src/tools/rust-analyzer/crates/base-db/src/lib.rs", "patch": "@@ -303,6 +303,19 @@ pub struct CrateWorkspaceData {\n pub toolchain: Option<Version>,\n }\n \n+impl CrateWorkspaceData {\n+ pub fn is_atleast_187(&self) -> bool {\n+ const VERSION_187: Version = Version {\n+ m...
2025-04-06T07:32:54
ollama/ollama
3ab842b0f5033b0074f999fa25ce97a1c0ec9b29
b8e8ef8929629ad91c774415b53cbec233fb54c8
cmd: clawdbot config fixes (#13922)
[ { "path": "cmd/config/clawdbot.go", "patch": "@@ -1,17 +1,22 @@\n package config\n \n import (\n+\t\"bytes\"\n \t\"encoding/json\"\n \t\"fmt\"\n+\t\"io\"\n \t\"os\"\n \t\"os/exec\"\n \t\"path/filepath\"\n+\t\"strings\"\n )\n \n type Clawdbot struct{}\n \n func (c *Clawdbot) String() string { return \"Clawdb...
2026-01-26T22:34:29
huggingface/transformers
e0ae9b59747445d6e470e04dc3ed45128123ee4d
6eb00dd2f0283f46d21ce9466d8d4e21dfd02550
🚨🚨🚨 Delete conversion scripts when making release wheels (#35296) * Delete conversion scripts when making release wheels * make fixup * Update docstring
[ { "path": "setup.py", "patch": "@@ -20,7 +20,7 @@\n 1. Create the release branch named: v<RELEASE>-release, for example v4.19-release. For a patch release checkout the\n current release branch.\n \n- If releasing on a special branch, copy the updated README.md on the main branch for your the commit you...
2024-12-17T14:18:42
nodejs/node
289d152ce0222d3be32bf20ef7dc7d8d5e40f218
1f29963eacf587817a6d40da527d05d151668198
src: add error code helpers to src/node_errors.h This commit adds node::ERR_*(isolate, message) helpers in the C++ land to assign error codes to existing C++ errors. The following errors are added: - ERR_MEMORY_ALLOCATION_FAILED - ERR_STRING_TOO_LARGE PR-URL: https://github.com/nodejs/node/pull/19739 Fixes: https:/...
[ { "path": "doc/api/errors.md", "patch": "@@ -1242,6 +1242,12 @@ An attempt was made to open an IPC communication channel with a synchronously\n forked Node.js process. See the documentation for the [`child_process`][] module\n for more information.\n \n+<a id=\"ERR_MEMORY_ALLOCATION_FAILED\"></a>\n+### ERR_...
2018-04-02T02:36:17
golang/go
9fe8ebf9b49e632db54aa60809e2019a2a87e28b
ad17b65b340d5a40d0da1b4cbcdc239061e97c65
test: add test case that failed with gccgo bug511.dir/b.go:10:14: error: reference to undefined field or method 'M' Change-Id: I9f96dc5c7254b310bc3e15b0bc588d62718cb4b2 Reviewed-on: https://go-review.googlesource.com/c/go/+/292009 Trust: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org...
[ { "path": "test/fixedbugs/bug511.dir/a.go", "patch": "@@ -0,0 +1,11 @@\n+// Copyright 2021 The Go Authors. All rights reserved.\n+// Use of this source code is governed by a BSD-style\n+// license that can be found in the LICENSE file.\n+\n+package a\n+\n+type S struct{}\n+\n+type A = S\n+\n+func (A) M() {}...
2021-02-15T01:59:48
vercel/next.js
46bdef81373d286408047241f8f8ef744b0a5a2f
054393421a5ecb06f7547e3f5719e68754b462cb
docs: clarify `redirects` on client-side navigation (#41362) Ref: #41344 ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature requ...
[ { "path": "docs/api-reference/next.config.js/redirects.md", "patch": "@@ -47,12 +47,14 @@ module.exports = {\n \n > **Why does Next.js use 307 and 308?** Traditionally a 302 was used for a temporary redirect, and a 301 for a permanent redirect, but many browsers changed the request method of the redirect to...
2022-10-12T22:37:56
huggingface/transformers
6eb00dd2f0283f46d21ce9466d8d4e21dfd02550
747f361da19eb4d06042b593291dfae6e5a05e05
Support for SDPA for SAM models (#34110) * feat: add support for sdpa and gradient checkpointing * fix: ruff format * fix: config sdpa * fix: sdpa layer naming convention * fix: update test_eager_matches_sdpa_inference to handle vision_hidden_states * test: skip incompatible tests and fix loading issue with sdpa ...
[ { "path": "src/transformers/models/sam/configuration_sam.py", "patch": "@@ -46,6 +46,8 @@ class SamPromptEncoderConfig(PretrainedConfig):\n The non-linear activation function in the encoder and pooler.\n \"\"\"\n \n+ base_config_key = \"prompt_encoder_config\"\n+\n def __init__(\n ...
2024-12-17T13:46:05
ollama/ollama
465d124183e5a57cbd9a301b91c2bb633d353935
d310e56fa38568199a603b61f2fe46fe79e113bd
cmd: fix opencode config (#13894)
[ { "path": "cmd/config/opencode.go", "patch": "@@ -105,17 +105,26 @@ func (o *OpenCode) Edit(modelList []string) error {\n \n \tfor name, cfg := range models {\n \t\tif cfgMap, ok := cfg.(map[string]any); ok {\n-\t\t\tif displayName, ok := cfgMap[\"name\"].(string); ok {\n-\t\t\t\tif strings.HasSuffix(displa...
2026-01-25T02:42:56
nodejs/node
1f29963eacf587817a6d40da527d05d151668198
3217c707185a0918818a14f5f9ddf400d5590c7d
test,http: fix http dump test Make sure the dump test actually verify what is happening and it is not flaky. See: https://github.com/nodejs/node/issues/19139 PR-URL: https://github.com/nodejs/node/pull/19823 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "lib/_http_server.js", "patch": "@@ -560,7 +560,7 @@ function resOnFinish(req, res, socket, state, server) {\n // if the user never called req.read(), and didn't pipe() or\n // .resume() or .on('data'), then we call req._dump() so that the\n // bytes will be pulled off the wire.\n- if (!req...
2018-04-05T08:17:23
golang/go
ad17b65b340d5a40d0da1b4cbcdc239061e97c65
37ca84a9cd6a8a76dfe91263a17d2b92b17a24b3
testing/fstest: treat dash specially when building glob "[-]" is not a valid path.Match pattern. Fixes #44474 Change-Id: I0932bbf08ffb8ad0c5337d69d0893f53c1ba89ad Reviewed-on: https://go-review.googlesource.com/c/go/+/294869 Trust: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> Try...
[ { "path": "src/testing/fstest/testfs.go", "patch": "@@ -303,7 +303,7 @@ func (t *fsTester) checkGlob(dir string, list []fs.DirEntry) {\n \t\tfor i, e := range elem {\n \t\t\tvar pattern []rune\n \t\t\tfor j, r := range e {\n-\t\t\t\tif r == '*' || r == '?' || r == '\\\\' || r == '[' {\n+\t\t\t\tif r == '*' ...
2021-02-21T23:28:41
huggingface/transformers
747f361da19eb4d06042b593291dfae6e5a05e05
6c08b3b6e5bd1a6cc4253115c4e76889ea108afc
Add sdpa for Beit (#34941) * Add sdpa for Beit * Updates * [run-slow] beit * Update inference benchmarks * Update * Fix - add missed to super().forward() * Updates * Fix missing import
[ { "path": "docs/source/en/model_doc/beit.md", "patch": "@@ -71,6 +71,43 @@ alt=\"drawing\" width=\"600\"/>\n \n <small> BEiT pre-training. Taken from the <a href=\"https://arxiv.org/abs/2106.08254\">original paper.</a> </small>\n \n+### Using Scaled Dot Product Attention (SDPA)\n+\n+PyTorch includes a nativ...
2024-12-17T13:44:47
vercel/next.js
3f1a61b18f9bf171180f4bd84fd54f922ac4cba0
b96ff8de2f6f6129a576fab1fb86eec2569346ba
Ensure content is kept rendered below the error overlay on build errors in new router (#41360) - Remove unused code - Keep rendering underlying component tree when there is a build error - Move error catch up one level ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Err...
[ { "path": "packages/next/client/components/react-dev-overlay/internal/ErrorBoundary.tsx", "patch": "@@ -1,33 +0,0 @@\n-import React from 'react'\n-\n-type ErrorBoundaryProps = {\n- isMounted?: boolean\n-}\n-type ErrorBoundaryState = { error: Error | null }\n-\n-class ErrorBoundary extends React.PureCompone...
2022-10-12T14:36:24
ollama/ollama
a1ca428c90e6a0d8e5a94be7806f3319ab2cc680
16750865d11ecce48d45bb152c2793753b8781e6
glm4moelite: fix attention scale calculation (#13893) Use the original key dimension (qkNopeHeadDim + qkRopeHeadDim = 256) for the attention scale instead of the MLA absorbed dimension (kvLoraRank + qkRopeHeadDim = 576). MLA absorption is a mathematically equivalent reorganization of the attention computation - it sh...
[ { "path": "model/models/glm4moelite/model.go", "patch": "@@ -223,12 +223,7 @@ func New(c fs.Config) (model.Model, error) {\n \n \tkeyLength := int(c.Uint(\"attention.key_length\"))\n \tvalueLength := int(c.Uint(\"attention.value_length\"))\n-\tkvLoraRank := int(c.Uint(\"attention.kv_lora_rank\"))\n-\tqkRope...
2026-01-25T01:48:09
nodejs/node
c60c93cba27626680061109766cbc2e102dd38a8
4545cc17b9b95d20d98e7f4fd851d8a987ca9a9c
doc, http2: add sections for server.close() Clarify current behavior of http2server.close() and http2secureServer.close() w.r.t. perceived differences when compared with httpServer.close(). Fixes: https://github.com/nodejs/node/issues/19711 PR-URL: https://github.com/nodejs/node/pull/19802 Reviewed-By: Vse Mozhet By...
[ { "path": "doc/api/http2.md", "patch": "@@ -1538,6 +1538,18 @@ added: v8.4.0\n The `'timeout'` event is emitted when there is no activity on the Server for\n a given number of milliseconds set using `http2server.setTimeout()`.\n \n+#### server.close([callback])\n+<!-- YAML\n+added: v8.4.0\n+-->\n+- `callbac...
2018-04-04T12:32:18
golang/go
37ca84a9cd6a8a76dfe91263a17d2b92b17a24b3
76c0003cd5645078e342c1d24c98b3ce5ae42eb4
syscall: return error if GetQueuedCompletionStatus truncates key This function has the wrong signature, so return an error when that actually might lead to unexpected results. Users should switch to x/sys/windows for the real version of this function. Updates #44538. Change-Id: I4d1f3d1e380815733ecfea683f939b1d25dcc...
[ { "path": "src/syscall/syscall_windows.go", "patch": "@@ -1229,6 +1229,9 @@ func GetQueuedCompletionStatus(cphandle Handle, qty *uint32, key *uint32, overla\n \terr := getQueuedCompletionStatus(cphandle, qty, pukey, overlapped, timeout)\n \tif key != nil {\n \t\t*key = uint32(ukey)\n+\t\tif uintptr(*key) !=...
2021-02-25T01:58:04
huggingface/transformers
6c08b3b6e5bd1a6cc4253115c4e76889ea108afc
f33a0cebb37454a25af3d0be44832ea53c39733d
Add Falcon3 documentation (#35307) * Add Falcon3 documentation * Update Falcon3 documentation * Change Falcon to Falcon3 * Update docs and run make fix-copies * Add blog post and huggingface models links
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -396,6 +396,8 @@\n title: ESM\n - local: model_doc/falcon\n title: Falcon\n+ - local: model_doc/falcon3\n+ title: Falcon3\n - local: model_doc/falcon_mamba\n title: FalconMamba\n - local: model_doc/fa...
2024-12-17T13:23:13
vercel/next.js
b96ff8de2f6f6129a576fab1fb86eec2569346ba
9b106db25a861f31f58e394826d1a0984a9c4801
Fix CSS imports tree-shaking (#41357) The way we currently track server CSS imports is to collect CSS files that each **module** depends on. This happens on the module graph level which is a global thing and cannot be tree-shaken properly (check the enabled test for more details). In this PR we collect another inform...
[ { "path": "packages/next/build/webpack/loaders/next-app-loader.ts", "patch": "@@ -33,6 +33,7 @@ async function createTreeCodeFromPath({\n }) {\n const splittedPath = pagePath.split(/[\\\\/]/)\n const appDirPrefix = splittedPath[0]\n+ const pages: string[] = []\n \n async function createSubtreePropsFr...
2022-10-12T13:41:19
ollama/ollama
0209c268bbc82f9001c8a35bcd7b7f4cf20a2263
912d98434664b8a49ba6d0ffc42b0d0e5b435546
llama: fix CUDA MMA errors in release build (#13874)
[ { "path": "llama/patches/0032-ggml-enable-MLA-flash-attention-for-GLM-4.7-flash.patch", "patch": "@@ -17,21 +17,22 @@ CUDA changes:\n - Add tile configs for (576, 512, 4) and (576, 512, 8)\n - Add MMA config cases for ncols 4\n - Add template instances for ncols2=4\n+- Fix nbatch_fa values in nvidia_fp32 co...
2026-01-24T04:10:04
golang/go
666ad85df450e3a54a77954f97423980b6ac064f
d822ffebc59d27190ac145a71c726dad35769225
cmd/compile: fix typo in rewrite_test.go insted -> instead Change-Id: Ib8a0423cf99f615976f058468873fb576dd96db6 GitHub-Last-Rev: 8e1a1d08807a35c55d65a2e3f8bb28418a43b3a8 GitHub-Pull-Request: golang/go#44598 Reviewed-on: https://go-review.googlesource.com/c/go/+/296309 Reviewed-by: Keith Randall <khr@golang.org> Trust...
[ { "path": "src/cmd/compile/internal/ssa/rewrite_test.go", "patch": "@@ -13,7 +13,7 @@ func TestMove(t *testing.T) {\n \tcopy(x[1:], x[:])\n \tfor i := 1; i < len(x); i++ {\n \t\tif int(x[i]) != i {\n-\t\t\tt.Errorf(\"Memmove got converted to OpMove in alias-unsafe way. Got %d insted of %d in position %d\", ...
2021-02-25T03:03:45
vercel/next.js
6652d783e42d5ee8b64777f59c365604cadd8c9d
7b7fae5a8c71770aa9b4688a0fa3b74ee6e2ea29
proper error if middleware or api/route not return a Response (#41336) ## Bug The error which is thrown if the fetch method returns not a falsy or Response value is misleading. Co-authored-by: Balázs Orbán <info@balazsorban.com>
[ { "path": "packages/next/server/web/adapter.ts", "patch": "@@ -106,6 +106,11 @@ export async function adapter(params: {\n const event = new NextFetchEvent({ request, page: params.page })\n let response = await params.handler(request, event)\n \n+ // check if response is a Response object\n+ if (respon...
2022-10-12T12:02:25
ollama/ollama
912d98434664b8a49ba6d0ffc42b0d0e5b435546
aae6ecbaffb1909018f3d9e289166c50a2eaffc5
llama: fix fattn-tile shared memory overflow on sm_50/52 (#13872) Use nthreads=128 for ncols=4 configurations in flash attention tile kernel to reduce shared memory usage below 48KB limit on Maxwell architectures (sm_50/52). With nthreads=256 and ncols=4, np=2 which caused shared memory to exceed 48KB. With nthreads=...
[ { "path": "llama/patches/0032-ggml-enable-MLA-flash-attention-for-GLM-4.7-flash.patch", "patch": "@@ -17,7 +17,6 @@ CUDA changes:\n - Add tile configs for (576, 512, 4) and (576, 512, 8)\n - Add MMA config cases for ncols 4\n - Add template instances for ncols2=4\n-- Fix nbatch_fa values in nvidia_fp32 conf...
2026-01-24T03:22:32
huggingface/transformers
f33a0cebb37454a25af3d0be44832ea53c39733d
a7f5479b45a8040392af80bf1107a2bdd796931c
Add ColPali to 🤗 transformers (#33736) * feat: run `add-new-model-like` * feat: add paligemma code with "copied from" * feat: add ColPaliProcessor * feat: add ColPaliModel * feat: add ColPaliConfig * feat: rename `ColPaliForConditionalGeneration` to `ColPaliModel` * fixup modeling colpali * fix: fix root impor...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -834,6 +834,8 @@\n title: CLIPSeg\n - local: model_doc/clvp\n title: CLVP\n+ - local: model_doc/colpali\n+ title: ColPali\n - local: model_doc/data2vec\n title: Data2Vec\n - local: model_doc/deplot", ...
2024-12-17T10:26:43
golang/go
d822ffebc59d27190ac145a71c726dad35769225
ff614b13d90961f55b1058bd798c6d4e92d3939c
test: fix inline.go test for linux-amd64-noopt math.Float32bits was not being inlined across package boundaries. Create a private func that can be inlined with -l. Change-Id: Ic50bf4727dd8ade09d011eb204006b7ee88db34a Reviewed-on: https://go-review.googlesource.com/c/go/+/295989 Reviewed-by: Josh Bleecher Snyder <josh...
[ { "path": "test/inline.go", "patch": "@@ -10,7 +10,6 @@\n package foo\n \n import (\n-\t\"math\"\n \t\"runtime\"\n \t\"unsafe\"\n )\n@@ -267,12 +266,18 @@ func gd3() func() { // ERROR \"can inline gd3\"\n // Issue #42788 - ensure ODEREF OCONVNOP* OADDR is low cost.\n func EncodeQuad(d []uint32, x [6]float32...
2021-02-24T19:08:52
vercel/next.js
7b7fae5a8c71770aa9b4688a0fa3b74ee6e2ea29
8db5991714563c591e641e840abb02076284098f
inline httpproxy usage (#41330) Same as https://github.com/vercel/next.js/pull/41322 we inline the usage of this module because it's heavy and not always used on regular servers + not used at all on minimal mode ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have ...
[ { "path": "packages/next/server/next-server.ts", "patch": "@@ -50,7 +50,6 @@ import {\n import { recursiveReadDirSync } from './lib/recursive-readdir-sync'\n import { format as formatUrl, UrlWithParsedQuery } from 'url'\n import compression from 'next/dist/compiled/compression'\n-import HttpProxy from 'next...
2022-10-12T09:03:45
huggingface/transformers
a7f5479b45a8040392af80bf1107a2bdd796931c
f5620a76344595dbc7c9cff97bbd1edc1696854d
fix modular order (#35297) * fix modular ordre * fix * style
[ { "path": "utils/create_dependency_mapping.py", "patch": "@@ -1,40 +1,48 @@\n import ast\n-from collections import defaultdict, deque\n+from collections import defaultdict\n \n \n # Function to perform topological sorting\n def topological_sort(dependencies):\n- # Create a graph and in-degree count for e...
2024-12-17T07:05:35
ollama/ollama
64737330a4684a052a67a208bc97cdbf21c54011
2eda97f1c336a2db2cbe7556fbc96b965705240e
Re-apply "model: add MLA absorption for glm4moelite" with fix (#13870) The nvidia_fp32 config for (576, 512) head sizes had nbatch_fa=32, which caused zero-sized arrays when computing array dimensions: nbatch_fa / (np * warp_size) = 32 / (2 * 32) = 0 This resulted in CUDA compilation failures on CUDA 12 (Windows an...
[ { "path": "convert/convert_glm4moelite.go", "patch": "@@ -6,6 +6,10 @@ import (\n \t\"log/slog\"\n \t\"regexp\"\n \t\"strconv\"\n+\t\"strings\"\n+\n+\t\"github.com/pdevine/tensor\"\n+\t\"github.com/pdevine/tensor/native\"\n \n \t\"github.com/ollama/ollama/fs/ggml\"\n )\n@@ -69,6 +73,9 @@ func (p *glm4MoeLit...
2026-01-24T02:40:28
golang/go
ff614b13d90961f55b1058bd798c6d4e92d3939c
dbbc5ec7e87f1976188c57ce4fb0d41e324df687
runtime: subtract one from ip when determining abort On windows/arm, the abort is given from one byte off of the function address, perhaps because Windows wants to simulate x86/amd64 modes, or because it's jumping from thumb mode. This is not the case with windows/arm64, though. This prevents a failure in the builder...
[ { "path": "src/runtime/signal_windows.go", "patch": "@@ -45,9 +45,10 @@ func initExceptionHandler() {\n //go:nosplit\n func isAbort(r *context) bool {\n \tpc := r.ip()\n-\tif GOARCH == \"386\" || GOARCH == \"amd64\" {\n+\tif GOARCH == \"386\" || GOARCH == \"amd64\" || GOARCH == \"arm\" {\n \t\t// In the cas...
2021-02-25T00:29:58
vercel/next.js
8db5991714563c591e641e840abb02076284098f
bf630e8e57bb3338d982464eba7d6ca5063a24f1
Update rsc error message (#41351) Follow up for #41333, updating the error message with `"use client"` directives in suggestion
[ { "path": "packages/next/build/webpack/plugins/wellknown-errors-plugin/parseRSC.ts", "patch": "@@ -19,24 +19,24 @@ export function formatRSCErrorMessage(\n if (NEXT_RSC_ERR_REACT_API.test(message)) {\n formattedMessage = message.replace(\n NEXT_RSC_ERR_REACT_API,\n- `\\n\\nYou're im...
2022-10-12T08:35:50
huggingface/transformers
eb92bc44b771979e265f394dd2d8b846eeca623b
886f690e76cdf647bb38851abca7b59add27dd95
Fix wrongs in quicktour[zh] (#35272) Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
[ { "path": "docs/source/zh/quicktour.md", "patch": "@@ -355,17 +355,17 @@ tensor([[0.0021, 0.0018, 0.0115, 0.2121, 0.7725],\n ```py\n >>> from transformers import AutoModel\n \n->>> tokenizer = AutoTokenizer.from_pretrained(tf_save_directory)\n->>> pt_model = AutoModelForSequenceClassification.from_pretraine...
2024-12-16T17:23:34
rust-lang/rust
51e67e21cf2ca50a431d392a03dcc66377a365cd
1f06a6a25238e3f13c78a7ec2ac25af07d44a710
LLVM18 compatibility fixes in the tests
[ { "path": "tests/codegen/enum/enum-match.rs", "patch": "@@ -6,6 +6,9 @@\n \n // Check each of the 3 cases for `codegen_get_discr`.\n \n+// FIXME: once our min-bar LLVM has `range` attributes, update the various\n+// tests here to no longer have the `range`s and `nsw`s as optional.\n+\n // Case 0: One tagged...
2025-03-29T19:45:20
ollama/ollama
66831dcf701913b2ebc2d659e3624131944bf86d
1044b0419a5e9f2508e3268ce3af8d83292d62fb
x/imagegen: fix image editing support (#13866) - Fix panic in ollama show for image gen models (safe type assertion) - Add vision capability for Flux2KleinPipeline models at create time - Flatten transparent PNG images onto white background for better results
[ { "path": "cmd/cmd.go", "patch": "@@ -1019,8 +1019,10 @@ func showInfo(resp *api.ShowResponse, verbose bool, w io.Writer) error {\n \t\t}\n \n \t\tif resp.ModelInfo != nil {\n-\t\t\tarch := resp.ModelInfo[\"general.architecture\"].(string)\n-\t\t\trows = append(rows, []string{\"\", \"architecture\", arch})\...
2026-01-23T23:37:17
nodejs/node
3dc540410596ff1173586ba1bd9c171196d6f348
f8b3774d859dd6d210afc6a9b39dc4dd7cb025dd
test: resolve process.setegid error on Ubuntu When the tests are run as root in Ubuntu, process.setegid is called with 'nobody' as an argument. This throws an error in Ubuntu. This is because in Ubuntu the equivalent of 'nobody' group is named as 'nogroup'. This commit sets egid to 'nobody' first and if it throws a `...
[ { "path": "test/parallel/test-process-geteuid-getegid.js", "patch": "@@ -38,7 +38,15 @@ if (process.getuid() !== 0) {\n \n // If we are running as super user...\n const oldgid = process.getegid();\n-process.setegid('nobody');\n+try {\n+ process.setegid('nobody');\n+} catch (err) {\n+ if (err.message !== '...
2018-04-02T17:25:31
golang/go
dbbc5ec7e87f1976188c57ce4fb0d41e324df687
d0d21b7c4c92df8bf60059cbea4c20cfe4ae5fee
syscall: restore broken GetQueuedCompletionStatus signature but make it not crash This reverts commit dc4698f52b5ad3f0251e0cc25bc7ffbd10e23f2c, and then fixes the memory corruption issue. It also suggests users switch to x/sys/windows for the proper function. This requires CL 295174 to be submitted first. Updates #4...
[ { "path": "api/except.txt", "patch": "@@ -471,9 +471,6 @@ pkg syscall (openbsd-amd64-cgo), type Statfs_t struct, Pad_cgo_1 [4]uint8\n pkg syscall (openbsd-amd64-cgo), type Timespec struct, Pad_cgo_0 [4]uint8\n pkg syscall (openbsd-amd64-cgo), type Timespec struct, Sec int32\n pkg syscall (windows-386), cons...
2021-02-24T21:59:59
huggingface/transformers
22834eeba1c2bf8d632e22fca238ab7c15d1b904
9feae5fb0164e89d4998e5776897c16f7330d3df
Fix typos in Translated Audio Classification Docs (#35287) * fix: qwen2 model ids * fix: line * fix: more format * update: reformat * fix: doc typos
[ { "path": "docs/source/ja/tasks/audio_classification.md", "patch": "@@ -128,7 +128,7 @@ DatasetDict({\n >>> feature_extractor = AutoFeatureExtractor.from_pretrained(\"facebook/wav2vec2-base\")\n ```\n \n-MInDS-14 データセットのサンプリング レートは 8000khz です (この情報は [データセット カード](https://huggingface.co/datasets/PolyAI/minds1...
2024-12-16T16:51:32
vercel/next.js
bf630e8e57bb3338d982464eba7d6ca5063a24f1
e0bb25806bdb65455602cfd3e8570c0f8dd49a8b
Refactor error overlay for new router (#41343) Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
[ { "path": "packages/next/client/components/app-router.tsx", "patch": "@@ -36,11 +36,13 @@ function urlToUrlWithoutFlightMarker(url: string): URL {\n return urlWithoutFlightParameters\n }\n \n-const HotReloader: typeof import('./hot-reloader').default | null =\n+const HotReloader:\n+ | typeof import('./re...
2022-10-12T07:40:44
nodejs/node
f8b3774d859dd6d210afc6a9b39dc4dd7cb025dd
cf5f9867ff3e700dfd72519e7bdeb701e254317f
errors: fix typo in internal/errors.js Corrects "eqaul" to "equal" in the description for the ERR_NAPI_INVALID_DATAVIEW_ARGS error message. PR-URL: https://github.com/nodejs/node/pull/19800 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Michaël Zasso <t...
[ { "path": "lib/internal/errors.js", "patch": "@@ -858,7 +858,7 @@ E('ERR_MODULE_RESOLUTION_LEGACY',\n E('ERR_MULTIPLE_CALLBACK', 'Callback called multiple times', Error);\n E('ERR_NAPI_CONS_FUNCTION', 'Constructor must be a function', TypeError);\n E('ERR_NAPI_INVALID_DATAVIEW_ARGS',\n- 'byte_offset + byte...
2018-04-04T16:04:41
ollama/ollama
771d9280ec36ab72b8465aa405d71772e3f1721b
862bc0a3bf1612d69e4799e3b66fc77addb3bc16
cmd: ollama config fix droid model name configuration (#13856)
[ { "path": "cmd/config/droid.go", "patch": "@@ -7,14 +7,23 @@ import (\n \t\"os/exec\"\n \t\"path/filepath\"\n \t\"slices\"\n-\t\"strings\"\n )\n \n // Droid implements Runner and Editor for Droid integration\n type Droid struct{}\n \n-// droidModelEntry represents a custom model entry in Droid's settings.js...
2026-01-23T19:44:22
rust-lang/rust
b8c4c163f0e2e3438eb474c6b0ae5fa545061aa9
0c478fdfe138a8b09744798c85fe2be657768b00
Suppress missing field error when autoderef bottoms out in infer
[ { "path": "compiler/rustc_hir_typeck/src/expr.rs", "patch": "@@ -2915,8 +2915,13 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {\n }\n // We failed to check the expression, report an error.\n \n- // Emits an error if we deref an infer variable, like calling `.field` on a base type of &_.\n- ...
2025-04-05T20:37:56
huggingface/transformers
9feae5fb0164e89d4998e5776897c16f7330d3df
d5b81e1ca173efb102649446249e3f2669b98410
[Whisper] patch float type on mps (#35295) * fix float type on mps * make
[ { "path": "src/transformers/models/whisper/generation_whisper.py", "patch": "@@ -632,7 +632,9 @@ def generate(\n cur_bsz=cur_bsz,\n batch_idx_map=batch_idx_map,\n )\n- time_offset = seek.to(torch.float64) * time_precision / input_stride\n+ ti...
2024-12-16T15:52:47
vercel/next.js
e0bb25806bdb65455602cfd3e8570c0f8dd49a8b
de8ae7313f9b4cf84825ed1e330976427dc10fc8
Ensure RSC paths are normalized in minimal mode (#41348) This ensures we probably remove RSC from the path/URL when in minimal mode. ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` Fixes: [slack thread](https://...
[ { "path": "packages/next/build/webpack/loaders/next-serverless-loader/utils.ts", "patch": "@@ -29,6 +29,7 @@ import cookie from 'next/dist/compiled/cookie'\n import { TEMPORARY_REDIRECT_STATUS } from '../../../../shared/lib/constants'\n import { addRequestMeta } from '../../../../server/request-meta'\n impo...
2022-10-12T07:17:17
golang/go
d0d21b7c4c92df8bf60059cbea4c20cfe4ae5fee
8027343b6395536aa8bef8158bad8f4c290dd650
cmd/compile: plumb abi info into expandCalls Work in progress. TODO: - insert debugging output for all the steps listed below - emit modified call instructions w/ multiple register inputs and Result-typed outputs (next CL) - initially just change output from "mem" to "Result{mem}" = most places this hits will b...
[ { "path": "src/cmd/compile/internal/abi/abiutils.go", "patch": "@@ -30,6 +30,10 @@ type ABIParamResultInfo struct {\n \tconfig *ABIConfig // to enable String() method\n }\n \n+func (a *ABIParamResultInfo) Config() *ABIConfig {\n+\treturn a.config\n+}\n+\n func (a *ABIParamResultInfo) InParams() [...
2021-02-01T18:26:47
nodejs/node
cf5f9867ff3e700dfd72519e7bdeb701e254317f
1e07acd476309e7ddc4981160b89731b61a31179
stream: 'readable' have precedence over flowing In Streams3 the 'readable' event/.read() method had a lower precedence than the `'data'` event that made them impossible to use them together. This make `.resume()` a no-op if there is a listener for the `'readable'` event, making the stream non-flowing if there is a `'d...
[ { "path": "doc/api/stream.md", "patch": "@@ -762,6 +762,9 @@ changes:\n description: >\n 'readable' is always emitted in the next tick after\n .push() is called\n+ - version: REPLACEME\n+ pr-url: https://github.com/nodejs/node/pull/18994\n+ description: Using 'readable' requires calli...
2018-02-26T08:24:30
rust-lang/rust
45afefa7c025f3847439822b053edf76ae62e561
0c478fdfe138a8b09744798c85fe2be657768b00
Fix trait upcasting to dyn type with no principal when there are projections
[ { "path": "compiler/rustc_trait_selection/src/traits/select/confirmation.rs", "patch": "@@ -1090,26 +1090,36 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {\n {\n // See `assemble_candidates_for_unsizing` for more info.\n // We already checked the compatibility o...
2025-04-05T19:33:47
huggingface/transformers
85eb3392318fc91a97692f23e1ce69b916567185
14910281a7abd033695d0423c7d91f5276295a7f
Fix : model used to test ggml conversion of Falcon-7b is incorrect (#35083) fixing test model
[ { "path": "tests/quantization/ggml/test_ggml.py", "patch": "@@ -45,7 +45,8 @@ class GgufIntegrationTests(unittest.TestCase):\n phi3_model_id = \"microsoft/Phi-3-mini-4k-instruct-gguf\"\n bloom_model_id = \"afrideva/bloom-560m-GGUF\"\n original_bloom_model_id = \"bigscience/bloom-560m\"\n- fal...
2024-12-16T12:21:44
vercel/next.js
de8ae7313f9b4cf84825ed1e330976427dc10fc8
5d7d7391e0c86d446f863027727fb12f21e91330
Support aarch64 Linux with page size >= 16k (#41229) Fixes https://github.com/vercel/next.js/issues/39311 Backport of upstream patch https://github.com/swc-project/swc/pull/6075 More details are described in https://github.com/swc-project/swc/issues/5967 I confirm that the swc plugin, when compiled with this patch,...
[ { "path": ".github/workflows/build_test_deploy.yml", "patch": "@@ -1361,6 +1361,7 @@ jobs:\n docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian-aarch64\n build: >-\n set -e &&\n+ export JEMALLOC_SYS_WITH_LG_PAGE=16 &&\n rustup toolchain in...
2022-10-12T06:13:06
golang/go
8027343b6395536aa8bef8158bad8f4c290dd650
6c3f8a2f4730f005850be7fde3a3dac6dc5323a6
cmd/compile: disable inlining functions with closures for now Added a flag '-d=inlfuncswithclosures=1' to allow inlining functions with closures, and change the default to off for now, until #44370 is fixed. Updates #44370. Change-Id: Ic17723aa5c091d91f5f5004d8b63ec7125257acf Reviewed-on: https://go-review.googlesou...
[ { "path": "src/cmd/compile/internal/base/debug.go", "patch": "@@ -29,28 +29,29 @@ var Debug = DebugFlags{\n // The -d option takes a comma-separated list of settings.\n // Each setting is name=value; for ints, name is short for name=1.\n type DebugFlags struct {\n-\tAppend int `help:\"print inform...
2021-02-24T21:03:17
rust-lang/rust
3af666ea915aa0a125f5d473e30b20600ca90f08
bad13a970a136389187dd1cf2f2fc737a8bea5fc
tidy: Fix paths to coretests and alloctests Following `#135937` and `#136642`, tests for core and alloc are in coretests and alloctests. Fix tidy to lint for the new paths. Also, update comments referring to the old locations. Some context for changes which don't match that pattern: * library/std/src/thread/local/dyn...
[ { "path": "library/core/src/fmt/mod.rs", "patch": "@@ -3016,6 +3016,6 @@ impl<T: ?Sized> Debug for SyncUnsafeCell<T> {\n }\n }\n \n-// If you expected tests to be here, look instead at the core/tests/fmt.rs file,\n+// If you expected tests to be here, look instead at coretests/tests/fmt/;\n // it's a lo...
2025-03-29T22:23:58
huggingface/transformers
14910281a7abd033695d0423c7d91f5276295a7f
66531a1ec3e2aafe7ffb23a9ca715cfb67b9fea0
Blip: fix offloading and MP tests (#35239) * fix device map * fix offloading + model parallel test
[ { "path": "src/transformers/models/blip/modeling_blip.py", "patch": "@@ -464,7 +464,8 @@ class BlipPreTrainedModel(PreTrainedModel):\n config_class = BlipConfig\n base_model_prefix = \"blip\"\n supports_gradient_checkpointing = True\n- _no_split_modules = [\"BlipEncoderLayer\"]\n+ _no_spli...
2024-12-16T11:44:33
nodejs/node
1e07acd476309e7ddc4981160b89731b61a31179
38a692963f000e3bd0f8413617d3b5774039dff8
crypto: add support for AES-CCM This commit adds support for another AEAD algorithm and introduces required API changes and extensions. Due to the design of CCM itself and the way OpenSSL implements it, there are some restrictions when using this mode as outlined in the updated documentation. PR-URL: https://github.c...
[ { "path": "doc/api/crypto.md", "patch": "@@ -241,17 +241,22 @@ Once the `cipher.final()` method has been called, the `Cipher` object can no\n longer be used to encrypt data. Attempts to call `cipher.final()` more than\n once will result in an error being thrown.\n \n-### cipher.setAAD(buffer)\n+### cipher.s...
2017-12-18T12:22:08
vercel/next.js
e1e64e072ee5592087b1e41f9040e5e5401c5113
5162b64c21f999dfe09ed9bd14d29050dd0b778b
Test for unused css modules with layout (#41018) Similar to #40996. This PR only adds a failing test that should pass. Also updates wrong url of previous test. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## ...
[ { "path": "test/e2e/app-dir/app/app/css/css-page/unused-nested/inner/page.js", "patch": "@@ -0,0 +1,3 @@\n+export default function Inner() {\n+ return <p>Inner Page</p>\n+}", "additions": 3, "deletions": 0, "language": "JavaScript" }, { "path": "test/e2e/app-dir/app/app/css/css-page/unu...
2022-10-11T23:00:14
rust-lang/rust
0acac2cbe306b8db9bc0a7c45f529f1dfa6680c8
0c478fdfe138a8b09744798c85fe2be657768b00
std: Fix build for NuttX targets Fix std build for all NuttX targets. It is the single largest set of failures on <https://does-it-build.noratrieb.dev/>. Although, ESP-IDF also requires these same gates, there are other issues for those targets. This can verified be running `x check library/std --target=` for all Nut...
[ { "path": "library/std/src/sys/fd/unix.rs", "patch": "@@ -71,9 +71,11 @@ const fn max_iov() -> usize {\n target_os = \"android\",\n target_os = \"dragonfly\",\n target_os = \"emscripten\",\n+ target_os = \"espidf\",\n target_os = \"freebsd\",\n target_os = \"linux\",\n target_os =...
2025-03-26T07:38:28
golang/go
6c3f8a2f4730f005850be7fde3a3dac6dc5323a6
3ee32439b5114c1fe5f04891b678613aa72e13c2
cmd/link: use ctxt.Logf instead of package log Fixes #43601 Change-Id: I28b745cb92932d875a66f64c63355650a092f096 Reviewed-on: https://go-review.googlesource.com/c/go/+/296029 Trust: Josh Bleecher Snyder <josharian@gmail.com> Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> Reviewed-by: Cherry Zhang <cherryyz@go...
[ { "path": "src/cmd/link/internal/ld/config.go", "patch": "@@ -8,7 +8,6 @@ import (\n \t\"cmd/internal/objabi\"\n \t\"cmd/internal/sys\"\n \t\"fmt\"\n-\t\"log\"\n )\n \n // A BuildMode indicates the sort of object we are building.\n@@ -181,7 +180,7 @@ func mustLinkExternal(ctxt *Link) (res bool, reason strin...
2021-02-24T19:48:09
ollama/ollama
f52c21f457e0822b31195e258dbe89c5139ecebb
b5d0f72f1660857180b5644262fb576c25f0c0de
fix: handle Enter key pressed during model loading (#13839)
[ { "path": "cmd/interactive.go", "patch": "@@ -159,6 +159,7 @@ func generateInteractive(cmd *cobra.Command, opts runOptions) error {\n \t\t\tsb.WriteString(before)\n \t\t\tif !ok {\n \t\t\t\tfmt.Fprintln(&sb)\n+\t\t\t\tscanner.Prompt.UseAlt = true\n \t\t\t\tcontinue\n \t\t\t}\n ", "additions": 1, "de...
2026-01-23T02:32:02
nodejs/node
38a692963f000e3bd0f8413617d3b5774039dff8
496d6023e0c372c76746c35fdba800fa943cbffc
fs: make ReadStream throw TypeError on NaN Make ReadStream (and thus createReadStream) throw a TypeError signalling towards an invalid argument type when either options.start or options.end (or obviously, both) are set to NaN. Also add regression tests for the same. PR-URL: https://github.com/nodejs/node/pull/19775 F...
[ { "path": "lib/fs.js", "patch": "@@ -2009,12 +2009,12 @@ function ReadStream(path, options) {\n this.closed = false;\n \n if (this.start !== undefined) {\n- if (typeof this.start !== 'number') {\n+ if (typeof this.start !== 'number' || Number.isNaN(this.start)) {\n throw new ERR_INVALID_ARG_...
2018-04-03T17:34:20
vercel/next.js
7777130324c3f0c0cac86d381e9f578ea39ab22c
c1de0c0ce6b2a4d3aef82c06bf7599bde0f7aa38
Fix middleware URL normalize case (#41342) Follow-up to https://github.com/vercel/next.js/pull/41341 this fixes a related issue with the URL normalizing in middleware and updates the regression tests. x-ref: [slack thread](https://vercel.slack.com/archives/C01224Q5M99/p1665161421775079?thread_ts=1664536480.04553...
[ { "path": "packages/next/server/next-server.ts", "patch": "@@ -1724,15 +1724,21 @@ export default class NextNodeServer extends BaseServer {\n }\n const normalizedPathname = removeTrailingSlash(params.parsed.pathname || '')\n \n- // For middleware to \"fetch\" we must always provide an absolute UR...
2022-10-11T21:27:31
golang/go
3ee32439b5114c1fe5f04891b678613aa72e13c2
80ddc17ae1b3ffacc42c19b999956f9ccef3ddd1
cmd/compile: ARM64 optimize []float64 and []float32 access Optimize load and store to []float64 and []float32. Previously it used LSL instead of shifted register indexed load/store. Before: LSL $3, R0, R0 FMOVD F0, (R1)(R0) After: FMOVD F0, (R1)(R0<<3) Fixes #42798 Change-Id: I0c0912140c3dce5aa6abc...
[ { "path": "src/cmd/compile/internal/arm64/ssa.go", "patch": "@@ -100,9 +100,11 @@ func genIndexedOperand(v *ssa.Value) obj.Addr {\n \t// Reg: base register, Index: (shifted) index register\n \tmop := obj.Addr{Type: obj.TYPE_MEM, Reg: v.Args[0].Reg()}\n \tswitch v.Op {\n-\tcase ssa.OpARM64MOVDloadidx8, ssa.O...
2020-11-27T15:10:33
ollama/ollama
31085d5e53811bedc53a9cb2afdea45554749d01
c42e9d244f03dca90709383576ab3237263d79ac
fix: use api.GenerateRequest for image generation test (#13793) Remove non-existent x/imagegen/api import and use the standard api.GenerateRequest/GenerateResponse with the Image field instead.
[ { "path": "integration/imagegen_test.go", "patch": "@@ -3,18 +3,14 @@\n package integration\n \n import (\n-\t\"bytes\"\n \t\"context\"\n \t\"encoding/base64\"\n-\t\"encoding/json\"\n \t\"fmt\"\n-\t\"net/http\"\n \t\"strings\"\n \t\"testing\"\n \t\"time\"\n \n \t\"github.com/ollama/ollama/api\"\n-\timagegen...
2026-01-20T11:23:31
vercel/next.js
66a3028a3b228344d4055a5411e8dbf13ab3651d
310b99902fb262f60c2467004c4c04375b2b587f
Reduce remote requests in google fonts (#41306) Reduce remote request by reusing response between server and client compilation. Once reused it can be removed, will be cached by webpack after that. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a help...
[ { "path": "packages/font/src/google/loader.ts", "patch": "@@ -1,15 +1,17 @@\n import type { AdjustFontFallback, FontLoader } from 'next/font'\n // @ts-ignore\n-import fetch from 'next/dist/compiled/node-fetch'\n-// @ts-ignore\n import { calculateSizeAdjustValues } from 'next/dist/server/font-utils'\n import...
2022-10-11T20:38:29
golang/go
80ddc17ae1b3ffacc42c19b999956f9ccef3ddd1
3deb528199383b39425fc99f3741a6ade6ab5a6b
cmd/compile/internal-abi: fix ABI0-equivalence for zero-sized values This fixes a bug in the internal ABI specification that made it not equivalent to ABI0 even with zero architectural argument registers in the case of a zero-sized argument with alignment > 1. In ABI0, even zero-sized arguments cause alignment paddin...
[ { "path": "src/cmd/compile/internal-abi.md", "patch": "@@ -153,6 +153,7 @@ Assigning a receiver, argument, or result V of underlying type T works\n as follows:\n \n 1. Remember I and FP.\n+1. If T has zero size, add T to the stack sequence S and return.\n 1. Try to register-assign V.\n 1. If step 2 failed, ...
2021-02-24T01:48:22
nodejs/node
a16d88d9e9a6581e463082549823189aba25ca76
617946779c677e0669395cac8fbc2c0dace9da43
fs: expose copy-on-write flags for fs.copyFile() This commit exposes the UV_FS_COPYFILE_FICLONE and UV_FS_COPYFILE_FICLONE_FORCE flags added in libuv 1.20.0. Fixes: https://github.com/nodejs/node/issues/19152 PR-URL: https://github.com/nodejs/node/pull/19759 Fixes: https://github.com/nodejs/node/issues/19152 Reviewed...
[ { "path": "doc/api/fs.md", "patch": "@@ -1175,8 +1175,18 @@ operation. If an error occurs after the destination file has been opened for\n writing, Node.js will attempt to remove the destination.\n \n `flags` is an optional integer that specifies the behavior\n-of the copy operation. The only supported flag...
2018-04-02T19:12:57
ollama/ollama
c42e9d244f03dca90709383576ab3237263d79ac
e98b5e8b4e1075987679b71c8d205be417c147f9
test: add image gen test case (#13698) * test: fix type regression in tools test. * test: add image gen integration test
[ { "path": "integration/imagegen_test.go", "patch": "@@ -0,0 +1,174 @@\n+//go:build integration\n+\n+package integration\n+\n+import (\n+\t\"bytes\"\n+\t\"context\"\n+\t\"encoding/base64\"\n+\t\"encoding/json\"\n+\t\"fmt\"\n+\t\"net/http\"\n+\t\"strings\"\n+\t\"testing\"\n+\t\"time\"\n+\n+\t\"github.com/olla...
2026-01-20T00:01:31
vercel/next.js
310b99902fb262f60c2467004c4c04375b2b587f
31886589a0127411c1db1e51098b164163dd5019
Reduce local font loader options (#41332) Reduces the amount of options for local fonts. Adds additional regression tests. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing ...
[ { "path": "packages/font/src/local/index.ts", "patch": "@@ -7,20 +7,11 @@ type LocalFont = {\n display?: Display\n weight?: number\n style?: string\n+ adjustFontFallback?: 'Arial' | 'Times New Roman' | false\n fallback?: string[]\n preload?: boolean\n variable?: CssVariable\n-\n- fontStretch?:...
2022-10-11T19:52:10
golang/go
bf48163e8f2b604f3b9e83951e331cd11edd8495
b7f62daa59ea5983d5825e166abc527d4ea69777
cmd/compile: add rule to coalesce writes The code generated when storing eight bytes loaded from memory created a series of small writes instead of a single, large one. The specific pattern of instructions generated stored 1 byte, then 2 bytes, then 4 bytes, and finally 1 byte. The new rules match this specific patte...
[ { "path": "src/cmd/compile/internal/ssa/gen/AMD64.rules", "patch": "@@ -1969,6 +1969,16 @@\n && clobber(x)\n => (MOVQstore [i] {s} p0 w0 mem)\n \n+(MOVBstore [7] p1 (SHRQconst [56] w)\n+ x1:(MOVWstore [5] p1 (SHRQconst [40] w)\n+ x2:(MOVLstore [1] p1 (SHRQconst [8] w)\n+ x3:(MOVBstore p1 w mem))))\n+...
2020-12-30T17:41:36
huggingface/transformers
66531a1ec3e2aafe7ffb23a9ca715cfb67b9fea0
5615a393691c81e00251e420c73e4d04c6fe22e5
Aggeregate test summary files in CircleCI workflow runs (#34989) * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * ...
[ { "path": ".circleci/config.yml", "patch": "@@ -58,14 +58,14 @@ jobs:\n name: \"Prepare pipeline parameters\"\n command: |\n python utils/process_test_artifacts.py \n- \n+\n # To avoid too long generated_config.yaml on the continuati...
2024-12-16T10:06:17
nodejs/node
3db0d62c683141769c6aa34b14289237e2c7baca
8b1db6df8012a33b3da74de245074021c4c0c8ff
doc: reword poolSize explanation in buffer.md The original explanation was overly wordy, contained mildly questionable punctuation, and did not wrap at 80 characters. This rewording fixes all of these issues. PR-URL: https://github.com/nodejs/node/pull/19785 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By...
[ { "path": "doc/api/buffer.md", "patch": "@@ -926,8 +926,8 @@ added: v0.11.3\n \n * {integer} **Default:** `8192`\n \n-This is the number of bytes used to determine the size of pre-allocated, internal\n-`Buffer` instances used for pooling. This value may be modified.\n+This is the size (in bytes) of pre-allo...
2018-04-04T05:24:52
ollama/ollama
e98b5e8b4e1075987679b71c8d205be417c147f9
68e00c7c36714814a0a3642caca539f6794c0d35
`/api/show`: default to empty model_info (#13785) For `/api/show`, a fully missing `model_info` field trips up various integrators (including a recent Android Studio integration). The primary source of missing info tends to come from models with a remote that are also missing other data. It seems better to me to retu...
[ { "path": "api/types.go", "patch": "@@ -749,7 +749,7 @@ type ShowResponse struct {\n \tMessages []Message `json:\"messages,omitempty\"`\n \tRemoteModel string `json:\"remote_model,omitempty\"`\n \tRemoteHost string `json:\"remote_host,omitempty\"`\n-\tModelInfo ...
2026-01-19T23:26:17
huggingface/transformers
5615a393691c81e00251e420c73e4d04c6fe22e5
ca03842cdcf2823301171ab27aec4b6b1cafdbc1
Fall back to slow image processor in ImageProcessingAuto when no fast processor available (#34785) * refactor image_processing_auto logic * fix fast image processor tests * Fix tests fast vit image processor * Add safeguard when use_fast True and torchvision not available * change default use_fast back to ...
[ { "path": "docs/source/en/main_classes/image_processor.md", "patch": "@@ -27,6 +27,7 @@ from transformers import AutoImageProcessor\n \n processor = AutoImageProcessor.from_pretrained(\"facebook/detr-resnet-50\", use_fast=True)\n ```\n+Note that `use_fast` will be set to `True` by default in a future releas...
2024-12-15T19:00:36
vercel/next.js
31886589a0127411c1db1e51098b164163dd5019
2b99db07f7f1eacb5f1c84e96da7ceffa24db363
Fix middleware rewrite for _next/data (#41341) x-ref: [slack thread](https://vercel.slack.com/archives/C01224Q5M99/p1665161421775079?thread_ts=1664536480.045539&cid=C01224Q5M99) ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have a helpful link attached, se...
[ { "path": "packages/next/server/next-server.ts", "patch": "@@ -1062,9 +1062,17 @@ export default class NextNodeServer extends BaseServer {\n name: '_next/data catchall',\n check: true,\n fn: async (req, res, params, _parsedUrl) => {\n+ const isNextDataNormalizing = getReques...
2022-10-11T19:23:22
golang/go
dc4698f52b5ad3f0251e0cc25bc7ffbd10e23f2c
7a2f3273c5598bf53e37d0c8a4cb8a8caf7c4ca4
syscall: do not overflow key memory in GetQueuedCompletionStatus The third argument to GetQueuedCompletionStatus is a pointer to a uintptr, not a uint32. Users of this functions have therefore been corrupting their memory every time they used it. Either that memory corruption was silent (dangerous), or their programs ...
[ { "path": "api/except.txt", "patch": "@@ -471,6 +471,9 @@ pkg syscall (openbsd-amd64-cgo), type Statfs_t struct, Pad_cgo_1 [4]uint8\n pkg syscall (openbsd-amd64-cgo), type Timespec struct, Pad_cgo_0 [4]uint8\n pkg syscall (openbsd-amd64-cgo), type Timespec struct, Sec int32\n pkg syscall (windows-386), cons...
2021-02-23T12:29:40
nodejs/node
682b85036efcaa87c580483f68ba71fbb13af4b9
e37effe4cec98688e75d770f4d0b7f68927e2b73
test: fix multiple expectedWarnings bug Commit 8fb4ea9f75 ("test: add deprecation code to expectWarning") did not take into account that the same warning could be expected multiple times. This bug was discovered in https://github.com/nodejs/node/pull/18138 and this commit adds a fix for this issue. PR-URL: https://gi...
[ { "path": "test/common/index.js", "patch": "@@ -631,7 +631,7 @@ function expectWarning(name, expected) {\n // Remove a warning message after it is seen so that we guarantee that we\n // get each message only once.\n map.delete(expected);\n- }, map.size);\n+ }, expected.length);\n }\n \n functi...
2018-04-03T05:16:13
ollama/ollama
68e00c7c36714814a0a3642caca539f6794c0d35
4f138a1749ba684b8ad0f27ec77d299ff2071337
fix: prevent image generation models from loading during deletion (#13781) Move the unload check (empty prompt + KeepAlive=0) before the image generation model dispatch in GenerateHandler. This prevents models like flux from being loaded into memory just to be immediately unloaded when running `ollama rm`. Also fix a...
[ { "path": "cmd/cmd.go", "patch": "@@ -899,11 +899,11 @@ func DeleteHandler(cmd *cobra.Command, args []string) error {\n \tfor _, arg := range args {\n \t\t// Unload the model if it's running before deletion\n \t\tif err := loadOrUnloadModel(cmd, &runOptions{\n-\t\t\tModel: args[0],\n+\t\t\tModel: ar...
2026-01-19T20:48:34
rust-lang/rust
89d0e7c03391efda88f4736f3f04f4c5a8ae71d3
0c478fdfe138a8b09744798c85fe2be657768b00
Fix ProvenVia for global where clauses
[ { "path": "compiler/rustc_next_trait_solver/src/solve/trait_goals.rs", "patch": "@@ -1301,7 +1301,6 @@ where\n .filter(|c| matches!(c.source, CandidateSource::ParamEnv(_)))\n .map(|c| c.result)\n .collect();\n-\n return if let Some(response) = self...
2025-04-05T16:16:50
huggingface/transformers
add53e25ffa3d1750a944086d2fbb016aee35406
7237b3ecfc65c0dbf62a330e47cd8deebc27428c
don't use no_sync when deepspeed doesn't support it for certain zero stages (#35157) * don't use no_sync when deepspeed doesn't support it for certain zero stages * chore: lint * fix no_sync context for deepspeed across all zero types * chore: lint
[ { "path": "src/transformers/trainer.py", "patch": "@@ -2517,6 +2517,7 @@ def _inner_training_loop(\n context = (\n functools.partial(self.accelerator.no_sync, model=model)\n if i != len(batch_samples) - 1\n+ and self....
2024-12-13T18:23:00
vercel/next.js
9e1d04dd93d249b8f73438dcfa69cec7f4f78f03
c6a8675c35eda490b590979eeb7beb6429eb4eca
Add pretty error when image import is invalid format (#41267) This PR improves the error message when an invalid image is imported. It also ensures the page that imported the image is displayed. ### Before <img width="1062" alt="image" src="https://user-images.githubusercontent.com/229881/194674177-70f4ae73-64...
[ { "path": "packages/next/build/webpack/loaders/next-image-loader.js", "patch": "@@ -17,16 +17,22 @@ function nextImageLoader(content) {\n opts\n )\n const outputPath = assetPrefix + '/_next' + interpolatedName\n-\n let extension = loaderUtils.interpolateName(this, '[ext]', opts)\n if (...
2022-10-11T16:22:13
golang/go
adb467ffd2d82b796de12bdd8effa2cfefe01f29
27684ea195641ead8a8f08cb345925da889a12ed
cmd/compile: reduce inline cost of OCONVOP OCONVOP doesn't have effect in the compiled code so, it can be safely excluded from inline cost calculation. Also make sequence ODEREF OCONVNOP* OADDR cost 1. This is rather common conversion, such as *(*uint32)(unsafe.Pointer(&x)). Fixes #42788 Change-Id: I5001f7e89d985c1...
[ { "path": "src/cmd/compile/internal/inline/inl.go", "patch": "@@ -384,6 +384,22 @@ func (v *hairyVisitor) doNode(n ir.Node) bool {\n \tcase ir.OAPPEND:\n \t\tv.budget -= inlineExtraAppendCost\n \n+\tcase ir.ODEREF:\n+\t\t// *(*X)(unsafe.Pointer(&x)) is low-cost\n+\t\tn := n.(*ir.StarExpr)\n+\n+\t\tptr := n....
2021-01-02T14:28:11
ollama/ollama
3d01f2aa341dde88ccc8318528c4192f81407975
634c416645790c84dfc80849b05f84b3853b127f
parsers: refactor Nemotron parser to reuse Qwen3Coder for tool calls (#13764) Simplify Nemotron3NanoParser by delegating tool call parsing to Qwen3CoderParser instead of duplicating the parsing logic. The Nemotron parser now only handles the thinking state machine and transitions to Qwen3CoderParser for content and to...
[ { "path": "model/parsers/nemotron3nano.go", "patch": "@@ -1,7 +1,6 @@\n package parsers\n \n import (\n-\t\"regexp\"\n \t\"strings\"\n \t\"unicode\"\n \n@@ -14,243 +13,114 @@ const (\n \tNemotron3NanoCollectingThinking Nemotron3NanoParserState = iota\n \tNemotron3NanoSkipWhitespaceAfterThinking\n \tNemotron...
2026-01-18T02:28:52
rust-lang/rust
66a273083c5cb833ad9341cd9f0690caf89e5bb1
0e9c3e52e492c9edacae96feb8deeb1695731273
Fix Typo
[ { "path": "compiler/rustc_middle/src/ty/generic_args.rs", "patch": "@@ -396,12 +396,12 @@ impl<'tcx> GenericArgs<'tcx> {\n InlineConstArgs { args: self }\n }\n \n- /// Creates an `GenericArgs` that maps each generic parameter to itself.\n+ /// Creates a `GenericArgs` that maps each generic...
2025-04-05T15:40:21
huggingface/transformers
7237b3ecfc65c0dbf62a330e47cd8deebc27428c
6009642459248c0d24f201730c32464fe0e13cf5
Fix FSDP no longer working (#35212) Fix FSDP failing
[ { "path": "src/transformers/trainer.py", "patch": "@@ -2251,7 +2251,7 @@ def _inner_training_loop(\n else:\n debug_overflow = DebugUnderflowOverflow(self.model) # noqa\n \n- delay_optimizer_creation = is_sagemaker_mp_enabled() or self.is_fsdp_xla_enabled\n+ delay_o...
2024-12-13T18:20:51
vercel/next.js
c6a8675c35eda490b590979eeb7beb6429eb4eca
ba08576e4a8333047753975b816fa014c1aa6d99
misc: add minimal server bench setup (#41328) This PR adds a script to run a minimal Next server in order to reproduce more easily the cold boot conditions in production. You can use it by using `pnpm start` after having built your app with `pnpm next-react-exp build bench/minimal-server/benchmar-app` from the root o...
[ { "path": "bench/minimal-server/benchmark-app/app/layout.js", "patch": "@@ -0,0 +1,10 @@\n+import * as React from 'react'\n+\n+export default function Root({ children }) {\n+ return (\n+ <html>\n+ <head></head>\n+ <body>{children}</body>\n+ </html>\n+ )\n+}", "additions": 10, "dele...
2022-10-11T15:53:26
golang/go
27684ea195641ead8a8f08cb345925da889a12ed
ae1fa08e4138c49c8e7fa10c3eadbfca0233842b
testing: print late arriving log line in panic When you log after a test has completed, the testing package panics. Print the logged line as part of that panic, to aid in debugging. Change-Id: I3d6689d1eed57c03e300afe37db0c15b2f4acda4 Reviewed-on: https://go-review.googlesource.com/c/go/+/283972 Trust: Josh Bleecher...
[ { "path": "src/testing/sub_test.go", "patch": "@@ -822,7 +822,7 @@ func TestLogAfterComplete(t *T) {\n \t\t\t\t\t\tc2 <- fmt.Sprintf(\"subtest panic with unexpected value %v\", p)\n \t\t\t\t\t\treturn\n \t\t\t\t\t}\n-\t\t\t\t\tconst want = \"Log in goroutine after TestLateLog has completed\"\n+\t\t\t\t\tcon...
2021-01-14T22:38:55
ollama/ollama
634c416645790c84dfc80849b05f84b3853b127f
57de86cc610bdfd11831d80e464c05bb240afa64
Add experimental image generation fields to /api/generate (#13753) Request fields (experimental): - width: image width (max 4096) - height: image height (max 4096) - steps: denoising steps - seed: random seed Response fields (experimental): - images: base64-encoded generated images - completed: current step progress ...
[ { "path": "api/types.go", "patch": "@@ -127,6 +127,20 @@ type GenerateRequest struct {\n \t// each with an associated log probability. Only applies when Logprobs is true.\n \t// Valid values are 0-20. Default is 0 (only return the selected token's logprob).\n \tTopLogprobs int `json:\"top_logprobs,omitempty...
2026-01-18T02:27:41
nodejs/node
25a816dcda7b1db0929501acfe13f2fe5119759b
b29c36b80746733994257b7380245102bc3c4cd6
deps: upgrade npm to 5.8.0 PR-URL: https://github.com/nodejs/node/pull/19560 Fixes: https://github.com/nodejs/node/issues/19271 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com>
[ { "path": "deps/npm/.github/issue_template.md", "patch": "@@ -3,6 +3,7 @@\n - [ ] npm is crashing.\n - [ ] npm is producing an incorrect install.\n - [ ] npm is doing something I don't understand.\n+ - [ ] npm is producing incorrect or undesirable behavior.\n - [ ] Other (_see below for feature req...
2018-04-05T15:52:34
huggingface/transformers
e94083bf90b4592ced8bc1bd9039e5f5a272a96b
bc6ae0d55e11e46eaed4da71b6bc5087d38cec70
Fixed typos in Audio Classification Documentation (#35263) * Fixed typos in Audio Classification Documentation * removed space in '8000 kHZ' * Changes made as per review
[ { "path": "docs/source/en/tasks/audio_classification.md", "patch": "@@ -128,7 +128,7 @@ The next step is to load a Wav2Vec2 feature extractor to process the audio signa\n >>> feature_extractor = AutoFeatureExtractor.from_pretrained(\"facebook/wav2vec2-base\")\n ```\n \n-The MInDS-14 dataset has a sampling r...
2024-12-13T17:43:44
vercel/next.js
ba08576e4a8333047753975b816fa014c1aa6d99
701e8d2c0f8aeeab6c12189aa5f9d6d4a869fbbd
perf: lazyload the edge runtime in NextServer (#41322) ## Context I'm investigating cold boot perf ## This PR Did some manual analysis on next cold boot for the "regular" node target and found out that we are spending a good 10ms evaluating the edge runtime module when we shouldn't be in most cases. This...
[ { "path": "packages/next/server/next-server.ts", "patch": "@@ -54,7 +54,7 @@ import HttpProxy from 'next/dist/compiled/http-proxy'\n import { getPathMatch } from '../shared/lib/router/utils/path-match'\n import { createHeaderRoute, createRedirectRoute } from './server-route-utils'\n import getRouteFromAsset...
2022-10-11T15:29:08
golang/go
ae1fa08e4138c49c8e7fa10c3eadbfca0233842b
691ac806d20616fab66bb50752edfa9e4e9f8151
context: reduce contention in cancelCtx.Done Use an atomic.Value to hold the done channel. Conveniently, we have a mutex handy to coordinate writes to it. name old time/op new time/op delta ContextCancelDone-8 67.5ns ±10% 2.2ns ±11% -96.74% (p=0.000 n=30+28) Fixes #42564 Change-Id: I5d72e0e87...
[ { "path": "src/context/benchmark_test.go", "patch": "@@ -5,6 +5,7 @@\n package context_test\n \n import (\n+\t\"context\"\n \t. \"context\"\n \t\"fmt\"\n \t\"runtime\"\n@@ -138,3 +139,17 @@ func BenchmarkCheckCanceled(b *testing.B) {\n \t\t}\n \t})\n }\n+\n+func BenchmarkContextCancelDone(b *testing.B) {\n+...
2021-01-29T23:41:18
huggingface/transformers
8096161b7686ec797443b6c09ce683f8b6f2cb6d
bdd4201fdba05245342e6013431f5209e0bcc773
Use `rsfE` with `pytest` (#35119) * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".circleci/create_circleci_config.py", "patch": "@@ -32,7 +32,7 @@\n \"RUN_PT_FLAX_CROSS_TESTS\": False,\n }\n # Disable the use of {\"s\": None} as the output is way too long, causing the navigation on CircleCI impractical\n-COMMON_PYTEST_OPTIONS = {\"max-worker-restart\": 0, \"dist\": \"load...
2024-12-13T13:36:22
nodejs/node
b29c36b80746733994257b7380245102bc3c4cd6
22da2f731d90235289a95bffe1ae3750a62a33bc
errors: make dns errors consistent Right now the hostname could in some cases be missed, depending on the libuv error number. This makes sure there the hostname is always added, if available. PR-URL: https://github.com/nodejs/node/pull/19754 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Matteo Collina ...
[ { "path": "lib/dns.js", "patch": "@@ -229,7 +229,7 @@ function resolver(bindingName) {\n req.oncomplete = onresolve;\n req.ttl = !!(options && options.ttl);\n var err = this._handle[bindingName](req, name);\n- if (err) throw dnsException(err, bindingName);\n+ if (err) throw dnsException(er...
2018-04-01T05:54:32
ollama/ollama
12719b6e87e738f76d0456dd9a9d7571be58cb68
a077d996e39eaee6ed26cb219a2e37f003d4b01d
MLX - dynamic loading of mlx-c (#13735) * MLX - dynamic loading of mlx-c Create a wrapper layer to indirect the dependency on mlx-c so the main ollama binary does not have a load-time dependency on mlx-c, mlx, and on linux, cuda. Lazy load the library via dlopen so we can adjust the path to ensure the dependencies a...
[ { "path": "Dockerfile", "patch": "@@ -32,7 +32,7 @@ ENV PATH=/${VULKANVERSION}/x86_64/bin:$PATH\n FROM --platform=linux/arm64 almalinux:8 AS base-arm64\n # install epel-release for ccache\n RUN yum install -y yum-utils epel-release \\\n- && dnf install -y clang ccache \\\n+ && dnf install -y clang cca...
2026-01-17T00:34:22
golang/go
691ac806d20616fab66bb50752edfa9e4e9f8151
b97b1456aed5915f7633f16e573b4912140ee8e9
cmd/go: fix version validation in 'go mod edit -exclude' The fix is to pull in CL 295089 from the x/mod repo. Fixes #44497 Change-Id: I008b58d0f4bb48c09d4f1e6ed31d11a714f87dc0 Reviewed-on: https://go-review.googlesource.com/c/go/+/295150 Trust: Bryan C. Mills <bcmills@google.com> Run-TryBot: Bryan C. Mills <bcmills@...
[ { "path": "src/cmd/go.mod", "patch": "@@ -6,7 +6,7 @@ require (\n \tgithub.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2\n \tgolang.org/x/arch v0.0.0-20201008161808-52c3e6f60cff\n \tgolang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897\n-\tgolang.org/x/mod v0.4.1\n+\tgolang.org/x/mod v0.4.2-0.2021022...
2021-02-22T20:05:20
vercel/next.js
701e8d2c0f8aeeab6c12189aa5f9d6d4a869fbbd
93bdaf1078ebdfdb9a541782fc946d0b59b49425
fix(standalone): support `type: "module"` (#41268) Fixes #41258 When we detect `type: "module"` in `package.json`: ~1. generate `server.mjs`~ Not necessary when `type: "module"` is set. 2. use `import` instead of `require` 3. replace `__dirname` with [ESM compatible alternative](https://blog.logrocket.com/alt...
[ { "path": "packages/next/build/utils.ts", "patch": "@@ -1558,6 +1558,12 @@ export async function copyTracedFiles(\n middlewareManifest: MiddlewareManifest\n ) {\n const outputPath = path.join(distDir, 'standalone')\n+ let moduleType = false\n+ try {\n+ const packageJsonPath = path.join(distDir, '.....
2022-10-11T15:04:37
huggingface/transformers
bdd4201fdba05245342e6013431f5209e0bcc773
3d213b57fe74302e5902d68ed9478c3ad1aaa713
[tests] fix "Tester object has no attribute '_testMethodName'" (#34910) * add more cases * fix method not found in unittest Signed-off-by: Lin, Fanli <fanli.lin@intel.com> * fix more cases * add more models * add all * no unittest.case * remove for oneformer * fix style --------- Signed-o...
[ { "path": "tests/models/audio_spectrogram_transformer/test_feature_extraction_audio_spectrogram_transformer.py", "patch": "@@ -50,7 +50,7 @@ def floats_list(shape, scale=1.0, rng=None, name=None):\n return values\n \n \n-class ASTFeatureExtractionTester(unittest.TestCase):\n+class ASTFeatureExtractionTe...
2024-12-13T13:33:45
ollama/ollama
a077d996e39eaee6ed26cb219a2e37f003d4b01d
c23d5095de19460d1390b0df12d141bad1a247f9
Fix `create` and `show` commands for experimental models (#13741) * x: make `ollama create --experimental` import from safetensors This change allows pulling in safetensors models into the new experimental model format, and also fixes the `ollama show` command to be able to correctly display the model information. *...
[ { "path": "cmd/cmd.go", "patch": "@@ -46,8 +46,9 @@ import (\n \t\"github.com/ollama/ollama/types/syncmap\"\n \t\"github.com/ollama/ollama/version\"\n \txcmd \"github.com/ollama/ollama/x/cmd\"\n+\t\"github.com/ollama/ollama/x/create\"\n+\txcreateclient \"github.com/ollama/ollama/x/create/client\"\n \t\"gith...
2026-01-16T22:31:55
golang/go
b97b1456aed5915f7633f16e573b4912140ee8e9
07c658316b411a4b0e71a3a7e78b970b091795ab
cmd/go, cmd/cgo: pass -mfp32 and -mhard/soft-float to MIPS GCC For mips32 currently, we are using FP32, while the gcc may be FPXX, which may generate .MIPS.abiflags and .gnu.attributes section with value as FPXX. So the kernel will treat the exe as FPXX, and may choose to use FR=1 FPU mode for it. Currently, in Go, we...
[ { "path": "src/cmd/cgo/gcc.go", "patch": "@@ -1566,9 +1566,17 @@ func (p *Package) gccMachine() []string {\n \tcase \"s390x\":\n \t\treturn []string{\"-m64\"}\n \tcase \"mips64\", \"mips64le\":\n-\t\treturn []string{\"-mabi=64\"}\n+\t\tif gomips64 == \"hardfloat\" {\n+\t\t\treturn []string{\"-mabi=64\", \"-...
2020-06-09T04:09:58
rust-lang/rust
5dd7526d8f76368b5d539edb2ef5adf74d4012bd
56cf54f03f025d034e2f3686a1521f2ee76c9152
the rustdoc file prefix for constants is "constant" not "const"
[ { "path": "src/tools/rust-analyzer/crates/ide/src/doc_links.rs", "patch": "@@ -627,7 +627,7 @@ fn filename_and_frag_for_def(\n return Some((def, file, Some(format!(\"variant.{}\", ev.name(db).as_str()))));\n }\n Definition::Const(c) => {\n- format!(\"const.{}.html\", c...
2025-04-05T10:16:39