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 | 68fb39a034d1b5d7eb8f2af23ca563956f1fa3be | dddc60df15880fc91478bb75126474e7cd416f7f | Fix handling with custom _error and pages/500 (#40110)
This ensures we are properly calling `getInitialProps` in `_error` before serving `pages/500` as this has been the expected behavior since we introduced the process exiting behavior when deployed. This also ensures we don't attempt serving the `pages/500` before l... | [
{
"path": "packages/next/server/base-server.ts",
"patch": "@@ -1609,11 +1609,16 @@ export default abstract class Server<ServerOptions extends Options = Options> {\n }\n \n res.statusCode = 500\n+\n+ // if pages/500 is present we still need to trigger\n+ // /_error `getInitialProps` to ... | 2022-08-30T23:14:12 |
golang/go | 780b4de16b5ba03f2f2ebee35281217552578d50 | b4a71c95d2388cbbab70bd751b9706f848643dd6 | misc/ios: fix wording for command line instructions
A typo was made, which I noticed while looking through the recent master
commits.
Change-Id: Ieed5d6664a1f3ff5892d59abf194963b44ef0e55
Reviewed-on: https://go-review.googlesource.com/c/go/+/280454
Trust: Daniel Martí <mvdan@mvdan.cc>
Reviewed-by: Cherry Zhang <cherr... | [
{
"path": "misc/ios/README",
"patch": "@@ -8,7 +8,7 @@ set to the clang wrapper that invokes clang for iOS. For example, this command r\n \tGOOS=ios GOARCH=amd64 CGO_ENABLED=1 CC_FOR_TARGET=$(pwd)/../misc/ios/clangwrap.sh ./all.bash\n \n If CC_FOR_TARGET is not set when the toolchain is built (make.bash or ... | 2020-12-29T21:37:06 |
ollama/ollama | c794fef2f27d141393064665d2774b341d091393 | 00ebda8cc4f2031096973b26d6b0de7425a9ca82 | server/internal/client/ollama: persist through chunk download errors (#9923) | [
{
"path": "server/internal/client/ollama/registry.go",
"patch": "@@ -59,6 +59,11 @@ var (\n \t// ErrCached is passed to [Trace.PushUpdate] when a layer already\n \t// exists. It is a non-fatal error and is never returned by [Registry.Push].\n \tErrCached = errors.New(\"cached\")\n+\n+\t// ErrIncomplete is r... | 2025-03-21T20:03:43 |
nodejs/node | dbd1d1d43f30df17a7bb216e0898afb398f6604f | eacc88c3a6ef68a88a3a4b819b375c698c05fd9a | doc: fix arg definition in fs
Currently doc building doesn't support ES-style default params in
function definitions which causes an error.
PR-URL: https://github.com/nodejs/node/pull/18678
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Evan Lucas <evan... | [
{
"path": "doc/api/fs.md",
"patch": "@@ -3388,7 +3388,7 @@ added: REPLACEME\n Asynchronous fsync(2). The `Promise` is resolved with no arguments upon\n success.\n \n-#### filehandle.truncate(len = 0)\n+#### filehandle.truncate(len)\n <!-- YAML\n added: REPLACEME\n -->",
"additions": 1,
"deletions": ... | 2018-02-09T13:58:59 |
vercel/next.js | 3bf8b2b4fe8b8b5c7ff60b5f5cb12e65273c6dab | 0b57a01ae6842fe5c45fd4345ed33724a06622da | Update to detect GSSP with edge runtime during build (#40076)
This updates to handle detecting `getStaticProps`/`getServerSideProps` correctly during build when `experimental-edge` is being used. This also fixes not parsing dynamic route params correctly with the edge runtime and sets up the handling needed for the st... | [
{
"path": "packages/next/build/index.ts",
"patch": "@@ -1162,16 +1162,17 @@ export default async function build(\n const errorPageStaticResult = nonStaticErrorPageSpan.traceAsyncFn(\n async () =>\n hasCustomErrorPage &&\n- staticWorkers.isPageStatic(\n- ... | 2022-08-30T18:18:02 |
huggingface/transformers | f319ba16fa89d4a48864af94d1da4abb98c4a8ab | e3775539c845a2bb1c3d4283da73eae3ea05a55f | Add Zamba (#30950)
* Update index.md
* Rebase
* Rebase
* Updates from make fixup
* Update zamba.md
* Batched inference
* Update
* Fix tests
* Fix tests
* Fix tests
* Fix tests
* Update docs/source/en/model_doc/zamba.md
Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.gith... | [
{
"path": "docs/source/en/_toctree.yml",
"patch": "@@ -711,6 +711,8 @@\n title: ViTMSN\n - local: model_doc/yolos\n title: YOLOS\n+ - local: model_doc/zamba\n+ title: Zamba\n - local: model_doc/zoedepth\n title: ZoeDepth\n title: Vision models",
"add... | 2024-10-04T20:28:05 |
golang/go | 171fc6f22388cc8628b5590f42d46a7c57277428 | 33801cdc627bc4d3f7128d1076a1ac249da2e015 | [dev.regabi] cmd/compile: remove workarounds for go/constant issues
These were fixed in CLs 273086 and 273126, which have been merged back
into dev.regabi already.
Passes toolstash -cmp.
Change-Id: I011e9ed7062bc034496a279e21cc163267bf83fd
Reviewed-on: https://go-review.googlesource.com/c/go/+/280643
Trust: Matthew ... | [
{
"path": "src/cmd/compile/internal/typecheck/const.go",
"patch": "@@ -564,20 +564,11 @@ func EvalConst(n ir.Node) ir.Node {\n \treturn n\n }\n \n-func makeInt(i *big.Int) constant.Value {\n-\tif i.IsInt64() {\n-\t\treturn constant.Make(i.Int64()) // workaround #42640 (Int64Val(Make(big.NewInt(10))) returns... | 2020-12-29T08:44:28 |
ollama/ollama | 2d6eac9084a29060ccff69014e28e206a3a7a663 | 3ed7ad3ab32b458aa2fdb8d0144c546efdb26a72 | kvcache: Optimize sliding window attention
Currently sliding window attention allocates and uses the full
context size and just masks out any tokens that are outside of the
window. However, we really only need (roughly) the sliding window
size.
At large context sizes this improves two things:
- Memory allocated - si... | [
{
"path": "kvcache/causal.go",
"patch": "@@ -118,7 +118,12 @@ func (c *Causal) Init(backend ml.Backend, dtype ml.DType, maxSequences, capacity\n \t\tc.config.MaskDType = ml.DTypeF32\n \t}\n \n-\tcacheSize := maxSequences * capacity\n+\tvar cacheSize int\n+\tif c.windowSize == math.MaxInt32 || capacity < int... | 2025-03-18T20:13:32 |
nodejs/node | eacc88c3a6ef68a88a3a4b819b375c698c05fd9a | 8e70811cc88d93f8fa931d69eef51af750d9c1ff | doc: add devsnek to collaborators
PR-URL: https://github.com/nodejs/node/pull/18679
Fixes: https://github.com/nodejs/node/issues/18544
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Anna Henningsen... | [
{
"path": "README.md",
"patch": "@@ -340,6 +340,8 @@ For more information about the governance of the Node.js project, see\n **Daniel Bevenius** <daniel.bevenius@gmail.com>\n * [DavidCai1993](https://github.com/DavidCai1993) -\n **David Cai** <davidcai1993@yahoo.com> (he/him)\n+* [devsnek](https... | 2018-02-09T15:00:00 |
vercel/next.js | c89e25eba6b3aa5f0ddaffaf9849d8cdf0340700 | b760c8dd0a992cd4fceb15cc603de86f2457988f | Update flakey tsconfig test (#40105)
Updates this test to not rely on `waitFor` as the amount of time it takes to write the `tsconfig.json` can vary so we should use `check` instead.
Fixes: https://github.com/vercel/next.js/pull/39902#issuecomment-1231939162 | [
{
"path": "test/development/correct-tsconfig-defaults/index.test.ts",
"patch": "@@ -1,7 +1,5 @@\n import { createNext } from 'e2e-utils'\n-import fs from 'fs'\n-import { waitFor } from 'next-test-utils'\n-import path from 'path'\n+import { check } from 'next-test-utils'\n import { NextInstance } from 'test/... | 2022-08-30T17:31:38 |
huggingface/transformers | e3775539c845a2bb1c3d4283da73eae3ea05a55f | 46579c0e777976c02f22666f7d08ca4786be9ee3 | PhiMoE (#33363)
* onboard phimoe model
* removed debug code
* added unit tests
* updated docs
* formatted
* fixed unit tests
* fixed test case
* fixed format
* refactored code
* fixed expected outputs in the integration tests
* Added a warning msg
* Addressed comments
* Addressed co... | [
{
"path": "docs/source/en/_toctree.yml",
"patch": "@@ -522,6 +522,8 @@\n title: Phi\n - local: model_doc/phi3\n title: Phi-3\n+ - local: model_doc/phimoe\n+ title: PhiMoE\n - local: model_doc/phobert\n title: PhoBERT\n - local: model_doc/plbart",
"ad... | 2024-10-04T19:39:45 |
golang/go | ec59b197d5d92ad758c3214d906f9c750cd5b84e | 25c613c02dabb45f3a3dc038a8f01c664d98731a | [dev.regabi] cmd/compile: rewrite to use linksym helpers [generated]
Passes toolstash -cmp.
[git-generate]
cd src/cmd/compile/internal/gc
pkgs=$(grep -l -w Linksym ../*/*.go | xargs dirname | grep -v '/gc$' | sort -u)
rf '
ex . '"$(echo $pkgs)"' {
import "cmd/compile/internal/ir"
import "cmd/compile/internal/ref... | [
{
"path": "src/cmd/compile/internal/dwarfgen/dwarf.go",
"patch": "@@ -26,7 +26,7 @@ func Info(fnsym *obj.LSym, infosym *obj.LSym, curfn interface{}) ([]dwarf.Scope,\n \tfn := curfn.(*ir.Func)\n \n \tif fn.Nname != nil {\n-\t\texpect := fn.Sym().Linksym()\n+\t\texpect := fn.Linksym()\n \t\tif fnsym.ABI() == ... | 2020-12-29T03:34:35 |
nodejs/node | 8e70811cc88d93f8fa931d69eef51af750d9c1ff | cccddc59e5058008464b359cb1fdceb98597a55a | doc: fix links in YAML metadata of assert.md
PR-URL: https://github.com/nodejs/node/pull/18670
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com> | [
{
"path": "doc/api/assert.md",
"patch": "@@ -208,7 +208,9 @@ changes:\n description: Enumerable symbol properties are now compared.\n - version: v9.0.0\n pr-url: https://github.com/nodejs/node/pull/15036\n- description: NaN is now compared using the [SameValueZero][] comparison.\n+ descripti... | 2018-02-09T02:08:30 |
ollama/ollama | 6d1103048eac63f27148d6d8fe47c98cbb6f184f | 0ff28758b3a5e9dc0149a93d87677dd0585590c1 | fix: show correct bool value for kv in verbose show information (#9928) | [
{
"path": "cmd/cmd.go",
"patch": "@@ -703,6 +703,8 @@ func showInfo(resp *api.ShowResponse, verbose bool, w io.Writer) error {\n \t\t\tfor _, k := range keys {\n \t\t\t\tvar v string\n \t\t\t\tswitch vData := resp.ModelInfo[k].(type) {\n+\t\t\t\tcase bool:\n+\t\t\t\t\tv = fmt.Sprintf(\"%t\", vData)\n \t\t\t... | 2025-03-21T18:13:54 |
huggingface/transformers | 46579c0e777976c02f22666f7d08ca4786be9ee3 | 0d1692a49bc1d70d72c99ac814773bcc2d3a98be | hot fix `self.position_embeddings->self.position_embedding` (#33958) | [
{
"path": "src/transformers/models/siglip/modeling_siglip.py",
"patch": "@@ -279,13 +279,13 @@ def interpolate_pos_encoding(self, embeddings: torch.Tensor, height: int, width:\n \"\"\"\n \n num_patches = embeddings.shape[1]\n- num_positions = self.position_embeddings.shape[1]\n+ ... | 2024-10-04T19:35:31 |
vercel/next.js | 80d3e69ca7d0a0788b84408a1e266673baa4607b | 2655820516be8dc74472c62eae37cbfe01594fa8 | dynamic imports for the test app, and fixes (#294)
add the ability to generate an test app with dynamic imports via option.
fixes chunking. It didn't handle async imports in the case where chunk where too large.
The PR reuses the same logic for both cases now. | [
{
"path": "crates/turbopack-core/src/chunk/mod.rs",
"patch": "@@ -261,68 +261,29 @@ pub async fn chunk_content_split<I: FromChunkableAsset>(\n entry: AssetVc,\n additional_entries: Option<AssetsVc>,\n ) -> Result<ChunkContentResult<I>> {\n- let mut chunk_items = vec![];\n- let mut processed_as... | 2022-08-30T16:18:34 |
golang/go | 4fd94558820100129b98f284e21b19fc27a99926 | 1d78139128d6d839d7da0aeb10b3e51b6c7c0749 | io/fs: fix typo in comment
Change-Id: Idf8e5d808c0996e0ca00979e7b8d7627f29cd10f
Reviewed-on: https://go-review.googlesource.com/c/go/+/280552
Reviewed-by: Alberto Donizetti <alb.donizetti@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Alberto Donizetti <alb.donizetti@gmail.com> | [
{
"path": "src/io/fs/walk.go",
"patch": "@@ -15,7 +15,7 @@ import (\n var SkipDir = errors.New(\"skip this directory\")\n \n // WalkDirFunc is the type of the function called by WalkDir to visit\n-// each each file or directory.\n+// each file or directory.\n //\n // The path argument contains the argument ... | 2020-12-28T06:14:41 |
huggingface/transformers | 0d1692a49bc1d70d72c99ac814773bcc2d3a98be | 614660fdb9184a668939d8f25248f81a3651df09 | Fix attn mask ignore logic in training-time trace (#32613)
* fix attn mask logic for training-time trace
* add test
* fix
* fix
* fix
* fix
* fix
* format
* [run-slow] llama
* avoid accelearate
* [run-slow] llama | [
{
"path": "src/transformers/cache_utils.py",
"patch": "@@ -1284,7 +1284,6 @@ def __init__(\n max_batch_size: Optional[int] = None,\n layer_device_map: Optional[Dict[int, Union[str, torch.device, int]]] = None,\n ) -> None:\n- super().__init__()\n if not hasattr(config, \"s... | 2024-10-04T17:00:45 |
ollama/ollama | d3e9ca3eda5585204358f4ba23b3c7cb23bdb3e2 | 0fbfcf3c9c7bfdbf4616238595eafd7eca2a916c | kvcache: Account for source tensors in defrag operation count
Defragging the KV cache can generate a lot of operations, so we
need to be careful that we don't overflow the number that the graph
can support. We currently account for all of the nodes that we add
to the graph for each move but we also need to include the... | [
{
"path": "kvcache/causal.go",
"patch": "@@ -321,7 +321,8 @@ func (c *Causal) defrag() {\n \tctx := c.backend.NewContext()\n \n \t// For every move, 6 tensors are required per layer (2 views and a\n-\t// copy for each of k and v).\n+\t// copy for each of k and v). We also need to refer to the original\n+\t/... | 2025-03-20T21:27:17 |
vercel/next.js | 1e8d63d10d3cd858b6246851811e664e96a03a24 | 43f25065c828e3d4e66e8bb38fed581546d2c673 | Postfix join and try_join (vercel/turbo#300)
Instead of dropping back to prefix calling form in `try_join_all(iterator_of_intofutures).await?`, we now use postfix form `iterator_of_intofutures.try_join().await?`. | [
{
"path": "packages/next-swc/crates/next-core/src/web_entry_source.rs",
"patch": "@@ -1,7 +1,7 @@\n use std::{collections::HashMap, future::IntoFuture};\n \n use anyhow::{anyhow, Result};\n-use turbo_tasks::{util::try_join_all, Value};\n+use turbo_tasks::{TryJoinIterExt, Value};\n use turbo_tasks_fs::{FileS... | 2022-08-30T15:15:06 |
nodejs/node | cccddc59e5058008464b359cb1fdceb98597a55a | 14bc3e22f3b2c34616091183fd431f39af6c2b65 | assert: fix throws trace
The current stack trace thrown in case `assert.throws(fn, object)`
is used did not filter the stack trace. This fixes it.
PR-URL: https://github.com/nodejs/node/pull/18595
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> | [
{
"path": "lib/assert.js",
"patch": "@@ -361,11 +361,17 @@ assert.notStrictEqual = function notStrictEqual(actual, expected, message) {\n }\n };\n \n-function createMsg(msg, key, actual, expected) {\n- if (msg)\n- return msg;\n- return `${key}: expected ${inspect(expected[key])}, ` +\n- `not ${ins... | 2018-02-06T10:08:23 |
rust-lang/rust | ff699ce9f55e974e9181a800203fae9d73b90e37 | 6948343b9fd4855377fd68c93b9c027d525df590 | fix: running the test only on x86_64.
The test was failing on aarch64-apple-darwin. | [
{
"path": "tests/ui/simd/empty-simd-vector-in-operand.rs",
"patch": "@@ -1,4 +1,5 @@\n // Regression test for issue #134224.\n+//@ only-x86_64\n \n #![feature(repr_simd)]\n ",
"additions": 1,
"deletions": 0,
"language": "Rust"
},
{
"path": "tests/ui/simd/empty-simd-vector-in-operand.stde... | 2025-02-03T13:16:27 |
huggingface/transformers | 78ef58325c52971506e09d62f186ffb1c4f4ee10 | b916efcb3c615132d6278ccc46c48cf7e5ea7792 | 🔴 🚨 Resizing tokens embeddings: initialize from old embeddings' normal distribution. (#33325)
* intilize new embeddings from normal distrib
* Fix typo in comments
* Fix typo in comments
* Fix style
* Fix variables naming
* Add tests
* Fix style
* code consistency nit
* Add deepspeed support
... | [
{
"path": "src/transformers/modeling_utils.py",
"patch": "@@ -2049,7 +2049,10 @@ def _get_no_split_modules(self, device_map: str):\n return list(_no_split_modules)\n \n def resize_token_embeddings(\n- self, new_num_tokens: Optional[int] = None, pad_to_multiple_of: Optional[int] = None\n+ ... | 2024-10-04T14:29:55 |
vercel/next.js | 2655820516be8dc74472c62eae37cbfe01594fa8 | 08d7885860dd52ac90a61b10f8165e364dc95673 | Postfix join and try_join (#300)
Instead of dropping back to prefix calling form in `try_join_all(iterator_of_intofutures).await?`, we now use postfix form `iterator_of_intofutures.try_join().await?`. | [
{
"path": "crates/next-core/src/web_entry_source.rs",
"patch": "@@ -1,7 +1,7 @@\n use std::{collections::HashMap, future::IntoFuture};\n \n use anyhow::{anyhow, Result};\n-use turbo_tasks::{util::try_join_all, Value};\n+use turbo_tasks::{TryJoinIterExt, Value};\n use turbo_tasks_fs::{FileSystemPathVc, FileS... | 2022-08-30T15:15:06 |
ollama/ollama | 42a14f7f633110ab83343848865d4612cfefb398 | f8c3dbe5b5ee342d97e4c71d684b85b00273c33d | sample: add error handling for empty logits (#9740) | [
{
"path": "sample/samplers.go",
"patch": "@@ -26,6 +26,10 @@ type Sampler struct {\n }\n \n func (s *Sampler) Sample(logits []float32) (int32, error) {\n+\tif len(logits) == 0 {\n+\t\treturn -1, errors.New(\"sample: no logits provided to sample\")\n+\t}\n+\n \ttokens := make([]token, len(logits))\n \tfor i ... | 2025-03-20T18:11:18 |
nodejs/node | 4927d94f4db8c5d8041f00e23b6e391151aba56d | fe442f6b5f9695ad6a11cec70f83b3f748e313a1 | doc: fix description of createDecipheriv
PR-URL: https://github.com/nodejs/node/pull/18651
Refs: https://github.com/nodejs/node/pull/12223
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> | [
{
"path": "doc/api/crypto.md",
"patch": "@@ -1359,8 +1359,8 @@ recent OpenSSL releases, `openssl list-cipher-algorithms` will display the\n available cipher algorithms.\n \n The `key` is the raw key used by the `algorithm` and `iv` is an\n-[initialization vector][]. Both arguments must be `'utf8'` encoded s... | 2018-02-08T18:43:05 |
rust-lang/rust | 6948343b9fd4855377fd68c93b9c027d525df590 | aa8f0fd7163a2f23aa958faed30c9c2b77b934a5 | fix: Check empty SIMD vector in inline asm | [
{
"path": "compiler/rustc_hir_analysis/src/check/intrinsicck.rs",
"patch": "@@ -29,6 +29,7 @@ enum NonAsmTypeReason<'tcx> {\n Invalid(Ty<'tcx>),\n InvalidElement(DefId, Ty<'tcx>),\n NotSizedPtr(Ty<'tcx>),\n+ EmptySIMDArray(Ty<'tcx>),\n }\n \n impl<'a, 'tcx> InlineAsmCtxt<'a, 'tcx> {\n@@ -102,... | 2025-01-09T17:39:40 |
huggingface/transformers | b916efcb3c615132d6278ccc46c48cf7e5ea7792 | de4112e4d20795b27bad0050e30f324a1a3a26f2 | Enables CPU AWQ model with IPEX version. (#33460)
* enable cpu awq ipex linear
* add doc for cpu awq with ipex kernel
* add tests for cpu awq
* fix code style
* fix doc and tests
* Update docs/source/en/quantization/awq.md
Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.com>
* Upda... | [
{
"path": "docs/source/en/quantization/awq.md",
"patch": "@@ -230,3 +230,44 @@ print(tokenizer.decode(output[0], skip_special_tokens=True))\n Note this feature is supported on AMD GPUs.\n \n </Tip>\n+\n+\n+## CPU support\n+\n+Recent versions of `autoawq` supports CPU with ipex op optimizations. To get start... | 2024-10-04T14:25:10 |
nodejs/node | 6963a93d0ec7b0020f243f2d49eba889a869cbed | ef78a1e584593438b1447033c1738a5f1efe638a | test: fix flaky timers-block-eventloop test
Due to extensive reliance on timings and the fs module, this test
is currently inherently flaky. Refactor it to simply use setImmediate
and only one busy loop.
PR-URL: https://github.com/nodejs/node/pull/18567
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-... | [
{
"path": "test/sequential/test-timers-block-eventloop.js",
"patch": "@@ -1,24 +1,18 @@\n 'use strict';\n \n const common = require('../common');\n-const fs = require('fs');\n-const platformTimeout = common.platformTimeout;\n+const assert = require('assert');\n \n+let called = false;\n const t1 = setInterva... | 2018-02-04T21:49:00 |
vercel/next.js | 5b3e20a11b16d592b3166c55716c665525630dcd | e735c514693bcc17a3b97eb08f2378866597e45e | Fix `filePath` being wrongly stringified (#40070)
Currently when the resolved path is `undefined` it generates `filePath: 'undefined'` in the tree object, but should be `filePath: undefined` instead.
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have helpful link... | [
{
"path": "packages/next/build/webpack/loaders/next-app-loader.ts",
"patch": "@@ -49,7 +49,7 @@ async function createTreeCodeFromPath({\n children ? `children: ${children},` : ''\n }\n }, {\n- filePath: '${resolvedLayoutPath}',\n+ filePath: ${JSON.stringify(resolvedLayoutPath)},\... | 2022-08-30T04:34:10 |
rust-lang/rust | 542dbbdcfed457beb70b2133e57c312537711564 | 264e1addfd72181741188ab318f2542e86ad4d53 | Fix rustc testsuite | [
{
"path": "scripts/setup_rust_fork.sh",
"patch": "@@ -46,6 +46,28 @@ llvm-tools = false\n std-features = [\"panic-unwind\", \"compiler-builtins-no-f16-f128\"]\n \n EOF\n+\n+cat <<EOF | git apply -\n+diff --git a/src/bootstrap/src/core/config/config.rs b/src/bootstrap/src/core/config/config.rs\n+index cf4ef4... | 2025-03-23T17:36:31 |
huggingface/transformers | 061c2c4c387f05350aa63b284f7910d69588c79f | 4a173b88b50598e1dfff1759b67156f3ef257202 | Ignore keys on `validate_rope` (#33753)
* ignore keys on check rope
* add tests
* fix tests, so maybe better leave at logger lvl | [
{
"path": "src/transformers/modeling_rope_utils.py",
"patch": "@@ -360,13 +360,23 @@ def _compute_llama3_parameters(\n }\n \n \n-def _check_received_keys(rope_type: str, received_keys: set, required_keys: set, optional_keys: Optional[set] = None):\n+def _check_received_keys(\n+ rope_type: str,\n+ rece... | 2024-10-04T10:39:37 |
vercel/next.js | e735c514693bcc17a3b97eb08f2378866597e45e | c3ceeb03abb1b262032bd96457e224497d3bbcef | Remove `<noscript>` from `next/future/image` (#40075)
This PR removes `<noscript>` from `next/future/image` since it is no longer needed now that we use a svg blur placeholder (as opposed to css filter).
- Fixes #38621
- Closes #39736 | [
{
"path": "packages/next/client/future/image.tsx",
"patch": "@@ -134,7 +134,6 @@ type ImageElementProps = Omit<ImageProps, 'src' | 'loader'> & {\n onLoadingCompleteRef: React.MutableRefObject<OnLoadingComplete | undefined>\n setBlurComplete: (b: boolean) => void\n setShowAltText: (b: boolean) => void\... | 2022-08-30T03:59:15 |
rust-lang/rust | 762c01eb24c7bda831afb4bdd095b224e39ef515 | 84340b33f985d36ee1ed9547eea367f94c7408a1 | fix: Yet another false positive invalid cast diagnostic | [
{
"path": "src/tools/rust-analyzer/crates/hir-ty/src/infer/cast.rs",
"patch": "@@ -50,7 +50,7 @@ impl CastTy {\n None\n }\n }\n- TyKind::Raw(m, ty) => Some(Self::Ptr(table.resolve_ty_shallow(ty), *m)),\n+ TyKind::Raw(m, ty) => Some(Self::... | 2025-03-23T17:34:24 |
huggingface/transformers | 4a173b88b50598e1dfff1759b67156f3ef257202 | b6a01df6e967bce0714e54ade3948be1c33cfc6f | [i18n-ru] Fixes typo in the README_ru.md (#33882) | [
{
"path": "i18n/README_ru.md",
"patch": "@@ -77,7 +77,7 @@ limitations under the License.\n \n ## Онлайн демонстрация\n \n-Большинство наших моделей можно протестировать непосредственно на их страницах с [сайта](https://huggingface.co/models). Мы также предлагаем [привтаный хостинг моделей, контроль версий ... | 2024-10-04T09:21:38 |
golang/go | 1d78139128d6d839d7da0aeb10b3e51b6c7c0749 | 2018b68a65c32a12ed5f65983212bea175b7a0fa | runtime/cgo: fix Android build with NDK 22
Fixes #42655
Change-Id: I7d2b70098a4ba4dcb325fb0be076043789b86135
Reviewed-on: https://go-review.googlesource.com/c/go/+/280312
Run-TryBot: Elias Naur <mail@eliasnaur.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Elias N... | [
{
"path": "src/runtime/cgo/gcc_linux_386.c",
"patch": "@@ -12,7 +12,7 @@ static void *threadentry(void*);\n static void (*setg_gcc)(void*);\n \n // This will be set in gcc_android.c for android-specific customization.\n-void (*x_cgo_inittls)(void **tlsg, void **tlsbase);\n+void (*x_cgo_inittls)(void **tlsg,... | 2020-12-25T10:14:11 |
ollama/ollama | df94175a0fb0356c9b9e9a62b73d908633c08810 | 61a882521657a27b5e1a0834eb6ab69617290ef2 | ggml: return error on failure to read tensor data (#9872)
When converting a ggml model if there is a failure to read tensor data a nil error value was being returned. It should be assigned to the actual error from reading. | [
{
"path": "ml/backend/ggml/ggml.go",
"patch": "@@ -330,7 +330,7 @@ func New(r *os.File, params ml.BackendParams) (ml.Backend, error) {\n \t\t}\n \t}\n \n-\tif g.Wait() != nil {\n+\tif err := g.Wait(); err != nil {\n \t\treturn nil, err\n \t}\n ",
"additions": 1,
"deletions": 1,
"language": "Go"
... | 2025-03-18T23:51:33 |
nodejs/node | d3569b623ccd593c9ef62fcaf0aba2711dc7fbfa | 809af1fe8a0a096be4f0a3020f8e60ee1c827cbc | doc: remove **Note:** tags
Remove the various **Note:** prefixes throughout the docs.
PR-URL: https://github.com/nodejs/node/pull/18592
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben... | [
{
"path": "doc/api/addons.md",
"patch": "@@ -115,7 +115,7 @@ specifically to compile Node.js Addons.\n }\n ```\n \n-*Note*: A version of the `node-gyp` utility is bundled and distributed with\n+A version of the `node-gyp` utility is bundled and distributed with\n Node.js as part of `npm`. This version is no... | 2018-02-06T05:55:16 |
vercel/next.js | 43f25065c828e3d4e66e8bb38fed581546d2c673 | 2ee6039ad036c3d994cb07523e45da0a56c8aaa9 | Benchmarks: assert that no runtime errors occur when loading pages (vercel/turbo#285)
This adds an assertion that no runtime (browser) errors occurred when
loading a benchmark page.
Test Plan: Temporarily removed the npm install for the test app and
verified the benchmark failed as the test app requires react, react-... | [
{
"path": "packages/next-swc/crates/next-dev/benches/mod.rs",
"patch": "@@ -9,6 +9,7 @@ use std::{\n \n use chromiumoxide::{\n browser::{Browser, BrowserConfig},\n+ cdp::js_protocol::runtime::EventExceptionThrown,\n error::CdpError::Ws,\n Page,\n };\n@@ -18,7 +19,7 @@ use criterion::{\n m... | 2022-08-29T23:18:26 |
huggingface/transformers | 124713c32b62416bf7a773676866fd53924bc472 | 2bd4d5897dc73e8b172832070a6f9e567a0df017 | Fix distil whisper segment computation (#33920)
* Fix distil whisper segment computation
* [run-slow] whisper | [
{
"path": "src/transformers/models/whisper/generation_whisper.py",
"patch": "@@ -994,7 +994,10 @@ def split_by_batch_index(values, key, batch_idx, is_shortform, beam_indices=None\n for v in range(len(values)):\n layer_past_key_values = []\n ... | 2024-10-04T09:18:01 |
golang/go | 2018b68a65c32a12ed5f65983212bea175b7a0fa | b116404444addc69b5ec987a2a64b92d4956eab0 | net/mail: don't use MDT in test
When time.Parse sees a timezone name that matches the local timezone,
it uses the local timezone. The tests weren't expecting that,
so using MDT broke with TZ=America/Boise (where MDT means Mountain
Daylight Time). Just use GMT instead.
Fixes #43354
Change-Id: Ida70c8c867e2568b1535d1d... | [
{
"path": "src/net/mail/message_test.go",
"patch": "@@ -107,8 +107,8 @@ func TestDateParsing(t *testing.T) {\n \t\t\ttime.Date(1997, 11, 20, 9, 55, 6, 0, time.FixedZone(\"\", -6*60*60)),\n \t\t},\n \t\t{\n-\t\t\t\"Thu, 20 Nov 1997 09:55:06 MDT (MDT)\",\n-\t\t\ttime.Date(1997, 11, 20, 9, 55, 6, 0, time.Fixed... | 2020-12-23T22:01:12 |
nodejs/node | 568b6a5c9e9893fbb6ab811cfa76841fb3c80a0a | 1b05d7bc86d30d47d021cc37476fb0131490a74b | timers: be more defensive with intervals
It's possible for user-code to flip an existing timeout to
be an interval during its execution, in which case the
current code would crash due to start being undefined. Fix
this by providing a default start value within rearm.
PR-URL: https://github.com/nodejs/node/pull/18579
... | [
{
"path": "lib/timers.js",
"patch": "@@ -442,8 +442,7 @@ function ontimeout(timer, start) {\n rearm(timer, start);\n }\n \n-\n-function rearm(timer, start) {\n+function rearm(timer, start = TimerWrap.now()) {\n // // Do not re-arm unenroll'd or closed timers.\n if (timer._idleTimeout === -1) return;... | 2018-02-05T14:50:18 |
ollama/ollama | 61a882521657a27b5e1a0834eb6ab69617290ef2 | 021dcf089d77292976ee7655eca424dd0b53b8f4 | convert: return name of unsupported architecture (#9862)
When a model's architecture cannot be converted return the name of the unsupported arch in the error message. | [
{
"path": "convert/convert.go",
"patch": "@@ -201,7 +201,7 @@ func ConvertModel(fsys fs.FS, ws io.WriteSeeker) error {\n \tcase \"CohereForCausalLM\":\n \t\tconv = &commandrModel{}\n \tdefault:\n-\t\treturn errors.New(\"unsupported architecture\")\n+\t\treturn fmt.Errorf(\"unsupported architecture %q\", p.A... | 2025-03-18T17:38:28 |
vercel/next.js | 08d7885860dd52ac90a61b10f8165e364dc95673 | 85829c3ad1b6ce6a871e6628eb72739aba1363fb | Benchmarks: assert that no runtime errors occur when loading pages (#285)
This adds an assertion that no runtime (browser) errors occurred when
loading a benchmark page.
Test Plan: Temporarily removed the npm install for the test app and
verified the benchmark failed as the test app requires react, react-dom.
Restore... | [
{
"path": "crates/next-dev/benches/mod.rs",
"patch": "@@ -9,6 +9,7 @@ use std::{\n \n use chromiumoxide::{\n browser::{Browser, BrowserConfig},\n+ cdp::js_protocol::runtime::EventExceptionThrown,\n error::CdpError::Ws,\n Page,\n };\n@@ -18,7 +19,7 @@ use criterion::{\n measurement::{Measu... | 2022-08-29T23:18:26 |
huggingface/transformers | 2bd4d5897dc73e8b172832070a6f9e567a0df017 | 550673a70c50b7724d6320f5b6122dafd5816b18 | Minor error condition bug fix (#33781)
* Error condition bug fix
* Update error message
* Update src/transformers/models/qwen2_vl/modeling_qwen2_vl.py
Co-authored-by: Pavel Iakubovskii <qubvel@gmail.com>
* Making change in the rest of the repo
* Formatting
* Formatting with ruff
---------
Co-au... | [
{
"path": "examples/modular-transformers/modeling_dummy.py",
"patch": "@@ -882,7 +882,7 @@ def forward(\n \n if (input_ids is None) ^ (inputs_embeds is not None):\n raise ValueError(\n- \"You cannot specify both input_ids and inputs_embeds at the same time, and must specif... | 2024-10-04T06:25:32 |
nodejs/node | b1c6ecb2c674f43290ad772bc464568aa42ef5d0 | e9b5b4fae3592f4d4992e0e4195fec8d65f57bf4 | fs: fix misplaced errors in fs.symlinkSync
The ctx.error is supposed to be handled in fs.readlinkSync,
but was handled in fs.symlinkSync by mistake.
Also fix the error number check in readlink to be consistent
with SYNC_CALL.
PR-URL: https://github.com/nodejs/node/pull/18548
Refs: https://github.com/nodejs/node/pull... | [
{
"path": "lib/fs.js",
"patch": "@@ -1161,6 +1161,11 @@ fs.readlinkSync = function(path, options) {\n options.encoding, undefined, ctx);\n if (ctx.errno !== undefined) {\n throw errors.uvException(ctx);\n+ } else if (ctx.error) {\n+ // TODO(joyeecheung): this is a... | 2018-02-03T13:58:22 |
golang/go | e4f293d85306cb89da3c134ce432e330e289447e | 1d9a1f67d537309f80740b16ef619500fb55db16 | [dev.regabi] cmd/compile: fix OCALLMETH desugaring
During walkCall, there's a half-hearted attempt at rewriting OCALLMETH
expressions into regular function calls by moving the receiver
argument into n.Args with the rest of the arguments. But the way it
does this leaves the AST in an inconsistent state (an ODOTMETH nod... | [
{
"path": "src/cmd/compile/internal/reflectdata/reflect.go",
"patch": "@@ -836,8 +836,7 @@ func TypeSym(t *types.Type) *types.Sym {\n \t\tbase.Fatalf(\"typenamesym %v\", t)\n \t}\n \tif t.Kind() == types.TFUNC && t.Recv() != nil {\n-\t\t// TODO(mdempsky): Fix callers and make fatal.\n-\t\tt = typecheck.NewM... | 2020-12-25T08:34:32 |
ollama/ollama | bf24498b1ea2728ef735030f186d1c970c38eaa6 | 95e271d98f0b5717bde2b7e5c4c7639c19fd3763 | ollamarunner: Check for minBatch of context space when shifting
Models can specify that a group of inputs need to be handled a single
batch. However, context shifting didn't respect this and could trigger
a break anyways. In this case, we should instead trigger a context
shift earlier so that it occurs before the grou... | [
{
"path": "runner/ollamarunner/runner.go",
"patch": "@@ -115,6 +115,9 @@ func (s *Server) NewSequence(prompt string, images []llm.ImageData, params NewSe\n \t\tparams.numKeep = int32(len(inputs))\n \t}\n \n+\t// TODO(jessegross): We should ensure that we always leave minBatch of context space to shift,\n+\t... | 2025-03-17T19:03:06 |
huggingface/transformers | 074aa3b3fd340c697632c2188ee2a4561df71b76 | b0c5660e881a562ba526f70639ff480a392fce71 | Uniformize kwargs for Idefics/2 processors (#32568)
* Add uniformize idefics processor kwargs and tests
* Uniformize idefics2 processor kwargs
* add image_processor tests idefics
* add BC args order change idefics2 processor and update doc
* Add support for multiple images per prompt in image-text-to-text ... | [
{
"path": "src/transformers/models/idefics/processing_idefics.py",
"patch": "@@ -16,13 +16,21 @@\n Processor class for IDEFICS.\n \"\"\"\n \n-from typing import Callable, List, Optional, Union\n+from typing import Callable, Dict, List, Optional, Union\n from urllib.parse import urlparse\n \n from ...feature... | 2024-10-03T16:08:24 |
rust-lang/rust | 34b7d51b95663071729b83a2127bdd6a98b9ca08 | 20f4a0d586fcb27936f07f001bf128b2f407b018 | fix typo | [
{
"path": "library/core/src/macros/mod.rs",
"patch": "@@ -1744,7 +1744,7 @@ pub(crate) mod builtin {\n }\n \n /// Provide a list of type aliases and other opaque-type-containing type definitions.\n- /// This list will be used in the body of the item it is applied to to define opaque\n+ /// Thi... | 2025-03-23T08:47:10 |
vercel/next.js | 2ee6039ad036c3d994cb07523e45da0a56c8aaa9 | 8f54f35e90ca143690f54796119244c3f98abb54 | Benchmarks: Install node_modules and reuse test directories (vercel/turbo#284)
This:
* Runs `npm install` in test directories to provide turbopack with modules necessary to bundle them.
* Reuses test directories for iterations across the given benchmark. This prevents unnecessary file writing and `npm install` for... | [
{
"path": "packages/next-swc/crates/next-dev/benches/mod.rs",
"patch": "@@ -1,7 +1,7 @@\n use std::{\n fs::remove_dir_all,\n future::Future,\n- io::{BufRead, BufReader},\n+ io::{self, BufRead, BufReader, Write},\n path::PathBuf,\n process::{Child, ChildStdout, Command, Stdio},\n ti... | 2022-08-29T22:41:26 |
golang/go | 1d9a1f67d537309f80740b16ef619500fb55db16 | 396b6c2e7c5c368c67e71824471d4f2d48f5c128 | [dev.regabi] cmd/compile: don't emit reflect data for method types
Within the compiler, we represent the type of methods as a special
"method" type, where the receiver parameter type is kept separate from
the other parameters. This is convenient for operations like testing
whether a type implements an interface, where... | [
{
"path": "src/cmd/compile/internal/reflectdata/reflect.go",
"patch": "@@ -835,6 +835,10 @@ func TypeSym(t *types.Type) *types.Sym {\n \tif t == nil || (t.IsPtr() && t.Elem() == nil) || t.IsUntyped() {\n \t\tbase.Fatalf(\"typenamesym %v\", t)\n \t}\n+\tif t.Kind() == types.TFUNC && t.Recv() != nil {\n+\t\t/... | 2020-12-25T08:12:15 |
ollama/ollama | 2c8b4846437747bd23e7a176f83011e39ec2128b | 8294676150dde3dd3d316644b86e42b07204ff9c | fix: correctly save in interactive mode (#9788)
This fixes the case where a FROM line in previous modelfile points to a
file which may/may not be present in a different ollama instance. We
shouldn't be relying on the filename though and instead just check if
the FROM line was instead a valid model name and point to th... | [
{
"path": "cmd/cmd_test.go",
"patch": "@@ -757,3 +757,132 @@ func TestCreateHandler(t *testing.T) {\n \t\t})\n \t}\n }\n+\n+func TestNewCreateRequest(t *testing.T) {\n+\ttests := []struct {\n+\t\tname string\n+\t\tfrom string\n+\t\topts runOptions\n+\t\texpected *api.CreateRequest\n+\t}{\n+\t\t{... | 2025-03-15T19:09:02 |
nodejs/node | e9b5b4fae3592f4d4992e0e4195fec8d65f57bf4 | 87b9bceacb6877e62148ea0f96f89a03f9b76a47 | stream: fix misleading error message
The method to implement is `_write` not `_transform`.
PR-URL: https://github.com/nodejs/node/pull/18604
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Colin I... | [
{
"path": "lib/_stream_writable.js",
"patch": "@@ -541,7 +541,7 @@ function clearBuffer(stream, state) {\n }\n \n Writable.prototype._write = function(chunk, encoding, cb) {\n- cb(new errors.Error('ERR_METHOD_NOT_IMPLEMENTED', '_transform'));\n+ cb(new errors.Error('ERR_METHOD_NOT_IMPLEMENTED', '_write'))... | 2018-02-06T20:29:26 |
huggingface/transformers | b0c5660e881a562ba526f70639ff480a392fce71 | 15a4d24805a8d003ab7ce0758a7ede4142f011a9 | Config: lower `save_pretrained` exception to warning (#33906)
* lower to warning
* msg
* make fixup
* rm extra comma | [
{
"path": "src/transformers/configuration_utils.py",
"patch": "@@ -380,11 +380,14 @@ def save_pretrained(self, save_directory: Union[str, os.PathLike], push_to_hub:\n \n non_default_generation_parameters = self._get_non_default_generation_parameters()\n if len(non_default_generation_paramete... | 2024-10-03T15:45:14 |
rust-lang/rust | 63e7815390c420c16e1dde7efa919cc15e15afec | 819f3c7c6761cca808f110b84b6b6fc9964cf265 | Fix example for unconditional_recursion | [
{
"path": "clippy_lints/src/unconditional_recursion.rs",
"patch": "@@ -23,8 +23,8 @@ declare_clippy_lint! {\n /// implementations.\n ///\n /// ### Why is this bad?\n- /// This is a hard to find infinite recursion that will crash any code\n- /// using it.\n+ /// Infinite recursion in tra... | 2025-03-10T10:11:29 |
vercel/next.js | 85829c3ad1b6ce6a871e6628eb72739aba1363fb | 8fa05a22bc039d6d77632be99973221cf43a5646 | Benchmarks: Install node_modules and reuse test directories (#284)
This:
* Runs `npm install` in test directories to provide turbopack with modules necessary to bundle them.
* Reuses test directories for iterations across the given benchmark. This prevents unnecessary file writing and `npm install` for each iterat... | [
{
"path": "crates/next-dev/benches/mod.rs",
"patch": "@@ -1,7 +1,7 @@\n use std::{\n fs::remove_dir_all,\n future::Future,\n- io::{BufRead, BufReader},\n+ io::{self, BufRead, BufReader, Write},\n path::PathBuf,\n process::{Child, ChildStdout, Command, Stdio},\n time::Duration,\n@@ ... | 2022-08-29T22:41:26 |
nodejs/node | 87b9bceacb6877e62148ea0f96f89a03f9b76a47 | d8f73385e220d54de9f9c53da8d8693813e6d774 | stream: always defer readable in EOF when sync
Fix a regression introduced by
https://github.com/nodejs/node/pull/18515 that broke
the dicer module tests.
See: https://github.com/nodejs/node/pull/18515
PR-URL: https://github.com/nodejs/node/pull/18615
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By... | [
{
"path": "lib/_stream_readable.js",
"patch": "@@ -488,9 +488,9 @@ function onEofChunk(stream, state) {\n }\n state.ended = true;\n \n- if (state.sync && state.length) {\n- // if we are sync and have data in the buffer, wait until next tick\n- // to emit the data. otherwise we risk emitting data ... | 2018-02-07T09:52:04 |
ollama/ollama | 7bf793a6007ca11fae0180ea6f2ebd7258428bd4 | 282bfaaa957fff8402eb7a4b1657f57c49939604 | gemma3: Allow multiple image in a single input
Previously processing multiple images in a batch would trigger
segfaults so sending images together was disabled as a way to
mitigate this. The trigger was processing one image on the CPU
and one on the GPU.
This can no longer happen:
- The vision encoder is now on the ... | [
{
"path": "server/prompt.go",
"patch": "@@ -26,7 +26,6 @@ func chatPrompt(ctx context.Context, m *Model, tokenize tokenizeFunc, opts *api.\n \tvar system []api.Message\n \n \tisMllama := checkMllamaModelFamily(m)\n-\tisGemma3 := checkGemma3ModelFamily(m)\n \n \tvar imageNumTokens int\n \t// TODO: Ideally we... | 2025-03-12T23:59:23 |
golang/go | 396b6c2e7c5c368c67e71824471d4f2d48f5c128 | e24d2f3d0513961441904afdf71cafe7808c0be9 | [dev.regabi] cmd/compile: cleanup assignment typechecking
The assignment type-checking code previously bounced around a lot
between the LHS and RHS sides of the assignment. But there's actually
a very simple, consistent pattern to how to type check assignments:
1. Check the RHS expression.
2. If the LHS expression i... | [
{
"path": "src/cmd/compile/internal/typecheck/stmt.go",
"patch": "@@ -93,47 +93,16 @@ func tcAssign(n *ir.AssignStmt) {\n \t\tdefer tracePrint(\"typecheckas\", n)(nil)\n \t}\n \n-\t// delicate little dance.\n-\t// the definition of n may refer to this assignment\n-\t// as its definition, in which case it wi... | 2020-12-24T00:14:59 |
huggingface/transformers | 6500f78c86bfd4729a01a5cebc915a263f8984e6 | bf0ffe3d297fe068a5e410d0c5acce924721c410 | [PEFT] Support low_cpu_mem_usage option for PEFT loading adapters (#33725)
* [PEFT] Support low_cpu_mem_usage for PEFT loading
PEFT added support for low_cpu_mem_usage=True when loading adapters in
https://github.com/huggingface/peft/pull/1961. This feature is now
available when installing PEFT v0.13.0. With this... | [
{
"path": "src/transformers/integrations/peft.py",
"patch": "@@ -11,10 +11,13 @@\n # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n # See the License for the specific language governing permissions and\n # limitations under the License.\n+import importlib\n import inspect\n impor... | 2024-10-03T14:15:36 |
rust-lang/rust | 20f4a0d586fcb27936f07f001bf128b2f407b018 | f08d5c01e69436891ff1c181385d0e078a8482ec | fix ICE #138415 | [
{
"path": "compiler/rustc_ast_lowering/src/item.rs",
"patch": "@@ -1724,8 +1724,8 @@ impl<'hir> LoweringContext<'_, 'hir> {\n return;\n };\n let define_opaque = define_opaque.iter().filter_map(|(id, path)| {\n- let res = self.resolver.get_partial_res(*id).unwrap();\n- ... | 2025-03-23T08:02:42 |
vercel/next.js | fdb629d01e686c61d6a04edbb542a4362186bbeb | b83c5eb85c9bcffe9b7b562fb4c379393a8e423c | Update debugging.md (--dev -> --save-dev for npm) (#39998)
Reference:
https://docs.npmjs.com/specifying-dependencies-and-devdependencies-in-a-package-json-file#adding-dependencies-to-a-packagejson-file-from-the-command-line
## Documentation / Examples
- [x] Make sure the linting passes by running `pnpm lint`
-... | [
{
"path": "docs/advanced-features/debugging.md",
"patch": "@@ -90,7 +90,7 @@ Debugging server-side code here works much like debugging client-side code with\n \n ### Debugging on Windows\n \n-Windows users may run into an issue when using `NODE_OPTIONS='--inspect'` as that syntax is not supported on Windows... | 2022-08-29T17:42:46 |
ollama/ollama | 9679f40146ed7e148a64abb14c7c619b162c1875 | 3892c3a7032c99db250c3266276c4525d243950a | ml: Allow models to constrain inputs to a single batch
Models may require that a set of inputs all be processed as part
of the same batch. For example, if an image has multiple patches
with fully connected attention between them, we should not split
the batch in the middle of an image.
Fixes #9697 | [
{
"path": "integration/llm_image_test.go",
"patch": "@@ -66,6 +66,35 @@ func TestIntegrationMllama(t *testing.T) {\n \tDoGenerate(ctx, t, client, req, []string{resp}, 240*time.Second, 30*time.Second)\n }\n \n+func TestIntegrationSplitBatch(t *testing.T) {\n+\timage, err := base64.StdEncoding.DecodeString(im... | 2025-03-12T23:56:11 |
nodejs/node | d8f73385e220d54de9f9c53da8d8693813e6d774 | b50571602afdbed72d3cb9e412c0e4ef5d1bae80 | fs: throw errors on invalid paths synchronously
- Throw getPathFromURL() and nullCheck() errors synchronously instead
of deferring them to the next tick, since we already throw
validatePath() errors synchronously.
- Merge nullCheck() into validatePath()
- Never throws in `fs.exists()`, instead, invoke the callback... | [
{
"path": "lib/fs.js",
"patch": "@@ -108,8 +108,9 @@ function copyObject(source) {\n return target;\n }\n \n+// TODO(joyeecheung): explore how the deprecation could be solved via linting\n+// rules. See https://github.com/nodejs/node/pull/12976\n function rethrow() {\n- // TODO(thefourtheye) Throw error ... | 2018-01-23T02:23:46 |
huggingface/transformers | bf0ffe3d297fe068a5e410d0c5acce924721c410 | ab97a78130f96e72eec609c56cb5f719529ffb9e | [Tests] Diverse Whisper fixes (#33665)
* fix beam indices in token_timestamps
* fix attention_mask in FA2
* correct translation example with the right example
* correct how somes tests are using outputs + correct num_frames
* fix shortform batch prev cond tests
* make fix-copies
* make fix-copies
... | [
{
"path": "src/transformers/models/qwen2_audio/modeling_qwen2_audio.py",
"patch": "@@ -291,7 +291,7 @@ def forward(\n \n causal_mask = attention_mask\n if attention_mask is not None: # no matter the length, we just slice it\n- causal_mask = attention_mask[:, :, :, : key_states.sh... | 2024-10-03T13:59:01 |
golang/go | b116404444addc69b5ec987a2a64b92d4956eab0 | 8db7e2fecdcd04af31c82d075c60ab6fdf6b7a48 | runtime: shift timeHistogram buckets and allow negative durations
Today, timeHistogram, when copied, has the wrong set of counts for the
bucket that should represent (-inf, 0), when in fact it contains [0, 1).
In essence, the buckets are all shifted over by one from where they're
supposed to be.
But this also means t... | [
{
"path": "src/runtime/export_test.go",
"patch": "@@ -1201,12 +1201,12 @@ type TimeHistogram timeHistogram\n \n // Counts returns the counts for the given bucket, subBucket indices.\n // Returns true if the bucket was valid, otherwise returns the counts\n-// for the overflow bucket and false.\n+// for the u... | 2020-12-22T17:47:43 |
ollama/ollama | 65b88c544f08ce3e5b1d193e82b72735095f795c | a422ba39c94adc870da84e5fa442c0bf81c77f27 | fix divide by zero | [
{
"path": "fs/ggml/ggml.go",
"patch": "@@ -579,6 +579,10 @@ func (f GGML) GraphSize(context, batch uint64, kvCacheType string) (kv, partialO\n }\n \n func (llm GGML) VisionGraphSize() (weights, graphSize uint64) {\n+\tif llm.KV().Uint(\"vision.block_count\") == 0 {\n+\t\treturn\n+\t}\n+\n \tfor name, layer ... | 2025-03-13T22:05:42 |
huggingface/transformers | ab97a78130f96e72eec609c56cb5f719529ffb9e | d29738f5b45d9c868ef9775388700c8d08b5800d | Fix: use unidic-lite instead of ipadic as the tokenizer dictionary for Japanese (#33372)
* Fix: use unidic-lite instead of ipadic as the tokenizer dictionary of Japanese
Signed-off-by: Kan Takahiro <kan@Kans-Mac-mini.local>
* fix the default name
---------
Signed-off-by: Kan Takahiro <kan@Kans-Mac-mini.loc... | [
{
"path": "src/transformers/models/bert_japanese/tokenization_bert_japanese.py",
"patch": "@@ -380,7 +380,7 @@ def __init__(\n do_lower_case=False,\n never_split=None,\n normalize_text=True,\n- mecab_dic: Optional[str] = \"ipadic\",\n+ mecab_dic: Optional[str] = \"unidi... | 2024-10-03T13:30:03 |
rust-lang/rust | 8bc164b81824a1d13a6cb10ebe6d169cea82916e | 1e5237f4a56ae958af7e5824343eacf737b67083 | fix: `option_if_let_else` suggests wrongly when coercion | [
{
"path": "clippy_lints/src/option_if_let_else.rs",
"patch": "@@ -4,8 +4,8 @@ use clippy_utils::diagnostics::span_lint_and_sugg;\n use clippy_utils::sugg::Sugg;\n use clippy_utils::ty::is_copy;\n use clippy_utils::{\n- CaptureKind, can_move_expr_to_closure, eager_or_lazy, higher, is_else_clause, is_in_co... | 2025-03-23T04:49:03 |
golang/go | 8db7e2fecdcd04af31c82d075c60ab6fdf6b7a48 | fb96f07e1a45b9ec41158732a34aee8c2ccc2eaf | runtime: fix allocs-by-size and frees-by-size buckets
Currently these two metrics are reported incorrectly, going by the
documentation in the runtime/metrics package. We just copy in the
size-class-based values from the runtime wholesale, but those implicitly
have an inclusive upper-bound and exclusive lower-bound (e.... | [
{
"path": "src/runtime/metrics.go",
"patch": "@@ -43,7 +43,18 @@ func initMetrics() {\n \t}\n \tsizeClassBuckets = make([]float64, _NumSizeClasses)\n \tfor i := range sizeClassBuckets {\n-\t\tsizeClassBuckets[i] = float64(class_to_size[i])\n+\t\t// Size classes have an inclusive upper-bound\n+\t\t// and exc... | 2020-12-22T16:23:29 |
nodejs/node | b50571602afdbed72d3cb9e412c0e4ef5d1bae80 | 8ccd320549efdbab3608ddcbefca62bd69f8b879 | build: do not suppress output in make doc-only
This helps to show the cause of errors in the CI.
PR-URL: https://github.com/nodejs/node/pull/18507
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Rub... | [
{
"path": "Makefile",
"patch": "@@ -619,7 +619,7 @@ doc-only: $(apidoc_dirs) $(apiassets) ## Builds the docs with the local or the\n \tif [ ! -d doc/api/assets ]; then \\\n \t\t$(MAKE) tools/doc/node_modules/js-yaml/package.json; \\\n \tfi;\n-\t@$(MAKE) -s $(apidocs_html) $(apidocs_json)\n+\t@$(MAKE) $(api... | 2018-02-01T14:39:51 |
huggingface/transformers | 95a2f5f6c37efbcf83b1498002d7b8b843a13ad5 | 4df3ccddb763d2e60e84c851c0e36e35d6e7faee | Fix module initialization for root module under Zero3 (#33632)
* Use all state dict keys when checking if root module is initialized.
* Apply style corrections
* Add comment explaining change.
* Change comment phrasing. | [
{
"path": "src/transformers/modeling_utils.py",
"patch": "@@ -617,6 +617,9 @@ def set_initialized_submodules(model, state_dict_keys):\n not_initialized_submodules = {}\n for module_name, module in model.named_modules():\n loaded_keys = {k.replace(f\"{module_name}.\", \"\") for k in state_dic... | 2024-10-03T12:41:50 |
rust-lang/rust | ee6a1598268e07cf1fbecc6ad1c2d5a5db593fb4 | cbcd28652a78e4d34dfa88ccc5ac40d386dbe567 | doc: fix reference to #create-a-configtoml | [
{
"path": "src/doc/rustc-dev-guide/src/building/prerequisites.md",
"patch": "@@ -38,4 +38,4 @@ incremental compilation ([see here][config]). This will make compilation take\n longer (especially after a rebase), but will save a ton of space from the\n incremental caches.\n \n-[config]: ./how-to-build-and-run... | 2025-03-23T04:34:41 |
golang/go | fb96f07e1a45b9ec41158732a34aee8c2ccc2eaf | d1502b3c7270e655d3306d65f5dd61438626a1a9 | runtime: fix nStackRoots comment about stack roots
A comment in mgcmark.go indicates that we scan stacks a second time but
we don't, at least not since changing to the hybrid write barrier.
Change-Id: I9376adbb6d8b6dd9dc3cee62e077b5dfb8a3fdde
Reviewed-on: https://go-review.googlesource.com/c/go/+/279797
Trust: Michae... | [
{
"path": "src/runtime/mgcmark.go",
"patch": "@@ -101,8 +101,7 @@ func gcMarkRootPrepare() {\n \t// Gs may be created after this point, but it's okay that we\n \t// ignore them because they begin life without any roots, so\n \t// there's nothing to scan, and any roots they create during\n-\t// the concurren... | 2020-12-23T17:12:44 |
nodejs/node | 8ccd320549efdbab3608ddcbefca62bd69f8b879 | 259f62a8e8d4eac2f067b205abc9264b946d6738 | src: don't abort when package.json is a directory
PR-URL: https://github.com/nodejs/node/pull/18270
Fixes: https://github.com/nodejs/node/issues/8307
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Guy Bedfo... | [
{
"path": "src/node_file.cc",
"patch": "@@ -673,6 +673,12 @@ static void InternalModuleReadJSON(const FunctionCallbackInfo<Value>& args) {\n return;\n }\n \n+ std::shared_ptr<void> defer_close(nullptr, [fd, loop] (...) {\n+ uv_fs_t close_req;\n+ CHECK_EQ(0, uv_fs_close(loop, &close_req, fd, nul... | 2018-01-20T14:11:03 |
ollama/ollama | 80c7ce381ba5bd435503323007c4049fc1c3faef | ccfd41c4f0f1cbbb57ba19f79a2be36c07825b29 | fix: change default context size for gemma3 (#9744) | [
{
"path": "convert/convert_gemma3.go",
"patch": "@@ -87,7 +87,7 @@ func (p *gemma3Model) KV(t *Tokenizer) ggml.KV {\n \t\tkv[\"gemma3.embedding_length\"] = p.HiddenSize\n \t\tkv[\"gemma3.feed_forward_length\"] = p.IntermediateSize\n \tdefault:\n-\t\tkv[\"gemma3.context_length\"] = cmp.Or(p.MaxPositionEmbedd... | 2025-03-13T20:59:19 |
huggingface/transformers | 4df3ccddb763d2e60e84c851c0e36e35d6e7faee | 6f0ce527606bff840abe1e255927710232ccaded | Migrate the CI runners to the new clusters (#33849)
* try fixing push-ci
* move to new runners
* move benchmark.yml to new runners
* move doctest_job.yml to new runners
* move doctests.yml to new runners
* move push-important-models.yml to new runners
* move self-pr-slow-ci.yml to new runners
* fi... | [
{
"path": ".github/workflows/benchmark.yml",
"patch": "@@ -13,7 +13,8 @@ env:\n jobs:\r\n benchmark:\r\n name: Benchmark\r\n- runs-on: [single-gpu, nvidia-gpu, a10, ci]\r\n+ runs-on: \r\n+ group: aws-g5-4xlarge-cache\r\n container:\r\n image: huggingface/transformers-all-latest-gp... | 2024-10-03T12:39:49 |
golang/go | 30c99cbb7a7bd795a772bbc0f32a1266d86b29bb | 49d0b239cb83e62c7b67e68ef9440ddc055a9c53 | cmd/go: add the Retract field to 'go help mod edit' definition of the GoMod struct
Fixes #43281
Change-Id: Ife26ca174a8818b56aaea9547976d97978478a5f
GitHub-Last-Rev: 85a3d30001672b371a58d1c8a2092fc9b937af6f
GitHub-Pull-Request: golang/go#43315
Reviewed-on: https://go-review.googlesource.com/c/go/+/279592
Run-TryBot: ... | [
{
"path": "src/cmd/go/alldocs.go",
"patch": "@@ -1192,6 +1192,7 @@\n // \t\tRequire []Require\n // \t\tExclude []Module\n // \t\tReplace []Replace\n+// \t\tRetract []Retract\n // \t}\n //\n // \ttype Require struct {",
"additions": 1,
"deletions": 0,
"language": "Go"
},
{
"path": "src/cm... | 2020-12-22T17:22:17 |
nodejs/node | 259f62a8e8d4eac2f067b205abc9264b946d6738 | f783d61ad3c753eb297abe6a76e199a049ee9c66 | doc: fix MDN links to avoid redirections
developer.mozilla.org/en/... -> developer.mozilla.org/en-US/...
PR-URL: https://github.com/nodejs/node/pull/18631
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Tobias Nießen <tniessen@tnie.de> | [
{
"path": "doc/api/assert.md",
"patch": "@@ -950,14 +950,14 @@ second argument. This might lead to difficult-to-spot errors.\n \n [`Error.captureStackTrace`]: errors.html#errors_error_capturestacktrace_targetobject_constructoropt\n [`Error`]: errors.html#errors_class_error\n-[`Map`]: https://developer.mozil... | 2018-02-07T21:55:37 |
huggingface/transformers | f1a5f812965c77de9b3f369a1ce2ee0a5b357f02 | dc8156fdd8af3bc79f98a5af1bcabde4cf131d54 | Update an keyerror on _save_check_point prevent confusion of missing … (#33832)
* Update an keyerror on _save_check_point prevent confusion of missing metric keys
* Update grammar error and case sensitive.
Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.com>
* adding update KeyError on _evalua... | [
{
"path": "src/transformers/trainer.py",
"patch": "@@ -2901,8 +2901,11 @@ def _evaluate(self, trial, ignore_keys_for_eval, skip_scheduler=False):\n self.lr_scheduler.step(metrics[metric_to_check])\n except KeyError as exc:\n raise KeyError(\n- f... | 2024-10-03T08:27:49 |
golang/go | 49d0b239cb83e62c7b67e68ef9440ddc055a9c53 | 98a73030b01cc23a292934d09f137a2befa439bf | doc: fix a typo in contribute.html
A fix for a trivial (yet still confusing for neophytes like me!) typo in
contribute.html.
Change-Id: Ic68673fb2a3855c2b9e8042047087450e8793e6b
Reviewed-on: https://go-review.googlesource.com/c/go/+/279452
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Dmitri Shuralyov ... | [
{
"path": "doc/contribute.html",
"patch": "@@ -1129,7 +1129,7 @@ <h3 id=\"quick_test\">Quickly testing your changes</h3>\n might require a newer version than the stable one you have installed).\n \n <pre>\n-$ cd $GODIR/src/hash/sha1\n+$ cd $GODIR/src/crypto/sha1\n $ [make changes...]\n $ $GODIR/bin/go test ... | 2020-12-21T16:33:55 |
huggingface/transformers | dc8156fdd8af3bc79f98a5af1bcabde4cf131d54 | d7950bff82b18c823193d17d72188c5e46d06c83 | Fix dt proj bias reassigned (#33314)
* When we set self.dt_proj.bias = None, it removes the bias parameter from the model. When we later tried to assign a tensor to self.dt_proj.bias, it caused a TypeError because PyTorch expects a Parameter object.
* When we set self.dt_proj.bias = None, it removes the bias parame... | [
{
"path": "src/transformers/models/jamba/modeling_jamba.py",
"patch": "@@ -713,11 +713,14 @@ def cuda_kernels_forward(\n # This is a hack to apply dt_proj while still using the forward pass of `torch.nn.Linear`, which is needed\n # in order to make quantization work. Quantization code replac... | 2024-10-03T07:51:03 |
ollama/ollama | ec46f3286c7a6a4dc7bcfb373d63ca909952ea4a | 45a13b1dec1ccc1771cd28af826d603d9c885fd9 | engine: error on embeddings; not currently implemented | [
{
"path": "runner/ollamarunner/runner.go",
"patch": "@@ -691,65 +691,6 @@ type EmbeddingResponse struct {\n \tEmbedding []float32 `json:\"embedding\"`\n }\n \n-func (s *Server) embeddings(w http.ResponseWriter, r *http.Request) {\n-\tvar req EmbeddingRequest\n-\tif err := json.NewDecoder(r.Body).Decode(&req... | 2025-03-13T18:22:19 |
nodejs/node | f783d61ad3c753eb297abe6a76e199a049ee9c66 | ffb385bff5f52b8729895eae51b28d417c736602 | doc: fix link in https.md
PR-URL: https://github.com/nodejs/node/pull/18630
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> | [
{
"path": "doc/api/https.md",
"patch": "@@ -257,7 +257,7 @@ const req = https.request(options, (res) => {\n [`http.Server#setTimeout()`]: http.html#http_server_settimeout_msecs_callback\n [`http.Server#timeout`]: http.html#http_server_timeout\n [`http.Server`]: http.html#http_class_http_server\n-[`http.crea... | 2018-02-07T21:31:51 |
huggingface/transformers | 62e8c759c348d1abc98414d293824de813eb15a6 | 2f25ab95dbe220350aedf1b66fe6f2e12346c605 | rename all test_processing_*.py to test_processor_*.py (#33878)
* rename all test_processing_*.py to test_processor_*.py ans fix duplicate test processor paligemma
* fix copies
* fix broken tests
* fix-copies
* fix test processor bridgetower | [
{
"path": "src/transformers/models/omdet_turbo/modeling_omdet_turbo.py",
"patch": "@@ -21,7 +21,7 @@\n from dataclasses import dataclass\n from functools import lru_cache\n from pathlib import Path\n-from typing import Optional, Tuple, Union\n+from typing import List, Optional, Tuple, Union\n \n import torc... | 2024-10-02T14:43:43 |
golang/go | 3ea342eb2e2f65a02bc84e206a4e7615747df49a | 0e21d5be3790a55484f1dfcad6d8b1d2f253600e | [dev.fuzz] cmd/go: fix test_fuzz_mutate_crash test on windows
Change-Id: I1efde6dd82bb22f8bba63fe837c0f6ad4b3f03bd
Reviewed-on: https://go-review.googlesource.com/c/go/+/279992
Trust: Jay Conrod <jayconrod@google.com>
Run-TryBot: Jay Conrod <jayconrod@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: K... | [
{
"path": "src/cmd/go/testdata/script/test_fuzz_mutate_crash.txt",
"patch": "@@ -13,7 +13,7 @@ go test -parallel=1\n \n # Running the fuzzer should find a crashing input quickly.\n ! go test -fuzz=FuzzWithBug -parallel=1\n-stdout 'testdata/corpus/FuzzWithBug/fb8e20fc2e4c3f248c60c39bd652f3c1347298bb977b8b4d5... | 2020-12-23T14:52:30 |
ollama/ollama | 5e2e0b46b1b4ae7145011642631a7b507a70fb03 | 45a13b1dec1ccc1771cd28af826d603d9c885fd9 | fix: error if image requested without vision model | [
{
"path": "model/model.go",
"patch": "@@ -22,6 +22,8 @@ import (\n \t\"github.com/ollama/ollama/model/input\"\n )\n \n+var ErrNoVisionModel = errors.New(\"vision model not found\")\n+\n // Model implements a specific model architecture, defining the forward pass and any model-specific configuration\n type M... | 2025-03-13T17:37:31 |
nodejs/node | ffb385bff5f52b8729895eae51b28d417c736602 | 92ba624fa1da61c4061aa554877bfa3c94c83324 | test: refactor test-http-abort-before-end
This test was added over six years ago, and the behavior
seems to have changed since then. When the test was originally
written, common.mustCall() did not exist. The only assertion
in this test was not actually executing. Instead of an 'error'
event being emitted as expected, ... | [
{
"path": "test/parallel/test-http-abort-before-end.js",
"patch": "@@ -22,25 +22,22 @@\n 'use strict';\n const common = require('../common');\n const http = require('http');\n-const assert = require('assert');\n \n const server = http.createServer(common.mustNotCall());\n \n-server.listen(0, function() {\n+... | 2018-02-01T15:33:27 |
vercel/next.js | 8668020a54cee2ba5ba096c4d11be527f19a07bf | decc00d0d28cd44a96ff379d1f72a970c310cef4 | Upgrade typescript to 4.8.2 (#39979)
Typescript published 4.8.2 today and it fails CI, bump our typescript version to 4.8.2 and tweak some typings to make existing e2e typescript tests work properly
* Bump web-vitals from 3.0.0-beta to 3.0.0 stable for typing fix (there's an undefined type but it wasn't caught by ts ... | [
{
"path": "examples/with-stencil/packages/test-component/src/components/my-component/my-component.tsx",
"patch": "@@ -7,6 +7,7 @@ import { format } from '../../utils/utils'\n styleUrl: 'my-component.css',\n shadow: true,\n })\n+// eslint-disable-next-line @typescript-eslint/no-unused-vars\n export class... | 2022-08-29T16:56:02 |
huggingface/transformers | 2f25ab95dbe220350aedf1b66fe6f2e12346c605 | ee71c9853a2d19b1b35b9f8fc8896feac5b2659c | Handle Trainer `tokenizer` kwarg deprecation with decorator (#33887)
* Handle deprecation with decorator
* Fix for seq2seq Trainer | [
{
"path": "src/transformers/trainer.py",
"patch": "@@ -177,6 +177,7 @@\n logging,\n strtobool,\n )\n+from .utils.deprecation import deprecate_kwarg\n from .utils.quantization_config import QuantizationMethod\n \n \n@@ -326,11 +327,6 @@ class Trainer:\n The dataset to use for evaluation.... | 2024-10-02T14:28:20 |
golang/go | 98a73030b01cc23a292934d09f137a2befa439bf | fd6ba1c8a23d8a3fffb6c475b21f78510152ef5c | cmd/go: in 'go get', promote named implicit dependencies to explicit
'go get pkg@vers' will now add an explicit requirement for the module
providing pkg if that version was already indirectly required.
'go get mod@vers' will do the same if mod is a module path but not a
package.
Requirements promoted this way will b... | [
{
"path": "src/cmd/go/internal/modload/buildlist.go",
"patch": "@@ -28,6 +28,11 @@ import (\n //\n var buildList []module.Version\n \n+// additionalExplicitRequirements is a list of modules paths for which\n+// WriteGoMod should record explicit requirements, even if they would be\n+// selected without those... | 2020-12-16T21:37:56 |
nodejs/node | af5632e4f40b2462139ae1534bc5ef99ce39ebbb | 5ecd2e15b8725f67219b746a6291992dbef62f06 | readline: use Date.now() and move test to parallel
The readline module wants a truthy time while using Timer.now() doesn't
necessarily guarantee that early on in the process' life. It also
doesn't actually resolve the timing issues experienced in an earlier
issue. Instead, this PR fixes the related tests and moves the... | [
{
"path": "lib/readline.js",
"patch": "@@ -48,8 +48,6 @@ const {\n kClearScreenDown\n } = CSI;\n \n-const { now } = process.binding('timer_wrap').Timer;\n-\n const kHistorySize = 30;\n const kMincrlfDelay = 100;\n // \\r\\n, \\n, or \\r followed by something other than \\n\n@@ -411,7 +409,7 @@ Interface.p... | 2018-02-04T18:43:21 |
vercel/next.js | b4f74ee1c1c04aa9427fd53098ab595ce96f58ae | 1b61d1f5df3edffbf59bc35214ceb018ee981e37 | Handle async module for client components (#39953)
### Problem
esm modules imports from client components will be compiled to `m = import('module-name')` when webpack bundles them for server components flight rendering. In this case, they will all become async modules since dyanmic imports will return a promise which... | [
{
"path": "package.json",
"patch": "@@ -177,8 +177,8 @@\n \"react-17\": \"npm:react@17.0.2\",\n \"react-dom\": \"18.2.0\",\n \"react-dom-17\": \"npm:react-dom@17.0.2\",\n- \"react-dom-exp\": \"npm:react-dom@0.0.0-experimental-6ef466c68-20220816\",\n- \"react-exp\": \"npm:react@0.0.0-experi... | 2022-08-29T14:47:06 |
huggingface/transformers | ee71c9853a2d19b1b35b9f8fc8896feac5b2659c | cac4a4876b5c263e51b1c0e8887f35cfb6f266b1 | Optim deformable detr (#33600)
* optimize deformable detr
* fix copies
* remove deformable_detr_basline
* fix hardcoded float16 and .float()
* [run slow] deformable-detr,grounding-dino,mask2former,oneformer,rt-detr
* [run slow] deformable_detr,grounding_dino,mask2former,oneformer,rt_detr | [
{
"path": "src/transformers/models/deformable_detr/modeling_deformable_detr.py",
"patch": "@@ -523,14 +523,14 @@ def __init__(self, embedding_dim=64, temperature=10000, normalize=False, scale=N\n def forward(self, pixel_values, pixel_mask):\n if pixel_mask is None:\n raise ValueError... | 2024-10-02T13:46:27 |
ollama/ollama | 30d7a59ba88b585a172fa86e38df948e839315ee | 85ab552028b8d53fc85561c0c588a80924ecd621 | ollama-debug.c: change 'ld' to 'PRIi64'
* macOS has different definition per info from @mxyng | [
{
"path": "ml/backend/ggml/ggml/src/ollama-debug.c",
"patch": "@@ -1,4 +1,5 @@\n #include <string.h>\n+#include <inttypes.h>\n \n #include \"ollama-debug.h\"\n \n@@ -24,7 +25,7 @@ static void print_tensor(const void *tensor, void (*cb)(const void *, int),\n fprintf(stderr, \"[\");\n for (int i = 0; ... | 2025-03-13T09:10:37 |
golang/go | 53f082b0ee81f14d1b1a1c997e2f8e9164af37bc | 31267f82e16249a1d9065099c615a936dc32688b | [dev.regabi] cmd/compile: cleanup export code further
This CL rips off a number of toolstash bandages:
- Fixes position information for string concatenation.
- Adds position information for struct literal fields.
- Removes unnecessary exprsOrNil calls or replaces them with plain
expr calls when possible.
- Reord... | [
{
"path": "src/cmd/compile/internal/typecheck/iexport.go",
"patch": "@@ -858,8 +858,6 @@ func intSize(typ *types.Type) (signed bool, maxBytes uint) {\n // according to the maximum number of bytes needed to encode a value\n // of type typ. As a special case, 8-bit types are always encoded as a\n // single by... | 2020-12-23T11:33:03 |
nodejs/node | 5ecd2e15b8725f67219b746a6291992dbef62f06 | 4ac7be94f004811a57545c5a191381156af23e43 | test: improve error message output
PR-URL: https://github.com/nodejs/node/pull/18498
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Gireesh Punathil <... | [
{
"path": "test/addons-napi/test_general/test.js",
"patch": "@@ -63,22 +63,25 @@ let w = {};\n test_general.wrap(w);\n w = null;\n global.gc();\n-assert.strictEqual(test_general.derefItemWasCalled(), true,\n+const derefItemWasCalled = test_general.derefItemWasCalled();\n+assert.strictEqual(derefItemWasCalle... | 2018-02-01T10:02:41 |
vercel/next.js | 1b61d1f5df3edffbf59bc35214ceb018ee981e37 | 4f3606493891740d36c64da97fa3536d4dc69f84 | [docs] Add precision about `pageExtensions` (#40016)
Adding a precision because when you change the `pageExtensions` configuration in `next.config.js`, `middleware.ts` isn't recognized anymore.
Took me some time to debug this one, not sure if it should be considered a bug or just lack of documentation.
I'll let you... | [
{
"path": "docs/advanced-features/middleware.md",
"patch": "@@ -50,6 +50,8 @@ export const config = {\n }\n ```\n \n+> **Note** the `pageExtensions` config affects middleware as well, [see related documentation here](/docs/api-reference/next.config.js/custom-page-extensions.md).\n+\n ## Matching Paths\n \n ... | 2022-08-28T21:34:59 |
huggingface/transformers | cac4a4876b5c263e51b1c0e8887f35cfb6f266b1 | b7474f211d4d1b6f83ba3b6cb9f942a18d3b02a1 | [Quantization] Switch to optimum-quanto (#31732)
* switch to optimum-quanto rebase squach
* fix import check
* again
* test try-except
* style | [
{
"path": "docker/transformers-quantization-latest-gpu/Dockerfile",
"patch": "@@ -56,7 +56,7 @@ RUN python3 -m pip install --no-cache-dir gguf\n RUN python3 -m pip install --no-cache-dir https://github.com/casper-hansen/AutoAWQ/releases/download/v0.2.3/autoawq-0.2.3+cu118-cp38-cp38-linux_x86_64.whl\n \n # A... | 2024-10-02T13:14:34 |
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.