repo stringclasses 15
values | fix_commit stringlengths 40 40 | buggy_commit stringlengths 40 40 | message stringlengths 3 64.3k | files listlengths 1 300 | timestamp timestamp[s]date 2013-03-13 20:45:00 2026-04-11 07:48:46 |
|---|---|---|---|---|---|
nodejs/node | ef2861961c3d9e9ed6972e1e84d969683b25cf95 | 0c16b1804302046082ce5322b65e09a30172d606 | test: fix test-tty-get-color-depth
If getTTYfd returns 0, and stdin is not writable (like on Windows),
trying to create WriteStream will fail. This commit fixes that by
skipping fd 0.
PR-URL: https://github.com/nodejs/node/pull/18478
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@b... | [
{
"path": "test/parallel/test-tty-get-color-depth.js",
"patch": "@@ -10,7 +10,7 @@ const { WriteStream } = require('tty');\n \n // Do our best to grab a tty fd.\n function getTTYfd() {\n- const ttyFd = [0, 1, 2, 4, 5].find(tty.isatty);\n+ const ttyFd = [1, 2, 4, 5].find(tty.isatty);\n if (ttyFd === unde... | 2018-01-31T15:48:21 |
golang/go | 306b2451c849c9a5835069f317dfea851e526a00 | 94cfeca0a5b36a70a8bdd1a0015eb78c7e9a3311 | [dev.regabi] runtime: fix ABI targets in runtime.panic{Index,Slice} shims
Fix up the assembly shim routines runtime.panic{Index,Slice} and
friends so that their tail calls target ABIInternal and not ABI0
functions. This is so as to ensure that these calls don't go through
an ABI0->ABIInternal wrapper (which would thro... | [
{
"path": "src/runtime/asm_amd64.s",
"patch": "@@ -1728,67 +1728,67 @@ TEXT runtime·debugCallPanicked(SB),NOSPLIT,$16-16\n TEXT runtime·panicIndex<ABIInternal>(SB),NOSPLIT,$0-16\n \tMOVQ\tAX, x+0(FP)\n \tMOVQ\tCX, y+8(FP)\n-\tJMP\truntime·goPanicIndex(SB)\n+\tJMP\truntime·goPanicIndex<ABIInternal>(SB)\n TEX... | 2020-12-14T15:03:37 |
ollama/ollama | afa55bc70cb1714fcad10571279a42109a6e0631 | 49df03da9af6b0050ebbf50676f7db569a2b54d9 | doc: fix link for Abso (#9043) | [
{
"path": "README.md",
"patch": "@@ -494,7 +494,7 @@ See the [API documentation](./docs/api.md) for all endpoints.\n - [multi-llm-ts](https://github.com/nbonamy/multi-llm-ts) (A Typescript/JavaScript library allowing access to different LLM in unified API)\n - [LlmTornado](https://github.com/lofcz/llmtornad... | 2025-02-12T17:15:08 |
huggingface/transformers | f2c388e3f946862f657acc1e21b272ec946fc66c | f0eabf6c7da2afbe8425546c092fa3722f9f219e | Add Idefics 3! (#32473)
* Add Idefics 3!
* fixes to make both pipelines identical
* fix for quantized models
* First pass at the review
* remove vocab size from the main config (it's still in the text_config)
* hot fix for merve
* Apply suggestions from code review
Co-authored-by: amyeroberts <226... | [
{
"path": "docs/source/en/_toctree.yml",
"patch": "@@ -830,6 +830,8 @@\n title: IDEFICS\n - local: model_doc/idefics2\n title: Idefics2\n+ - local: model_doc/idefics3\n+ title: Idefics3\n - local: model_doc/instructblip\n title: InstructBLIP\n - local: m... | 2024-09-25T19:28:49 |
rust-lang/rust | f5c59a444f45e32772f393358c2c28c5346f49a0 | e288faa4b015676829f96f83dc5e124ee7c0b3e9 | Fix test using `download-ci-llvm=true` on CI | [
{
"path": "src/bootstrap/src/core/builder/tests.rs",
"patch": "@@ -1074,7 +1074,7 @@ fn test_prebuilt_llvm_config_path_resolution() {\n let config = configure(\n r#\"\n [llvm]\n- download-ci-llvm = true\n+ download-ci-llvm = \"if-unchanged\"\n \"#,\n ... | 2025-03-21T11:23:44 |
nodejs/node | 0c16b1804302046082ce5322b65e09a30172d606 | b0b204571b69ebf69be06ed5f2bb10da90f18c0e | test: show pending exception error in napi tests
Shows the result of the wasPending in the error message if the
assertion fails.
PR-URL: https://github.com/nodejs/node/pull/18413
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater... | [
{
"path": "test/addons-napi/test_exception/test.js",
"patch": "@@ -20,9 +20,10 @@ const theError = new Error('Some error');\n \n // Test that the exception thrown above was marked as pending\n // before it was handled on the JS side\n- assert.strictEqual(test_exception.wasPending(), true,\n- ... | 2018-01-27T19:39:55 |
vercel/next.js | 3d0d09002a3cd15463afe919dd6791003ff206d2 | 7e9f9bfbef2cf4d63ceb899eeccf5bd0fcba2ec5 | Improve error message on `next/future/image` when `objectFit` or `objectPosition` (#39614)
Improve PR improves the error message on `next/future/image` when `objectFit` or `objectPosition` is provided and suggests using `style` instead. It also prints the stack trace so its clear where the error came from. | [
{
"path": "packages/next/client/future/image.tsx",
"patch": "@@ -359,19 +359,40 @@ const ImageElement = ({\n style={{ ...imgStyle, ...blurStyle }}\n ref={useCallback(\n (img: ImgElementWithDataProp | null) => {\n- if (img && onError) {\n+ if (!img) {\n+ ... | 2022-08-22T23:07:41 |
golang/go | bc7e4d9257693413d57ad467814ab71f1585a155 | 6cff874c47bdb4567f5c84bc59d93311493caefe | syscall: don't generate ptrace on iOS
May fix #43302.
Change-Id: I6b7ddf94495c4fa80cf8a50a38eef5f8b2872669
Reviewed-on: https://go-review.googlesource.com/c/go/+/279481
Trust: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org> | [
{
"path": "src/syscall/mksyscall.pl",
"patch": "@@ -125,7 +125,7 @@ ($)\n \t# without reading the header.\n \t$text .= \"// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT\\n\\n\";\n \n-\tif ($darwin && $func eq \"ptrace\") {\n+\tif ($darwin && $func eq \"ptrace1\") {\n \t\t# The ptrace functi... | 2020-12-21T18:14:41 |
ollama/ollama | 49df03da9af6b0050ebbf50676f7db569a2b54d9 | 0189bdd0b79fceab9e801a63e1311d53f3784dbc | fix: harden backend loading (#9024)
* wrap ggml_backend_load_best in try/catch
* ignore non-ollama paths | [
{
"path": "llama/patches/0017-try-catch-backend-load.patch",
"patch": "@@ -0,0 +1,69 @@\n+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001\n+From: Michael Yang <mxyng@pm.me>\n+Date: Tue, 11 Feb 2025 14:06:36 -0800\n+Subject: [PATCH] try/catch backend load\n+\n+---\n+ ggml/src/ggml-back... | 2025-02-11T23:36:53 |
rust-lang/rust | ed4a749f528e31746dfa64f44dd97309c808e20f | c9355c69bddc39e2c81e895f34ff5ce1a330a14a | fix: Fix incorrect expansion of builtin `PartialOrd` derive | [
{
"path": "src/tools/rust-analyzer/crates/hir-def/src/macro_expansion_tests/builtin_derive_macro.rs",
"patch": "@@ -336,7 +336,7 @@ enum Command {\n }\n \n impl <> $crate::cmp::PartialOrd for Command< > where {\n- fn partial_cmp(&self , other: &Self ) -> $crate::option::Option::Option<$crate::cmp::Orderi... | 2025-03-21T09:26:55 |
huggingface/transformers | a55adee890b0757461e1588d8847fd385ce5c214 | 19d58d31f19049e8280ccb62a5b098d89909bf5a | adding positional encoder changes and tests (#32600)
* adding positional encoder changes and tests
* adding ruff suggestions
* changes added by python utils/check_copies.py --fix_and_overwrite
* removing pos_encoding added by script
* adding interpolation to clipseg
* formatting
* adding further test... | [
{
"path": "src/transformers/models/altclip/modeling_altclip.py",
"patch": "@@ -32,7 +32,7 @@\n )\n from ...modeling_utils import PreTrainedModel\n from ...pytorch_utils import apply_chunking_to_forward, find_pruneable_heads_and_indices, prune_linear_layer\n-from ...utils import ModelOutput, add_start_docstr... | 2024-09-25T18:05:01 |
nodejs/node | 2d6912a46bf6f56a4f7b1d354680ad318cc7a153 | 300f5ce3461f01daa994a4a4f78546f164d28ca8 | tools: auto fix custom eslint rule
1. Extends tests
2. Refactors code
3. Adds fixer
Refs: #16636
PR-URL: https://github.com/nodejs/node/pull/16652
Refs: https://github.com/nodejs/node/issues/16636
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Anna Henningsen <anna@addaleax.net> | [
{
"path": "test/parallel/test-eslint-prefer-assert-methods.js",
"patch": "@@ -7,31 +7,46 @@ const rule = require('../../tools/eslint-rules/prefer-assert-methods');\n \n new RuleTester().run('prefer-assert-methods', rule, {\n valid: [\n- 'assert.strictEqual(foo, bar)',\n- 'assert(foo === bar && baz)'... | 2017-10-31T20:42:56 |
vercel/next.js | 7e9f9bfbef2cf4d63ceb899eeccf5bd0fcba2ec5 | 1f5da04dad73406c10e80908cd9ddd41bafc43da | Fix `onError` handling in `next/future/image` (#39824)
This PR fixes a race condition where the `onError` handler was never called because the error happened before react attached the error handler. | [
{
"path": "docs/api-reference/next/future/image.md",
"patch": "@@ -43,7 +43,6 @@ Compared to `next/image`, the new `next/future/image` component has the followin\n - Removes `lazyBoundary` prop since there is no native equivalent\n - Removes `lazyRoot` prop since there is no native equivalent\n - Remove... | 2022-08-22T21:37:16 |
golang/go | 0bb0baf68338496ded6837294866c8ace3a14e44 | c45313bf451591ab2f7a3ffbbd724bb36d51cba0 | [dev.regabi] cmd/compile: cleanup for concrete types - more
Accumulated fixes to recent changes, to make the code safe
for automated deinterfacing.
Change-Id: I200737046cea88f3356b2402f09e2ca477fb8456
Reviewed-on: https://go-review.googlesource.com/c/go/+/279232
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <... | [
{
"path": "src/cmd/compile/internal/gc/order.go",
"patch": "@@ -892,12 +892,12 @@ func (o *Order) stmt(n ir.Node) {\n \n \t\t\tcase ir.OSELRECV2:\n \t\t\t\t// case x, ok = <-c\n+\t\t\t\tr := r.(*ir.AssignListStmt)\n \t\t\t\trecv := r.Rlist().First().(*ir.UnaryExpr)\n \t\t\t\trecv.SetLeft(o.expr(recv.Left(),... | 2020-12-18T16:29:49 |
rust-lang/rust | 75935624b383f142f952fa94790a7a88f6ce80b0 | d4b8fa9e4c04f3afb7daad03d6719605a8c4bb90 | fix pretty test | [
{
"path": "tests/pretty/stmt_expr_attributes.rs",
"patch": "@@ -1,6 +1,5 @@\n //@ pp-exact\n \n-#![feature(inline_const_pat)]\n #![feature(rustc_attrs)]\n #![feature(stmt_expr_attributes)]\n \n@@ -206,9 +205,7 @@ fn _11() {\n let _ = ();\n ()\n };\n- let const {\n- ... | 2025-03-14T14:37:14 |
ollama/ollama | f4711da7bd88f237bec7a5271facb27a107726f0 | 38117fba83c8291e28abe564d56600c200ff4cab | ml/backend/ggml: fix crash on dlopen for non-AVX systems (#8976) | [
{
"path": "llama/patches/0016-remove-sgemm-global-variables.patch",
"patch": "@@ -0,0 +1,55 @@\n+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001\n+From: jmorganca <jmorganca@gmail.com>\n+Date: Sun, 9 Feb 2025 17:22:15 -0800\n+Subject: [PATCH] remove sgemm global variables\n+\n+removes... | 2025-02-10T17:52:12 |
nodejs/node | 300f5ce3461f01daa994a4a4f78546f164d28ca8 | 67a4ce1c6e230508ba307502e0937a63a7e07482 | doc: deprecate top-level `this`
PR-URL: https://github.com/nodejs/node/pull/16878
Fixes: https://github.com/nodejs/node/issues/9623
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com... | [
{
"path": "doc/api/deprecations.md",
"patch": "@@ -831,6 +831,15 @@ Type: Runtime\n \n The [`crypto.DEFAULT_ENCODING`][] property is deprecated.\n \n+<a id=\"DEP00XX\"></a>\n+### DEP00XX: Top-level `this` bound to `module.exports`\n+\n+Type: Documentation-only\n+\n+Assigning properties to the top-level `thi... | 2017-11-08T14:28:34 |
vercel/next.js | 1f5da04dad73406c10e80908cd9ddd41bafc43da | 6bc7cdaf470fe708b571f2af70b38613a675bb36 | Update cms-makeswift example (#39834)
Upgrade @makeswift/runtime to the latest version. This removes the need
for the MAKESWIFT_API_HOST environment variable and improves error
messages when integrating Next.js with Makeswift.
## Documentation / Examples
- [x] Make sure the linting passes by running `pnpm lint... | [
{
"path": "examples/cms-makeswift/.env.local.example",
"patch": "@@ -1,2 +1 @@\n-MAKESWIFT_API_HOST=https://api.makeswift.com\n MAKESWIFT_SITE_API_KEY=",
"additions": 0,
"deletions": 1,
"language": "Unknown"
},
{
"path": "examples/cms-makeswift/package.json",
"patch": "@@ -6,7 +6,7 @... | 2022-08-22T21:02:19 |
ollama/ollama | 1c198977ecdd471aee827a378080ace73c02fa8d | 330b6c50b040d46b83cd66913a8b00df147a7e9b | ci: fix linux archive (#8862)
the find returns intermediate directories which pulls the parent
directories. it also omits files under lib/ollama.
switch back to globbing | [
{
"path": ".github/workflows/release.yaml",
"patch": "@@ -303,24 +303,33 @@ jobs:\n steps:\n - uses: actions/checkout@v4\n - uses: docker/setup-buildx-action@v3\n+ - uses: docker/build-push-action@v6\n+ with:\n+ context: .\n+ platforms: ${{ matrix.os }}/${{ matr... | 2025-02-06T03:45:58 |
huggingface/transformers | 19d58d31f19049e8280ccb62a5b098d89909bf5a | 94f18cf23c128055a984ffbe9c57df133c1f6cc7 | Add MLLama (#33703)
* current changes
* nit
* Add cross_attenttion_mask to processor
* multi-image fixed
* Add cross_attenttion_mask to processor
* cross attn works in all cases
* WIP refactoring function for image processor
* WIP refactoring image processor functions
* Refactor preprocess to u... | [
{
"path": "docs/source/en/_toctree.yml",
"patch": "@@ -860,6 +860,8 @@\n title: MatCha\n - local: model_doc/mgp-str\n title: MGP-STR\n+ - local: model_doc/mllama\n+ title: mllama\n - local: model_doc/nougat\n title: Nougat\n - local: model_doc/omdet-turb... | 2024-09-25T17:56:25 |
nodejs/node | 67a4ce1c6e230508ba307502e0937a63a7e07482 | 36fd25fa0572403ff32645611e1993de25422182 | fs: partition readFile against pool exhaustion
Problem:
Node implements fs.readFile as:
- a call to stat, then
- a C++ -> libuv request to read the entire file using the stat size
Why is this bad?
The effect is to place on the libuv threadpool a potentially-large
read request, occupying the libuv thread until it com... | [
{
"path": "benchmark/fs/readfile-partitioned.js",
"patch": "@@ -0,0 +1,86 @@\n+// Submit a mix of short and long jobs to the threadpool.\n+// Report total job throughput.\n+// If we partition the long job, overall job throughput goes up significantly.\n+// However, this comes at the cost of the long job thr... | 2017-11-15T17:28:04 |
vercel/next.js | 6bc7cdaf470fe708b571f2af70b38613a675bb36 | d2ab9bcc85f8ee38912eefe7866a8b023421cac4 | doc: improve a word client side rendering (#39771)
The term client-side rendering is ambiguous and misleading.
Some people would assume the architecture where a blank page is returned from the server and HTML generation is totally done on the frontend.
So I changed the term to `client-side data fetching`, which is... | [
{
"path": "docs/basic-features/pages.md",
"patch": "@@ -41,7 +41,7 @@ Importantly, Next.js lets you **choose** which pre-rendering form you'd like to\n \n We **recommend** using **Static Generation** over Server-side Rendering for performance reasons. Statically generated pages can be cached by CDN with no ... | 2022-08-22T19:55:46 |
ollama/ollama | 070ad913acf2b62df55ba6c638f5d287ffd6fa8f | 8d8b9f83ae998fef76ceb1350175af74cb1a697a | ci: fix linux archive | [
{
"path": ".github/workflows/release.yaml",
"patch": "@@ -305,30 +305,27 @@ jobs:\n - uses: docker/setup-buildx-action@v3\n - run: |\n sudo apt-get update && sudo apt-get install pigz\n- docker buildx build --platform $PLATFORM --target ${{ matrix.target }} --build-arg GOFLAGS... | 2025-02-05T22:02:48 |
nodejs/node | 36fd25fa0572403ff32645611e1993de25422182 | ccf64e5f222a51349d5d81784c869ab2b940c4d1 | src: free memory before re-setting URLHost value
Fixes: https://github.com/nodejs/node/issues/18302
PR-URL: https://github.com/nodejs/node/pull/18357
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewe... | [
{
"path": "src/node_url.cc",
"patch": "@@ -92,6 +92,16 @@ class URLHost {\n Value value_;\n HostType type_ = HostType::H_FAILED;\n \n+ inline void Reset() {\n+ using string = std::string;\n+ switch (type_) {\n+ case HostType::H_DOMAIN: value_.domain.~string(); break;\n+ case HostType::H... | 2018-01-23T22:42:40 |
golang/go | 8438a5779b76620237d608282a99d17467b91f4c | cb95819cf6e969dc7dcc64ec7820d3995379c9f4 | runtime: use _exit on darwin
On darwin, where we use libc for syscalls, when the runtime exits,
it calls libc exit function, which may call back into user code,
e.g. invoking functions registered with atexit. In particular, it
may call back into Go. But at this point, the Go runtime is
already exiting, so this wouldn'... | [
{
"path": "src/runtime/sys_darwin.go",
"patch": "@@ -467,7 +467,7 @@ func setNonblock(fd int32) {\n //go:cgo_import_dynamic libc_pthread_create pthread_create \"/usr/lib/libSystem.B.dylib\"\n //go:cgo_import_dynamic libc_pthread_self pthread_self \"/usr/lib/libSystem.B.dylib\"\n //go:cgo_import_dynamic libc... | 2020-11-12T02:27:56 |
vercel/next.js | b6bbbc813f6ce39b2c65aa0b72fbfca2ab5cbad1 | d2a2cc780843f88b3c78ef203d52f017e3292733 | Update docs `next/future/image` with details about computed aspect ratio (#39829)
The browser support for this feature was added to caniuse so we can link there instead of linking to each browser bug tracker. | [
{
"path": "docs/api-reference/next/future/image.md",
"patch": "@@ -16,7 +16,7 @@ description: Try the latest Image Optimization with the experimental `next/futur\n \n The `next/future/image` component is an experiment to improve both the performance and developer experience of `next/image` by using the nati... | 2022-08-22T17:31:57 |
ollama/ollama | d8932c55e72f919cd92d0d019fb7fd0e01d857cd | 63f0269f7f9f6256ff92ff6a11b032df01ffba5f | server: fix out of bounds exception on model download (#8746) | [
{
"path": "server/download.go",
"patch": "@@ -170,9 +170,9 @@ func (b *blobDownload) Prepare(ctx context.Context, requestURL *url.URL, opts *r\n \n \t\t\toffset += size\n \t\t}\n+\t} else {\n+\t\tslog.Info(fmt.Sprintf(\"downloading %s in %d %s part(s)\", b.Digest[7:19], len(b.Parts), format.HumanBytes(b.Par... | 2025-02-05T02:52:47 |
huggingface/transformers | 94f18cf23c128055a984ffbe9c57df133c1f6cc7 | ade9e0fe41a414c6a24a03a79c15798db609a6c9 | Add OmDet-Turbo (#31843)
* Add template with add-new-model-like
* Add rough OmDetTurboEncoder and OmDetTurboDecoder
* Add working OmDetTurbo convert to hf
* Change OmDetTurbo encoder to RT-DETR encoder
* Add swin timm backbone as default, add always partition fix for swin timm
* Add labels and tasks cac... | [
{
"path": "docs/source/en/_toctree.yml",
"patch": "@@ -862,6 +862,8 @@\n title: MGP-STR\n - local: model_doc/nougat\n title: Nougat\n+ - local: model_doc/omdet-turbo\n+ title: OmDet-Turbo\n - local: model_doc/oneformer\n title: OneFormer\n - local: model... | 2024-09-25T17:26:28 |
nodejs/node | f951c9a9f02e1193e2843497e3cfed1b263c9721 | d4015b899538278ae7cf9af8a49c05203755ffe7 | benchmark: fix variables not being set
Due to the destructuring the outer variables were not set anymore.
PR-URL: https://github.com/nodejs/node/pull/18320
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "benchmark/tls/tls-connect.js",
"patch": "@@ -11,12 +11,13 @@ const bench = common.createBenchmark(main, {\n \n var clientConn = 0;\n var serverConn = 0;\n-var server;\n var dur;\n var concurrency;\n var running = true;\n \n-function main({ dur, concurrency }) {\n+function main(conf) {\n+ dur = c... | 2018-01-23T12:15:59 |
golang/go | cb95819cf6e969dc7dcc64ec7820d3995379c9f4 | 53c984d976f49b5671b11ff17f5d622572d4cf58 | runtime: detect netbsd netpoll overrun in sysmon
The netbsd kernel has a bug [1] that occassionally prevents netpoll from
waking with netpollBreak, which could result in missing timers for an
unbounded amount of time, as netpoll can't restart with a shorter delay
when an earlier timer is added.
Prior to CL 232298, sy... | [
{
"path": "src/runtime/proc.go",
"patch": "@@ -5130,6 +5130,26 @@ func sysmon() {\n \t\t\t}\n \t\t}\n \t\tmDoFixup()\n+\t\tif GOOS == \"netbsd\" {\n+\t\t\t// netpoll is responsible for waiting for timer\n+\t\t\t// expiration, so we typically don't have to worry\n+\t\t\t// about starting an M to service time... | 2020-12-11T19:14:30 |
vercel/next.js | d2a2cc780843f88b3c78ef203d52f017e3292733 | 4955da9eed1f55570039cf61b219c39b6b77320f | Skip building /500 in dev mode (#39828)
Follow-up to #39826 this skips ensuring the /500 page when in development as it's not used since we use the error overlay instead. This also fixes the case where we don't clear the stalled timeout debug log when an error is thrown during ensuring. | [
{
"path": "packages/next/server/base-server.ts",
"patch": "@@ -1705,14 +1705,18 @@ export default abstract class Server<ServerOptions extends Options = Options> {\n let using404Page = false\n \n // use static 404 page if available and is 404 response\n- if (is404) {\n+ if (is404 && (aw... | 2022-08-22T16:59:23 |
ollama/ollama | 4759ecae19fb8246826a8b87da9afbe1601895f9 | 65b7ecac7bd4346fae8f49764b0d6d2eb8de39ae | ml/backend/ggml: fix library loading on macOS amd64 (#8827) | [
{
"path": "CMakeLists.txt",
"patch": "@@ -29,6 +29,11 @@ if((NOT CMAKE_OSX_ARCHITECTURES MATCHES \"arm64\")\n set(GGML_CPU_ALL_VARIANTS ON)\n endif()\n \n+if (CMAKE_OSX_ARCHITECTURES MATCHES \"x86_64\")\n+ set(CMAKE_BUILD_RPATH \"@loader_path\")\n+ set(CMAKE_INSTALL_RPATH \"@loader_path\")\n+endif... | 2025-02-04T23:05:39 |
huggingface/transformers | 196d35ccfcb3cb07b18f8fd12208c74312c9ecfa | 61e98cb957862d679c4a338319a386da197b8073 | Add AdEMAMix optimizer (#33682)
* Add AdEMAMix optimizer
* Fix test
* Update tests/trainer/test_trainer.py
Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.com>
---------
Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.com> | [
{
"path": "src/transformers/trainer.py",
"patch": "@@ -1237,6 +1237,10 @@ def get_optimizer_cls_and_kwargs(\n OptimizerNames.ADAMW_8BIT,\n OptimizerNames.PAGED_ADAMW,\n OptimizerNames.PAGED_ADAMW_8BIT,\n+ OptimizerNames.ADEMAMIX,\n+ OptimizerNames.AD... | 2024-09-25T17:07:21 |
nodejs/node | d4015b899538278ae7cf9af8a49c05203755ffe7 | ff21fb16243a2097a6f96f05b1845fd1f3c42c45 | benchmark: fix platform in basename-win32
It should say `win32` and not `posix`.
PR-URL: https://github.com/nodejs/node/pull/18320
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "benchmark/path/basename-win32.js",
"patch": "@@ -1,6 +1,6 @@\n 'use strict';\n const common = require('../common.js');\n-const { posix } = require('path');\n+const { win32 } = require('path');\n \n const bench = common.createBenchmark(main, {\n pathext: [\n@@ -28,7 +28,7 @@ function main({ n, p... | 2018-01-23T12:14:21 |
golang/go | 53c984d976f49b5671b11ff17f5d622572d4cf58 | 9abbe277105f9b9a3b4c5905e7faf9a02827ce18 | runtime: skip wakep call in wakeNetPoller on Plan 9
This was part of a performance improvement made by CL 232298 to
reduce timer latency. On multiprocessor Plan 9 machines, it triggers
memory faults often enough that the builder test suite never completes
successfully. See issue #42303 for discussion. As shown by the ... | [
{
"path": "src/runtime/proc.go",
"patch": "@@ -2882,7 +2882,9 @@ func wakeNetPoller(when int64) {\n \t} else {\n \t\t// There are no threads in the network poller, try to get\n \t\t// one there so it can handle new timers.\n-\t\twakep()\n+\t\tif GOOS != \"plan9\" { // Temporary workaround - see issue #42303... | 2020-12-05T19:53:08 |
vercel/next.js | 4955da9eed1f55570039cf61b219c39b6b77320f | b431bd4ba05d63c8b8a8b62c4efd085a8a8f21f2 | Update stalled ensure log to use debug instead (#39826)
This updates the stalled ensure log to use debug instead the log isn't really actionable by the user and is more so meant for debugging purposes.
x-ref: slack thread | [
{
"path": "packages/next/server/dev/on-demand-entry-handler.ts",
"patch": "@@ -1,5 +1,5 @@\n import type ws from 'ws'\n-import * as Log from '../../build/output/log'\n+import origDebug from 'next/dist/compiled/debug'\n import type { webpack } from 'next/dist/compiled/webpack/webpack'\n import type { NextCon... | 2022-08-22T16:32:30 |
huggingface/transformers | 68049b17a6bb4c9b0d499e9e77121effa2f5a6c0 | 574a9e12bbe787a4f6b2c170962be84e17c87d0b | Fix Megatron-LM tokenizer path (#33344)
* Change Megatron-LM tokenizer path
* Add version check
* Fix code formatting issues
* Check module importability using importlib.util
* Fix code formatting issues
* Use packaging library
* Trigger CircleCI | [
{
"path": "src/transformers/models/megatron_gpt2/checkpoint_reshaping_and_interoperability.py",
"patch": "@@ -13,13 +13,15 @@\n # limitations under the License.\n \n import argparse\n+import importlib.util\n import json\n import os\n import re\n import sys\n import types\n \n import torch\n+from packaging i... | 2024-09-25T13:01:21 |
ollama/ollama | 65b7ecac7bd4346fae8f49764b0d6d2eb8de39ae | f9d2d8913554d78b1cae47c5eaa9cbbd0ea79273 | fix extra quote | [
{
"path": ".github/workflows/release.yaml",
"patch": "@@ -408,7 +408,7 @@ jobs:\n working-directory: dist\n - name: Create or update Release\n run: |\n- RELEASE_VERSION=$(echo ${GITHUB_REF_NAME} | cut -f1 -d-)\"\n+ RELEASE_VERSION=\"$(echo ${GITHUB_REF_NAME} | cut -f1... | 2025-02-04T02:19:17 |
nodejs/node | 7d4b7724ec53cbec08b51033b2406f927d5548eb | ac7f1e339c8043870d6af29191f1bcd3515fc091 | test: fix flaky test-http-dns-error
Under some conditions, the error received from getaddrinfo might
actually be EAGAIN, meaning the request should be retried. Allowing for
5 retries before erroring out.
Also replace one-off function with common.mustNotCall().
PR-URL: https://github.com/nodejs/node/pull/16534
Review... | [
{
"path": "test/parallel/test-http-dns-error.js",
"patch": "@@ -30,30 +30,41 @@ const http = require('http');\n const https = require('https');\n \n const host = '*'.repeat(256);\n+const MAX_TRIES = 5;\n \n-function do_not_call() {\n- throw new Error('This function should not have been called.');\n-}\n-\n-... | 2017-10-26T23:20:45 |
golang/go | 89b44b4e2bb2f88474d6b8476f5c28ea2aea9b28 | 55b58018f41e6de63bdaa8f3d9a284077d4e88c1 | cmd/compile: recognize reassignments involving receives
Previously, reassigned was failing to detect reassignments due to
channel receives in select statements (OSELRECV, OSELRECV2), or due to
standalone 2-value receive assignments (OAS2RECV). This was reported
as a devirtualization panic, but could have caused mis-in... | [
{
"path": "src/cmd/compile/internal/gc/inl.go",
"patch": "@@ -832,16 +832,20 @@ func (v *reassignVisitor) visit(n *Node) *Node {\n \t\treturn nil\n \t}\n \tswitch n.Op {\n-\tcase OAS:\n+\tcase OAS, OSELRECV:\n \t\tif n.Left == v.name && n != v.name.Name.Defn {\n \t\t\treturn n\n \t\t}\n-\tcase OAS2, OAS2FUN... | 2020-12-20T09:15:46 |
vercel/next.js | e307096e2f31b50c840d88098087057ea24778fe | 827e120740c07e9027bc5933228f83a9f8ce6442 | Add clarity in docs for using `exportPathMap` with `getStaticPaths` (#39813)
This PR adds a warning note for using the exportPathMap function with getStaticPaths. Any routes defined with EPM will get overridden if that page uses GSP.
Bug
Related issues linked using #534
Integration tests added
Errors have hel... | [
{
"path": "docs/advanced-features/static-html-export.md",
"patch": "@@ -31,6 +31,8 @@ Running `npm run build` will generate an `out` directory.\n \n For more advanced scenarios, you can define a parameter called [`exportPathMap`](/docs/api-reference/next.config.js/exportPathMap.md) in your [`next.config.js`... | 2022-08-22T13:50:56 |
huggingface/transformers | 574a9e12bbe787a4f6b2c170962be84e17c87d0b | 7e638ef2b8650aaa3e3a8e575bb63af262a43d95 | HFQuantizer implementation for compressed-tensors library (#31704)
* Add compressed-tensors HFQuantizer implementation
* flag serializable as False
* run
* revive lines deleted by ruff
* fixes to load+save from sparseml, edit config to quantization_config, and load back
* address satrat comment
* com... | [
{
"path": "docs/source/en/_toctree.yml",
"patch": "@@ -177,6 +177,8 @@\n title: Optimum\n - local: quantization/torchao\n title: TorchAO\n+ - local: quantization/compressed_tensors\n+ title: compressed-tensors\n - local: quantization/contribute\n title: Contribute new quantization method... | 2024-09-25T12:31:38 |
ollama/ollama | f9d2d8913554d78b1cae47c5eaa9cbbd0ea79273 | 669dc31cf33a1d167dbbe5398e3e2ec71620bcef | fix linux archive | [
{
"path": ".github/workflows/release.yaml",
"patch": "@@ -326,7 +326,7 @@ jobs:\n PLATFORM: ${{ matrix.os }}/${{ matrix.arch }}\n - uses: actions/upload-artifact@v4\n with:\n- name: dist-${{ matrix.os }}-${{ matrix.arch }}\n+ name: dist-${{ matrix.os }}-${{ matrix.a... | 2025-02-03T23:12:54 |
nodejs/node | 936eea5099bb5ab31b76ef22fcf15baed0cdf5ab | edbcf7c8442d96aabeb564ba1121dad2ff4321a0 | doc: document asserts Weak(Map|Set) behavior
Right now it is not documentated that WeakMap entries are not
compared. This might result in some confusion. This adds a note
about the behavior in `assert.deepStrictEqual`. This documentation
is also references in `util.isDeepStrictEqual`, so we do not have
to document it ... | [
{
"path": "doc/api/assert.md",
"patch": "@@ -249,6 +249,8 @@ are recursively evaluated also by the following rules.\n * Map keys and Set items are compared unordered.\n * Recursion stops when both sides differ or both sides encounter a circular\n reference.\n+* [`WeakMap`][] and [`WeakSet`][] comparison d... | 2018-01-19T10:03:02 |
vercel/next.js | 8bc93d02099dca1c09c584a6e5d412a9a491bc64 | 28746520b630fb323b51ac5127906bc560287d1f | Typescript Documentation Improvement for Persistent Layouts (#33659)
By making `NextPageWithLayout` generic and passing the type parameters to `NextPage`, our pages can continue to specify the props explicitly. This gives us type safety in `getInitialProps`, for example.
## Bug
- [ ] Related issues linked using `fix... | [
{
"path": "docs/basic-features/layouts.md",
"patch": "@@ -128,7 +128,7 @@ import type { ReactElement, ReactNode } from 'react'\n import type { NextPage } from 'next'\n import type { AppProps } from 'next/app'\n \n-export type NextPageWithLayout = NextPage & {\n+export type NextPageWithLayout<P = {}, IP = P>... | 2022-08-22T09:42:24 |
golang/go | 626cc7c02dd3a1a85d95f83e2d7e988e483e3cac | 139cd0e12ff9d7628c321abbfb8d2f4ada461543 | test: permit "exponent too large" error
The language spec only requires a signed binary exponent of 16 bits
for floating point constants. Permit a "exponent too large" error for
larger exponents.
Don't run test 11326b with gccgo, as it requires successful compilation
of floating point constants with exponents that do... | [
{
"path": "test/fixedbugs/issue11326.go",
"patch": "@@ -18,11 +18,11 @@ func main() {\n \n \t// Any implementation must be able to handle these constants at\n \t// compile time (even though they cannot be assigned to a float64).\n-\tvar _ = 1e646456992 // ERROR \"1e\\+646456992 overflows float64|floating-p... | 2020-12-18T21:54:27 |
huggingface/transformers | 7e638ef2b8650aaa3e3a8e575bb63af262a43d95 | 06e27e3dc08b51e0d564c70738ead3627c324c0c | fix code quality after merge | [
{
"path": "src/transformers/__init__.py",
"patch": "@@ -2994,7 +2994,7 @@\n \"Pix2StructVisionModel\",\n ]\n )\n- _import_structure[\"models.pixtral\"].extend([\"PixtralVisionModel\", \"PixtralPreTrainedModel\"])\n+ _import_structure[\"models.pixtral\"].extend([\"PixtralPreTrai... | 2024-09-25T11:55:09 |
ollama/ollama | 669dc31cf33a1d167dbbe5398e3e2ec71620bcef | d4d338c2248ad015334e7b94c4ddb8cc744083a2 | fix build | [
{
"path": ".github/workflows/release.yaml",
"patch": "@@ -273,6 +273,8 @@ jobs:\n merge-multiple: true\n - run: |\n & .\\scripts\\build_windows.ps1 gatherDependencies sign buildInstaller distZip\n+ env:\n+ KEY_CONTAINER: ${{ vars.KEY_CONTAINER }}\n - uses: act... | 2025-02-03T21:31:22 |
rust-lang/rust | 3f9ecbe341a7d1975d688946e58929402399189c | 721ac284de4b31ba2e4dd05e6afae08596bbc541 | fix: `filter_map_bool_then`: suggests wrongly when mut capture in then | [
{
"path": "clippy_lints/src/methods/filter_map_bool_then.rs",
"patch": "@@ -2,9 +2,13 @@ use super::FILTER_MAP_BOOL_THEN;\n use clippy_utils::diagnostics::span_lint_and_then;\n use clippy_utils::source::SpanRangeExt;\n use clippy_utils::ty::is_copy;\n-use clippy_utils::{contains_return, is_from_proc_macro, ... | 2025-03-11T11:44:30 |
nodejs/node | 776f6cdfc4d7f8b3e0eaff6bd71571ebd937609b | eca93e631f4c080ca72a762bfa3b214aef3af48a | fs: throw errors from fs.unlinkSync in JS
PR-URL: https://github.com/nodejs/node/pull/18348
Refs: https://github.com/nodejs/node/issues/18106
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "lib/fs.js",
"patch": "@@ -1328,7 +1328,11 @@ fs.unlinkSync = function(path) {\n handleError((path = getPathFromURL(path)));\n nullCheck(path);\n validatePath(path);\n- return binding.unlink(pathModule.toNamespacedPath(path));\n+ const ctx = { path };\n+ binding.unlink(pathModule.toNamesp... | 2018-01-24T14:18:37 |
huggingface/transformers | 06e27e3dc08b51e0d564c70738ead3627c324c0c | c6379858f39b64a475e3400f184c2651edcea968 | [Pixtral] Improve docs, rename model (#33491)
* Improve docs, rename model
* Fix style
* Update repo id | [
{
"path": "docs/source/en/index.md",
"patch": "@@ -255,7 +255,7 @@ Flax), PyTorch, and/or TensorFlow.\n | [Phi3](model_doc/phi3) | ✅ | ❌ | ❌ |\n | [PhoBERT](model_doc/phobert) ... | 2024-09-25T11:53:12 |
vercel/next.js | 63651a63de417e5d1fa8ed068fc891ea4dbba0db | b7c2bd104d48781021d229dce7066fc9f36d6a1a | Add note about using the /_error page directly to custom error page article (#39671)
See https://github.com/vercel/next.js/issues/39144
It's not completely clear that `/_error` should not be used as a normal page. Added a note under `Caveats` in the custom error page article | [
{
"path": "docs/advanced-features/custom-error-page.md",
"patch": "@@ -98,3 +98,4 @@ If you have a custom `Error` component be sure to import that one instead. `next\n ### Caveats\n \n - `Error` does not currently support Next.js [Data Fetching methods](/docs/basic-features/data-fetching.md) like [`getStati... | 2022-08-22T02:30:18 |
ollama/ollama | e8061840235bb953d621796b7d65e86541dbc0a1 | 50566113ace20bad141859710e2f2689248324b4 | fix release workflow | [
{
"path": ".github/workflows/release.yaml",
"patch": "@@ -81,7 +81,7 @@ jobs:\n path: dist/darwin-arm64\n - run: |\n export VERSION=${GITHUB_REF_NAME#v}\n- ./scripts/build_darwin.sh macapp sign\n+ ./scripts/build_darwin.sh sign macapp\n env:\n AP... | 2025-02-01T00:19:41 |
rust-lang/rust | 721ac284de4b31ba2e4dd05e6afae08596bbc541 | 221ae5f1767375c2eb8e9f326db609012d0bcfd0 | fix: `filter_map_bool_then` suggest wrongly when contain return | [
{
"path": "clippy_lints/src/methods/filter_map_bool_then.rs",
"patch": "@@ -1,8 +1,8 @@\n use super::FILTER_MAP_BOOL_THEN;\n-use clippy_utils::diagnostics::span_lint_and_sugg;\n+use clippy_utils::diagnostics::span_lint_and_then;\n use clippy_utils::source::SpanRangeExt;\n use clippy_utils::ty::is_copy;\n-us... | 2025-03-07T07:05:11 |
golang/go | 139cd0e12ff9d7628c321abbfb8d2f4ada461543 | 2de786647019d8a48bb776660f861995721c88c6 | go/build: make TestDependencies work again
CL 243940 accidentally broke TestDependencies such that it always passed.
Make it work again, and add a test so that it won't break in the same way.
This revealed that the new embed package was missing from TestDepencies,
so add it.
Fixes #43249
Change-Id: I02b3e38dd35ad88... | [
{
"path": "src/go/build/deps_test.go",
"patch": "@@ -10,6 +10,7 @@ package build\n import (\n \t\"bytes\"\n \t\"fmt\"\n+\t\"go/token\"\n \t\"internal/testenv\"\n \t\"io/fs\"\n \t\"os\"\n@@ -162,6 +163,9 @@ var depsRules = `\n \t< os\n \t< os/signal;\n \n+\tio/fs\n+\t< embed;\n+\n \tunicode, fmt !< os, os/si... | 2020-12-17T22:59:45 |
huggingface/transformers | c6379858f39b64a475e3400f184c2651edcea968 | 5e2916bc143d615ea22bcafee9d3a37c1de0ae1e | bump tokenizers, fix added tokens fast (#32535)
* update based on tokenizers release
* update
* nits
* update
* revert re addition
* don't break that yet
* fmt
* revert unwanted
* update tokenizers version
* update dep table
* update
* update in conversion script as well
* some fix
... | [
{
"path": "setup.py",
"patch": "@@ -181,7 +181,7 @@\n \"timeout-decorator\",\n \"tiktoken\",\n \"timm<=0.9.16\",\n- \"tokenizers>=0.19,<0.20\",\n+ \"tokenizers>=0.20,<0.21\",\n \"torch\",\n \"torchaudio\",\n \"torchvision\",",
"additions": 1,
"deletions": 1,
"langua... | 2024-09-25T11:47:20 |
nodejs/node | eca93e631f4c080ca72a762bfa3b214aef3af48a | f5e287ba208b8d9eed3c850577ff9a46d9935d9a | fs: throw errors from fs.fsyncSync in JS
PR-URL: https://github.com/nodejs/node/pull/18348
Refs: https://github.com/nodejs/node/issues/18106
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "lib/fs.js",
"patch": "@@ -1045,7 +1045,11 @@ fs.fsync = function(fd, callback) {\n \n fs.fsyncSync = function(fd) {\n validateUint32(fd, 'fd');\n- return binding.fsync(fd);\n+ const ctx = {};\n+ binding.fsync(fd, undefined, ctx);\n+ if (ctx.errno !== undefined) {\n+ throw new errors.uvEx... | 2018-01-24T10:39:35 |
rust-lang/rust | e5fc7d6a55fd3318f7e457bb27df0de3089dcc0a | eda7820be557755217e04242f195d1530524f399 | Fix Thread::set_name on cygwin | [
{
"path": "library/std/src/sys/pal/unix/thread.rs",
"patch": "@@ -143,8 +143,8 @@ impl Thread {\n pub fn set_name(name: &CStr) {\n unsafe {\n cfg_if::cfg_if! {\n- if #[cfg(target_os = \"linux\")] {\n- // Linux limits the allowed length of the name.\n... | 2025-03-21T04:50:27 |
vercel/next.js | b7c2bd104d48781021d229dce7066fc9f36d6a1a | bc4d98af7209f4ef4b3c71d55da7b03b45e67182 | fix meaninglessFileNames type in compiler options schema (#39698)
# Bug
I would assume that this should be generated from TypeScript, but based on the [original PR](https://github.com/vercel/next.js/pull/38498/files) it wasn't clear that there was a way to generate these automatically.
Fixes the type of `styledComp... | [
{
"path": "packages/next/server/config-schema.ts",
"patch": "@@ -111,11 +111,16 @@ const configSchema = {\n type: 'boolean',\n },\n topLevelImportPaths: {\n- type: 'array',\n- items: {\n- type: 'string',\n... | 2022-08-21T23:25:10 |
golang/go | c45313bf451591ab2f7a3ffbbd724bb36d51cba0 | ffb0cb7044cb412ce8c2f88740d8c7ea2af05837 | [dev.regabi] cmd/compile: remove prealloc map
The prealloc map seems to exist to avoid adding a field to all nodes.
Now we can add a field to just the nodes that need the field,
so let's do that and avoid having a magic global with extra node state
that isn't preserved by operations like Copy nor printed by Dump.
Thi... | [
{
"path": "src/cmd/compile/internal/gc/closure.go",
"patch": "@@ -378,7 +378,7 @@ func closureType(clo ir.Node) *types.Type {\n \treturn typ\n }\n \n-func walkclosure(clo ir.Node, init *ir.Nodes) ir.Node {\n+func walkclosure(clo *ir.ClosureExpr, init *ir.Nodes) ir.Node {\n \tfn := clo.Func()\n \n \t// If no... | 2020-12-17T13:49:22 |
ollama/ollama | 50566113ace20bad141859710e2f2689248324b4 | ad22ace439eb3fab7230134e56bb6276a78347e4 | llm: do not error if LibOllamaPath does not exist (#8801) | [
{
"path": "llm/server.go",
"patch": "@@ -89,7 +89,6 @@ func LoadModel(model string, maxArraySize int) (*GGML, error) {\n // NewLlamaServer will run a server for the given GPUs\n // The gpu list must be a single family.\n func NewLlamaServer(gpus discover.GpuInfoList, model string, ggml *GGML, adapters, proj... | 2025-02-03T20:27:48 |
huggingface/transformers | 5e2916bc143d615ea22bcafee9d3a37c1de0ae1e | 52daf4ec768fb9ffe84a0c373834172a7c54aecc | tests: fix pytorch tensor placement errors (#33485)
This commit fixes the following errors:
* Fix "expected all tensors to be on the same device" error
* Fix "can't convert device type tensor to numpy"
According to pytorch documentation torch.Tensor.numpy(force=False)
performs conversion only if tensor is on CPU... | [
{
"path": "src/transformers/modeling_flax_pytorch_utils.py",
"patch": "@@ -163,7 +163,7 @@ def convert_pytorch_state_dict_to_flax(pt_state_dict, flax_model):\n # numpy currently does not support bfloat16, need to go over float32 in this case to not lose precision\n if v.dtype == bflo... | 2024-09-25T11:21:53 |
nodejs/node | f5e287ba208b8d9eed3c850577ff9a46d9935d9a | b3a7df7c6dddcc4aaf2106d569a2a4c017e9699c | fs: throw errors from fs.fdatasyncSync in JS
PR-URL: https://github.com/nodejs/node/pull/18348
Refs: https://github.com/nodejs/node/issues/18106
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "lib/fs.js",
"patch": "@@ -1029,7 +1029,11 @@ fs.fdatasync = function(fd, callback) {\n \n fs.fdatasyncSync = function(fd) {\n validateUint32(fd, 'fd');\n- return binding.fdatasync(fd);\n+ const ctx = {};\n+ binding.fdatasync(fd, undefined, ctx);\n+ if (ctx.errno !== undefined) {\n+ throw... | 2018-01-24T01:37:52 |
vercel/next.js | 41d4aa04c4b2e637e24a26646b7023d6aab4d98b | bf82a47393ff1924c60a09e87fde8277223a1df6 | allow Edge Functions to stream a compressed `fetch` response (#39608)
When a user tried to have the following Edge Function:
```ts
export default () => fetch("https://example.vercel.sh");
```
The Edge Function were failing.
Why is that?
When `fetch` was called, an implicit `Accept-Encoding` header was added
to all... | [
{
"path": "packages/next/server/web/sandbox/sandbox.ts",
"patch": "@@ -6,6 +6,12 @@ import { requestToBodyStream } from '../../body-streams'\n \n export const ErrorSource = Symbol('SandboxError')\n \n+const FORBIDDEN_HEADERS = [\n+ 'content-length',\n+ 'content-encoding',\n+ 'transfer-encoding',\n+]\n+\n... | 2022-08-21T10:43:02 |
ollama/ollama | 475333d533e088538e5d77c0ba65ea60833b2c77 | 39fd89308c0bbe26311db583cf9729f81ffa9a94 | fix docker build-args
env context is not accessible from job.*.strategy. since it's in the
environment, just tell docker to use the environment variable[1]
[1]: https://docs.docker.com/reference/cli/docker/buildx/build/#build-arg | [
{
"path": ".github/workflows/release.yaml",
"patch": "@@ -312,16 +312,18 @@ jobs:\n - flavor: 'latest=false'\n platforms: linux/amd64,linux/arm64\n build-args: |\n- CGO_CFLAGS=${{ env.CGO_CFLAGS }}\n- CGO_CXXFLAGS=${{ env.CGO_CXXFLAGS }}\n- ... | 2025-01-31T22:25:49 |
golang/go | ffb0cb7044cb412ce8c2f88740d8c7ea2af05837 | c76be2a24eb1a07cf731c4a75652e2d5db61aa77 | [dev.regabi] cmd/compile: remove uses of Name.Offset, Name.copy
For globals, Name.Offset is used as a way to address a field within
a global during static initialization. This CL replaces that use with
a separate NameOffsetExpr (ONAMEOFFSET) node.
For locals, Name.Offset is the stack frame offset. This CL calls it
th... | [
{
"path": "src/cmd/compile/internal/gc/abiutilsaux_test.go",
"patch": "@@ -76,7 +76,7 @@ func tokenize(src string) []string {\n \n func verifyParamResultOffset(t *testing.T, f *types.Field, r ABIParamAssignment, which string, idx int) int {\n \tn := ir.AsNode(f.Nname).(*ir.Name)\n-\tif n.Offset() != int64(r... | 2020-12-17T07:56:26 |
nodejs/node | b3a7df7c6dddcc4aaf2106d569a2a4c017e9699c | 5583981c5296be0383c934caf0c0ddd5e6bda379 | fs: throw errors from fs.ftruncateSync in JS
PR-URL: https://github.com/nodejs/node/pull/18348
Refs: https://github.com/nodejs/node/issues/18106
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "lib/fs.js",
"patch": "@@ -995,7 +995,11 @@ fs.ftruncateSync = function(fd, len = 0) {\n validateUint32(fd, 'fd');\n validateLen(len);\n len = Math.max(0, len);\n- return binding.ftruncate(fd, len);\n+ const ctx = {};\n+ binding.ftruncate(fd, len, undefined, ctx);\n+ if (ctx.errno !== un... | 2018-01-24T01:20:30 |
huggingface/transformers | 5f0c181f4e8faf88d5c186961eeca0779b6354da | fa0bb0fe762c757203565a940c6e59a8d27537c4 | Uniformize kwargs for image-text-to-text processors (#32544)
* uniformize FUYU processor kwargs
* Uniformize instructblip processor kwargs
* Fix processor kwargs and tests Fuyu, InstructBlip, Kosmos2
* Uniformize llava_next processor
* Fix save_load test for processor with chat_template only as extra init ... | [
{
"path": "docs/source/en/model_doc/align.md",
"patch": "@@ -46,7 +46,7 @@ url = \"http://images.cocodataset.org/val2017/000000039769.jpg\"\n image = Image.open(requests.get(url, stream=True).raw)\n candidate_labels = [\"an image of a cat\", \"an image of a dog\"]\n \n-inputs = processor(text=candidate_labe... | 2024-09-25T01:28:19 |
vercel/next.js | bf82a47393ff1924c60a09e87fde8277223a1df6 | 05b621aa9cf236bc2bc706a6076c310e68f1e30d | refactor(use-intersection): remove useRef usage (#39791)
The PR neither fixes a bug nor introduces a new feature. It just makes the current code be more clearer.
We track the `unobserve` method (to clear the side-effect) in a ref before this PR which is not required anymore:
- The `unobserve` method can only be crea... | [
{
"path": "packages/next/client/use-intersection.tsx",
"patch": "@@ -1,4 +1,4 @@\n-import { useCallback, useEffect, useRef, useState } from 'react'\n+import { useCallback, useEffect, useState } from 'react'\n import {\n requestIdleCallback,\n cancelIdleCallback,\n@@ -100,30 +100,21 @@ export function us... | 2022-08-21T10:10:09 |
ollama/ollama | 5d75d837efc9315c19f538f2b2130baf5fbc242a | 711648c9bbc186697c19775bf140b174b6a5687a | discover: fix default LibOllamaPath value (#8702) | [
{
"path": "discover/path.go",
"patch": "@@ -24,30 +24,34 @@ var LibOllamaPath string = func() string {\n \t\treturn \"\"\n \t}\n \n-\tlibPath := filepath.Dir(exe)\n+\tvar libPath string\n \tswitch runtime.GOOS {\n \tcase \"windows\":\n \t\tlibPath = filepath.Join(filepath.Dir(exe), \"lib\", \"ollama\")\n \t... | 2025-01-30T20:21:38 |
golang/go | ae652a4ac9354fef81610ca616b872262ea51281 | 740851bacafd8e47b9a6ce0cd8fa8e05506a7382 | os/signal: fix flaky tests for NotifyContext.
Test failures started to happen sporadically on some builds after the introduction of NotifyContext.
To make these tests more robust and avoid the risk of crosstalk we run them in a separate process.
Fixes #41561.
Change-Id: Ia7af105c316afd11765358f1e5e253ccfe2adc2b
Revi... | [
{
"path": "src/os/signal/signal_test.go",
"patch": "@@ -675,22 +675,68 @@ func TestTime(t *testing.T) {\n \t<-done\n }\n \n-func TestNotifyContext(t *testing.T) {\n-\tc, stop := NotifyContext(context.Background(), syscall.SIGINT)\n-\tdefer stop()\n-\n-\tif want, got := \"signal.NotifyContext(context.Backgro... | 2020-11-16T02:09:31 |
rust-lang/rust | 42631d80272a27957dcbcb6cb56327038aaa9784 | 7ab71c417b90695ea5186003745699e05164e746 | tests/rustdoc-json: replace `$.paths[*][?` with `$.paths[?`
This fixes all 3 of these tests. Done automatically in VSCode. | [
{
"path": "tests/rustdoc-json/path_name.rs",
"patch": "@@ -38,7 +38,7 @@ pub type U2 = InPubMod2;\n pub type U3 = InPubMod3;\n \n // Check we only have paths for structs at their original path\n-//@ ismany \"$.paths[*][?(@.crate_id==0 && @.kind=='struct')].path\" '[\"path_name\", \"priv_mod\", \"InPrivMod\"... | 2025-03-20T23:02:39 |
huggingface/transformers | fa0bb0fe762c757203565a940c6e59a8d27537c4 | 238b13478df209ab534f2195a397dc64a3930883 | Fix ByteLevel alphabet missing when Sequence pretokenizer is used (#33556)
* Fix ByteLevel alphabet missing when Sequence pretokenizer is used
* Fixed formatting with `ruff`. | [
{
"path": "src/transformers/tokenization_utils_fast.py",
"patch": "@@ -824,7 +824,16 @@ def train_new_from_iterator(\n kwargs[\"end_of_word_suffix\"] = tokenizer_json[\"model\"][\"end_of_word_suffix\"]\n if tokenizer_json[\"model\"][\"type\"] == \"Unigram\" and unk_token is not None:\n ... | 2024-09-24T21:32:18 |
nodejs/node | 5583981c5296be0383c934caf0c0ddd5e6bda379 | 09da11e5e1a5578d583df3e7f18ecd9b6dd5caab | fs: throw errors from fs.renameSync in JS
PR-URL: https://github.com/nodejs/node/pull/18348
Refs: https://github.com/nodejs/node/issues/18106
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "lib/fs.js",
"patch": "@@ -924,8 +924,12 @@ fs.renameSync = function(oldPath, newPath) {\n nullCheck(newPath);\n validatePath(oldPath, 'oldPath');\n validatePath(newPath, 'newPath');\n- return binding.rename(pathModule.toNamespacedPath(oldPath),\n- pathModule.toNamesp... | 2018-01-24T01:03:45 |
vercel/next.js | 05b621aa9cf236bc2bc706a6076c310e68f1e30d | ea7efcb05c421f00b039b9b629b87149b4a9d0b5 | refactor(portal): remove useRef from portal component (#39792)
The PR is similar to #39791.
Currently, `<Portal />` saves the container in a ref (with initial value as `null`). The update of the ref happens during the `useEffect`, after creating the corresponding HTMLElement. However, `<Portal />` has to use `forceUp... | [
{
"path": "packages/next/client/portal/index.tsx",
"patch": "@@ -1,24 +1,22 @@\n-import React from 'react'\n+import { useEffect, useState } from 'react'\n import { createPortal } from 'react-dom'\n \n type PortalProps = {\n children: React.ReactNode\n type: string\n }\n \n-export const Portal: React.FC<... | 2022-08-21T09:39:43 |
golang/go | 740851bacafd8e47b9a6ce0cd8fa8e05506a7382 | f1778c28a9c6a898e9d78207847d61b189c49b5c | cmd/link: avoid use of -T when linking with lld
When doing external linking on Windows, auto-detect the linker flavor
(bfd vs gold vs lld) and when linking with "lld", avoid the use of
"-T" (linker script), since this option is not supported by lld.
[Note: the Go linker currently employs -T to ensure proper placement
... | [
{
"path": "src/cmd/link/internal/ld/lib.go",
"patch": "@@ -1560,10 +1560,22 @@ func (ctxt *Link) hostlink() {\n \t\tcheckStatic(p)\n \t}\n \tif ctxt.HeadType == objabi.Hwindows {\n+\t\t// Determine which linker we're using. Add in the extldflags in\n+\t\t// case used has specified \"-fuse-ld=...\".\n+\t\tcm... | 2020-12-14T18:03:06 |
huggingface/transformers | 238b13478df209ab534f2195a397dc64a3930883 | d5bdac3db7c779cc7d8e53808926b9a3237318f4 | Gemma2: fix config initialization (`cache_implementation`) (#33684) | [
{
"path": "src/transformers/models/gemma2/configuration_gemma2.py",
"patch": "@@ -85,6 +85,7 @@ class Gemma2Config(PretrainedConfig):\n size of the sliding window.\n final_logit_softcapping (`float`, *optional*, defaults to 30.0): scaling factor when applying tanh softcapping on the logi... | 2024-09-24T17:22:00 |
nodejs/node | 09da11e5e1a5578d583df3e7f18ecd9b6dd5caab | 167e22937c612e18678e45e73a89dcc27e72fdc5 | fs: throw errors from fs.readlinkSync in JS
PR-URL: https://github.com/nodejs/node/pull/18348
Refs: https://github.com/nodejs/node/issues/18106
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "lib/fs.js",
"patch": "@@ -1163,7 +1163,13 @@ fs.readlinkSync = function(path, options) {\n handleError((path = getPathFromURL(path)));\n nullCheck(path);\n validatePath(path, 'oldPath');\n- return binding.readlink(pathModule.toNamespacedPath(path), options.encoding);\n+ const ctx = { path... | 2018-01-23T23:51:08 |
vercel/next.js | ea7efcb05c421f00b039b9b629b87149b4a9d0b5 | 72fd04a6362309e286d692ef51db9768b7e3704d | fix(next): Do not display message when middleware is removed on dev mode (#39604)
Fixes https://github.com/vercel/next.js/issues/39532
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md` | [
{
"path": "packages/next/server/next-server.ts",
"patch": "@@ -1636,7 +1636,6 @@ export default class NextNodeServer extends BaseServer {\n return { finished: false }\n }\n if (!(await this.hasMiddleware(middleware.page))) {\n- console.warn(`The Edge Function for ${middleware.page} was no... | 2022-08-20T13:46:59 |
golang/go | 8fcf318123e15abf6ce35e33831bdb64a4e071ff | 520f3b72db7befab2028d9a47376267cf2d274a9 | api/go1.16: remove crypto/tls APIs that are moved to Go 1.17
CL 269697 was created before CL 276454 and submitted after,
so the api/go1.16.txt file needs to be updated accordingly
to fix the build.
Updates #32406.
Change-Id: I6bf79cc981be504e0baefa82982814aaee4434dc
Reviewed-on: https://go-review.googlesource.com/c/... | [
{
"path": "api/go1.16.txt",
"patch": "@@ -1,8 +1,5 @@\n pkg archive/zip, method (*ReadCloser) Open(string) (fs.File, error)\n pkg archive/zip, method (*Reader) Open(string) (fs.File, error)\n-pkg crypto/tls, method (*CertificateRequestInfo) Context() context.Context\n-pkg crypto/tls, method (*ClientHelloInf... | 2020-12-17T20:17:14 |
huggingface/transformers | d5bdac3db7c779cc7d8e53808926b9a3237318f4 | a7734238ff49e14047613615133681a1e2252ce5 | Improve Error Messaging for Flash Attention 2 on CPU (#33655)
Update flash-attn error message on CPU
Rebased to latest branch | [
{
"path": "src/transformers/modeling_utils.py",
"patch": "@@ -1698,6 +1698,10 @@ def _check_and_enable_flash_attn_2(\n raise ImportError(\n f\"{preface} you need flash_attn package version to be greater or equal than 2.1.0. Detected version {flash_attention_versio... | 2024-09-24T16:20:40 |
ollama/ollama | dcfb7a105c455ae8d44a06b3380731d8b1ffcc22 | 2ef3c803a151a0a9b1776c9ebe6a7e86b3971660 | next build (#8539)
* add build to .dockerignore
* test: only build one arch
* add build to .gitignore
* fix ccache path
* filter amdgpu targets
* only filter if autodetecting
* Don't clobber gpu list for default runner
This ensures the GPU specific environment variables are set properly
* explicitly set CXX co... | [
{
"path": ".dockerignore",
"patch": "@@ -3,7 +3,9 @@ ollama\n app\n macapp\n dist\n+build\n .env\n .cache\n test_data\n-llama/build\n+.git\n+",
"additions": 3,
"deletions": 1,
"language": "Unknown"
},
{
"path": ".gitattributes",
"patch": "@@ -7,5 +7,14 @@ llama/**/*.cuh linguist-vend... | 2025-01-29T23:03:38 |
vercel/next.js | 5b6631a5c9d74e6b51ad4c5782e6d0e2590f3532 | aacc0ce90f1ab59ebc8eb2b44c668611b3f2dcaf | Add section to `next/future/image` docs about Known Browser Bugs (#39759)
This PR adds section to `next/future/image` docs about Known Browser Bugs. This also includes workarounds that might vary depending on the image and how the user plans to use it. | [
{
"path": ".alexrc",
"patch": "@@ -17,6 +17,7 @@\n \"hooks\",\n \"host-hostess\",\n \"invalid\",\n- \"remains\"\n+ \"remains\",\n+ \"white\"\n ]\n }",
"additions": 2,
"deletions": 1,
"language": "Unknown"
},
{
"path": "docs/api-reference/next/future/image.md",
... | 2022-08-20T00:21:00 |
nodejs/node | 167e22937c612e18678e45e73a89dcc27e72fdc5 | 32bf0f6c5b3648a487c3fc56d0830de2ceeb60a5 | fs: throw errors from fs.linkSync in JS
PR-URL: https://github.com/nodejs/node/pull/18348
Refs: https://github.com/nodejs/node/issues/18106
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "lib/fs.js",
"patch": "@@ -1280,8 +1280,15 @@ fs.linkSync = function(existingPath, newPath) {\n nullCheck(newPath);\n validatePath(existingPath, 'existingPath');\n validatePath(newPath, 'newPath');\n- return binding.link(pathModule.toNamespacedPath(existingPath),\n- pat... | 2018-01-23T23:03:11 |
golang/go | 060cdbc7b57d1c4e97038e3ad259d2572a58047f | c4f0da5750e72e3c82ade212af024523b04f6f9a | [dev.typeparams] go/types: import object resolution from dev.go2go
Changes from dev.go2go:
+ Removed enableImplicitTParam
+ Fixed a bug in unpackRecv where pointer receivers were not being
detected in the syntax. This didn't seem to actually matter, as I
couldn't produce an incorrect test case as a result of t... | [
{
"path": "src/go/types/decl.go",
"patch": "@@ -5,6 +5,7 @@\n package types\n \n import (\n+\t\"fmt\"\n \t\"go/ast\"\n \t\"go/constant\"\n \t\"go/token\"\n@@ -52,7 +53,10 @@ func pathString(path []Object) string {\n // objDecl type-checks the declaration of obj in its respective (file) context.\n // For the... | 2020-12-16T04:43:30 |
huggingface/transformers | 6f7d750b73f201ed85e1cb1f1271d2ec58383f07 | 13749e8edbc158dba463cd96d65e9d95a6851743 | Fixed docstring for cohere model regarding unavailability of prune_he… (#33253)
* Fixed docstring for cohere model regarding unavailability of prune_head() methods
The docstring mentions that cohere model supports prune_heads() methods. I have fixed the docstring by explicitly mentioning that it doesn't support tha... | [
{
"path": "src/transformers/models/cohere/modeling_cohere.py",
"patch": "@@ -725,8 +725,7 @@ def forward(\n \n COHERE_START_DOCSTRING = r\"\"\"\n This model inherits from [`PreTrainedModel`]. Check the superclass documentation for the generic methods the\n- library implements for all its model (such ... | 2024-09-24T15:27:57 |
rust-lang/rust | c0fc23f2d894655ec747c5cde9f798f682903a1a | 14ddd423fb547c5dc3ea82bac9c118c5f4e7ffd8 | Fix: stabilized version of RISC-V feature macro
RISC-V runtime feature detection macro is stabilized on Rust 1.78.0,
not Rust 1.76.0. | [
{
"path": "library/stdarch/crates/std_detect/src/detect/arch/riscv.rs",
"patch": "@@ -88,7 +88,7 @@ features! {\n /// * Hypervisor: `\"h\"`\n ///\n /// [ISA manual]: https://github.com/riscv/riscv-isa-manual/\n- #[stable(feature = \"riscv_ratified\", since = \"1.76.0\")]\n+ #[stable(featur... | 2025-03-20T12:35:48 |
ollama/ollama | a420a453b4783841e3e79c248ef0fe9548df6914 | 42cf4db6017a949c2decd1bb9b6cac2468aceeaf | fix default modelfile for create (#8452) | [
{
"path": "cmd/cmd.go",
"patch": "@@ -59,7 +59,7 @@ func getModelfileName(cmd *cobra.Command) (string, error) {\n \n \t_, err = os.Stat(absName)\n \tif err != nil {\n-\t\treturn filename, err\n+\t\treturn \"\", err\n \t}\n \n \treturn absName, nil",
"additions": 1,
"deletions": 1,
"language": "G... | 2025-01-16T09:14:04 |
vercel/next.js | 3466862d9dc9c8bb3131712134d38757b918d1c0 | f7eed07945375f0b4a76efcbb5cbfe87072c2261 | fix(#39706): add avif support for node serve static (#39733)
The PR fixes #39706 by adding `avif` mime type directly to `send`. The PR also removes the previous avif workaround for image optimizer.
Note: The PR is still a workaround for now. I will submit a PR to `pillarjs/send` to help them update `mime` to fix th... | [
{
"path": "packages/next/server/serve-static.ts",
"patch": "@@ -1,6 +1,12 @@\n import { IncomingMessage, ServerResponse } from 'http'\n import send from 'next/dist/compiled/send'\n \n+// TODO: Remove this once \"send\" has updated the \"mime\", or next.js use custom version of \"mime\"\n+// Although \"mime\... | 2022-08-18T17:57:12 |
huggingface/transformers | 13749e8edbc158dba463cd96d65e9d95a6851743 | 317e069ee7f4d6d6595b1b03b5d9adcaede043e3 | Fix CIs post merging modular transformers (#33681)
update | [
{
"path": "src/transformers/models/llava_next_video/modeling_llava_next_video.py",
"patch": "@@ -908,6 +908,7 @@ def forward(\n image_features, feature_lens = self.pack_image_features(\n image_features,\n image_sizes,\n+ self.vision_feature_select_s... | 2024-09-24T14:46:52 |
golang/go | c4f0da5750e72e3c82ade212af024523b04f6f9a | 068dd0470bb796f9497d3d069c0f3208fd4dda36 | [dev.typeparams] cmd/compile/internal/types2: remove code for implicit type arguments
The design draft doesn't support this anymore.
Also: Fixed a potential bug in the receiver unpack code
(found by rfindley@).
Change-Id: Ic52eedc686adcb4d5a98884ad0134679c3685c13
Reviewed-on: https://go-review.googlesource.com... | [
{
"path": "src/cmd/compile/internal/types2/decl.go",
"patch": "@@ -686,33 +686,24 @@ func (check *Checker) collectTypeParams(list []*syntax.Field) (tparams []*TypeNa\n \tvar bound Type\n \tfor i, j := 0, 0; i < len(list); i = j {\n \t\tf := list[i]\n-\t\tftype := f.Type\n \n \t\t// determine the range of ty... | 2020-12-17T01:16:23 |
nodejs/node | 32bf0f6c5b3648a487c3fc56d0830de2ceeb60a5 | bf6ce47259ebfe9f6349c223cc1735726aee062d | fs: throw errors from fs.symlinkSync in JS
PR-URL: https://github.com/nodejs/node/pull/18348
Refs: https://github.com/nodejs/node/issues/18106
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "lib/fs.js",
"patch": "@@ -1220,6 +1220,7 @@ fs.symlink = function(target, path, type_, callback_) {\n const flags = stringToSymlinkType(type);\n const req = new FSReqWrap();\n req.oncomplete = callback;\n+\n binding.symlink(preprocessSymlinkDestination(target, type, path),\n ... | 2018-01-23T22:53:47 |
ollama/ollama | 42cf4db6017a949c2decd1bb9b6cac2468aceeaf | 93a8daf285af45ed71544e79aae0cb15245e75f4 | parser: fix parsing Modelfiles with multiple FROM commands (#8449) | [
{
"path": "parser/parser.go",
"patch": "@@ -62,7 +62,13 @@ func (f Modelfile) CreateRequest(relativeDir string) (*api.CreateRequest, error)\n \t\t\t\treturn nil, err\n \t\t\t}\n \n-\t\t\treq.Files = digestMap\n+\t\t\tif req.Files == nil {\n+\t\t\t\treq.Files = digestMap\n+\t\t\t} else {\n+\t\t\t\tfor k, v :... | 2025-01-16T08:14:04 |
vercel/next.js | f7eed07945375f0b4a76efcbb5cbfe87072c2261 | ee134ee338579b8d12b20a5d449a67d72ca077fc | Use realpath when emitting traced package.json (#39683)
This ensures we emit the real path when emitting traced package.json files so that we don't conflict with symlinked package paths.
x-ref: slack thread
Bug
Related issues linked using fixes #number
Integration tests added
Errors have helpful link attache... | [
{
"path": "packages/next/build/webpack/plugins/next-trace-entrypoints-plugin.ts",
"patch": "@@ -563,7 +563,7 @@ export class TraceEntryPointsPlugin implements webpack.WebpackPluginInstance {\n const curPackageJsonPath = `${requestPath}/package.json`\n if (awai... | 2022-08-18T16:07:34 |
nodejs/node | fd3a0cfb7c467c8016ad739a473be864425e645d | 83d0f4c92b46fa0fbd13e9ebc7a473275da04e2e | doc: linkify missing types
Also, alphabetize all types in type-parser.js
and fix some nits in type formats.
PR-URL: https://github.com/nodejs/node/pull/18444
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "doc/api/async_hooks.md",
"patch": "@@ -86,7 +86,7 @@ added: v8.1.0\n * `before` {Function} The [`before` callback][].\n * `after` {Function} The [`after` callback][].\n * `destroy` {Function} The [`destroy` callback][].\n-* Returns: `{AsyncHook}` Instance used for disabling and enabling hoo... | 2018-01-29T22:15:53 |
huggingface/transformers | 317e069ee7f4d6d6595b1b03b5d9adcaede043e3 | 75b7485cc72bf7122094b943af9f7d26d69ff827 | Modular `transformers`: modularity and inheritance for new model additions (#33248)
* update exampel
* update
* push the converted diff files for testing and ci
* correct one example
* fix class attributes and docstring
* nits
* oups
* fixed config!
* update
* nitd
* class attributes are ... | [
{
"path": ".circleci/config.yml",
"patch": "@@ -137,7 +137,7 @@ jobs:\n parallelism: 1\n steps:\n - checkout\n- - run: uv pip install -e .\n+ - run: uv pip install -e \".[quality]\"\n - run:\n name: Show installed libraries and th... | 2024-09-24T13:54:07 |
vercel/next.js | c867a32ba166a86755ee913ac8eed5c3e3ec0ad6 | c7ff4150c8e3e3e03fd058fd10ca2c5db27e6d03 | fix: fs errors when running `next-dev` with pages (vercel/turbo#253) | [
{
"path": "packages/next-swc/crates/next-core/src/server_render/nodejs_pool.rs",
"patch": "@@ -7,7 +7,7 @@ use std::{\n sync::{Arc, Mutex},\n };\n \n-use anyhow::{bail, Result};\n+use anyhow::{bail, Context, Result};\n use tokio::sync::{OwnedSemaphorePermit, Semaphore};\n use turbo_tasks::spawn_blocking... | 2022-08-18T14:12:40 |
nodejs/node | 332b56c82b0c4e4b4608db106b1ed75532202dda | a025723e0191e3526bf1e83b066c2f1c78730134 | src: fix vector subscript out of range
PR-URL: https://github.com/nodejs/node/pull/18460
Fixes: https://github.com/nodejs/node/issues/18459
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Nikolai Vavilov <vvnicholas@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Khaidi Chu <i@2333.moe> | [
{
"path": "src/node.cc",
"patch": "@@ -1007,7 +1007,7 @@ MaybeLocal<Value> InternalMakeCallback(Environment* env,\n } else {\n std::vector<Local<Value>> args(1 + argc);\n args[0] = callback;\n- std::copy(&argv[0], &argv[argc], &args[1]);\n+ std::copy(&argv[0], &argv[argc], args.begin() + 1);... | 2018-01-30T18:34:57 |
huggingface/transformers | 01aec8c92d273f620c11905fe693597045de39f0 | 11c27dd331151e7d2ac20016cce11d9d7c4b1756 | Fix error string after refactoring into get_chat_template (#33652)
* Fix error string after refactoring into get_chat_template
* Take suggestion from CR
Co-authored-by: Matt <Rocketknight1@users.noreply.github.com>
---------
Co-authored-by: Matt <Rocketknight1@users.noreply.github.com> | [
{
"path": "src/transformers/tokenization_utils_base.py",
"patch": "@@ -1966,10 +1966,9 @@ def get_chat_template(self, chat_template: Optional[str] = None, tools: Optional\n # priority: `chat_template` argument > `tokenizer.chat_template`\n if self.chat_template is not None:\n ... | 2024-09-24T12:35:23 |
vercel/next.js | a3a036b10e58129f8cf75bab94936b54d8c26bbe | 946a120b8050283bb3158fc97befbbef088221ef | fix: fs errors when running `next-dev` with pages (#253) | [
{
"path": "crates/next-core/src/server_render/nodejs_pool.rs",
"patch": "@@ -7,7 +7,7 @@ use std::{\n sync::{Arc, Mutex},\n };\n \n-use anyhow::{bail, Result};\n+use anyhow::{bail, Context, Result};\n use tokio::sync::{OwnedSemaphorePermit, Semaphore};\n use turbo_tasks::spawn_blocking;\n \n@@ -34,14 +3... | 2022-08-18T14:12:40 |
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.