repo
stringclasses
15 values
fix_commit
stringlengths
40
40
buggy_commit
stringlengths
40
40
message
stringlengths
3
64.3k
files
listlengths
1
300
timestamp
timestamp[s]date
2013-03-13 20:45:00
2026-04-11 07:48:46
vercel/next.js
e53a842f86e9b1f120dc96aa44aa3132446678c1
e7d2c176ac847d5e5442d0841f78d3b289952ad2
Ensure Next.js uses React 18 APIs, enable styled_jsx transform in SSR (#90) This will remove the warning about using `hydrate` instead of `hydrateRoot`, and fix a mismatch between SSR and CSR when using styled-jsx (`<style jsx>`).
[ { "path": "crates/next-core/js/internal/shims.js", "patch": "@@ -2,6 +2,10 @@\n // in next-hydrate.js.\n process.env.NODE_ENV = \"development\";\n \n+// This ensures Next.js uses React 18's APIs (hydrateRoot) instead of React 17's\n+// (hydrate).\n+process.env.__NEXT_REACT_ROOT = \"true\";\n+\n // This is a...
2022-10-18T17:30:46
ollama/ollama
f3f31a81924a7b3a1b3ad37a1294a22c8d1d192e
9e7ba835da03a99c7b471dfae4b35cd7ef797957
anthropic: close thinking block before tool_use when no text in between (#14825) Root cause: StreamConverter.Process() only incremented contentIndex when closing a thinking block if text content was present. When a model emitted thinking followed directly by a tool_use block (no text in between), thinkingDone was neve...
[ { "path": "anthropic/anthropic.go", "patch": "@@ -852,6 +852,19 @@ func (c *StreamConverter) Process(r api.ChatResponse) []StreamEvent {\n \t\t\tcontinue\n \t\t}\n \n+\t\t// Close thinking block if still open (thinking → tool_use without text in between)\n+\t\tif c.thinkingStarted && !c.thinkingDone {\n+\t\...
2026-03-13T20:12:05
golang/go
2b0e29f51669063002cbcceca4f4a43e00144876
b62da089091e305b6231082d8a69b27c56603b51
docs: fix case of GitHub Change `Github` to `GitHub` Change-Id: I514e8dc9a19182fcf9fcf5bc1b5fbff253c1a947 GitHub-Last-Rev: 7124c7058e0c7ff19dc8440fa79271eb6cfdaea9 GitHub-Pull-Request: golang/go#44260 Reviewed-on: https://go-review.googlesource.com/c/go/+/291950 Reviewed-by: Bryan C. Mills <bcmills@google.com> Review...
[ { "path": "misc/chrome/gophertool/popup.html", "patch": "@@ -15,7 +15,7 @@\n <a href=\"#\" url=\"https://golang.org/pkg/\">pkg</a> id/name:</small>\n <form style='margin: 0' id='navform'><nobr><input id=\"inputbox\" size=10 tabindex=1 /><input type=\"submit\" value=\"go\" /></nobr></form>\n <small>Also: <a ...
2021-02-14T17:27:56
nodejs/node
a25f56730e815794ff645a2a050da22343fa7d89
ba9dc748388618c64af42006bc92f2c1d1abde09
assert: detect faulty throws usage One of the biggest downsides to the `assert.throws` API is that it does not check for the error message in case that is used as second argument. It will instead be used in case no error is thrown. This improves the situation by checking the actual error message against the provided ...
[ { "path": "doc/api/errors.md", "patch": "@@ -586,6 +586,14 @@ found [here][online].\n <a id=\"nodejs-error-codes\"></a>\n ## Node.js Error Codes\n \n+<a id=\"ERR_AMBIGUOUS_ARGUMENT\"></a>\n+### ERR_AMBIGUOUS_ARGUMENT\n+\n+This is triggered by the `assert` module in case e.g.,\n+`assert.throws(fn, message)` ...
2018-04-07T12:22:29
huggingface/transformers
a7d1441d657bdb2abf04c3931017ef8c9c3580cd
cdca3cf9e361a009b615f842f5dbc11d244f3cdc
Correctly list the chat template file in the Tokenizer saved files list (#34974) * Correctly list the chat template file in the saved files list * Update src/transformers/tokenization_utils_base.py Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com> * Add save file checking to test * ma...
[ { "path": "src/transformers/tokenization_utils_base.py", "patch": "@@ -2429,6 +2429,7 @@ def save_pretrained(\n tokenizer_config[\"extra_special_tokens\"] = self.extra_special_tokens\n tokenizer_config.update(self.extra_special_tokens)\n \n+ saved_raw_chat_template = False\n ...
2025-01-07T19:11:02
vercel/next.js
b5e3bf5d26c873169aaedd1ff2223e2265cd4d1d
373e966b081ebfdc5d86305bffed1af98edcaed3
fix debug panic for shifting (#83)
[ { "path": "crates/turbo-tasks-memory/src/task.rs", "patch": "@@ -638,21 +638,23 @@ impl Task {\n }\n TaskScopes::Inner(ref mut list, ref mut optimization_counter) => {\n if list.add(id) {\n- if is_optimization_scope {\n- *opti...
2022-10-18T17:13:39
ollama/ollama
bb867c6fdbc4739751f0fc6d8fd2ade20684041d
81f4506a61674ef3c30ed3eeeefa74c1dc8080ac
launch: fix headless --yes integration flow and policy scoping (#14815)
[ { "path": "cmd/launch/command_test.go", "patch": "@@ -160,6 +160,27 @@ func TestLaunchCmdTUICallback(t *testing.T) {\n \t\t}\n \t})\n \n+\tt.Run(\"--yes flag without integration returns error\", func(t *testing.T) {\n+\t\ttuiCalled := false\n+\t\tmockTUI := func(cmd *cobra.Command) {\n+\t\t\ttuiCalled = tru...
2026-03-13T18:45:36
rust-lang/rust
3feac59b794acf326c0efebaabd500e47fc65ba9
b9754f9e7bfe2d8eed780962b550a25a87118ce4
Fix unreachable expression warning Invert the order that we pass the arguments to the `contract_check_ensures` function to avoid the warning when the tail of the function is unreachable. Note that the call itself is also unreachable, but we have already handled that case by ignoring unreachable call for contract call...
[ { "path": "compiler/rustc_ast_lowering/src/expr.rs", "patch": "@@ -401,11 +401,10 @@ impl<'hir> LoweringContext<'_, 'hir> {\n cond_hir_id: HirId,\n ) -> &'hir hir::Expr<'hir> {\n let cond_fn = self.expr_ident(span, cond_ident, cond_hir_id);\n- let span = self.mark_span_with_reason...
2025-04-08T00:42:08
huggingface/transformers
cdca3cf9e361a009b615f842f5dbc11d244f3cdc
7f7677307cfc8722ccc4680b993811098379844c
[Whisper] fix docstrings typo (#35338) fix typo
[ { "path": "src/transformers/models/whisper/generation_whisper.py", "patch": "@@ -480,8 +480,8 @@ def generate(\n `return_segments` is set True. In this case the generation outputs of each segment is added to each\n segment.\n force_unique_generate_call (`bool`, *o...
2025-01-07T17:20:27
golang/go
b62da089091e305b6231082d8a69b27c56603b51
a7526bbf72dfe0fde00d88f85fd6cddccdb3a345
cmd/go: update error expectations in TestScript/mod_install_pkg_version This test was missed in CL 298650, and not caught by TryBots because it is skipped it short mode (and we forgot to add longtest TryBots on that CL). Updates #44745 Change-Id: I696d01307dabf351b0e4735db0644f4e09c8e369 Reviewed-on: https://go-revi...
[ { "path": "src/cmd/go/testdata/script/mod_install_pkg_version.txt", "patch": "@@ -59,9 +59,9 @@ rm $GOPATH/bin\n env GO111MODULE=on\n go mod download rsc.io/fortune@v1.0.0\n ! go install $GOPATH/pkg/mod/rsc.io/fortune@v1.0.0\n-stderr '^go: cannot find main module; see ''go help modules''$'\n+stderr '^go: go...
2021-03-05T02:09:17
nodejs/node
ba9dc748388618c64af42006bc92f2c1d1abde09
04148b1121e6a63359a623729e3b717389f24539
doc: fix typo in README PR-URL: https://github.com/nodejs/node/pull/20011 Refs: https://github.com/nodejs/node/pull/14485 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com...
[ { "path": "README.md", "patch": "@@ -213,7 +213,7 @@ us a report nonetheless.\n \n - [#5507](https://github.com/nodejs/node/pull/5507): _Fix a defect that makes\n the CacheBleed Attack possible_. Many, though not all, OpenSSL vulnerabilities\n- in the TLS/SSL protocols also effect Node.js.\n+ in the TLS...
2018-04-04T19:23:23
vercel/next.js
761d7646cc3d5326f3cb1095b0a1553dfb2dca32
9c5bb5bfe9935a5953333bcefd456ac94b1b4f8b
Fix next-app-loader bug in windows (#41520) There is this `createAbsolutePath` function that concatenates a virtual route and a dir path. The virtual route uses the posix separator `/` but the dir path uses `\` in Windows. Here's an example of the error: ``` error - ./node_modules/.pnpm/next@12.3.2-canary.29_...
[ { "path": "packages/next/build/webpack/loaders/next-app-loader.ts", "patch": "@@ -2,6 +2,7 @@ import type webpack from 'webpack'\n import type { ValueOf } from '../../../shared/lib/constants'\n import { NODE_RESOLVE_OPTIONS } from '../../webpack-config'\n import { getModuleBuildInfo } from './get-module-bui...
2022-10-18T16:53:08
huggingface/transformers
7f7677307cfc8722ccc4680b993811098379844c
628cd838a3bc60324d454eca9e691d6be99200da
[Qwen2Audio] handle input ids expansion during processing (#35534) * add audio_token attribute to proc * expand input_ids * and legacy and expanded input_ids * test update * split lines * add possibility not to provide eos and bos audio tokens * raise errors * test incorrect number of audio tokens...
[ { "path": "docs/source/en/model_doc/qwen2_audio.md", "patch": "@@ -34,6 +34,37 @@ The abstract from the paper is the following:\n \n `Qwen2-Audio-7B` and `Qwen2-Audio-7B-Instruct` can be found on the [Huggingface Hub](https://huggingface.co/Qwen)\n \n+### Inference\n+\n+```python\n+from io import BytesIO\n+...
2025-01-07T15:47:27
rust-lang/rust
8808d5a2b20e45f9947a3362a20383d8f5d29ef6
ae9173d7dd4a31806c950c90dcc331f1508b4d17
std(docs): clarify how std::fs::set_permisions works with symlinks fixes https://github.com/rust-lang/rust/issues/75942 fixes https://github.com/rust-lang/rust/issues/124201
[ { "path": "library/std/src/fs.rs", "patch": "@@ -2980,6 +2980,19 @@ pub fn read_dir<P: AsRef<Path>>(path: P) -> io::Result<ReadDir> {\n ///\n /// [changes]: io#platform-specific-behavior\n ///\n+/// # Symlinks\n+/// On UNIX systems, it is impossible to manipulate the permission bits of a symlink itself[^1]....
2025-04-08T17:27:33
ollama/ollama
a6b27d776b57a50b31028e591fc78de4e967a104
539741199e2db2485fd0f590f1ec35158a4ec663
ci: fix missing windows zip file (#14807) Use 7z compression (better compression rate) if found in path. That alone isn't sufficient to get us under 2G, so MLX is now split out as a discrete download. Fix CI so it will fail if artifacts fail to upload.
[ { "path": ".github/workflows/release.yaml", "patch": "@@ -583,11 +583,19 @@ jobs:\n for payload in dist/*.txt dist/*.zip dist/*.tgz dist/*.tar.zst dist/*.exe dist/*.dmg dist/*.ps1 dist/*.sh ; do\n echo \"Uploading $payload\"\n gh release upload ${GITHUB_REF_NAME} $payload -...
2026-03-12T23:14:00
golang/go
a7526bbf72dfe0fde00d88f85fd6cddccdb3a345
96a96a9058004af531db56dee26d82af08321cdb
encoding/json: marshal maps using reflect.Value.MapRange Map serialization using reflect.Value.MapIndex cannot retrieve map keys that contain a NaN, resulting in a panic. Switch the implementation to use the reflect.Value.MapRange method instead, which iterates over all map entries regardless of whether they are direc...
[ { "path": "src/encoding/json/encode.go", "patch": "@@ -794,23 +794,24 @@ func (me mapEncoder) encode(e *encodeState, v reflect.Value, opts encOpts) {\n \te.WriteByte('{')\n \n \t// Extract and sort the keys.\n-\tkeys := v.MapKeys()\n-\tsv := make([]reflectWithString, len(keys))\n-\tfor i, v := range keys {\...
2021-01-21T14:53:30
nodejs/node
65765989d3d15e9d38dea8297c9c803df03eeb34
681c1d2f2c76540b114e868f601782c16bf6a493
doc: document `Console(…, ignoreErrors)` option PR-URL: https://github.com/nodejs/node/pull/19372 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "doc/api/console.md", "patch": "@@ -60,9 +60,10 @@ changes:\n - version: v8.0.0\n pr-url: https://github.com/nodejs/node/pull/9744\n description: Errors that occur while writing to the underlying streams\n- will now be ignored.\n+ will now be ignored by de...
2018-03-15T12:55:37
vercel/next.js
a36798968f0537fa77ad8debd78d6ba57498d8e7
df0e61b023a0fd75b57fbd184be67e42048b991e
fix(ts): `Cookies` -> `NextCookies` (#41491)
[ { "path": "packages/next/client/components/headers.ts", "patch": "@@ -17,7 +17,7 @@ function staticGenerationBailout(reason: string) {\n }\n }\n \n-export function headers(): Headers {\n+export function headers() {\n staticGenerationBailout('headers')\n const requestStore =\n requestAsyncStorage &...
2022-10-18T13:13:42
huggingface/transformers
f408d554489db3185a1fda02dd4a3eec32c55d82
96bf3d6cc56548b38b13b881d920b38d406c8df1
Fix bug when requesting input normalization with EnCodec (#34756) * EnCodec: unsqueeze padding mask * add test for normalization
[ { "path": "src/transformers/models/encodec/modeling_encodec.py", "patch": "@@ -576,7 +576,7 @@ def _encode_frame(\n scale = None\n if self.config.normalize:\n # if the padding is non zero\n- input_values = input_values * padding_mask\n+ input_values = input_...
2025-01-07T10:50:02
ollama/ollama
539741199e2db2485fd0f590f1ec35158a4ec663
8f45236d09332949aa91774dc9eb46caf2abbbc1
mlx: perf improvements (#14768) * mlx: perf improvements Fix nn.go to call mlx_fast_layer_norm instead of manually implementing (mean, subtract, variance, rsqrt, multiply, add — 6 ops) Fix llama.go, gemma3.go to remove RepeatKV to tile K/V tensors to match the Q head count, since scaled_dot_product_attention nativel...
[ { "path": "x/imagegen/nn/nn_test.go", "patch": "@@ -303,7 +303,7 @@ func BenchmarkLinearSmall(b *testing.B) {\n \tmlx.Eval(x)\n \n \tb.ResetTimer()\n-\tfor i := 0; i < b.N; i++ {\n+\tfor range b.N {\n \t\tout := linear.Forward(x)\n \t\tmlx.Eval(out)\n \t}\n@@ -320,7 +320,7 @@ func BenchmarkLinearLarge(b *te...
2026-03-12T19:01:28
golang/go
96a96a9058004af531db56dee26d82af08321cdb
d891ebdce1ac2c72e1d923c24f5a65ec14ba7cf8
cmd/compile: remove types2.(*Selection).TArgs(), now that instance bug seems fixed Previously, we would sometimes see an internal (*instance) type for a receiver of a types2 method, which was a bug. To deal with that, we put in an extra (*Selection).TArgs() method. However, that (*instance) type is no longer showing u...
[ { "path": "src/cmd/compile/internal/noder/expr.go", "patch": "@@ -253,7 +253,7 @@ func (g *irgen) selectorExpr(pos src.XPos, typ types2.Type, expr *syntax.Selecto\n \n \t\t\t\t// selinfo.Targs() are the types used to\n \t\t\t\t// instantiate the type of receiver\n-\t\t\t\ttargs2 := selinfo.TArgs()\n+\t\t\t\...
2021-03-04T20:09:04
nodejs/node
039cdebe81e232cae23acdfd8392a8149b718460
93967d00e9feb944b1ec907dabaaf32f243e5806
http2: fix ping duration calculation PR-URL: https://github.com/nodejs/node/pull/19956 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
[ { "path": "src/node_http2.cc", "patch": "@@ -2617,8 +2617,8 @@ void Http2Session::Http2Ping::Send(uint8_t* payload) {\n }\n \n void Http2Session::Http2Ping::Done(bool ack, const uint8_t* payload) {\n- session_->statistics_.ping_rtt = (uv_hrtime() - startTime_);\n- double duration = (session_->statistics_....
2018-04-11T20:59:26
vercel/next.js
feb8c9ac39e7a81364e6bf20007a37c2455fa456
5c1d113f1ec9a99716ac99a28a9a8c86a1eb6789
Implement support for static assets directory (vercel/turbo#73) Fixes https://github.com/vercel/web-tooling-internal/issues/7 Co-authored-by: Tobias Koppers <tobias.koppers@googlemail.com>
[ { "path": "packages/next-swc/crates/next-dev/src/lib.rs", "patch": "@@ -13,7 +13,10 @@ use turbopack_core::{issue::IssueSeverity, resolve::parse::RequestVc};\n use turbopack_dev_server::{\n fs::DevServerFileSystemVc,\n introspect::IntrospectionSource,\n- source::{combined::CombinedContentSource, ...
2022-10-18T08:05:37
huggingface/transformers
96bf3d6cc56548b38b13b881d920b38d406c8df1
ed73ae210b87a86de5467d93bdbd4b5834f4f00c
Add diffllama (#34083) * first adding diffllama * add Diff Attention and other but still with errors * complate make attention Diff-Attention * fix some bugs which may be caused by transformer-cli while adding model * fix a bug caused by forgetting KV cache... * Update src/transformers/models/diffllama/modeling_d...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -386,6 +386,8 @@\n title: DeBERTa-v2\n - local: model_doc/dialogpt\n title: DialoGPT\n+ - local: model_doc/diffllama\n+ title: DiffLlama\n - local: model_doc/distilbert\n title: DistilBERT\n - local: ...
2025-01-07T10:34:56
ollama/ollama
c222735c02a3fda18cdbd05ccae2d5dc1a290b42
87d21c7fc053da5b0b37898af89c932e404692ea
mlx: only log load errors when MLX is needed (#14764) This suppresses irrelevant/noisy errors in the GGML runner.
[ { "path": "x/mlxrunner/mlx/dynamic.go", "patch": "@@ -16,9 +16,14 @@ import (\n )\n \n var initError error\n+var initLoadError string\n \n // CheckInit returns any error that occurred during MLX dynamic library initialization.\n+// When initialization failed, detailed load errors are logged to help diagnose...
2026-03-11T17:31:31
golang/go
56d52e661114be60fb1893b034ac0c5976b622af
b87e9b9f68f1eb0d685fd250b3b47495710e0059
cmd/go: don't report missing std import errors for tidy and vendor 'go mod tidy' and 'go mod vendor' normally report errors when a package can't be imported, even if the import appears in a file that wouldn't be compiled by the current version of Go. These errors are common for packages introduced in higher versions o...
[ { "path": "src/cmd/go/internal/modcmd/tidy.go", "patch": "@@ -67,6 +67,7 @@ func runTidy(ctx context.Context, cmd *base.Command, args []string) {\n \t\tResolveMissingImports: true,\n \t\tLoadTests: true,\n \t\tAllowErrors: tidyE,\n+\t\tSilenceMissingStdImports: true,\n \t}, \"...
2021-03-04T16:50:31
nodejs/node
93967d00e9feb944b1ec907dabaaf32f243e5806
bb6de0d4a844959fddd00e28d190d3d3ccbef8c9
net,http2: merge write error handling & property names Merge error handling for `net.Socket`s and `Http2Stream`s, and align the callback property names as `callback`. Refs: https://github.com/nodejs/node/issues/19060 PR-URL: https://github.com/nodejs/node/pull/19734 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Re...
[ { "path": "lib/internal/http2/core.js", "patch": "@@ -1657,7 +1657,6 @@ class Http2Stream extends Duplex {\n \n const req = createWriteWrap(this[kHandle], afterDoStreamWrite);\n req.stream = this[kID];\n- req.callback = cb;\n \n writeGeneric(this, req, data, encoding, cb);\n \n@@ -1690,7 +168...
2018-04-01T18:56:11
vercel/next.js
bbae9e75d53d274e403167d99e3b9c6c297e603f
14722478081321c48e5914fbd256d9357eceb41f
Implement support for static assets directory (#73) Fixes https://github.com/vercel/web-tooling-internal/issues/7 Co-authored-by: Tobias Koppers <tobias.koppers@googlemail.com>
[ { "path": "crates/next-dev/src/lib.rs", "patch": "@@ -13,7 +13,10 @@ use turbopack_core::{issue::IssueSeverity, resolve::parse::RequestVc};\n use turbopack_dev_server::{\n fs::DevServerFileSystemVc,\n introspect::IntrospectionSource,\n- source::{combined::CombinedContentSource, router::RouterCont...
2022-10-18T08:05:37
huggingface/transformers
9fd123ac31b8597c5004be7986547914d5302069
bd442c6d3aa6298ffc6570574741746439261294
ci: mark model_parallel tests as cuda specific (#35269) `parallelize()` API is deprecated in favor of accelerate's `device_map="auto"` and therefore is not accepting new features. At the same time `parallelize()` implementation is currently CUDA-specific. This commit marks respective ci tests with `@require_torch_g...
[ { "path": "tests/test_modeling_common.py", "patch": "@@ -3061,6 +3061,7 @@ def test_multi_gpu_data_parallel_forward(self):\n with torch.no_grad():\n _ = model(**self._prepare_for_class(inputs_dict, model_class))\n \n+ @require_torch_gpu\n @require_torch_multi_gpu\n def...
2025-01-07T09:16:34
rust-lang/rust
89385c135d647c7d1e712484a5d6509bb15fa661
bd2cb6a0af0c6223824cb50aa6426812990e501f
Insert parentheses as required Since the fixed expression is used as a receiver for `.is_power_of_two()`, it may require parentheses.
[ { "path": "clippy_lints/src/manual_is_power_of_two.rs", "patch": "@@ -69,7 +69,7 @@ fn build_sugg(cx: &LateContext<'_>, expr: &Expr<'_>, receiver: &Expr<'_>) {\n expr.span,\n \"manually reimplementing `is_power_of_two`\",\n \"consider using `.is_power_of_two()`\",\n- format!(\...
2025-03-24T17:57:58
ollama/ollama
87d21c7fc053da5b0b37898af89c932e404692ea
54e05172a03c79c9f59539a6c572d904a2f2cf66
MLX: harden for init failures (#14777) The CLI now links to the lazy-load MLX code, but that still happens in init functions. On internal MLX errors, the CLI exits before it has a chance to start. This change re-wires the MLX error handling so it doesn't exit by default. The MLX based runners currently expect exits...
[ { "path": "x/imagegen/cmd/engine/main.go", "patch": "@@ -79,6 +79,10 @@ func main() {\n \t\tlog.Fatalf(\"MLX initialization failed: %v\", mlx.GetMLXInitError())\n \t}\n \n+\t// Restore strict error handling now that we know MLX is working.\n+\t// During init(), a safe handler prevented exit(-1) on GPU error...
2026-03-11T05:52:23
golang/go
b87e9b9f68f1eb0d685fd250b3b47495710e0059
a99ff24a26939f30440dd0f06dce426ed5e638ee
cmd/go: clarify errors for commands run outside a module The new error message tells the user what was wrong (no go.mod found) and directs them to 'go help modules', which links to tutorials. Fixes #44745 Change-Id: I98f31fec4a8757eb1792b45491519da4c552cb0f Reviewed-on: https://go-review.googlesource.com/c/go/+/2986...
[ { "path": "src/cmd/go/internal/modget/query.go", "patch": "@@ -186,7 +186,7 @@ func (q *query) validate() error {\n \tif q.pattern == \"all\" {\n \t\t// If there is no main module, \"all\" is not meaningful.\n \t\tif !modload.HasModRoot() {\n-\t\t\treturn fmt.Errorf(`cannot match \"all\": working directory ...
2021-03-04T15:35:17
nodejs/node
bb6de0d4a844959fddd00e28d190d3d3ccbef8c9
0e811173b1b5ddb94b6ed43735f2e33ab980e627
errors: pass missing `message` parameter to `internalAssert` Passes the `message` parameter to `internalAssert` when `ERR_INVALID_ARG_TYPE` is thrown with invalid arguments. PR-URL: https://github.com/nodejs/node/pull/19908 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail....
[ { "path": "lib/internal/errors.js", "patch": "@@ -959,8 +959,8 @@ E('ERR_VM_MODULE_STATUS', 'Module status %s', Error);\n E('ERR_ZLIB_INITIALIZATION_FAILED', 'Initialization failed', Error);\n \n function invalidArgType(name, expected, actual) {\n- internalAssert(typeof name === 'string');\n- internalAsse...
2018-04-10T07:40:57
huggingface/transformers
bd442c6d3aa6298ffc6570574741746439261294
12ba96aa3cb3e4ed2a3ffb77b59f53f8ce9ac1fa
Zamba new attention standard (#35375) * updated zamba to new attention standard * make fixup fixes
[ { "path": "src/transformers/models/zamba/modeling_zamba.py", "patch": "@@ -20,7 +20,7 @@\n \"\"\"PyTorch Zamba model.\"\"\"\n \n import math\n-from typing import Any, Dict, List, Optional, Tuple, Union\n+from typing import Any, Callable, Dict, List, Optional, Tuple, Union\n \n import torch\n import torch.ut...
2025-01-07T09:08:45
vercel/next.js
df0e61b023a0fd75b57fbd184be67e42048b991e
fcac2e2b8a1a3ee641f2e5cd2f30ad0bb28d7605
Fix app sc_client componet HMR server-side (#41510) This ensures we properly clear the `sc_client` component cache from `react-server-dom-webpack` in development so that HMR works properly after a refresh. ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors hav...
[ { "path": "packages/next/build/webpack/plugins/nextjs-require-cache-hot-reloader.ts", "patch": "@@ -68,15 +68,33 @@ export class NextJsRequireCacheHotReloader implements WebpackPluginInstance {\n )\n deleteCache(runtimeChunkPath)\n })\n+ let hasAppPath = false\n \n // we nee...
2022-10-18T07:48:27
ollama/ollama
8c4d5d6c2f9aa849742333deb35e510e5e6fd665
bc72b140161d542c6ed0e30d4c812a1038537adc
cloud_proxy: send ollama client version (#14769) This was previously included in the user agent, and we've made use of it in the past to hotpatch bugs server-side for particular Ollama versions.
[ { "path": "server/cloud_proxy.go", "patch": "@@ -20,13 +20,15 @@ import (\n \t\"github.com/ollama/ollama/auth\"\n \t\"github.com/ollama/ollama/envconfig\"\n \tinternalcloud \"github.com/ollama/ollama/internal/cloud\"\n+\t\"github.com/ollama/ollama/version\"\n )\n \n const (\n-\tdefaultCloudProxyBaseURL ...
2026-03-10T22:53:25
golang/go
a99ff24a26939f30440dd0f06dce426ed5e638ee
9d3718e834fcf5b602b84539364606445cfc8a1a
cmd/compile/internal/syntax: print type parameters and type lists types2 uses the syntax printer to print expressions (for tracing or error messages), so we need to (at least) print type lists in interfaces. While at it, also implement the printing of type parameter lists. Fixes #44766. Change-Id: I36a4a7152d9bef72...
[ { "path": "src/cmd/compile/internal/syntax/printer.go", "patch": "@@ -481,10 +481,10 @@ func (p *printer) printRawNode(n Node) {\n \t\tif len(n.FieldList) > 0 {\n \t\t\tif p.linebreaks {\n \t\t\t\tp.print(newline, indent)\n-\t\t\t\tp.printFieldList(n.FieldList, n.TagList)\n+\t\t\t\tp.printFieldList(n.FieldL...
2021-03-04T02:33:45
nodejs/node
3bd6d8d7f544164728ff4cfd2c37cff4877a8cb1
08155554bce6351d399c1a5e88f5007bf3255ac1
doc: fix errors in sample code comments The errors thrown have changed in a few places. Update the comments to reflect the current errors. The `noAssert` option has been removed but it is still shown in sample code in a few places. Remove that sample code. PR-URL: https://github.com/nodejs/node/pull/19963 Reviewed-B...
[ { "path": "doc/api/buffer.md", "patch": "@@ -1525,10 +1525,7 @@ console.log(buf.readDoubleBE(0));\n console.log(buf.readDoubleLE(0));\n // Prints: 5.447603722011605e-270\n console.log(buf.readDoubleLE(1));\n-// Throws an exception: RangeError: Index out of range\n-console.log(buf.readDoubleLE(1, true));\n-/...
2018-04-12T03:58:43
ollama/ollama
62d1f01ab4d63c3042e942379e9ef4b77f5c3fba
10e51c51771ea8536715876ee6707928712be41e
ci: Fix windows build (#14754) Instead of relying on sh for wildcard, do it in Go for better windows compatibility.
[ { "path": "x/mlxrunner/mlx/generator/main.go", "patch": "@@ -97,8 +97,18 @@ func main() {\n \tqc := tree_sitter.NewQueryCursor()\n \tdefer qc.Close()\n \n-\tvar funs []Function\n+\tvar files []string\n \tfor _, arg := range flag.Args() {\n+\t\tmatches, err := filepath.Glob(arg)\n+\t\tif err != nil {\n+\t\t\...
2026-03-10T02:27:59
huggingface/transformers
12ba96aa3cb3e4ed2a3ffb77b59f53f8ce9ac1fa
ca009500576f6c77e3b3fa383eebc70f20f8d867
[Dinov2 with Registers] Some fixes (#35411) * First draft * Thanks claude * Remove print statement * Use torch_int * Address comments * Address comment
[ { "path": "src/transformers/models/dinov2_with_registers/configuration_dinov2_with_registers.py", "patch": "@@ -19,6 +19,7 @@\n # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n # See the License for the specific language governing permissions and\n # limitations under the License...
2025-01-06T20:10:59
golang/go
77505c25d83a2130011736d6a2a915eaa3ae230a
9d88a9e2bf89068238ed02a0c960e58f547bb102
syscall: treat proc thread attribute lists as unsafe.Pointers It turns out that the proc thread update function doesn't actually allocate new memory for its arguments and instead just copies the pointer values into the preallocated memory. Since we were allocating that memory as []byte, the garbage collector didn't sc...
[ { "path": "src/syscall/exec_windows.go", "patch": "@@ -340,7 +340,7 @@ func StartProcess(argv0 string, argv []string, attr *ProcAttr) (pid int, handle\n \t\tsi.ShowWindow = SW_HIDE\n \t}\n \tif sys.ParentProcess != 0 {\n-\t\terr = updateProcThreadAttribute(si.ProcThreadAttributeList, 0, _PROC_THREAD_ATTRIBU...
2021-02-28T11:18:18
nodejs/node
08155554bce6351d399c1a5e88f5007bf3255ac1
e3f133a5f1e3258ce04259d766984c115b54ddd2
doc: fix punctuation and wrapping in buffer.md Remove unnecessary colons and wrap lines at 80 characters. PR-URL: https://github.com/nodejs/node/pull/19964 Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Rev...
[ { "path": "doc/api/buffer.md", "patch": "@@ -1509,7 +1509,8 @@ changes:\n uint32 anymore.\n -->\n \n-* `offset` {integer} Number of bytes to skip before starting to read. Must satisfy: `0 <= offset <= buf.length - 8`.\n+* `offset` {integer} Number of bytes to skip before starting to read. M...
2018-04-12T04:09:49
ollama/ollama
afb4c62fbf6839319dbe93c1bbb9eb7fc9a67c3e
e790dc435b148933da3b98b423397bf022e38104
cloud_proxy: handle stream disconnects gracefully (#14685) Previously we were printing out bad errors for expected cases like clients disconnecting. Now we only debug log when that happens (which still might help in cases where we're figuring out why an integration isn't working). For other errors, we print out a prop...
[ { "path": "server/cloud_proxy.go", "patch": "@@ -4,6 +4,7 @@ import (\n \t\"bytes\"\n \t\"context\"\n \t\"encoding/json\"\n+\t\"errors\"\n \t\"fmt\"\n \t\"io\"\n \t\"log/slog\"\n@@ -204,7 +205,25 @@ func proxyCloudRequestWithPath(c *gin.Context, body []byte, path string, disable\n \tc.Status(resp.StatusCode...
2026-03-07T03:18:52
huggingface/transformers
ca009500576f6c77e3b3fa383eebc70f20f8d867
1650e0e514e45349de4d372a683c377ffb9689ea
added logic for deleting adapters once loaded (#34650) * added logic for deleting adapters once loaded * updated to the latest version of transformers, merged utility function into the source * updated with missing check * added peft version check * Apply suggestions from code review Co-authored-by: Ant...
[ { "path": "src/transformers/integrations/peft.py", "patch": "@@ -11,6 +11,7 @@\n # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n # See the License for the specific language governing permissions and\n # limitations under the License.\n+\n import importlib\n import inspect\n impo...
2025-01-06T18:36:40
golang/go
cfb609bfb70027e60d71a5ac7e9202144246b98a
9c54f878d26e106f8e375c31aabceb1e36ff4050
cmd/go: ensure that the test subprocess always times out in TestScript/test_write_profiles_on_timeout This test verifies the behavior of a test that fails due to timing out. However, the test to be timed out was only sleeping for 1s before returning successfully. That is empirically not always long enough for the test...
[ { "path": "src/cmd/go/testdata/script/test_write_profiles_on_timeout.txt", "patch": "@@ -3,6 +3,7 @@\n [short] skip\n \n ! go test -cpuprofile cpu.pprof -memprofile mem.pprof -timeout 1ms\n+stdout '^panic: test timed out'\n grep . cpu.pprof\n grep . mem.pprof\n \n@@ -12,6 +13,14 @@ module profiling\n go 1.1...
2021-02-05T03:46:23
nodejs/node
e3f133a5f1e3258ce04259d766984c115b54ddd2
2bee7996a57a44aec1f7ee3a07cd49a5b235ad78
doc: added ready events to fs/streams,net/socket PR-URL: https://github.com/nodejs/node/pull/19968 Fixes: https://github.com/nodejs/node/issues/19796 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewe...
[ { "path": "doc/api/fs.md", "patch": "@@ -363,6 +363,15 @@ added: v0.1.93\n \n Emitted when the `fs.ReadStream`'s file descriptor has been opened.\n \n+### Event: 'ready'\n+<!-- YAML\n+added: v9.11.0\n+-->\n+\n+Emitted when the `fs.ReadStream` is ready to be used.\n+\n+Fires immediately after `'open'`.\n+\n ...
2018-04-12T08:11:51
vercel/next.js
1e47930d5f8f7d6da8c9353933b7a948c031fd7e
45c36e66d81be5887906e46a5e682cdab22c1652
[docs] fix grammatical error #41507 (#41508) Closes: https://github.com/vercel/next.js/issues/41507
[ { "path": "docs/api-reference/data-fetching/get-static-props.md", "patch": "@@ -147,7 +147,7 @@ Files can be read directly from the filesystem in `getStaticProps`.\n \n In order to do so you have to get the full path to a file.\n \n-Since Next.js compiles your code into a separate directory you can't use `_...
2022-10-18T06:47:34
ollama/ollama
288077c3a3b69d717e7bf1af576d28885657826a
4425c54eda899cfb3f17932165c6a43bab922fee
build: smarter docker parallelism (#14653) Our Dockerfile leverages parallel stages for more efficient builds. However, our old parallel settings were naive and lead to under/over utilization depending on the capabilities of your build system. This change switches to using Ninja for all our docker cmake builds to le...
[ { "path": "Dockerfile", "patch": "@@ -1,28 +1,18 @@\n # vim: filetype=dockerfile\n \n ARG FLAVOR=${TARGETARCH}\n-ARG PARALLEL=8\n \n ARG ROCMVERSION=6.3.3\n ARG JETPACK5VERSION=r35.4.1\n ARG JETPACK6VERSION=r36.4.0\n ARG CMAKEVERSION=3.31.2\n+ARG NINJAVERSION=1.12.1\n ARG VULKANVERSION=1.4.321.1\n \n FROM -...
2026-03-07T00:36:22
huggingface/transformers
1650e0e514e45349de4d372a683c377ffb9689ea
3b1be043cd2e754dec019547e36a0b97ccbfdcd7
Fixed typo in Llama configuration docstring (#35520) Update configuration_llama.py There is no `num_heads` parameter, only `num_attention_heads`
[ { "path": "src/transformers/models/llama/configuration_llama.py", "patch": "@@ -124,7 +124,7 @@ class LlamaConfig(PretrainedConfig):\n mlp_bias (`bool`, *optional*, defaults to `False`):\n Whether to use a bias in up_proj, down_proj and gate_proj layers in the MLP layers.\n head_...
2025-01-06T17:54:08
golang/go
9c54f878d26e106f8e375c31aabceb1e36ff4050
9a40dee3ee9c69e8bb4952f9e14b1817195d1f3d
runtime: remove GODEBUG=scavenge mode Change-Id: Ic4c7b5086303c7faa49f4cbf6738e66d5de35c7e Reviewed-on: https://go-review.googlesource.com/c/go/+/282012 Trust: Michael Pratt <mpratt@google.com> Run-TryBot: Michael Pratt <mpratt@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Austin Clements <austin@g...
[ { "path": "src/runtime/extern.go", "patch": "@@ -110,8 +110,6 @@ It is a comma-separated list of name=val pairs setting these named variables:\n \twith a trivial allocator that obtains memory from the operating system and\n \tnever reclaims any memory.\n \n-\tscavenge: scavenge=1 enables debugging mode of h...
2021-01-06T16:36:34
vercel/next.js
203909d1eb55eb6df46707a5154e29a4b13ad1f3
b8f2a135c3976490c2919832f48946e2933985a1
Fix `read_dir` to watch any dir changes (#74) Seems there's a bug from 64d6bdab, where we don't register an invalidator when calling `read_dir`. Importantly, we need to insert it into the `dir_invalidator_map`, so that any file changes inside the dir cause an invalidation.
[ { "path": "crates/turbo-tasks-fs/src/lib.rs", "patch": "@@ -83,9 +83,14 @@ pub struct DiskFileSystem {\n impl DiskFileSystem {\n /// registers the path as an invalidator for the current task,\n /// has to be called within a turbo-tasks function\n- fn register_invalidator(&self, path: impl AsRef<P...
2022-10-18T06:38:21
nodejs/node
2bee7996a57a44aec1f7ee3a07cd49a5b235ad78
5a8fcd0d94f654af89d722760c00c03f2bbb972f
assert: provide info about actual error In case a error is caught in `assert.doesNotThrow` or `assert.doesNotReject` it will now also indicate what the real error message was. PR-URL: https://github.com/nodejs/node/pull/19884 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@g...
[ { "path": "lib/assert.js", "patch": "@@ -510,7 +510,8 @@ function expectsNoError(stackStartFn, actual, error, message) {\n actual,\n expected: error,\n operator: stackStartFn.name,\n- message: `Got unwanted ${fnType}${details}\\n${actual && actual.message}`,\n+ message: `Got unwa...
2018-04-09T01:57:40
ollama/ollama
4425c54eda899cfb3f17932165c6a43bab922fee
778899a5d215776bb1d8805ae19a77f47e6069aa
create: fix localhost handling (#14681)
[ { "path": "cmd/cmd.go", "patch": "@@ -132,6 +132,17 @@ func getModelfileName(cmd *cobra.Command) (string, error) {\n \treturn absName, nil\n }\n \n+// isLocalhost returns true if the configured Ollama host is a loopback or unspecified address.\n+func isLocalhost() bool {\n+\thost := envconfig.Host()\n+\th, ...
2026-03-07T00:35:58
huggingface/transformers
3b1be043cd2e754dec019547e36a0b97ccbfdcd7
3951da1a6bfb694fc387081768f163c470b0392b
🌐 [i18n-KO] Remove duplicates in toctree (#35496) fix(docs): remove duplicates in toctree
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -145,38 +145,14 @@\n title: (번역중) Getting started\n - local: quantization/bitsandbytes\n title: bitsandbytes\n- - local: in_translation\n- title: (번역중) GPTQ\n+ - local: quantization/gptq\n+ title: GPTQ\n - local: quantization/awq\n ...
2025-01-06T17:14:22
golang/go
9a40dee3ee9c69e8bb4952f9e14b1817195d1f3d
a416efef5a278c9c8c5e133bbec5c2c1d0df9491
cmd/go: reject 'go list -m MOD@patch' when no existing version of MOD is required Noticed while debugging failing tests for #36460. Fixes #44788 Change-Id: Ic2cf511d871b29284f7372920f6f7d452825dd63 Reviewed-on: https://go-review.googlesource.com/c/go/+/298651 Trust: Bryan C. Mills <bcmills@google.com> Run-TryBot: Br...
[ { "path": "src/cmd/go/internal/modload/list.go", "patch": "@@ -78,7 +78,7 @@ func listModules(ctx context.Context, args []string, listVersions, listRetracted\n \t\tif i := strings.Index(arg, \"@\"); i >= 0 {\n \t\t\tpath := arg[:i]\n \t\t\tvers := arg[i+1:]\n-\t\t\tvar current string\n+\t\t\tcurrent := \"no...
2021-03-04T15:39:32
vercel/next.js
c5896f2850958c5f78d7b530e53b33893b202686
6101bf69add712822abd316f557028d9694cbc38
Add vary header to fix incorrectly caching RSC as HTML response (#41479) Add failing test for the back button download bug. Created it as a new app given that adding it to the existing `app` suite did not reproduce the issue for some reason. The underlying reason is that we need to add `Vary: __rsc__, __next_rou...
[ { "path": "packages/next/server/base-server.ts", "patch": "@@ -1054,8 +1054,13 @@ export default abstract class Server<ServerOptions extends Options = Options> {\n ) &&\n (isSSG || hasServerProps)\n \n- if (isAppPath && req.headers['__rsc__']) {\n- if (isSSG) {\n+ if (isAppPath) {\n+ ...
2022-10-18T05:34:29
nodejs/node
5a8fcd0d94f654af89d722760c00c03f2bbb972f
0aab8ff602d85feb8e92e80e7cddcbbd49597219
test: fixed flaky test-http-readable-data-event Fixes: https://github.com/nodejs/node/issues/19905 PR-URL: https://github.com/nodejs/node/pull/19931 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
[ { "path": "test/parallel/test-http-readable-data-event.js", "patch": "@@ -6,16 +6,21 @@ const http = require('http');\n const helloWorld = 'Hello World!';\n const helloAgainLater = 'Hello again later!';\n \n+let next = null;\n+\n const server = http.createServer((req, res) => {\n res.writeHead(200, {\n ...
2018-04-11T06:06:50
huggingface/transformers
3951da1a6bfb694fc387081768f163c470b0392b
86fa3cedadebd48f87a86c001521cb112d03b370
[GGUF] Refactor and decouple gguf checkpoint loading logic (#34385) * draft load_gguf refactor * update Signed-off-by: Isotr0py <2037008807@qq.com> * remove llama mapping Signed-off-by: Isotr0py <2037008807@qq.com> * remove qwen2 mapping Signed-off-by: Isotr0py <2037008807@qq.com> * remove unused function Sign...
[ { "path": "src/transformers/integrations/__init__.py", "patch": "@@ -57,7 +57,6 @@\n \"fsdp\": [\"is_fsdp_managed_module\"],\n \"ggml\": [\n \"GGUF_CONFIG_MAPPING\",\n- \"GGUF_TENSOR_MAPPING\",\n \"GGUF_TOKENIZER_MAPPING\",\n \"_gguf_parse_value\",\n \"load_deq...
2025-01-06T17:02:38
ollama/ollama
4eab60c1e2e25aed9df102de40e9c6f0b1200bdb
1af850e6e3668ece1c953bb27e38e8827393adff
Reapply "don't require pulling stubs for cloud models" again (#14608) * Revert "Revert "Reapply "don't require pulling stubs for cloud models"" (#14606)" This reverts commit 39982a954e056b73fb071212715913a1f0cd4dcc. * fix test + do cloud lookup only when seeing cloud models --------- Co-authored-by: ParthSareen <p...
[ { "path": "cmd/cmd.go", "patch": "@@ -41,6 +41,7 @@ import (\n \t\"github.com/ollama/ollama/cmd/tui\"\n \t\"github.com/ollama/ollama/envconfig\"\n \t\"github.com/ollama/ollama/format\"\n+\t\"github.com/ollama/ollama/internal/modelref\"\n \t\"github.com/ollama/ollama/parser\"\n \t\"github.com/ollama/ollama/p...
2026-03-06T22:27:47
rust-lang/rust
ee3612401121ccbdbf9c8d8fa6874c6e5128b049
f74d7ce81371b2573d7a356408251fa4cac3f8d2
fix: `iter_cloned_collect` FP with custom `From`/`IntoIterator` impl
[ { "path": "clippy_lints/src/methods/iter_cloned_collect.rs", "patch": "@@ -1,16 +1,22 @@\n use crate::methods::utils::derefs_to_slice;\n use clippy_utils::diagnostics::span_lint_and_sugg;\n-use clippy_utils::ty::is_type_diagnostic_item;\n+use clippy_utils::ty::{get_iterator_item_ty, is_type_diagnostic_item}...
2025-03-25T15:00:16
golang/go
3778f8e07d06cabfccd1508295ad67270af078cd
a2d92b5143ad6ed1b55b71032c5c1f468ba76fd4
cmd/compile: fix pointer maps for morestack Verified with test and with single step watching changes to register values across morestack calls, after reload. Also added stack-growth test with pointer parameters of varying lifetime. For #40724. Change-Id: Idb5fe27786ac5c6665a734d41e68d3d39de2f4da Reviewed-on: https:...
[ { "path": "src/cmd/compile/internal/liveness/plive.go", "patch": "@@ -297,6 +297,22 @@ func affectedVar(v *ssa.Value) (*ir.Name, ssa.SymEffect) {\n \t\tn, _ := ssa.AutoVar(v)\n \t\treturn n, ssa.SymWrite\n \n+\tcase ssa.OpArgIntReg:\n+\t\t// This forces the spill slot for the register to be live at function...
2021-02-19T23:00:48
vercel/next.js
366da263dfdcb546091de787ee7c238dbbfbce7d
c5c2c9d38b049285f0f9435326f07a3897c03b07
Append the fragment in NextUrl.toString() (#41501) <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change that you're making: --> Consider the...
[ { "path": "packages/next/server/web/next-url.ts", "patch": "@@ -181,7 +181,7 @@ export class NextURL {\n get href() {\n const pathname = this.formatPathname()\n const search = this.formatSearch()\n- return `${this.protocol}//${this.host}${pathname}${search}`\n+ return `${this.protocol}//${th...
2022-10-18T04:56:28
nodejs/node
a9845512d79705fd75068d421c79e4aa0f30e273
9c8857d9461210185e7272a15a1a2f5b75b31faa
doc: fix parameter type format PR-URL: https://github.com/nodejs/node/pull/19957 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
[ { "path": "doc/api/child_process.md", "patch": "@@ -1093,7 +1093,7 @@ changes:\n * `options` {Object} The `options` argument, if present, is an object used to\n parameterize the sending of certain types of handles. `options` supports\n the following properties:\n- * `keepOpen` - A Boolean value that ca...
2018-04-11T21:25:12
ollama/ollama
1af850e6e3668ece1c953bb27e38e8827393adff
9b0c7cc7b90562b370ce6a30efdc667326799223
parsers: repair unclosed arg_value tags in GLM tool calls (#14656) GLM models sometimes omits </arg_value> closing tags in tool call XML, causing xml.Unmarshal to fail with "element <arg_value> closed by </tool_call>". This is a known issue across the GLM family. Sanitize the input to fix closing arg_key values so e...
[ { "path": "model/parsers/glm46.go", "patch": "@@ -345,6 +345,47 @@ func escapeGLM46Content(s string) string {\n \treturn result.String()\n }\n \n+// repairUnclosedArgValues inserts missing </arg_value> closing tags.\n+// GLM models sometimes omit the closing tag, producing XML like:\n+//\n+//\t<arg_value>va...
2026-03-06T22:08:34
golang/go
354c77a108863a1ccae810c94453870f0678a828
621a81aba0fd5fc7ceb297ede3627819fc59728c
[dev.fuzz] internal/fuzz: crash if there is no error output Previously, the coordintor used the error string encoded by the worker to determine whether or not a crash occurred. However, failures caused by things like t.Fail() which have no output will have an empty error string, so we can't rely on the error string al...
[ { "path": "src/cmd/go/testdata/script/test_fuzz_mutate_crash.txt", "patch": "@@ -35,6 +35,22 @@ stdout 'testdata[/\\\\]corpus[/\\\\]FuzzWithNilPanic[/\\\\]'\n stdout 'runtime.Goexit'\n go run check_testdata.go FuzzWithNilPanic\n \n+! go test -run=FuzzWithFail -fuzz=FuzzWithFail -fuzztime=5s -parallel=1\n+st...
2021-03-03T21:00:49
vercel/next.js
c5c2c9d38b049285f0f9435326f07a3897c03b07
0c2c48e536e3e26203b14a92f40323c8d4bc305e
Fix global css being marked as side effect free (#41481) It’s possible that global CSS imports, that come from node_modules, are marked as side effect free because of possible `sideEffects: false` in the external package's package.json. In that case, we still need to handle global CSS imports as side effects on the...
[ { "path": "packages/next/build/webpack/config/blocks/css/index.ts", "patch": "@@ -427,6 +427,8 @@ export const css = curry(async function css(\n loader({\n oneOf: [\n markRemovable({\n+ // CSS imports have side effects, even on the server side.\n+ side...
2022-10-18T04:34:47
rust-lang/rust
245cf8e7349df58b5e09dc7c7fa1c523d7634fab
c6c179662d5a6fc0520e05b5c0682dcfc7333f77
Fix deprecation note for std::intrinsics Also checked the rest of the mentions of std::mem in the changed file and they look good to me.
[ { "path": "library/core/src/intrinsics/mod.rs", "patch": "@@ -3724,7 +3724,7 @@ pub const fn ptr_metadata<P: ptr::Pointee<Metadata = M> + ?Sized, M>(ptr: *const\n /// [`Vec::append`]: ../../std/vec/struct.Vec.html#method.append\n #[doc(alias = \"memcpy\")]\n #[stable(feature = \"rust1\", since = \"1.0.0\")]...
2025-04-08T11:35:56
ollama/ollama
9896e3627f7bdc135fd888cdd48e61d0108a1244
15732f0ea77320bb20851a84a296a645fabd56b5
cmd/config: fix cloud model limit lookups in integrations (#14650)
[ { "path": "cmd/config/droid_test.go", "patch": "@@ -1277,7 +1277,8 @@ func TestDroidEdit_LocalModelDefaultMaxOutput(t *testing.T) {\n func TestDroidEdit_CloudModelLimitsUsed(t *testing.T) {\n \t// Verify that every cloud model in cloudModelLimits has a valid output\n \t// value that would be used for maxOut...
2026-03-05T21:57:28
nodejs/node
9c8857d9461210185e7272a15a1a2f5b75b31faa
7ead832b5a134246e081ca0fe510d061abdd7829
doc: add quotes for event names + fix similar nits PR-URL: https://github.com/nodejs/node/pull/19915 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
[ { "path": "doc/api/assert.md", "patch": "@@ -561,8 +561,8 @@ added: v0.1.21\n changes:\n - version: REPLACEME\n pr-url: https://github.com/nodejs/node/pull/18418\n- description: Calling `assert.fail` with more than one argument is deprecated\n- and emits a warning.\n+ description...
2018-04-09T16:30:22
golang/go
868a110c568591d9085996ba05c94593809a437a
1d0256a9890b9179746551910a20cee97e653101
cmd/compile: make check2 gracefully exit if it reported errors Otherwise, if -d=panic was set, check2 will treat already reported error as internal compiler error. For #43311 Fixes #44445 Change-Id: I5dbe06334666df21d9107396b9dcfdd905aa1e44 Reviewed-on: https://go-review.googlesource.com/c/go/+/294850 Trust: Cuong M...
[ { "path": "src/cmd/compile/internal/noder/irgen.go", "patch": "@@ -68,10 +68,10 @@ func check2(noders []*noder) {\n \t}\n \tpkg, err := conf.Check(base.Ctxt.Pkgpath, files, &info)\n \tfiles = nil\n+\tbase.ExitIfErrors()\n \tif err != nil {\n \t\tbase.FatalfAt(src.NoXPos, \"conf.Check error: %v\", err)\n \t}...
2021-02-21T15:27:19
vercel/next.js
0c2c48e536e3e26203b14a92f40323c8d4bc305e
3a19b8ae05f638fb8108158105acb53d2f1d8e2d
Avoid using the CSS href as the link tag key (#41493) There is no need to use the href as key in our case because it's pure during SSR and it won't re-order on the client. By using `index` we can avoid some duplicate bytes here: ![CleanShot 2022-10-18 at 00 21 20@2x](https://user-images.githubusercontent.com/367...
[ { "path": "packages/next/server/app-render.tsx", "patch": "@@ -1115,7 +1115,7 @@ export async function renderToHTMLOrFlight(\n )\n })}\n {stylesheets\n- ? stylesheets.map((href) => (\n+ ? stylesheets.map((href, index) => (\n ...
2022-10-18T04:30:23
ollama/ollama
15732f0ea77320bb20851a84a296a645fabd56b5
562c76d7cc15520e20f985105305227de0b6bb47
cmd: use native Ollama API endpoint for OpenClaw (#14649) Remove the /v1 suffix from the OpenClaw provider baseUrl so it uses the native Ollama API instead of the OpenAI-compatible endpoint. The /v1 endpoint my break tool calling in OpenClaw.
[ { "path": "cmd/config/openclaw.go", "patch": "@@ -502,7 +502,7 @@ func (c *Openclaw) Edit(models []string) error {\n \t\tollama = make(map[string]any)\n \t}\n \n-\tollama[\"baseUrl\"] = envconfig.Host().String() + \"/v1\"\n+\tollama[\"baseUrl\"] = envconfig.Host().String()\n \t// needed to register provider...
2026-03-05T21:29:17
nodejs/node
f3f129898056244a52aed33b89d0edffc128637a
df5d41bf93a304af4159398d0d9f44f0cba4ac94
build, win: opt-in openssl_no_asm if no nasm found Instead of automatically falling back to openssl_no_asm with warning if no nasm is found during build on Windows, this stops vcbuild.bat and requires users to specify openssl_no_asm option explicitly. Fixes: https://github.com/nodejs/node/issues/19918 PR-URL: https:/...
[ { "path": "BUILDING.md", "patch": "@@ -258,9 +258,9 @@ Prerequisites:\n * Basic Unix tools required for some tests,\n [Git for Windows](http://git-scm.com/download/win) includes Git Bash\n and tools which can be included in the global `PATH`.\n-* **Optional** (for OpenSSL assembler modules): the [NetWid...
2018-04-11T12:11:36
huggingface/transformers
203e978826618ce6b7b7c9233e455cf6942475fe
c451a72cd788384d724702083a9f6a8481354020
Add `position_ids` in `XLMRobertaXLForCausalLM.prepare_inputs_for_generation` (#35044) * fix * fix * cleanup * style --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "src/transformers/models/xlm_roberta_xl/modeling_xlm_roberta_xl.py", "patch": "@@ -1119,6 +1119,13 @@ def prepare_inputs_for_generation(self, input_ids, past_key_values=None, attenti\n if attention_mask is None:\n attention_mask = input_ids.new_ones(input_shape)\n \n+ # ...
2025-01-06T15:10:21
vercel/next.js
3a19b8ae05f638fb8108158105acb53d2f1d8e2d
f260328900da71141b2fc94b4e098cffee5ff204
chore(examples): fix typo (#41496) ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementat...
[ { "path": "examples/with-env-from-next-config-js/next.config.js", "patch": "@@ -5,7 +5,7 @@ const {\n \n // This uses phases as outlined here: https://nextjs.org/docs/#custom-configuration\n module.exports = (phase) => {\n- // when started in development mode `next dev` or `npm run dev` regardless of the v...
2022-10-18T04:10:33
nodejs/node
82e475dc75751df08d80bd6e25926bd25c1794f2
01c9575ad5fbe7e5acce3539d9c6d6df66bfe4b5
test: fix promise message test after V8 update PR-URL: https://github.com/nodejs/node/pull/19201 Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com> Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
[ { "path": "test/message/unhandled_promise_trace_warnings.out", "patch": "@@ -34,6 +34,7 @@\n at *\n (node:*) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 1)\n at handledRejection (internal/process/promises.js:*)\n+ at Promise.then *\n at Promise....
2018-03-07T16:09:49
golang/go
1d0256a9890b9179746551910a20cee97e653101
4b8b2c58647af6f1979d8c53d886c8cd71c99e4b
cmd/compile: do not add invalid key to constSet After CL 272654, the compiler now use go/constant.Value to represent constant nodes. That makes ir.ConstantValue requires node type to correctly return value for untyped int node. But untyped int node can have nil type after typechecked, e.g: using int value as key for m...
[ { "path": "src/cmd/compile/internal/typecheck/const.go", "patch": "@@ -794,7 +794,7 @@ func (s *constSet) add(pos src.XPos, n ir.Node, what, where string) {\n \t\t}\n \t}\n \n-\tif !ir.IsConstNode(n) {\n+\tif !ir.IsConstNode(n) || n.Type() == nil {\n \t\treturn\n \t}\n \tif n.Type().IsUntyped() {", "add...
2021-02-19T19:40:35
ollama/ollama
82848a7806c0c54faef21a11b8fe4b488e24dfab
39982a954e056b73fb071212715913a1f0cd4dcc
model: fix renderer and parser for qwen3.5 (#14605)
[ { "path": "model/parsers/parsers.go", "patch": "@@ -50,7 +50,7 @@ func ParserForName(name string) Parser {\n \tcase \"qwen3-thinking\":\n \t\tp = &Qwen3Parser{hasThinkingSupport: true, defaultThinking: true}\n \tcase \"qwen3.5\":\n-\t\tp = &Qwen3Parser{hasThinkingSupport: true, defaultThinking: true}\n+\t\t...
2026-03-04T04:58:29
huggingface/transformers
9895f7df81aaf21b4fcc3a70054d3ac3d5894879
32aa2db04a8592901d5fdee69149867f87ba43f1
Idefics: fix docstring (#35079) nit: fix docstring
[ { "path": "src/transformers/models/idefics/modeling_idefics.py", "patch": "@@ -747,7 +747,7 @@ def forward(\n \n \n class IdeficsGatedCrossAttentionLayer(nn.Module):\n- def __init__(self, config: IdeficsConfig):\n+ def __init__(self, config: IdeficsConfig, layer_idx: int = None):\n super().__i...
2025-01-06T09:58:04
vercel/next.js
f5cb7bd829a47e0384adc8f677a83af728f60622
6249307b75ebd21bbf86895cde177d8c6f82fe94
fix(41456): check src/app folder too in getHasAppDir (#41458) fixes https://github.com/vercel/next.js/issues/41456 When we check if app folder exists, check for src/app path too ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have a helpful link attached, ...
[ { "path": "packages/next/lib/find-pages-dir.ts", "patch": "@@ -10,7 +10,7 @@ export const existsSync = (f: string): boolean => {\n }\n }\n \n-function findDir(dir: string, name: 'pages' | 'app'): string | null {\n+export function findDir(dir: string, name: 'pages' | 'app'): string | null {\n // prioriti...
2022-10-17T22:32:44
ollama/ollama
e8fcb295864f08edb041dbb8adc63e9c595bcfc9
97d2f05a6d74e843eb8c49ec537394b12bb80be9
model/renderers: fix glm-ocr image tags in renderer prompts (#14584)
[ { "path": "model/renderers/glmocr.go", "patch": "@@ -8,7 +8,21 @@ import (\n \t\"github.com/ollama/ollama/api\"\n )\n \n-type GlmOcrRenderer struct{}\n+type GlmOcrRenderer struct {\n+\tuseImgTags bool\n+}\n+\n+func (r *GlmOcrRenderer) renderContent(message api.Message, imageOffset int) (string, int) {\n+\tv...
2026-03-03T20:51:34
nodejs/node
3e6ff8589442fddcd15828c272bf68c26c30d951
17d4368cb170041505866a97de88b13c37873428
tools: fix make test-v8 PR-URL: https://github.com/nodejs/node/pull/19201 Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com> Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
[ { "path": "Makefile", "patch": "@@ -20,17 +20,12 @@ ifdef JOBS\n PARALLEL_ARGS = -j $(JOBS)\n endif\n \n-ifdef QUICKCHECK\n- QUICKCHECK_ARG := --quickcheck\n-endif\n-\n ifdef ENABLE_V8_TAP\n TAP_V8 := --junitout $(PWD)/v8-tap.xml\n TAP_V8_INTL := --junitout $(PWD)/v8-intl-tap.xml\n TAP_V8_BENCHMARK...
2018-03-14T12:04:48
huggingface/transformers
32aa2db04a8592901d5fdee69149867f87ba43f1
b2f2977533445c4f62bf58e10b1360e6856e78ce
Fix Llava conversion for models that use safetensors to store weights (#35406) * fix llava-med-v1.5-mistral-7b conversion Signed-off-by: Isotr0py <2037008807@qq.com> * add weights_only=True Signed-off-by: Isotr0py <2037008807@qq.com> --------- Signed-off-by: Isotr0py <2037008807@qq.com>
[ { "path": "src/transformers/models/llava/convert_llava_weights_to_hf.py", "patch": "@@ -15,7 +15,7 @@\n import glob\n \n import torch\n-from huggingface_hub import hf_hub_download, snapshot_download\n+from huggingface_hub import file_exists, hf_hub_download, snapshot_download\n from safetensors import safe_...
2025-01-06T08:59:38
golang/go
4b8b2c58647af6f1979d8c53d886c8cd71c99e4b
8c22874e4e804e29ca040599ec63bb9e35233acd
cmd/compile: do not set type for OTYPE That's an invalid operation and depend on gc.hidePanic to report error. Updates #43311 Change-Id: Ib0761dcf4d9d2a23c41de7eff0376677a90b942e Reviewed-on: https://go-review.googlesource.com/c/go/+/294033 Trust: Cuong Manh Le <cuong.manhle.vn@gmail.com> Run-TryBot: Cuong Manh Le <...
[ { "path": "src/cmd/compile/internal/typecheck/typecheck.go", "patch": "@@ -433,8 +433,8 @@ func typecheck(n ir.Node, top int) (res ir.Node) {\n \tcase top&ctxType == 0 && n.Op() == ir.OTYPE && t != nil:\n \t\tif !n.Type().Broke() {\n \t\t\tbase.Errorf(\"type %v is not an expression\", n.Type())\n+\t\t\tn.Se...
2021-02-19T06:50:42
vercel/next.js
6249307b75ebd21bbf86895cde177d8c6f82fe94
ec94e68cc74bf1b0fd53c86ae2651484c0165854
fix(stream): Allows body larger than 16 KiB with middleware (#41270) Fixes #39262 The solution is to call `stream.push(null)` to trigger the `end` event which allows `getRawBody` to run completely. <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly...
[ { "path": "packages/next/server/body-streams.ts", "patch": "@@ -76,8 +76,14 @@ export function getClonableBody<T extends IncomingMessage>(\n const input = buffered ?? readable\n const p1 = new PassThrough()\n const p2 = new PassThrough()\n- input.pipe(p1)\n- input.pipe(p2)\n+ ...
2022-10-17T22:26:16
huggingface/transformers
e5fd865ebae062b7cf03a81b8c6affeb39f30bec
1fe2d53d4ebdab22a7e30ed6de5816049898953d
Add Gemma2 GGUF support (#34002) * initial setup for ggml.py * initial setup of GGUFGemma2Converter class * Add gemma2 model to gguf.md doc * Partial work on GGUF_TENSOR_MAPPING * initial setup of GGUF_TENSOR_MAPPING for Gemma2 * refactor: rename GemmaConvert class to GemmaConverter for naming consisten...
[ { "path": "docs/source/en/gguf.md", "patch": "@@ -88,6 +88,7 @@ For now the supported model architectures are the architectures that have been v\n - T5\n - Mamba\n - Nemotron\n+- Gemma2\n \n ## Example usage\n ", "additions": 1, "deletions": 0, "language": "Markdown" }, { "path": "src/tr...
2025-01-03T13:50:07
golang/go
8c22874e4e804e29ca040599ec63bb9e35233acd
12a405b96aadc0174d3b63e61f593bcc28465af0
cmd/compile: skip diag error in checkassign if one was emitted While at it, also remove checkassignlist, which is not used. For #43311 Change-Id: Ie7ed81f68080d8881fca6035da64a9755f2cb555 Reviewed-on: https://go-review.googlesource.com/c/go/+/294032 Trust: Cuong Manh Le <cuong.manhle.vn@gmail.com> Run-TryBot: Cuong ...
[ { "path": "src/cmd/compile/internal/typecheck/typecheck.go", "patch": "@@ -1612,6 +1612,10 @@ func checkassign(stmt ir.Node, n ir.Node) {\n \t\treturn\n \t}\n \n+\tdefer n.SetType(nil)\n+\tif n.Diag() {\n+\t\treturn\n+\t}\n \tswitch {\n \tcase n.Op() == ir.ODOT && n.(*ir.SelectorExpr).X.Op() == ir.OINDEXMAP...
2021-02-19T06:47:14
ollama/ollama
8207e55ec7eb3a2cf4cb20917518514d981a6a01
ad16bffc7d5332c74f59c6afcf43efe60ca885cd
don't require pulling stubs for cloud models (#14574) * don't require pulling stubs for cloud models This is a first in a series of PRs that will better integrate Ollama's cloud into the API and CLI. Previously we used to have a layer of indirection where you'd first have to pull a "stub" model that contains a refere...
[ { "path": "cmd/cmd.go", "patch": "@@ -41,6 +41,7 @@ import (\n \t\"github.com/ollama/ollama/cmd/tui\"\n \t\"github.com/ollama/ollama/envconfig\"\n \t\"github.com/ollama/ollama/format\"\n+\t\"github.com/ollama/ollama/internal/modelref\"\n \t\"github.com/ollama/ollama/parser\"\n \t\"github.com/ollama/ollama/p...
2026-03-03T18:46:33
vercel/next.js
5587a0515a396b4df59442ac9a0e07dec8925442
a093d733ba635bdcdce06923eef6fb0fa27ce122
fix some small bugs (#54)
[ { "path": "crates/turbo-tasks-fs/src/lib.rs", "patch": "@@ -107,16 +107,13 @@ impl DiskFileSystem {\n let root = self.root.clone();\n // Create a channel to receive the events.\n let (tx, rx) = channel();\n- println!(\"start watcher {}...\", root);\n // Create a watche...
2022-10-17T20:13:21
huggingface/transformers
42865860ec6dc135972d9555753cb7ee17f51fb4
b2b04e86e71159259333de2f8da85c08a712880d
Fix paligemma warning message (#35486) fix log input
[ { "path": "src/transformers/models/paligemma/modeling_paligemma.py", "patch": "@@ -519,7 +519,7 @@ def forward(\n # mask out pad-token-ids in labels for BC\n if labels is not None and self.pad_token_id in labels:\n logger.warning_once(\n- \"`labels` contains `pad_t...
2025-01-02T10:36:53
golang/go
12a405b96aadc0174d3b63e61f593bcc28465af0
b7f4307761c61d2d3f563c37b0c9ad0e64899d9f
cmd/compile: do not set type for OPACK That's an invalid operation and depend on gc.hidePanic to report error. Updates #43311 Change-Id: I78d615c40ab1e7887f612491e215c1c2bb758ef6 Reviewed-on: https://go-review.googlesource.com/c/go/+/294031 Trust: Cuong Manh Le <cuong.manhle.vn@gmail.com> Run-TryBot: Cuong Manh Le <...
[ { "path": "src/cmd/compile/internal/typecheck/typecheck.go", "patch": "@@ -528,7 +528,7 @@ func typecheck1(n ir.Node, top int) ir.Node {\n \tcase ir.OPACK:\n \t\tn := n.(*ir.PkgName)\n \t\tbase.Errorf(\"use of package %v without selector\", n.Sym())\n-\t\tn.SetType(nil)\n+\t\tn.SetDiag(true)\n \t\treturn n\...
2021-02-19T06:54:28
ollama/ollama
c1e3ef4bccb6beacf401acab18e6b4b1e0c1d4f9
a3093cd5e58a27f08a97e0122a57c83b50540f71
mlxrunner: Refcount pinned tensors Otherwise, it is error prone to manage multiple components working with the same tensor.
[ { "path": "x/mlxrunner/mlx/array.go", "patch": "@@ -20,7 +20,7 @@ import (\n type Array struct {\n \tctx C.mlx_array\n \tname string\n-\tpinned bool\n+\tpinned int\n }\n \n var arrays []*Array\n@@ -129,7 +129,7 @@ func (t *Array) Clone() *Array {\n func Pin(s ...*Array) {\n \tfor _, t := range s {\n \t...
2026-03-02T20:48:02
vercel/next.js
5145e86197e359b4d43ae5b6f02a5c7994c0bce0
3cec79a2edd1d4133cfc2dea0cd18c8ef009bba7
fix #52 (#53)
[ { "path": "crates/turbopack/src/resolve.rs", "patch": "@@ -209,6 +209,8 @@ async fn base_resolve_options(\n });\n if opt.browser {\n resolve_into.push(ResolveIntoPackage::MainField(\"browser\".to_string()));\n+ }\n+ if opt.module {\n ...
2022-10-17T17:54:04
huggingface/transformers
b2b04e86e71159259333de2f8da85c08a712880d
6b1e86fd4d47a020082b7b4e4327c3b3c890e378
Fix docs typos. (#35465) Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
[ { "path": "docs/source/en/fsdp.md", "patch": "@@ -58,7 +58,7 @@ Otherwise, you can choose a size-based wrapping policy where FSDP is applied to\n \n ### Checkpointing\n \n-Intermediate checkpoints should be saved with `fsdp_state_dict_type: SHARDED_STATE_DICT` because saving the full state dict with CPU off...
2025-01-02T10:29:46
golang/go
b7f4307761c61d2d3f563c37b0c9ad0e64899d9f
4532467c1854fa16378063bd99defadc4a1e5fb1
cmd/compile: graceful handle error in noder LoadPackage When syntax.Parse returns error, noder.file will be nil. Currently, we continue accessing it regardlessly and depend on gc.hidePanic to hide the panic from user. Instead, we should gracefully handle the error in LoadPackage, then exit earlier if any error occurr...
[ { "path": "src/cmd/compile/internal/noder/noder.go", "patch": "@@ -68,6 +68,9 @@ func LoadPackage(filenames []string) {\n \t\tfor e := range p.err {\n \t\t\tp.errorAt(e.Pos, \"%s\", e.Msg)\n \t\t}\n+\t\tif p.file == nil {\n+\t\t\tbase.ErrorExit()\n+\t\t}\n \t\tlines += p.file.EOF.Line()\n \t}\n \tbase.Timer...
2021-02-19T05:42:57
ollama/ollama
3490e9590bbaba174f89c03207b42727150460e0
8da09b1e7e7394a818bc0f36d4244a927a91c126
model/qwen3next: avoid crash in in DeltaNet when offloading (#14541) Co-authored-by: Yossi Ovadia <jabadia@gmail.com>
[ { "path": "model/models/qwen3next/deltanet.go", "patch": "@@ -454,6 +454,10 @@ func (gdn *GatedDeltaNet) deltaNetChunked(\n \tvT := v.Permute(ctx, 1, 0, 2, 3).Contiguous(ctx, chunkSize, headVDim, nChunks, numVHeads*nSeqs)\n \tstateT := state.Permute(ctx, 1, 0, 2, 3).Contiguous(ctx, headVDim, headVDim, 1, nu...
2026-03-02T02:44:04
nodejs/node
dd49677096c76dfc731937d73688c4b10e38ae23
85ccb63346d6be976385079e5b08872e9cdcf323
build: update node.gyp to reference gypfiles/v8.gyp Refs: https://github.com/v8/v8/commit/f9934aa9cf77b76c5fa78137e32939f30d9e2f81 Fixes: https://github.com/nodejs/node-v8/issues/36 PR-URL: https://github.com/nodejs/node/pull/19201 Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com> Reviewed-By: Myles Borins <myles.bo...
[ { "path": "Makefile", "patch": "@@ -96,7 +96,7 @@ $(NODE_G_EXE): config.gypi out/Makefile\n \n out/Makefile: common.gypi deps/uv/uv.gyp deps/http_parser/http_parser.gyp \\\n deps/zlib/zlib.gyp deps/v8/gypfiles/toolchain.gypi \\\n- deps/v8/gypfiles/features.gypi deps/v8/src/v8.gyp ...
2018-01-26T02:35:26
huggingface/transformers
6b1e86fd4d47a020082b7b4e4327c3b3c890e378
5b516b06c8ba5f761e858c05e6e12f91178958cb
Fix new BNB test failures (#35345)
[ { "path": "tests/quantization/bnb/test_4bit.py", "patch": "@@ -172,7 +172,7 @@ def test_memory_footprint(self):\n mem_fp16 = self.model_fp16.get_memory_footprint()\n mem_4bit = self.model_4bit.get_memory_footprint()\n \n- self.assertAlmostEqual(mem_fp16 / mem_4bit, self.EXPECTED_RELAT...
2025-01-02T10:24:52
vercel/next.js
ce60157b1b1e7dd7dec72b7eadb67a96c2fb02b8
7a8c58fedd7c9aea5d8792ed2b30b9b05d8a8348
Fix useSearchParams comment (#41483) Co-authored-by: Balázs Orbán <info@balazsorban.com>
[ { "path": "packages/next/client/components/navigation.ts", "patch": "@@ -69,7 +69,8 @@ class ReadonlyURLSearchParams {\n }\n \n /**\n- * Get the current search params. For example useSearchParams() would return {\"foo\": \"bar\"} when ?foo=bar\n+ * Get a read-only URLSearchParams object. For example searchP...
2022-10-17T17:07:07
ollama/ollama
a60b9adcce8fb40b1ad3678d992de5969692a9ea
a16f96658b92921dfe2bba68a4c6314eb0665a47
mlxrunner: Fix prompt eval timing and count metrics Only the last token's processing time is included in prompt processing, giving an artificially high rate. In addition, the number of tokens only included the tokens that miss the cache, instead of our historic total tokens.
[ { "path": "x/mlxrunner/pipeline.go", "patch": "@@ -74,6 +74,7 @@ func (r *Runner) TextGenerationPipeline(request Request) error {\n \tcaches := session.caches\n \ttokens := session.remaining\n \n+\tnow := time.Now()\n \ttotal, processed := len(tokens), 0\n \tfor total-processed > 1 {\n \t\tif err := request...
2026-02-26T22:45:14