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
79b195437c007162e0ebf5b24f3f38f8d369e267
c6acfdb3acc41439899398a615e0ea0a821dcd90
fs: throw fchmodSync errors in JS PR-URL: https://github.com/nodejs/node/pull/19041 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "lib/fs.js", "patch": "@@ -1004,7 +1004,9 @@ fs.fchmodSync = function(fd, mode) {\n validateUint32(mode, 'mode');\n if (mode < 0 || mode > 0o777)\n throw new errors.RangeError('ERR_OUT_OF_RANGE', 'mode');\n- return binding.fchmod(fd, mode);\n+ const ctx = {};\n+ binding.fchmod(fd, mode,...
2018-02-27T17:33:31
ollama/ollama
3515cc377ce2506c95a0ea408fd5d15d306fc6aa
bbf66c0b960be42936e861f13dd0284b2aa03b9d
docs: fix typos and remove trailing whitespaces (#11554)
[ { "path": "docs/api.md", "patch": "@@ -500,11 +500,11 @@ The `message` object has the following fields:\n - `thinking`: (for thinking models) the model's thinking process\n - `images` (optional): a list of images to include in the message (for multimodal models such as `llava`)\n - `tool_calls` (optional): ...
2025-07-28T18:19:13
vercel/next.js
c742c038b0b597b10767a066e9d03ac280fe65f5
c7e26193136935260d2e164b87ca51db3a53a6b5
Port page and layout level API assertions to SWC transform (#40653) We used to do an extra pass of SWR `parse` and loop over the AST inside JavaScript to check if `getServerSideProps` or `getStaticProps` is used in a client page or layout. Instead this can be done in the same `react_server_components` SWC transform...
[ { "path": "packages/next-swc/crates/core/src/react_server_components.rs", "patch": "@@ -1,3 +1,4 @@\n+use regex::Regex;\n use serde::Deserialize;\n \n use swc_core::{\n@@ -63,7 +64,7 @@ impl<C: Comments> VisitMut for ReactServerComponents<C> {\n return;\n }\n } else {\n- ...
2022-09-19T12:30:32
huggingface/transformers
7f5088503fb440cb3bb2d610f892e2ee547982b3
f2846ad2b73e1c6b17671b9111276a2ae88d1791
removes decord (#33987) * removes decord dependency optimize np Revert "optimize" This reverts commit faa136b51ec4ec5858e5b0ae40eb7ef89a88b475. helpers as documentation pydoc missing keys * make fixup * require_av --------- Co-authored-by: ad <hi@arnaudiaz.com>
[ { "path": "docker/transformers-all-latest-gpu/Dockerfile", "patch": "@@ -43,7 +43,7 @@ RUN python3 -m pip install --no-cache-dir git+https://github.com/huggingface/pef\n RUN python3 -m pip install --no-cache-dir git+https://github.com/huggingface/optimum@main#egg=optimum\n \n # For video model testing\n-RUN...
2024-10-17T15:27:34
golang/go
455c29af83524a484ac407a35f4c69ff710d7acb
f03f934ede4db4b022f08c88e351463543832e00
[dev.typeparams] cmd/compile/internal/types2: convert untyped arguments to delete For the predeclared "delete" function, types2 was checking that the second argument was assignable to the map's key type, but not actually updating the Types map as appropriate. So this could leave untyped constants in the AST. The erro...
[ { "path": "src/cmd/compile/internal/types2/builtins.go", "patch": "@@ -368,8 +368,8 @@ func (check *Checker) builtin(x *operand, call *syntax.CallExpr, id builtinId) (\n \t\t\treturn\n \t\t}\n \n-\t\tif !x.assignableTo(check, m.key, nil) {\n-\t\t\tcheck.invalidArgf(x, \"%s is not assignable to %s\", x, m.ke...
2021-01-21T01:03:36
nodejs/node
c6acfdb3acc41439899398a615e0ea0a821dcd90
7cadb57e0c0459d3c60712744d1519eafc49b556
fs: throw readSync errors in JS PR-URL: https://github.com/nodejs/node/pull/19041 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "lib/fs.js", "patch": "@@ -577,7 +577,11 @@ fs.readSync = function(fd, buffer, offset, length, position) {\n if (!isUint32(position))\n position = -1;\n \n- return binding.read(fd, buffer, offset, length, position);\n+ const ctx = {};\n+ const result = binding.read(fd, buffer, offset, len...
2018-02-27T17:21:19
vercel/next.js
356b6cec431157d134ac671af40364b18a4192c8
d41ca43d23614be45191b8095edddb72d255e6a3
Send web vitals to Vercel analytics in app (#40669) Sends web vitals to Vercel analytics. My plan for the test was to assert the data sent by the client but there's a bug where it's always null when sending a blob https://github.com/microsoft/playwright/issues/6479. When adding support for a custom web vitals report...
[ { "path": "packages/next/client/app-index.tsx", "patch": "@@ -5,6 +5,8 @@ import ReactDOMClient from 'react-dom/client'\n import React from 'react'\n import { createFromReadableStream } from 'next/dist/compiled/react-server-dom-webpack'\n \n+import measureWebVitals from './performance-relayer'\n+\n /// <ref...
2022-09-19T08:16:53
ollama/ollama
764be7480f19f1749c518b21cead7c3a44c04b1d
b72e5adb14338f78937b103f0c8c668d5f4c4006
kvcache: Group shift operations into batches Currently, when we need to do a shift on the cache, it is one RoPE operation on the entire size of the cache (per layer). In some cases, this can create a compute graph that is larger than the forward pass since the forward pass is working in batches. Since we don't conside...
[ { "path": "kvcache/causal.go", "patch": "@@ -25,6 +25,9 @@ type Causal struct {\n \n \topts CausalOptions\n \n+\t// maxBatch is the largest batch that we might receive\n+\tmaxBatch int\n+\n \t// config controls mostly backend-specific optimizations\n \tconfig *ml.CacheConfig\n \n@@ -147,6 +150,7 @@ func (c ...
2025-07-25T21:50:05
huggingface/transformers
f2846ad2b73e1c6b17671b9111276a2ae88d1791
b57c7bce21799bcc964c0ab56002f27485be7a13
Fix for tokenizer.apply_chat_template with continue_final_message=True (#34214) * Strip final message * Do full strip instead of rstrip * Retrigger CI --------- Co-authored-by: Matt <rocketknight1@gmail.com>
[ { "path": "src/transformers/tokenization_utils_base.py", "patch": "@@ -1874,7 +1874,7 @@ def apply_chat_template(\n **template_kwargs,\n )\n if continue_final_message:\n- final_message = chat[-1][\"content\"]\n+ final_message = ch...
2024-10-17T14:45:07
golang/go
1760d736f61265b3c78a6a48f2e1904341806643
92cb157cf3aa51d28e441dbb2b671795f22140f8
[dev.regabi] cmd/compile: exporting, importing, and inlining functions with OCLOSURE I have exporting, importing, and inlining of functions with closures working in all cases (issue #28727). all.bash runs successfully without errors. Approach: - Write out the Func type, Dcls, ClosureVars, and Body when exporting ...
[ { "path": "src/cmd/compile/internal/escape/escape.go", "patch": "@@ -218,6 +218,10 @@ func Batch(fns []*ir.Func, recursive bool) {\n \n \t// Construct data-flow graph from syntax trees.\n \tfor _, fn := range fns {\n+\t\tif base.Flag.W > 1 {\n+\t\t\ts := fmt.Sprintf(\"\\nbefore escape %v\", fn)\n+\t\t\tir.D...
2020-12-01T22:48:03
nodejs/node
9bc333cae7d03b7ec584c7c7633b114a4468bccd
c197c78230e4fe9363569af091130e0e98eb4c7a
http2: fix endless loop when writing empty string PR-URL: https://github.com/nodejs/node/pull/18924 Fixes: https://github.com/nodejs/node/issues/18169 Refs: https://github.com/nodejs/node/pull/18673 Refs: https://github.com/nodejs/node/blob/v9.5.0/src/node_http2.cc#L1481-L1484 Refs: https://github.com/nodejs/node/blob...
[ { "path": "src/node_http2.cc", "patch": "@@ -2184,6 +2184,17 @@ ssize_t Http2Stream::Provider::Stream::OnRead(nghttp2_session* handle,\n \n size_t amount = 0; // amount of data being sent in this data frame.\n \n+ // Remove all empty chunks from the head of the queue.\n+ // This is done here so...
2018-02-22T01:52:59
ollama/ollama
b72e5adb14338f78937b103f0c8c668d5f4c4006
80b538e312c173d124fdcb91d40285b32e80d0a9
CONTRIBUTING: fix typo in commit message example (#11528)
[ { "path": "CONTRIBUTING.md", "patch": "@@ -65,7 +65,7 @@ continuation of the sentence:\n Examples:\n \n llm/backend/mlx: support the llama architecture\n- CONTRIBUTING: provide clairity on good commit messages, and bad\n+ CONTRIBUTING: provide clarity on good commit messages, and bad\n \n Ba...
2025-07-25T21:24:06
vercel/next.js
1a9c4735da7dd1661d6e5fb197279e2a065d4b77
761338a20e28b2fd6afa7d74621deef85e9ee0f8
Replace PrefixTree with AliasMap (#360) This replaces the `PrefixTree` struct with an `AliasMap` struct. The underlying implementation is different: we no longer build a prefix tree by splitting paths into segments, but instead we have per-character (technically per u8) granularity. I used the [patricia_tree](https:/...
[ { "path": "crates/turbopack-core/Cargo.toml", "patch": "@@ -15,6 +15,7 @@ async-trait = \"0.1.56\"\n indexmap = \"1.8.0\"\n json = \"0.12.4\"\n lazy_static = \"1.4.0\"\n+patricia_tree = \"0.3.1\"\n rand = \"0.8.5\"\n regex = \"1.5.4\"\n serde = \"1.0.136\"", "additions": 1, "deletions": 0, "lang...
2022-09-19T08:08:44
rust-lang/rust
87325a41b55959ee02ca2cf93e54cbfbbf76f681
65f8181523ba78d88b98177a05e56ba6ea351653
Allow crate authors to control completion of their things Via the new `#[rust_analyzer::completions(...)]` attribute. Also fix a bug with existing settings for that where the paths wouldn't resolve correctly.
[ { "path": "src/tools/rust-analyzer/crates/hir-def/src/data.rs", "patch": "@@ -12,7 +12,7 @@ use crate::{\n ConstId, ExternCrateId, FunctionId, HasModule, ImplId, ItemContainerId, ItemLoc, Lookup,\n Macro2Id, MacroRulesId, ProcMacroId, StaticId, TraitAliasId, TraitId, TypeAliasId,\n db::DefDataba...
2025-03-16T11:24:11
golang/go
ecf4ebf10054f70e51a0ce759b2ae91aa4febd1a
d2d155d1ae8c704a37f42fd3ebb1f3846f78e4d4
cmd/internal/moddeps: check content of all modules in GOROOT Expand the scope of the TestAllDependenciesVendored test to check that all modules in GOROOT are tidy, that packages are vendored, the vendor content matches the upstream copy exactly, and that bundled packages are re-generated (using x/tools/cmd/bundle at t...
[ { "path": "src/cmd/internal/moddeps/moddeps_test.go", "patch": "@@ -8,6 +8,7 @@ import (\n \t\"encoding/json\"\n \t\"fmt\"\n \t\"internal/testenv\"\n+\t\"io\"\n \t\"io/fs\"\n \t\"io/ioutil\"\n \t\"os\"\n@@ -21,93 +22,34 @@ import (\n \t\"golang.org/x/mod/module\"\n )\n \n-type gorootModule struct {\n-\tPath...
2020-12-05T20:03:27
nodejs/node
c197c78230e4fe9363569af091130e0e98eb4c7a
67b7d540413614b97e107fa92e9f3989d8ab0b22
http2: use original error for cancelling pending streams Previously, if `session.destroy()` was called with an error object, the information contained in it would be discarded and a generic `ERR_HTTP2_STREAM_CANCEL` would be used for all pending streams. Instead, make the information from the original error object av...
[ { "path": "lib/internal/http2/core.js", "patch": "@@ -1132,6 +1132,11 @@ class Http2Session extends EventEmitter {\n \n // Destroy any pending and open streams\n const cancel = new errors.Error('ERR_HTTP2_STREAM_CANCEL');\n+ if (error) {\n+ cancel.cause = error;\n+ if (typeof error.mess...
2018-02-25T20:46:10
ollama/ollama
80b538e312c173d124fdcb91d40285b32e80d0a9
4f8a0166ccc540346dd160796dacdaceac1fde73
cli: catch upstream errors gracefully (#11512)
[ { "path": "cmd/cmd.go", "patch": "@@ -1137,6 +1137,14 @@ func chat(cmd *cobra.Command, opts runOptions) (*api.Message, error) {\n \t\tif errors.Is(err, context.Canceled) {\n \t\t\treturn nil, nil\n \t\t}\n+\n+\t\t// this error should ideally be wrapped properly by the client\n+\t\tif strings.Contains(err.Er...
2025-07-24T05:16:55
vercel/next.js
d41ca43d23614be45191b8095edddb72d255e6a3
1bf7d4d968ed28fbfd287e7ff4755df8fa72f1f0
Change Flight response content type to application/octet-stream (#40665) Ensures Flight responses are not loaded as HTML. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing ...
[ { "path": "packages/next/server/app-render.tsx", "patch": "@@ -51,6 +51,15 @@ export type RenderOptsPartial = {\n \n export type RenderOpts = LoadComponentsReturnType & RenderOptsPartial\n \n+/**\n+ * Flight Response is always set to application/octet-stream to ensure it does not\n+ */\n+class FlightRenderR...
2022-09-18T20:49:05
golang/go
d2d155d1ae8c704a37f42fd3ebb1f3846f78e4d4
803d18fc6c656c5410a62157de0328a669e1b56b
runtime: don't adjust timer pp field in timerWaiting status Before this CL, the following sequence was possible: * GC scavenger starts and sets up scavenge.timer * GC calls readyForScavenger, but sysmon is sleeping * program calls runtime.GOMAXPROCS to shrink number of processors * procresize destroys a P, the one th...
[ { "path": "src/runtime/time.go", "patch": "@@ -609,8 +609,14 @@ func moveTimers(pp *p, timers []*timer) {\n \t\tfor {\n \t\t\tswitch s := atomic.Load(&t.status); s {\n \t\t\tcase timerWaiting:\n+\t\t\t\tif !atomic.Cas(&t.status, s, timerMoving) {\n+\t\t\t\t\tcontinue\n+\t\t\t\t}\n \t\t\t\tt.pp = 0\n \t\t\t\...
2021-01-20T05:30:36
nodejs/node
d1bc6f0780c272cfea520c5df66fc4edb7122841
bad41671183ab7ccdd86158efb75f0e47bb50da3
http2: send error text in case of ALPN mismatch Send a human-readable HTTP/1 response in case of an unexpected ALPN protocol. This helps with debugging this condition, since previously the only result of it would be a closed socket. PR-URL: https://github.com/nodejs/node/pull/18986 Reviewed-By: James M Snell <jasnell...
[ { "path": "lib/internal/http2/core.js", "patch": "@@ -2499,8 +2499,17 @@ function connectionListener(socket) {\n return httpConnectionListener.call(this, socket);\n }\n // Let event handler deal with the socket\n- if (!this.emit('unknownProtocol', socket))\n- socket.destroy();\n+ de...
2018-02-25T20:54:18
ollama/ollama
3bac5cba60b08afb1164611dac3b710583f3b241
4151ef8cf7d2f2c2dc6bd5fab77b5a45a388be29
Fix GetModelInfo (#11496) --------- Co-authored-by: Richard Lyons <frob@cloudstaff.com>
[ { "path": "cmd/interactive.go", "patch": "@@ -385,18 +385,21 @@ func generateInteractive(cmd *cobra.Command, opts runOptions) error {\n \t\t\t\tcase \"modelfile\":\n \t\t\t\t\tfmt.Println(resp.Modelfile)\n \t\t\t\tcase \"parameters\":\n+\t\t\t\t\tfmt.Println(\"Model defined parameters:\")\n \t\t\t\t\tif res...
2025-07-22T20:40:47
vercel/next.js
1bf7d4d968ed28fbfd287e7ff4755df8fa72f1f0
34df81e7c61fe845970a960af05e72e8981cf1fc
Use createFromFetch instead of createFromReadableStream to fetch Flight (#40656) Small change leveraging the `createFromFetch` method instead. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Im...
[ { "path": "packages/next/client/components/app-router.client.tsx", "patch": "@@ -2,7 +2,7 @@\n \n import type { PropsWithChildren, ReactElement, ReactNode } from 'react'\n import React, { useEffect, useMemo, useCallback } from 'react'\n-import { createFromReadableStream } from 'next/dist/compiled/react-serv...
2022-09-18T15:47:53
golang/go
803d18fc6c656c5410a62157de0328a669e1b56b
6e243ce71d910876839d1bad4adf9b259c3a8e21
cmd/go: set Incomplete field on go list output if no files match embed If no files match the embed pattern, the Error field will be set on the package output by go list. Also set the Incomplete field for consistency. Fixes #43727 Change-Id: I5b4bb2a03a751269641a9bc4ef1d0fa0e37d46aa Reviewed-on: https://go-review.goo...
[ { "path": "src/cmd/go/internal/load/pkg.go", "patch": "@@ -1809,6 +1809,7 @@ func (p *Package) load(ctx context.Context, path string, stk *ImportStack, impor\n \n \tp.EmbedFiles, p.Internal.Embed, err = resolveEmbed(p.Dir, p.EmbedPatterns)\n \tif err != nil {\n+\t\tp.Incomplete = true\n \t\tsetError(err)\n ...
2021-01-16T00:18:34
huggingface/transformers
b57c7bce21799bcc964c0ab56002f27485be7a13
fce1fcfe717b0e8bee12e8a51944227b57f2f63a
fix(Wav2Vec2ForCTC): torch export (#34023) * fix(Wav2Vec2ForCTC): torch export Resolves the issue described in #34022 by implementing the masking of the hidden states using an elementwise multiplication rather than indexing with assignment. The torch.export functionality seems to mark the tensor as frozen eve...
[ { "path": "src/transformers/models/hubert/modeling_hubert.py", "patch": "@@ -1040,7 +1040,7 @@ def forward(\n if attention_mask is not None:\n # make sure padded tokens are not attended to\n expand_attention_mask = attention_mask.unsqueeze(-1).repeat(1, 1, hidden_states.shape...
2024-10-17T14:41:55
nodejs/node
177b7314cf62f6c268eef9f71657aba9c93385ed
d3af120f7ae0210ad1b5cc751df10138ea4a4e43
buffer: improve Buffer#fill performance 1) This improves the performance for Buffer#fill by using shortcuts. 2) It also ports throwing errors to JS. That way they contain the proper error code. 3) Using negative `end` values will from now on result in an error instead of just doing nothing. 4) Passing in `null` as enc...
[ { "path": "doc/api/buffer.md", "patch": "@@ -1202,6 +1202,9 @@ console.log(buf1.equals(buf3));\n <!-- YAML\n added: v0.5.0\n changes:\n+ - version: REPLACEME\n+ pr-url: https://github.com/nodejs/node/pull/18790\n+ description: Negative `end` values throw an `ERR_INDEX_OUT_OF_RANGE` error.\n - versi...
2018-02-14T22:42:57
ollama/ollama
bdd9d22dfd9798cad0b17e812e251f9af4c30f12
5fc38d042ff53145026e51027c99a35a08c303ee
tools: fix parsing issue when a tool name is a substring of another (#11456) Co-authored-by: frob <rick+github@frob.com.au>
[ { "path": "tools/tools.go", "patch": "@@ -115,21 +115,7 @@ func (p *Parser) findTag() (int, bool) {\n // parseToolCall finds the next complete tool call in the buffer\n // incrementing n and advancing the buffer.\n func (p *Parser) parseToolCall() *api.ToolCall {\n-\tvar tool *api.Tool\n-\tvar end int = len...
2025-07-20T21:55:14
vercel/next.js
34df81e7c61fe845970a960af05e72e8981cf1fc
3f8f72bf9b5247446251ce85e3a961dad405fb63
Attach module trace for RSC related errors (#40652) When the error comes from the RSC transform in SWC, we want to enforce the verbose mode because the module trace can be critical here. An example: <img width="635" alt="CleanShot 2022-09-18 at 12 37 02@2x" src="https://user-images.githubusercontent.com/3676859/19089...
[ { "path": "packages/next/client/dev/error-overlay/format-webpack-messages.js", "patch": "@@ -44,7 +44,7 @@ function formatMessage(message, verbose) {\n message.moduleTrace &&\n message.moduleTrace.filter(\n (trace) =>\n- !/next-(middleware|client-pages|edge-function|flight-(clie...
2022-09-18T11:48:09
golang/go
6e243ce71d910876839d1bad4adf9b259c3a8e21
be28e5abc5ddca0d6b2d8c91b7bb9c05717154e7
cmd/go: have go mod vendor copy embedded files in subdirs If a package vendored with go mod vendor depends on embedded files contained in subdirectories, copy them into the the corresponding place in the module's vendor tree. (Embeds in parent directories are disallowed by the embed pattern rules, and embeds in the sa...
[ { "path": "src/cmd/go/internal/list/list.go", "patch": "@@ -581,8 +581,6 @@ func runList(ctx context.Context, cmd *base.Command, args []string) {\n \t\t// Show vendor-expanded paths in listing\n \t\tp.TestImports = p.Resolve(p.TestImports)\n \t\tp.XTestImports = p.Resolve(p.XTestImports)\n-\t\tp.TestEmbedFi...
2021-01-14T01:58:00
huggingface/transformers
fce1fcfe717b0e8bee12e8a51944227b57f2f63a
aa3e35ac67369d58c33bacc161cc9c64d5062c48
Ping team members for new failed tests in daily CI (#34171) * ping * fix * fix * fix * remove runner * update members --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".github/workflows/check_failed_model_tests.yml", "patch": "@@ -0,0 +1,129 @@\n+name: Process failed tests\n+\n+on:\n+ workflow_call:\n+ inputs:\n+ docker:\n+ required: true\n+ type: string\n+ start_sha:\n+ required: true\n+ type: string\n+\n+\n+env:\n+ H...
2024-10-17T14:11:52
nodejs/node
f7a6971281d863e2b56682ff0f45eee7a7c4d3bb
1980a36dd45997e9dee03fe11688319c2f5c3644
http: prevent aborted event when already completed Tests in progress to reproduce issue consistently. Fixes: https://github.com/nodejs/node/issues/18756 PR-URL: https://github.com/nodejs/node/pull/18999 Reviewed-By: Shingo Inoue <leko.noor@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By...
[ { "path": "test/parallel/test-http-client-spurious-aborted.js", "patch": "@@ -0,0 +1,83 @@\n+'use strict';\n+\n+const common = require('../common');\n+const http = require('http');\n+const assert = require('assert');\n+const fs = require('fs');\n+const Countdown = require('../common/countdown');\n+\n+functi...
2018-02-17T18:04:40
huggingface/transformers
aa3e35ac67369d58c33bacc161cc9c64d5062c48
6d2b2033393df0594a5d43ba2aaa9ec9bc46f4e0
Fix warning message for fp32_cpu_offloading in bitsandbytes configs (#34079) * change cpu offload warning for fp8 quantization * change cpu offload warning for fp4 quantization * change cpu offload variable name for fp8 and fp4 quantization
[ { "path": "src/transformers/quantizers/quantizer_bnb_4bit.py", "patch": "@@ -102,7 +102,7 @@ def validate_environment(self, *args, **kwargs):\n raise ValueError(\n \"Some modules are dispatched on the CPU or the disk. Make sure you have enough GPU RAM to fit the \"\n ...
2024-10-17T13:11:33
ollama/ollama
92c2e8a56c7eb9a5a99439133220d707710da0f8
2e3fd86d482cb4e77e54179836ddd6a518e2300b
api: fix unreachable status err (#11423) StatusError was unreachable, the client always checked for error messages in the response body first, and the server always includes error messages with HTTP error status codes.
[ { "path": "api/client.go", "patch": "@@ -222,10 +222,6 @@ func (c *Client) stream(ctx context.Context, method, path string, data any, fn f\n \t\t\treturn fmt.Errorf(\"unmarshal: %w\", err)\n \t\t}\n \n-\t\tif errorResponse.Error != \"\" {\n-\t\t\treturn errors.New(errorResponse.Error)\n-\t\t}\n-\n \t\tif re...
2025-07-16T18:03:28
golang/go
fa01ade41e1632dbb8e1b06ff1e6565e8900fb38
734cb8be0a05f6dba241a14f94a1d238a41d4ded
[dev.typeparams] go/types: add tests from dev.go2go Add tests from the dev.go2go branch, modified to eliminate support for parenthesized type embedding and method type parameters. For the most part these tests were made to pass via the fixes from preceding CLs in this stack. While integrating support for type paramet...
[ { "path": "src/go/types/assignments.go", "patch": "@@ -72,7 +72,7 @@ func (check *Checker) assignment(x *operand, T Type, context string) {\n \n \t// A generic (non-instantiated) function value cannot be assigned to a variable.\n \tif sig := asSignature(x.typ); sig != nil && len(sig.tparams) > 0 {\n-\t\tche...
2021-01-12T14:20:22
vercel/next.js
295f9da393f7d5a49b0c2e15a2f46448dbdc3895
f0ed328b6f5466d978161ce046bb30a09f2179d1
Client directive (#40415) ## Feature Change server components convention from using `.server.js` / `.client.js` file extension to determine it's a server or client component to using `'client'` js literal as a directive for determine client components boundary. React RFC: https://github.com/reactjs/rfcs/pull/189 New b...
[ { "path": "packages/next/build/analysis/get-page-static-info.ts", "patch": "@@ -13,6 +13,7 @@ import { SERVER_RUNTIME } from '../../lib/constants'\n import { ServerRuntime } from 'next/types'\n import { checkCustomRoutes } from '../../lib/load-custom-routes'\n import { matcher } from 'next/dist/compiled/mic...
2022-09-18T00:00:16
nodejs/node
1980a36dd45997e9dee03fe11688319c2f5c3644
abd0d79304c97911a343f945dde35113012ed291
http: prevent aborted event when already completed When socket is closed on a response for a request that is being piped to a stream there is a condition where aborted event will be fired to http client when socket is closing and the incomingMessage stream is still set to readable. We need a check for request being c...
[ { "path": "lib/_http_client.js", "patch": "@@ -321,7 +321,7 @@ function socketCloseListener() {\n var parser = socket.parser;\n if (req.res && req.res.readable) {\n // Socket closed before we emitted 'end' below.\n- req.res.emit('aborted');\n+ if (!req.res.complete) req.res.emit('aborted');\n ...
2018-02-17T18:03:12
huggingface/transformers
3f06f95ebe617b192251ef756518690f5bc7ff76
3a10c6192b12b328685dce89004f9f9b9c042d30
Revert "Fix FSDP resume Initialization issue" (#34193) Revert "Fix FSDP resume Initialization issue (#34032)" This reverts commit 4de1bdbf637fe6411c104c62ab385f660bfb1064.
[ { "path": "src/transformers/trainer.py", "patch": "@@ -273,39 +273,6 @@ def _get_fsdp_ckpt_kwargs():\n return {}\n \n \n-def _init_fsdp(model, accelerator, device):\n- \"\"\"\n- Initialize Fully Sharded Data Parallel (FSDP) for the model.\n-\n- This function is needed to properly initialize...
2024-10-16T19:25:18
ollama/ollama
2e3fd86d482cb4e77e54179836ddd6a518e2300b
4261a3b0b264430489921a1b4a16a6267711d595
docs: fix typo in macos.md (#11425)
[ { "path": "docs/macos.md", "patch": "@@ -22,7 +22,7 @@ To install the Ollama application somewhere other than `Applications`, place the\n Ollama on MacOS stores files in a few different locations.\n - `~/.ollama` contains models and configuration\n - `~/.ollama/logs` contains logs\n- - *app.log* contains...
2025-07-16T17:50:46
golang/go
734cb8be0a05f6dba241a14f94a1d238a41d4ded
d8796b5670d46a4197fc5e81a32d127c45ab6557
[dev.typeparams] go/types: refactor untyped conversion for typeparams Some logic was missing in the merge from dev.go2go to deal with untyped conversion of generic types. Part of this was due to the complexity of the merge, as untyped conversion had been refactored on master. Rather than back out the refactoring of u...
[ { "path": "src/go/types/assignments.go", "patch": "@@ -7,7 +7,6 @@\n package types\n \n import (\n-\t\"errors\"\n \t\"go/ast\"\n \t\"go/token\"\n )\n@@ -46,27 +45,30 @@ func (check *Checker) assignment(x *operand, T Type, context string) {\n \t\t\t}\n \t\t\ttarget = Default(x.typ)\n \t\t}\n-\t\tif err := ch...
2021-01-15T16:42:10
rust-lang/rust
27ece57615cc6fbf727af86f73d449535307a13b
085b4d5fafdc6a008eaba97613f485231c68bc9c
fix: Fix `format_args` lowering using wrong integer suffix
[ { "path": "src/tools/rust-analyzer/crates/hir-def/src/expr_store/lower.rs", "patch": "@@ -2400,7 +2400,8 @@ impl ExprCollector<'_> {\n Some(FormatCount::Literal(n)) => {\n let args = self.alloc_expr_desugared(Expr::Literal(Literal::Uint(\n *n as u128,\n- ...
2025-03-27T07:55:09
vercel/next.js
76ae2870a632ef8cb2050995a948ef3fcf269486
d5fa555841eb16904e1c8dee73d6f4b2ab4c1833
Fix edge wasm handling during deploy (#40625) This fixes the WASM handling for edge during deploy as the sandbox context won't be present so we should keep this restricted to dev. No additional tests were added as our existing tests caught this. x-ref: https://github.com/vercel/next.js/pull/39539 Fixes: https:/...
[ { "path": "packages/next/build/webpack/plugins/middleware-plugin.ts", "patch": "@@ -433,16 +433,18 @@ function getCodeAnalyzer(params: {\n return\n }\n \n- const { ConstDependency } = wp.dependencies\n- const dep1 = new ConstDependency(\n- '__next_webassembly_instantiate__(fun...
2022-09-16T22:56:43
huggingface/transformers
3a10c6192b12b328685dce89004f9f9b9c042d30
bd5dc10fd25979037e3fb1e31d5a361425b554f0
Avoid using torch's Tensor or PIL's Image in chat template utils if not available (#34165) * fix(utils): Avoid using torch Tensor or PIL Image if not available * Trigger CI --------- Co-authored-by: Matt <rocketknight1@gmail.com>
[ { "path": "src/transformers/utils/chat_template_utils.py", "patch": "@@ -76,10 +76,12 @@ def _get_json_schema_type(param_type: str) -> Dict[str, str]:\n float: {\"type\": \"number\"},\n str: {\"type\": \"string\"},\n bool: {\"type\": \"boolean\"},\n- Image: {\"type\": \"image\...
2024-10-16T15:01:18
nodejs/node
abd0d79304c97911a343f945dde35113012ed291
3828fc6289783a632b00270d6b72b5c5bdd6437d
loader: fix --inspect-brk PR-URL: https://github.com/nodejs/node/pull/18949 Fixes: https://github.com/nodejs/node/issues/18948 Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Guy Bedford <guybedford@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Eugene Ostroukhov <eostrou...
[ { "path": "lib/internal/loader/ModuleJob.js", "patch": "@@ -15,6 +15,7 @@ class ModuleJob {\n this.loader = loader;\n this.error = null;\n this.hadError = false;\n+ this.inspectBrk = inspectBrk;\n \n // This is a Promise<{ module, reflect }>, whose fields will be copied\n // onto `thi...
2018-02-23T06:19:50
ollama/ollama
35fda7b4af556e7eeef2b5dcb3638435382b2576
66fb8575ced090a969c9529c88ee57a8df1259c2
ggml: Report ordinal IDs for AMD GPUs on Windows We don't get valid UUIDs for AMD GPUs on Windows, so the best option is to use the ordinal IDs. This brings us in line with what we currently do on the Ollama server - the only exception is AMD GPUs on Linux, which falls back to using ordinal IDs. The GGML implementatio...
[ { "path": "llama/patches/0017-ggml-Export-GPU-UUIDs.patch", "patch": "@@ -7,41 +7,41 @@ This enables matching up devices and information reported by the backend\n with tools (e.g. nvidia-smi) and system management libraries (e.g. nvml).\n ---\n ggml/include/ggml-backend.h | 1 +\n- ggml/src/ggml-cuda/...
2025-06-26T00:13:32
golang/go
be28e5abc5ddca0d6b2d8c91b7bb9c05717154e7
928bda4f4a88efe2e53f3607e8d2ad0796b449c0
cmd/go: fix mod_get_fallback test Fixes #43795 Change-Id: I3d791d0ac9ce0b523c78c649aaf5e339a7f63b76 Reviewed-on: https://go-review.googlesource.com/c/go/+/284797 Trust: Jay Conrod <jayconrod@google.com> Run-TryBot: Jay Conrod <jayconrod@google.com> Reviewed-by: Bryan C. Mills <bcmills@google.com> TryBot-Result: Go Bo...
[ { "path": "src/cmd/go/testdata/script/mod_get_fallback.txt", "patch": "@@ -6,5 +6,5 @@ env GOPROXY=https://proxy.golang.org,direct\n env GOSUMDB=off\n \n go get -x -v -d golang.org/x/tools/cmd/goimports\n-stderr '# get https://proxy.golang.org/golang.org/x/tools/@latest'\n+stderr '# get https://proxy.golang...
2021-01-20T14:45:03
huggingface/transformers
bd5dc10fd25979037e3fb1e31d5a361425b554f0
cc7d8b87e13eafbe90cbe7e8b27b57c4ef6399dd
Fix wrong name for llava onevision and qwen2_vl in tokenization auto (#34177) * nit fix wrong llava onevision name in tokenization auto * add qwen2_vl and fix style
[ { "path": "src/transformers/models/auto/tokenization_auto.py", "patch": "@@ -258,9 +258,9 @@\n ),\n ),\n (\"llava\", (\"LlamaTokenizer\", \"LlamaTokenizerFast\" if is_tokenizers_available() else None)),\n- (\"llava-onevision\", (\"LlamaTokenizer\", \"LlamaT...
2024-10-16T14:48:52
nodejs/node
197fbbed553b61dbc614ff194a93602abdec5e2b
3f78d3fcf8029a0a169baa314afa89d47377790d
2018-03-01, Version 9.7.0 (Current) Notable Changes: * **libuv**: - Updated to libuv 1.19.2 (Colin Ihrig) [#18918](https://github.com/nodejs/node/pull/18918) * **src**: - Add initial support for Node.js-specific post-mortem metadata (Matheus Marchini) [#14901](https://github.com/nodejs/node/pull/14901) * **time...
[ { "path": "CHANGELOG.md", "patch": "@@ -31,7 +31,8 @@ release.\n </tr>\n <tr>\n <td valign=\"top\">\n-<b><a href=\"doc/changelogs/CHANGELOG_V9.md#9.6.1\">9.6.1</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V9.md#9.7.0\">9.7.0</a></b><br/>\n+<a href=\"doc/changelogs/CHANGELOG_V9.md#9.6.1\">9.6.1</...
2018-02-27T18:21:55
golang/go
48a3cb399da872554f6ea13e1e92b3c8c73fec95
3e15bf77166bc89fb6af8649da560b09d9c0ada5
[dev.typeparams] go/types: fix some merge errors in call.go Some comments were left unresolved in the merge of call.go. Resolve them to get tests to pass (tests to be added in a later CL). Change-Id: Icf894593e7dd5131406c4eece8d43d4cd3170d1c Reviewed-on: https://go-review.googlesource.com/c/go/+/284255 Run-TryBot: Ro...
[ { "path": "src/go/types/call.go", "patch": "@@ -116,9 +116,7 @@ func (check *Checker) call(x *operand, call *ast.CallExpr, orig ast.Expr) exprKi\n \t\t\t// If the first argument is a type, assume we have explicit type arguments.\n \n \t\t\t// check number of type arguments\n-\t\t\t// TODO(rFindley)\n-\t\t\t...
2021-01-15T17:45:11
vercel/next.js
d5fa555841eb16904e1c8dee73d6f4b2ab4c1833
3ff21ed1780f53b1a6f6a22d31be435c352ef450
Implement SWC transformer for server and client graphs (#40603) This is an initial implementation of the Server Components SWC transformer. For the server graph, it detects client entries via the `"client"` directive and transpile them into module reference code; for the client graph, it removes the directives. And...
[ { "path": "packages/next-swc/crates/core/src/lib.rs", "patch": "@@ -54,6 +54,7 @@ pub mod next_dynamic;\n pub mod next_ssg;\n pub mod page_config;\n pub mod react_remove_properties;\n+pub mod react_server_components;\n #[cfg(not(target_arch = \"wasm32\"))]\n pub mod relay;\n pub mod remove_console;\n@@ -84,...
2022-09-16T22:12:59
huggingface/transformers
cc7d8b87e13eafbe90cbe7e8b27b57c4ef6399dd
98bad9c6d6c9ac98b42164fd882f94d4b5bfa4d7
Revert `accelerate` error caused by `46d09af` (#34197) Revert `accelerate` bug
[ { "path": "src/transformers/training_args.py", "patch": "@@ -1936,7 +1936,7 @@ def __post_init__(self):\n warnings.warn(\"`--xla_fsdp_grad_ckpt` is useful only when `--xla` is set to true.\")\n \n # accelerate integration for FSDP\n- if len(self.fsdp) > 0 and is_accelerate_ava...
2024-10-16T14:13:41
nodejs/node
3f78d3fcf8029a0a169baa314afa89d47377790d
f2defcac4dd10f018215e3db530bed1314ce2225
build: fix coverage after gcovr update PR-URL: https://github.com/nodejs/node/pull/18958 Fixes: https://github.com/nodejs/node/issues/18938 Ref: https://github.com/nodejs/build/pull/1145 Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
[ { "path": "Makefile", "patch": "@@ -176,8 +176,8 @@ coverage-build: all\n \t\t--single-branch git://github.com/gcovr/gcovr.git; fi\n \tif [ ! -d build ]; then git clone --depth=1 \\\n \t\t--single-branch https://github.com/nodejs/build.git; fi\n-\tif [ ! -f gcovr/scripts/gcovr.orig ]; then \\\n-\t\t(cd gcov...
2018-02-23T13:06:08
golang/go
3e15bf77166bc89fb6af8649da560b09d9c0ada5
f38f862417d19485468474646848d4294f8587b8
[dev.typeparams] go/types: don't modify Named.underlying in validType This was fixed on dev.go2go in CL 240901, but accidentally omitted from the merge. Change-Id: I9020eb51dac4aa07d57c3de747d33ba84abb6386 Reviewed-on: https://go-review.googlesource.com/c/go/+/284254 Run-TryBot: Robert Findley <rfindley@google.com> T...
[ { "path": "src/go/types/decl.go", "patch": "@@ -342,7 +342,6 @@ func (check *Checker) validType(typ Type, path []Object) typeInfo {\n \t\t\t\tif tn == t.obj {\n \t\t\t\t\tcheck.cycleError(path[i:])\n \t\t\t\t\tt.info = invalid\n-\t\t\t\t\tt.underlying = Typ[Invalid]\n \t\t\t\t\treturn t.info\n \t\t\t\t}\n \...
2021-01-15T16:30:49
huggingface/transformers
98bad9c6d6c9ac98b42164fd882f94d4b5bfa4d7
9ba021ea758429e5bed27a0a405dabf565235802
[fix] fix token healing tests and usage errors (#33931) * auto-gptq requirement is removed & model is changed & tokenizer pad token is assigned * values func is changed with extensions & sequence key value bug is fixed * map key value check is added in ExtensionsTree * empty trimmed_ids bug is fixed * tail...
[ { "path": "src/transformers/generation/utils.py", "patch": "@@ -1419,7 +1419,7 @@ def _prepare_generated_length(\n input_ids_length,\n inputs_tensor,\n ):\n- \"\"\"Prepared max and min length in generaion configs to avoid clashes between similar attributes\"\"\"\n+ \"\"\"Pr...
2024-10-16T12:22:55
vercel/next.js
3ff21ed1780f53b1a6f6a22d31be435c352ef450
cade8c84c44928c4162fc2784249461a94e3085d
refactor: split up `CONTRIBUTING.md` (#40515) Continues #39778 Closes #40499 ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure t...
[ { "path": ".github/pull_request_template.md", "patch": "@@ -1,14 +1,14 @@\n <!--\n Thanks for opening a PR! Your contribution is much appreciated.\n-In order to make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below.\n+To make sure your PR is handled as ...
2022-09-16T21:54:58
nodejs/node
f2defcac4dd10f018215e3db530bed1314ce2225
a27e6d7321e129055c08842690533fa5aecfd923
src: fix error message in async_hooks constructor There are two minor issues in the AsyncHook constructor, if the object passed in has an after and/or destroy property that are not functions the errors thrown will still be: TypeError [ERR_ASYNC_CALLBACK]: before must be a function This commit updates the code and add...
[ { "path": "lib/async_hooks.js", "patch": "@@ -41,15 +41,15 @@ const {\n class AsyncHook {\n constructor({ init, before, after, destroy, promiseResolve }) {\n if (init !== undefined && typeof init !== 'function')\n- throw new errors.TypeError('ERR_ASYNC_CALLBACK', 'init');\n+ throw new errors...
2018-02-26T13:19:52
golang/go
f38f862417d19485468474646848d4294f8587b8
2e64511ac965085cc6a74888b0e441c7e4a47468
[dev.typeparams] go/types: strip annotations from errors Strip annotations from errors before emitting them. This is a partial merge from dev.go2go: the Error.Full field is omitted for now, and stripAnnotations is integrated with the updated error handling from master. Change-Id: Ia24d66b691a10d90b258b0b688d50c6b176b...
[ { "path": "src/go/types/errors.go", "patch": "@@ -89,15 +89,18 @@ func (check *Checker) err(err error) {\n \t\treturn\n \t}\n \n-\tif check.errpos != nil && isInternal {\n-\t\t// If we have an internal error and the errpos override is set, use it to\n-\t\t// augment our error positioning.\n-\t\t// TODO(rFin...
2021-01-15T16:23:28
ollama/ollama
44b17d2bfa0073e012679152421c0b69671d380e
3b8b692218bf0da28859c89b71f4f5731f29002c
tools: fix parsing tool calls with empty arguments, missing required fields (#11233)
[ { "path": "tools/tools.go", "patch": "@@ -134,16 +134,16 @@ func (p *Parser) parseToolCall() *api.ToolCall {\n \t\treturn nil\n \t}\n \n-\t// only look for arguments if the tool has parameters\n+\t// only look for arguments after the tool name if the tool has parameters\n+\t// TODO (jmorganca): while probab...
2025-06-30T15:59:03
huggingface/transformers
9ba021ea758429e5bed27a0a405dabf565235802
d087165db08a2ebae6bca29ea014784197511ebd
Moshi integration (#33624) * clean mimi commit * some nits suggestions from Arthur * make fixup * first moshi WIP * converting weights working + configuration + generation configuration * finalize converting script - still missing tokenizer and FE and processor * fix saving model w/o default config ...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -740,6 +740,8 @@\n title: Mimi\n - local: model_doc/mms\n title: MMS\n+ - local: model_doc/moshi\n+ title: Moshi\n - local: model_doc/musicgen\n title: MusicGen\n - local: model_doc/musicgen_melody", ...
2024-10-16T09:21:49
vercel/next.js
cade8c84c44928c4162fc2784249461a94e3085d
7fba48ef70405539399ecaee42773e037a7c1d48
fix: handle `notFound: true` in `/` with `next export` (#40592) Closes #40571 An earlier fix in #24481 did not consider the `/` case. The page path normalization method `normalizePagePath` turned `/` into `/index` and the route matching was skipped for the index route's non-existent HTML file. ## Bug - [ ] Related ...
[ { "path": "packages/next/export/index.ts", "patch": "@@ -640,13 +640,13 @@ export default async function exportApp(\n Object.keys(prerenderManifest.routes).map(async (route) => {\n const { srcRoute } = prerenderManifest!.routes[route]\n const pageName = srcRoute || route\n- ...
2022-09-16T21:39:48
nodejs/node
4eb45b884d9bd1f13979047750ad680275f4a348
d2dc2a50113492840e77e4f5d3df6ff75fa986a4
fs: throw copyFileSync errors in JS PR-URL: https://github.com/nodejs/node/pull/18871 Refs: https://github.com/nodejs/node/issues/18106 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
[ { "path": "lib/fs.js", "patch": "@@ -1859,7 +1859,7 @@ fs.copyFile = function(src, dest, flags, callback) {\n callback = flags;\n flags = 0;\n } else if (typeof callback !== 'function') {\n- throw new errors.TypeError('ERR_INVALID_ARG_TYPE', 'callback', 'Function');\n+ throw new errors.TypeE...
2018-02-16T05:25:21
golang/go
2e64511ac965085cc6a74888b0e441c7e4a47468
958927c8249fc7e073ffa5e5f0a8f7d3498b5616
[dev.typeparams] go/types: unify methods in missingMethod Unify methods in Checker.missingMethod. This code was accidentally dropped from the merge, while dropping support for method type parameters, but is needed for checking implementations of generic interfaces. Put the logic back, including checks that are only n...
[ { "path": "src/go/types/lookup.go", "patch": "@@ -325,21 +325,30 @@ func (check *Checker) missingMethod(V Type, T *Interface, static bool) (method,\n \t\t\t\treturn m, f\n \t\t\t}\n \n-\t\t\tif !check.identical(f.Type(), m.Type()) {\n+\t\t\tftyp := f.typ.(*Signature)\n+\t\t\tmtyp := m.typ.(*Signature)\n+\t\...
2021-01-15T16:19:13
huggingface/transformers
d087165db08a2ebae6bca29ea014784197511ebd
9d6998c759fc08d6a87e81adf26e59d9c932396b
IDEFICS: support inputs embeds (#34043) * support embeds * use cache from config * style... * fix tests after rebase
[ { "path": "src/transformers/generation/utils.py", "patch": "@@ -857,7 +857,7 @@ def _get_logits_processor(\n self,\n unconditional_ids=negative_prompt_ids,\n unconditional_attention_mask=negative_prompt_attention_mask,\n- use_cac...
2024-10-16T07:25:26
ollama/ollama
45f216a9c7e65bd30ab0e2b1b9fdb7cb2ad9436d
d0b32def60b413407ddf4b4b063ba105a1ef2f92
ggml: Temporarily disable reporting UUIDs This is causing segfaults, so disable it. Currently UUIDs are only used for debugging purposes, although they planned to be used in additional ways in the future. Bug #11211
[ { "path": "ml/backend/ggml/ggml.go", "patch": "@@ -138,7 +138,10 @@ func New(modelPath string, params ml.BackendParams) (ml.Backend, error) {\n \trequiredMemory.CPU.Name = C.GoString(C.ggml_backend_dev_name(cpuDeviceBufferType.d))\n \tvar props C.struct_ggml_backend_dev_props\n \tC.ggml_backend_dev_get_prop...
2025-06-27T18:11:49
vercel/next.js
7fba48ef70405539399ecaee42773e037a7c1d48
8bf082a9134dfe8a8aa49f8c01bfda1f0830b5ed
Adding experimentalAdjustFallback feature to font optimization (#40185) <!-- ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## Feature - [x] Implements an existing feature request or RFC. Make sure th...
[ { "path": "packages/next/build/webpack-config.ts", "patch": "@@ -177,7 +177,7 @@ export function getDefineEnv({\n 'process.env.__NEXT_STRICT_MODE': JSON.stringify(config.reactStrictMode),\n 'process.env.__NEXT_REACT_ROOT': JSON.stringify(hasReactRoot),\n 'process.env.__NEXT_OPTIMIZE_FONTS': JSON...
2022-09-16T21:13:21
golang/go
958927c8249fc7e073ffa5e5f0a8f7d3498b5616
90bfc7307175c2f58d4efb48003670dba23385ed
[dev.typeparams] go/parser: error for type instances without ParseTypeParams It should be an invariant that the parser does not produce ast.CallExprs with Brackets == true unless parsing with ParseTypeParams. Fix the one case where this invariant was violated, and add a test for errors produced in valid generic code ...
[ { "path": "src/go/parser/parser.go", "patch": "@@ -1494,6 +1494,7 @@ func (p *parser) parseIndexOrSliceOrInstance(x ast.Expr) ast.Expr {\n \tvar args []ast.Expr\n \tvar index [N]ast.Expr\n \tvar colons [N - 1]token.Pos\n+\tvar firstComma token.Pos\n \tif p.tok != token.COLON {\n \t\t// We can't know if we h...
2021-01-15T16:08:02
nodejs/node
d2dc2a50113492840e77e4f5d3df6ff75fa986a4
82523d3b6eb7905fc59f12a0d38026af996152fa
fs: throw fs.mkdtempSync errors in JS land PR-URL: https://github.com/nodejs/node/pull/18871 Refs: https://github.com/nodejs/node/issues/18106 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
[ { "path": "lib/fs.js", "patch": "@@ -1839,7 +1839,12 @@ fs.mkdtempSync = function(prefix, options) {\n prefix);\n }\n nullCheck(prefix, 'prefix');\n- return binding.mkdtemp(`${prefix}XXXXXX`, options.encoding);\n+ const path = `${prefix}XXXXXX`;\n+ const ctx = { path };...
2018-02-19T20:54:19
huggingface/transformers
554ed5d1e0d8078c8bf2920c7c07ef8a14563716
8c33cf4eeca38bf8ec67bc2d0b50f818895a067f
🌐 [i18n-KO] Translated `trainer_utils.md` to Korean (#33817) * docs: ko: trainer_utils.md * feat: nmt draft * fix: manual edits * fix: resolve suggestions Co-authored-by: Woojun Jung <46880056+jungnerd@users.noreply.github.com> --------- Co-authored-by: Woojun Jung <46880056+jungnerd@users.noreply....
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -790,8 +790,8 @@\n title: 파이프라인을 위한 유틸리티\n - local: internal/tokenization_utils\n title: 토크나이저를 위한 유틸리티\n- - local: in_translation\n- title: (번역중) Utilities for Trainer\n+ - local: internal/trainer_utils\n+ title: Trainer를...
2024-10-15T18:21:05
ollama/ollama
ad118d8b1306063d0ab2e967a20bd7914a135b28
f08534137b127e1159f4b162881b8c2defc93158
ci: arm sbsa fixes (#11194)
[ { "path": ".github/workflows/release.yaml", "patch": "@@ -322,12 +322,12 @@ jobs:\n - run: |\n for COMPONENT in bin/* lib/ollama/*; do\n case \"$COMPONENT\" in\n- bin/ollama) echo $COMPONENT >>ollama-${{ matrix.os }}-${{ matrix.arch }}.tar.in ;;\n- ...
2025-06-25T04:00:15
vercel/next.js
8bf082a9134dfe8a8aa49f8c01bfda1f0830b5ed
1ea65cf931fbc5342855c74c0ee8543dc2083af4
fix: loosen webpack compilation with `fallbackNodePolyfills: false` (#40612) If in `resolve.fallback` we set previously polyfilled modules to `false` instead of an empty object, webpack will pass the compilation _and_ not include any polyfills. Fixes #40522, fixes #40364 ## Bug - [ ] Related issues linked u...
[ { "path": "packages/next/build/webpack-config.ts", "patch": "@@ -1590,7 +1590,30 @@ export default async function getBaseWebpackConfig(\n resolve: {\n fallback:\n config.experimental.fallbackNodePolyfills === false\n- ...
2022-09-16T20:23:56
huggingface/transformers
8c33cf4eeca38bf8ec67bc2d0b50f818895a067f
67acb0b123f48d51ec8cfef14b45827b8b53976c
🌐 [i18n-KO] Translated `gemma2.md` to Korean (#33937) * docs: ko: gemma2.md * feat: nmt draft * fix: manual edits * fix: resolve suggestions
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -400,6 +400,8 @@\n title: (번역중) Funnel Transformer\n - local: model_doc/gemma\n title: Gemma\n+ - local: model_doc/gemma2\n+ title: Gemma2\n - local: model_doc/openai-gpt\n title: GPT\n - local: in_tr...
2024-10-15T18:20:46
nodejs/node
82523d3b6eb7905fc59f12a0d38026af996152fa
8fb5a6cd81a893dc4929a290206ac0b10c068487
fs: throw fs.utimesSync errors in JS land PR-URL: https://github.com/nodejs/node/pull/18871 Refs: https://github.com/nodejs/node/issues/18106 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
[ { "path": "lib/fs.js", "patch": "@@ -1148,9 +1148,11 @@ fs.utimes = function(path, atime, mtime, callback) {\n fs.utimesSync = function(path, atime, mtime) {\n path = getPathFromURL(path);\n validatePath(path);\n+ const ctx = { path };\n binding.utimes(pathModule.toNamespacedPath(path),\n- ...
2018-02-19T20:23:47
vercel/next.js
1ea65cf931fbc5342855c74c0ee8543dc2083af4
ff1a182b515ff85f7aa748590bd1a243d7e06ebb
fix(image): handle image imports with high aspect ratio (#40563) ## Bug - [x] Related issues linked using `fixes #40562` fixes #40562 - [x] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` Co-authored-by: Steven <229881+styfle@users.noreply.github.com>
[ { "path": "packages/next/build/webpack/loaders/next-image-loader.js", "patch": "@@ -35,12 +35,14 @@ function nextImageLoader(content) {\n // Shrink the image's largest dimension\n if (imageSize.width >= imageSize.height) {\n blurWidth = BLUR_IMG_SIZE\n- blurHeight = Math.round(\n-...
2022-09-16T20:17:19
nodejs/node
8fb5a6cd81a893dc4929a290206ac0b10c068487
437c75649335a0b412670b82d3dfc37be7b01d0b
fs: throw fs.chownSync errors in JS land PR-URL: https://github.com/nodejs/node/pull/18871 Refs: https://github.com/nodejs/node/issues/18106 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
[ { "path": "lib/fs.js", "patch": "@@ -1124,7 +1124,9 @@ fs.chownSync = function(path, uid, gid) {\n validatePath(path);\n validateUint32(uid, 'uid');\n validateUint32(gid, 'gid');\n- return binding.chown(pathModule.toNamespacedPath(path), uid, gid);\n+ const ctx = { path };\n+ binding.chown(pathModu...
2018-02-19T19:35:39
huggingface/transformers
67acb0b123f48d51ec8cfef14b45827b8b53976c
0f49deacbff3e57cde45222842c0db6375e4fa43
🌐 [i18n-KO] Translated `vivit.md` to Korean (#33935) * docs: ko: model_doc/vivit.md * feat: nmt draft * fix: manual edits * fix: manual edits
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -671,6 +671,11 @@\n - local: in_translation\n title: (번역중) XLSR-Wav2Vec2\n title: (번역중) 오디오 모델\n+ - isExpanded: false\n+ sections:\n+ - local: model_doc/vivit\n+ title: ViViT\n+ title: (번역중) 비디오 모델\n - i...
2024-10-15T17:31:44
ollama/ollama
c85c0ebf895016c36bab10be4dd92f594c400df3
10a8e04a8dcdd06de4ccaa3c2fe19452d2714b15
CI: switch windows to vs 2022 (#11184) * CI: switch windows to vs 2022 * ci: fix regex match
[ { "path": ".github/workflows/release.yaml", "patch": "@@ -155,6 +155,9 @@ jobs:\n echo \"$hipPath\\bin\" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append\n echo \"CC=$hipPath\\bin\\clang.exe\" | Out-File -FilePath $env:GITHUB_ENV -Append\n echo \"CXX=$hipPath\\bin\\...
2025-06-24T20:26:55
golang/go
3c0a39c964bb149f0a272c396ae3e7b3c4d36e30
502198c8dc325eb60ff7afb74358b3beffd9831c
[dev.typeparams] cmd/compile/internal/types: minor fixes/cleanups around testing Also, implemented isConstType predicate in terms of "is" predicate. Change-Id: Ib3b311f52196dba974802348bc6d63307530d915 Reviewed-on: https://go-review.googlesource.com/c/go/+/284217 Trust: Robert Griesemer <gri@golang.org> Run-TryBot: R...
[ { "path": "src/cmd/compile/internal/types2/check_test.go", "patch": "@@ -47,12 +47,12 @@ var (\n \ttestFiles = flag.String(\"files\", \"\", \"space-separated list of test files\")\n )\n \n-func parseFiles(t *testing.T, filenames []string) ([]*syntax.File, []error) {\n+func parseFiles(t *testing.T, filenam...
2021-01-15T22:37:35
vercel/next.js
ff1a182b515ff85f7aa748590bd1a243d7e06ebb
545ea5ec252779b836042e82ccd956a166efbc04
Revert "Fixed typo" (#40623) x-ref: https://github.com/vercel/next.js/pull/40608#pullrequestreview-1111135945 Reverts vercel/next.js#40608
[ { "path": "examples/with-passport-and-next-connect/pages/signup.js", "patch": "@@ -16,7 +16,7 @@ export default function SignupPage() {\n name: e.currentTarget.name.value,\n }\n \n- if (body.password !== e.currentTarget.password.value) {\n+ if (body.password !== e.currentTarget.rpassword.val...
2022-09-16T19:53:12
nodejs/node
437c75649335a0b412670b82d3dfc37be7b01d0b
e8ec898a7d8169bed73378b5cd4e677adbec16c8
fs: throw fs.chmodSync errors in JS land PR-URL: https://github.com/nodejs/node/pull/18871 Refs: https://github.com/nodejs/node/issues/18106 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
[ { "path": "lib/fs.js", "patch": "@@ -1054,7 +1054,9 @@ fs.chmodSync = function(path, mode) {\n validatePath(path);\n mode = modeNum(mode);\n validateUint32(mode, 'mode');\n- return binding.chmod(pathModule.toNamespacedPath(path), mode);\n+ const ctx = { path };\n+ binding.chmod(pathModule.toNamespa...
2018-02-19T09:09:41
huggingface/transformers
0f49deacbff3e57cde45222842c0db6375e4fa43
d00f1ca860f19f4c0962882e56044bb6ef7b5626
[feat] LlavaNext add feature size check to avoid CUDA Runtime Error (#33608) * [feat] add feature size check to avoid CUDA Runtime Error * [minor] add error handling to all llava models * [minor] avoid nested if else * [minor] add error message to Qwen2-vl and chameleon * [fix] token dimension for check ...
[ { "path": "src/transformers/models/chameleon/modeling_chameleon.py", "patch": "@@ -1287,6 +1287,12 @@ def forward(\n \n if pixel_values is not None:\n image_tokens = self.get_image_tokens(pixel_values)\n+ n_image_tokens_in_text = (input_ids == self.vocabulary_mapping.image_tok...
2024-10-15T14:19:18
ollama/ollama
1c6669e64cc8a482fbf1e35c0249f17b35a4e87a
2bb69b40c7f6f2783290f0b7e4f7d5ec0a41f69c
Re-remove cuda v11 (#10694) * Re-remove cuda v11 Revert the revert - drop v11 support requiring drivers newer than Feb 23 This reverts commit c6bcdc4223c50071b59a19c42cc54ec9932f696f. * Simplify layout With only one version of the GPU libraries, we can simplify things down somewhat. (Jetsons still require special...
[ { "path": ".github/workflows/release.yaml", "patch": "@@ -103,11 +103,6 @@ jobs:\n arch: [amd64]\n preset: ['CPU']\n include:\n- - os: windows\n- arch: amd64\n- preset: 'CUDA 11'\n- install: https://developer.download.nvidia.com/compute/cuda/...
2025-06-23T21:07:00
golang/go
824f2d635ca96a7bded6ed039f8a9c0f06ee1443
0575e35e506cb180c5743209684b57dd41b4365f
cmd/go: allow go fmt to complete when embedded file is missing Fixes #43273 Change-Id: I75fe2e608cb43c048e3c2a22fe7fbb6eb779504a Reviewed-on: https://go-review.googlesource.com/c/go/+/280452 Trust: Jay Conrod <jayconrod@google.com> Trust: Bryan C. Mills <bcmills@google.com> Run-TryBot: Jay Conrod <jayconrod@google.co...
[ { "path": "src/cmd/go/internal/fmtcmd/fmt.go", "patch": "@@ -75,7 +75,8 @@ func runFmt(ctx context.Context, cmd *base.Command, args []string) {\n \t\t}\n \t\tif pkg.Error != nil {\n \t\t\tvar nogo *load.NoGoError\n-\t\t\tif errors.As(pkg.Error, &nogo) && len(pkg.InternalAllGoFiles()) > 0 {\n+\t\t\tvar embed...
2021-01-15T16:05:29
vercel/next.js
761338a20e28b2fd6afa7d74621deef85e9ee0f8
0d8bb78857d50c5fdba6470811879868ebbe3d8b
Minor fixes to source maps (#379) Remove unused param, add `HmrUpdateEntry` constructor
[ { "path": "crates/turbopack-core/src/code_builder.rs", "patch": "@@ -50,6 +50,10 @@ impl Code {\n return;\n }\n \n+ debug_assert!(\n+ map.is_some() || !self.mappings.is_empty(),\n+ \"the first mapping is never a None\"\n+ );\n self.mappings.pus...
2022-09-16T18:52:21
huggingface/transformers
d00f1ca860f19f4c0962882e56044bb6ef7b5626
65442718c478aed0183155cd69decb8fc7e47f5f
Fix optuna ddp hp search (#34073)
[ { "path": "src/transformers/integrations/integration_utils.py", "patch": "@@ -241,7 +241,8 @@ def _objective(trial, checkpoint_dir=None):\n if trainer.args.parallel_mode != ParallelMode.DISTRIBUTED:\n raise RuntimeError(\"only support DDP optuna HPO for ParallelMode.DISTR...
2024-10-15T13:42:07
rust-lang/rust
89348e51e383a6300206e3356143fce812838921
bd1ef0fad2e8172549a07fbf17dc1f9c4ceea078
Emit better error messages when invoking xcrun Also allow the SDK path to be non-UTF-8.
[ { "path": "compiler/rustc_codegen_ssa/messages.ftl", "patch": "@@ -10,8 +10,6 @@ codegen_ssa_apple_deployment_target_invalid =\n codegen_ssa_apple_deployment_target_too_low =\n deployment target in {$env_var} was set to {$version}, but the minimum supported by `rustc` is {$os_min}\n \n-codegen_ssa_apple...
2025-03-27T02:15:58
golang/go
0575e35e506cb180c5743209684b57dd41b4365f
ccb2e906882e45fe2d22c31049185208adbfb62e
cmd/compile: require 'go 1.16' go.mod line for //go:embed This will produce better errors when earlier versions of Go compile code using //go:embed. (The import will cause a compilation error but then the go command will add to the output that the Go toolchain in use looks too old and maybe that's the problem.) This ...
[ { "path": "src/cmd/compile/internal/gc/embed.go", "patch": "@@ -67,10 +67,6 @@ func varEmbed(p *noder, names []*Node, typ *Node, exprs []*Node, embeds []Pragma\n \t\tp.yyerrorpos(pos, \"invalid go:embed: missing import \\\"embed\\\"\")\n \t\treturn\n \t}\n-\tif embedCfg.Patterns == nil {\n-\t\tp.yyerrorpos(...
2021-01-08T22:02:41
vercel/next.js
36c3d2d80f119970856befae2a22c95468fc60cf
7795fafdc7519771a0cd5eb411e28fc6808ac9a8
SourceMap fixes and improvements (vercel/turbo#374) moves the logic of creating SourceMap assets into the asset reference. This avoids depending on the chunk items in the references() method directly. It also avoids calling CodeVc::source_map() until the source map is read avoid circular dependency in call graph It ...
[ { "path": "packages/next-swc/crates/next-core/src/server_render/asset.rs", "patch": "@@ -162,6 +162,7 @@ async fn get_intermediate_asset(\n context_path,\n chunk_root_path: intermediate_output_path.join(\"chunks\"),\n asset_root_path: intermediate_output_path.join(\"assets\"),\n+ ...
2022-09-16T15:08:00
nodejs/node
fea5dda1d1ee4ebc2883fc9b4019c254176cc2c6
d2c4f5082f371bbbfc01972d177799dc42e255a9
fs: throw openSync errors in JS PR-URL: https://github.com/nodejs/node/pull/18871 Refs: https://github.com/nodejs/node/issues/18106 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
[ { "path": "lib/fs.js", "patch": "@@ -521,8 +521,12 @@ fs.openSync = function(path, flags, mode) {\n validatePath(path);\n validateUint32(mode, 'mode');\n \n- return binding.open(pathModule.toNamespacedPath(path),\n- stringToFlags(flags), mode);\n+ const ctx = { path };\n+ const r...
2018-02-14T19:08:52
huggingface/transformers
65442718c478aed0183155cd69decb8fc7e47f5f
d314ce70bffc6d9df137ef14f490423fbacfba85
Add support for inheritance from class with different suffix in modular (#34077) * add support for different suffix in modular * add dummy example, pull new changes for modular * nide lines order change
[ { "path": "examples/modular-transformers/modeling_new_task_model.py", "patch": "@@ -0,0 +1,546 @@\n+# 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨\n+# This file was automatically generated from examples/modular-transformers/modular...
2024-10-15T12:55:09
ollama/ollama
0a066cfd91abdddc6ee172776974a6720a3072d3
87b7af6ceef2b4d96374dbff5070b41b17d3f138
Reapply "feat: incremental gguf parser (#10822)" (#11114) (#11119) * Reapply "feat: incremental gguf parser (#10822)" (#11114) This reverts commit a6e64fbdf28f0d6cb97cc7f022ca493b905fe895. * fix older ggufs
[ { "path": "fs/gguf/gguf.go", "patch": "@@ -0,0 +1,347 @@\n+package gguf\n+\n+import (\n+\t\"bytes\"\n+\t\"cmp\"\n+\t\"encoding/binary\"\n+\t\"errors\"\n+\t\"fmt\"\n+\t\"io\"\n+\t\"iter\"\n+\t\"os\"\n+\t\"slices\"\n+\t\"strings\"\n+)\n+\n+const (\n+\ttypeUint8 uint32 = iota\n+\ttypeInt8\n+\ttypeUint16\n+\tty...
2025-06-20T18:11:40
golang/go
9423d50d53f132d7d00f5126144736bfe65627b6
a2f825c542bc62b9d4341080302ed309cd3daa97
[dev.regabi] cmd/compile: use '%q' for printing rune values less than 128 Fixes #43762 Change-Id: I51734c9b4ee2366a5dae53b2d27b363f4d5fe6c1 Reviewed-on: https://go-review.googlesource.com/c/go/+/284592 Trust: Cuong Manh Le <cuong.manhle.vn@gmail.com> Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com> TryBot-Result...
[ { "path": "src/cmd/compile/internal/ir/fmt.go", "patch": "@@ -589,20 +589,20 @@ func exprFmt(n Node, s fmt.State, prec int) {\n \t\t}\n \n \t\tif n.Type() == types.UntypedRune {\n-\t\t\tswitch x, ok := constant.Int64Val(n.Val()); {\n+\t\t\tswitch x, ok := constant.Uint64Val(n.Val()); {\n \t\t\tcase !ok:\n \...
2021-01-19T15:57:45
vercel/next.js
0d8bb78857d50c5fdba6470811879868ebbe3d8b
0748438b65b0ef2c57630028d7acc8f686f437a1
SourceMap fixes and improvements (#374) moves the logic of creating SourceMap assets into the asset reference. This avoids depending on the chunk items in the references() method directly. It also avoids calling CodeVc::source_map() until the source map is read avoid circular dependency in call graph It also avoids ...
[ { "path": "crates/next-core/src/server_render/asset.rs", "patch": "@@ -162,6 +162,7 @@ async fn get_intermediate_asset(\n context_path,\n chunk_root_path: intermediate_output_path.join(\"chunks\"),\n asset_root_path: intermediate_output_path.join(\"assets\"),\n+ enable_hot_mod...
2022-09-16T15:08:00
nodejs/node
d2c4f5082f371bbbfc01972d177799dc42e255a9
72d150ea6f72098a2a99e4a25658f3b5c767d03b
fs: throw readdirSync errors in JS PR-URL: https://github.com/nodejs/node/pull/18871 Refs: https://github.com/nodejs/node/issues/18106 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
[ { "path": "lib/fs.js", "patch": "@@ -819,7 +819,11 @@ fs.readdirSync = function(path, options) {\n options = getOptions(options, {});\n path = getPathFromURL(path);\n validatePath(path);\n- return binding.readdir(pathModule.toNamespacedPath(path), options.encoding);\n+ const ctx = { path };\n+ cons...
2018-02-03T14:45:30
huggingface/transformers
5ee9e786d115154c0c58dc961e39105a205ccac0
4de1bdbf637fe6411c104c62ab385f660bfb1064
Fix default behaviour in TextClassificationPipeline for regression problem type (#34066) * update code * update docstrings * update tests
[ { "path": "src/transformers/pipelines/text_classification.py", "patch": "@@ -40,7 +40,8 @@ class ClassificationFunction(ExplicitEnum):\n The function to apply to the model outputs in order to retrieve the scores. Accepts four different values:\n \n - `\"default\"`: if the model has a...
2024-10-15T12:06:20
ollama/ollama
87b7af6ceef2b4d96374dbff5070b41b17d3f138
f2527b08fba57d606e12cb21b583249c11724d7a
ggml: Check return status for computation. We don't check the return status after computing the graph, which can silently lead to bad outputs if we try to keep going and future computation succeeds. This appears to happens in certain cases on Apple M2 devices. Fixes #11070
[ { "path": "ml/backend/ggml/ggml.go", "patch": "@@ -602,7 +602,9 @@ func (c *Context) Forward(tensors ...ml.Tensor) ml.Context {\n }\n \n func (c *Context) Compute(tensors ...ml.Tensor) {\n-\tC.ggml_backend_sched_graph_compute_async(c.b.sched, c.graph)\n+\tif status := C.ggml_backend_sched_graph_compute_asyn...
2025-06-19T21:39:20
golang/go
ccb2e906882e45fe2d22c31049185208adbfb62e
ca5774a5a533ce26ed64010fcc98f258e5bb0cc1
cmd/link: exit before Asmb2 if error If there are already errors emitted, don't run the Asmb2 pass and just exit. At the point of Asmb2 relocations are already resolved and errors should have been reported, if any. Asmb2 is unlikely to emit additional useful users errors. Instead, the invalid input may cause inconsist...
[ { "path": "src/cmd/link/internal/ld/main.go", "patch": "@@ -338,6 +338,8 @@ func Main(arch *sys.Arch, theArch Arch) {\n \tbench.Start(\"Asmb\")\n \tasmb(ctxt)\n \n+\texitIfErrors()\n+\n \t// Generate additional symbols for the native symbol table just prior\n \t// to code generation.\n \tbench.Start(\"GenSy...
2021-01-19T16:02:10
huggingface/transformers
4de1bdbf637fe6411c104c62ab385f660bfb1064
293e6271c69a48b6a66e68978dd3d37601c04c63
Fix FSDP resume Initialization issue (#34032) * Fix FSDP Initialization for resume training * Added init_fsdp function to work with dummy values * Fix FSDP initialization for resuming training * Added CUDA decorator for tests * Added torch_gpu decorator to FSDP tests * Fixup for failing code quality tes...
[ { "path": "src/transformers/trainer.py", "patch": "@@ -273,6 +273,39 @@ def _get_fsdp_ckpt_kwargs():\n return {}\n \n \n+def _init_fsdp(model, accelerator, device):\n+ \"\"\"\n+ Initialize Fully Sharded Data Parallel (FSDP) for the model.\n+\n+ This function is needed to properly initialize...
2024-10-15T11:48:10
vercel/next.js
545ea5ec252779b836042e82ccd956a166efbc04
755661144979db84e44caa5bb66b62e350f8a107
Fixed typo (#40608)
[ { "path": "examples/with-passport-and-next-connect/pages/signup.js", "patch": "@@ -16,7 +16,7 @@ export default function SignupPage() {\n name: e.currentTarget.name.value,\n }\n \n- if (body.password !== e.currentTarget.rpassword.value) {\n+ if (body.password !== e.currentTarget.password.val...
2022-09-16T13:04:20
nodejs/node
72d150ea6f72098a2a99e4a25658f3b5c767d03b
77b42e34de519d211f7b68330781af67be76fd35
fs: throw realpathSync.native errors in JS PR-URL: https://github.com/nodejs/node/pull/18871 Refs: https://github.com/nodejs/node/issues/18106 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
[ { "path": "lib/fs.js", "patch": "@@ -1649,7 +1649,10 @@ fs.realpathSync.native = function(path, options) {\n options = getOptions(options, {});\n path = getPathFromURL(path);\n validatePath(path);\n- return binding.realpath(path, options.encoding);\n+ const ctx = { path };\n+ const result = binding...
2018-02-03T14:22:05
rust-lang/rust
0a05677d22825f66018361c3b6a55148bfc85650
65899c06f117ddac9c8399479ddcdc122c92fddf
`lower_pat_expr`: use the pattern's type instead of the literal's This allows us to remove the field `treat_byte_string_as_slice` from `TypeckResults`, since the pattern's type contains everything necessary to get the correct lowering for byte string literal patterns. This leaves the implementation of `string_deref_p...
[ { "path": "compiler/rustc_hir_typeck/src/pat.rs", "patch": "@@ -632,10 +632,6 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {\n {\n let tcx = self.tcx;\n trace!(?lt.hir_id.local_id, \"polymorphic byte string lit\");\n- self.typeck_results\n- ...
2025-03-26T13:37:56
huggingface/transformers
293e6271c69a48b6a66e68978dd3d37601c04c63
23874f59486ccd79bf224ab7b42bc9052c63f1df
Add sdpa for Vivit (#33757) * chore:add sdpa to vivit * fix:failing slow test_inference_interpolate_pos_encoding(failing on main branch too) * chore:fix nits * ci:fix repo consistency failure * chore:add info and benchmark to model doc * [run_slow] vivit * chore:revert interpolation test fix for new ...
[ { "path": "docs/source/en/model_doc/vivit.md", "patch": "@@ -23,6 +23,43 @@ The abstract from the paper is the following:\n \n This model was contributed by [jegormeister](https://huggingface.co/jegormeister). The original code (written in JAX) can be found [here](https://github.com/google-research/scenic/t...
2024-10-15T09:27:54
ollama/ollama
60cfa2a203201e8513b7da26035f74495e498bc7
55bbf3b4a1766fc99e32ebd39f0dd5749152b55d
cache: fix comment function name in cache.go (#11110)
[ { "path": "server/internal/cache/blob/cache.go", "patch": "@@ -59,7 +59,7 @@ type DiskCache struct {\n \ttestHookBeforeFinalWrite func(f *os.File)\n }\n \n-// PutString is a convenience function for c.Put(d, strings.NewReader(s), int64(len(s))).\n+// PutBytes is a convenience function for c.Put(d, strings.N...
2025-06-18T12:21:45