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 |
|---|---|---|---|---|---|
huggingface/transformers | 3d213b57fe74302e5902d68ed9478c3ad1aaa713 | 64478c76313d20cac925aab5ad762a110e704774 | skip Fuyu from test_generate (#35246)
* skip Fuyu from test_generate
* make fixup, quality, repo-consistency | [
{
"path": "tests/generation/test_utils.py",
"patch": "@@ -1202,6 +1202,7 @@ def test_prompt_lookup_decoding_matches_greedy_search(self):\n \"prophetnet\",\n \"seamlessm4t\",\n \"clvp\",\n+ \"fuyu\",\n ]\n ... | 2024-12-13T09:12:49 |
rust-lang/rust | 89d9dd6e158c18a79cd547dc172ba5739203097b | 5337252b9952fdd9482ed6a4add17254e5bd2c40 | Only `format!` error message on failure | [
{
"path": "compiler/rustc_smir/src/rustc_smir/alloc.rs",
"patch": "@@ -27,7 +27,7 @@ pub(crate) fn new_allocation<'tcx>(\n tables: &mut Tables<'tcx>,\n ) -> Allocation {\n try_new_allocation(ty, const_value, tables)\n- .expect(&format!(\"Failed to convert: {const_value:?} to {ty:?}\"))\n+ ... | 2025-04-05T08:59:13 |
ollama/ollama | 7601f0e93e53858f09136a7e4ccf674a9b4580bd | aad3f03890b9cd015e42aef827cf5526d215b491 | server: reject unexpected auth hosts (#13738)
Added validation to ensure auth redirects stay on the same host as the original request. The fix is a single check in getAuthorizationToken comparing the realm URL's host against the request host. Added tests for the auth flow.
Co-Authored-By: Gecko Security <188164982+ge... | [
{
"path": "server/auth.go",
"patch": "@@ -50,12 +50,17 @@ func (r registryChallenge) URL() (*url.URL, error) {\n \treturn redirectURL, nil\n }\n \n-func getAuthorizationToken(ctx context.Context, challenge registryChallenge) (string, error) {\n+func getAuthorizationToken(ctx context.Context, challenge regis... | 2026-01-16T19:10:36 |
vercel/next.js | e3df5909cb29338c531f75ef19a5a87b9870e9eb | 2060d0e3e95f60dabdbdd451391af68ed3055790 | Handle error overlay for new router (#41325) | [
{
"path": "packages/next/client/components/hot-reloader.tsx",
"patch": "@@ -15,7 +15,7 @@ import {\n onBuildOk,\n onRefresh,\n ReactDevOverlay,\n-} from 'next/dist/compiled/@next/react-dev-overlay/dist/client'\n+} from './react-dev-overlay/src/client'\n import stripAnsi from 'next/dist/compiled/strip-... | 2022-10-11T14:11:57 |
golang/go | 07c658316b411a4b0e71a3a7e78b970b091795ab | 04edf418d285df410745118aae756f9e0a9a00f5 | io/ioutil: forward TempFile and TempDir to os package
For #42026
Fixes #44311
Change-Id: I3dabcf902d155f95800b4adf1d7578906a194ce6
Reviewed-on: https://go-review.googlesource.com/c/go/+/285378
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.... | [
{
"path": "src/io/ioutil/export_test.go",
"patch": "@@ -1,7 +0,0 @@\n-// Copyright 2020 The Go Authors. All rights reserved.\n-// Use of this source code is governed by a BSD-style\n-// license that can be found in the LICENSE file.\n-\n-package ioutil\n-\n-var ErrPatternHasSeparator = errPatternHasSeparato... | 2021-01-22T00:59:29 |
huggingface/transformers | e4e404fdd0074a163d1b8b85e54ae8b05d949375 | 31f9a289a6207be6cae746e009d8e0db523be203 | Run model as compressed/uncompressed mode (#34719)
* draft, run model as compreszed/uncompressed mode
* draft
* run run_compressed=False
* run_compressed as attr
* set run_compressed=False using quantization_config
* remove redundant line
* make is_qat_trainable dependent on run_compressed status
* add tests
*... | [
{
"path": "src/transformers/modeling_utils.py",
"patch": "@@ -3597,7 +3597,12 @@ def from_pretrained(\n )\n else:\n config.quantization_config = quantization_config\n- hf_quantizer = AutoHfQuantizer.from_config(config.quantization_config, pre_quantized=... | 2024-12-13T07:23:31 |
ollama/ollama | 55d0b6e8b9498a621565c93625b7e29c96812f21 | 38eac40d56510f343ffa4d6f7613d4e820d14cd1 | integration: fix tools_test.go for ToolCallFunctionArguments API change (#13731) | [
{
"path": "integration/tools_test.go",
"patch": "@@ -131,7 +131,7 @@ func TestAPIToolCalling(t *testing.T) {\n \t\t\t\t\tt.Errorf(\"unexpected tool called: got %q want %q\", lastToolCall.Function.Name, \"get_weather\")\n \t\t\t\t}\n \n-\t\t\t\tif _, ok := lastToolCall.Function.Arguments[\"location\"]; !ok {... | 2026-01-16T00:08:09 |
vercel/next.js | 2060d0e3e95f60dabdbdd451391af68ed3055790 | a78163dc613f168f991b29018adbc3472004d38b | fix(image): don't show placeholder warning in Jest (#41329)
In Jest, we were mocking the `next/image` imports with a width and
height of `24`. If the developer set `placeholder="blur"` on their
images though, this triggered the warning:
> Image with src "/img.jpg" is smaller than 40x40. Consider removing the
"pl... | [
{
"path": "packages/next/build/jest/__mocks__/fileMock.js",
"patch": "@@ -1,6 +1,6 @@\n module.exports = {\n src: '/img.jpg',\n- height: 24,\n- width: 24,\n+ height: 40,\n+ width: 40,\n blurDataURL: 'data:image/png;base64,imagedata',\n }",
"additions": 2,
"deletions": 2,
"language": "Jav... | 2022-10-11T14:06:54 |
nodejs/node | 22da2f731d90235289a95bffe1ae3750a62a33bc | 354849eeb595ac364337e564669de4c77aa4c1af | errors: make message non-enumerable
A error message should always be non-enumerable. This makes sure
that is true for dns errors as well. It also adds another check
in `common.expectsError` to make sure no other regressions are
introduced going forward.
Fixes #19716
PR-URL: https://github.com/nodejs/node/pull/19719
... | [
{
"path": "lib/internal/errors.js",
"patch": "@@ -550,34 +550,33 @@ function exceptionWithHostPort(err, syscall, address, port, additional) {\n }\n \n /**\n- * @param {number|string} err - A libuv error number or a c-ares error code\n+ * @param {number|string} code - A libuv error number or a c-ares error c... | 2018-04-01T05:38:47 |
golang/go | 04edf418d285df410745118aae756f9e0a9a00f5 | e49612089196be102b4b7f86c417b8cfba2521aa | encoding/json: reduce allocated space in Unmarshal
The decodeState type is a large part of the allocated space during Unmarshal.
The errorContext field is infrequently used, and only on error.
Extract it into a pointer and allocate it separate when necessary.
name old time/op new time/op delta
Un... | [
{
"path": "src/encoding/json/decode.go",
"patch": "@@ -200,16 +200,19 @@ func (n Number) Int64() (int64, error) {\n \treturn strconv.ParseInt(string(n), 10, 64)\n }\n \n+// An errorContext provides context for type errors during decoding.\n+type errorContext struct {\n+\tStruct reflect.Type\n+\tFieldSta... | 2020-11-18T20:50:29 |
huggingface/transformers | 31f9a289a6207be6cae746e009d8e0db523be203 | 11ba1d472c61eaacdc58a12e31156d4436b132ce | Fix typo in chat template example (#35250)
Fix template example typo | [
{
"path": "docs/source/en/chat_templating.md",
"patch": "@@ -683,7 +683,7 @@ one is a little simplified from the actual one!\n \n ```\n {%- for message in messages %}\n- {{- '<|' + message['role'] + |>\\n' }}\n+ {{- '<|' + message['role'] + '|>\\n' }}\n {{- message['content'] + eos_token }}\n {%- ... | 2024-12-13T00:53:21 |
rust-lang/rust | 3ab22fabf1a21077556c708633ceaefbb678c178 | 4085af01836c3af3bd7c68060274ba7a0c334261 | Fix unsafe_op_in_unsafe_fn for Unix fd and weak | [
{
"path": "library/std/src/sys/fd/mod.rs",
"patch": "@@ -1,6 +1,6 @@\n //! Platform-dependent file descriptor abstraction.\n \n-#![deny(unsafe_op_in_unsafe_fn)]\n+#![forbid(unsafe_op_in_unsafe_fn)]\n \n cfg_if::cfg_if! {\n if #[cfg(target_family = \"unix\")] {",
"additions": 1,
"deletions": 1,
... | 2025-03-29T01:19:46 |
ollama/ollama | 38eac40d56510f343ffa4d6f7613d4e820d14cd1 | 80f3f1bc25e1ee58e0dd2a3ff8b14f332dfa4fc7 | openai: tweak v1/responses to conform better (#13736)
* openai: tweak v1/responses to conform better
* openai: provide better error for image URLs
* lint | [
{
"path": "middleware/openai.go",
"patch": "@@ -8,6 +8,7 @@ import (\n \t\"math/rand\"\n \t\"net/http\"\n \t\"strings\"\n+\t\"time\"\n \n \t\"github.com/gin-gonic/gin\"\n \n@@ -441,6 +442,7 @@ type ResponsesWriter struct {\n \tstream bool\n \tresponseID string\n \titemID string\n+\trequest openai... | 2026-01-15T23:46:36 |
vercel/next.js | d5ed7e394018b1212710bd71ca868f64a6f7fe9e | 8589c15b954c6c74aa7c6c192bbae7f15bd4d7dd | routing bugfixes (vercel/turbo#495) | [
{
"path": "packages/next-swc/crates/next-core/src/server_rendered_source.rs",
"patch": "@@ -155,21 +155,80 @@ async fn regular_expression_for_path(\n let path = path.strip_suffix(\"/index\").unwrap_or(path);\n let mut reg_exp_source = \"^\".to_string();\n for segment in path.split('/') {\n- ... | 2022-10-11T10:23:10 |
golang/go | e49612089196be102b4b7f86c417b8cfba2521aa | 26001d109ed3da33c728b96e547fa380c7e2a300 | database: remove race in TestTxContextWait
This test contained a data race.
On line 437, db.BeginTx starts a goroutine that runs tx.awaitDone,
which reads tx.keepConnOnRollback.
On line 445, the test writes to tx.keepConnOnRollback.
tx.awaitDone waits on ctx, but because ctx is timeout-based,
there's no ordering guara... | [
{
"path": "src/database/sql/sql_test.go",
"patch": "@@ -431,25 +431,24 @@ func TestTxContextWait(t *testing.T) {\n \tdb := newTestDB(t, \"people\")\n \tdefer closeDB(t, db)\n \n-\tctx, cancel := context.WithTimeout(context.Background(), 15*time.Millisecond)\n-\tdefer cancel()\n+\tctx, cancel := context.With... | 2021-02-01T16:35:36 |
nodejs/node | ae2b5bcb7c17a2d2a488f234c736201eed8200db | 67cce8d68ad091857b583aa8564d5ac0aaaf2bea | deps: upgrade libuv to 1.20.0
Notable changes:
- uv_fs_copyfile() adds support for copy-on-write behavior.
- uv_relative_path() now uses the long directory name
for handle->dirw.
- File operations on files > 2 GB on 32-bit platforms are
working again.
- uv_fs_fchmod() on Windows works on files with the
Archive f... | [
{
"path": "deps/uv/.mailmap",
"patch": "@@ -16,6 +16,7 @@ Frank Denis <github@pureftpd.org>\n Imran Iqbal <imrani@ca.ibm.com> <imran@imraniqbal.org>\n Isaac Z. Schlueter <i@izs.me>\n Jason Williams <necmon@yahoo.com>\n+Jesse Gorzinski <jgorzinski@gmail.com>\n Justin Venus <justin.venus@gmail.com> <justin.ve... | 2018-04-02T17:33:48 |
huggingface/transformers | a691ccb0c224f6f76ef585535eec26456236b2e3 | e3ee49fcfb44ad4e12e18c24e709ba35817755b8 | Change back to `Thread` for SF conversion (#35236)
* fix
* fix
* fix
---------
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> | [
{
"path": "src/transformers/modeling_utils.py",
"patch": "@@ -29,7 +29,7 @@\n from contextlib import contextmanager\n from dataclasses import dataclass\n from functools import partial, wraps\n-from multiprocessing import Process\n+from threading import Thread\n from typing import Any, Callable, Dict, List, ... | 2024-12-12T15:05:04 |
vercel/next.js | 2bb4a27516ddf67afbb31d594c54fa2bd5ba343a | 9cadb4d7374da8db1ba6c671cac3522d2d42e52b | routing bugfixes (#495) | [
{
"path": "crates/next-core/src/server_rendered_source.rs",
"patch": "@@ -155,21 +155,80 @@ async fn regular_expression_for_path(\n let path = path.strip_suffix(\"/index\").unwrap_or(path);\n let mut reg_exp_source = \"^\".to_string();\n for segment in path.split('/') {\n- if reg_exp_sour... | 2022-10-11T10:23:10 |
golang/go | 35b80eac7d2ba6cd632b3dc195f8588d95212fbf | eb863240dcc857b4207b06eb33385446696b7b1c | hash/maphash: remove duplicate from Hash documentation
Fixes #44255
Change-Id: I14d2edbee0a0c39e04111414a57d70ee2fdfb6af
Reviewed-on: https://go-review.googlesource.com/c/go/+/291631
Trust: Alberto Donizetti <alb.donizetti@gmail.com>
Reviewed-by: Keith Randall <khr@golang.org> | [
{
"path": "src/hash/maphash/maphash.go",
"patch": "@@ -34,7 +34,7 @@ type Seed struct {\n //\n // The zero Hash is a valid Hash ready to use.\n // A zero Hash chooses a random seed for itself during\n-// the first call to a Reset, Write, Seed, Sum64, or Seed method.\n+// the first call to a Reset, Write, Se... | 2021-02-14T10:19:39 |
huggingface/transformers | e3ee49fcfb44ad4e12e18c24e709ba35817755b8 | 63766abe362b930522dd073c9173499ba5fde02a | Refactoring `AssistedCandidateGenerator` for Improved Modularity and Reusability (#35009)
* move `TestAssistedCandidateGeneratorDifferentTokenizers` into a new testing file
* refactor
* NOTHING. add space to rerun github actions tests
* remove it...
* NOTHING. add space to rerun github actions tests
* r... | [
{
"path": "src/transformers/generation/candidate_generator.py",
"patch": "@@ -208,56 +208,15 @@ def get_candidates(self, input_ids: torch.LongTensor) -> Tuple[torch.LongTensor,\n vocabulary_size)` containing the logits associated to each candidate.\n \"\"\"\n input_ids = input_id... | 2024-12-12T14:47:05 |
ollama/ollama | 349d8148141b2204b52026d617d67120e03add27 | c8743031e031fa0e74e08b95d24c90636ac9c222 | docs: add marimo integration (#13326)
* docs added
* fix title
* add marimo to docs.json
---------
Co-authored-by: Devon Rifkin <drifkin@drifkin.net> | [
{
"path": "docs/docs.json",
"patch": "@@ -112,7 +112,8 @@\n \"/integrations/roo-code\",\n \"/integrations/n8n\",\n \"/integrations/xcode\",\n- \"/integrations/onyx\"\n+ \"/integrations/onyx\",\n+ \"/integrations/marimo\"\n ... | 2026-01-15T01:37:38 |
nodejs/node | 7d06761f839bbff8c671b0e1a6d541faa5452354 | 3e0d40d4af6f437ecacb8b54d0d84ed0e5a4899f | errors: improve SystemError messages
This commit improves the SystemError messages by allowing user
to combine a custom message and the libuv error message. Also
since we now prefer use subclasses to construct the errors instead
of using `new errors.SystemError()` directly, this removes
the behavior of assigning a def... | [
{
"path": "doc/api/errors.md",
"patch": "@@ -1521,6 +1521,11 @@ A Transform stream finished while it was still transforming.\n \n A Transform stream finished with data still in the write buffer.\n \n+<a id=\"ERR_TTY_INIT_FAILED\"></a>\n+### ERR_TTY_INIT_FAILED\n+\n+The initialization of a TTY failed due to ... | 2018-03-20T16:46:30 |
vercel/next.js | a78163dc613f168f991b29018adbc3472004d38b | 3c8727dcabe4f4d3e9b6ee71d83834de821e08b9 | Global layouts error boundary (#41305) | [
{
"path": "packages/next/client/components/app-router.client.tsx",
"patch": "@@ -28,6 +28,7 @@ import {\n // LayoutSegmentsContext,\n } from './hooks-client-context'\n import { useReducerWithReduxDevtools } from './use-reducer-with-devtools'\n+import { ErrorBoundary, GlobalErrorComponent } from './error-b... | 2022-10-11T09:17:10 |
golang/go | 6ba4a300d894b33fd8bf076dec08a5e3245d3a2c | 43652dc46f770253b3603f47165b1568b439b0b5 | docs: fix spelling
Change-Id: Ib689e5793d9cb372e759c4f34af71f004010c822
GitHub-Last-Rev: d63798388e5dcccb984689b0ae39b87453b97393
GitHub-Pull-Request: golang/go#44259
Reviewed-on: https://go-review.googlesource.com/c/go/+/291949
Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
Reviewed-by: Ian Lance Taylor <iant@go... | [
{
"path": "src/cmd/compile/internal/ssa/value.go",
"patch": "@@ -484,7 +484,7 @@ func (v *Value) removeable() bool {\n \tif v.Type.IsMemory() {\n \t\t// All memory ops aren't needed here, but we do need\n \t\t// to keep calls at least (because they might have\n-\t\t// syncronization operations we can't see)... | 2021-02-17T01:48:21 |
huggingface/transformers | 63766abe362b930522dd073c9173499ba5fde02a | 5cf11e5ab9591652ee025069658f9af5a98e455e | Support Python 3.10+ Union style in chat template type hints parsing (#35103)
* fix(utils): Support the newest Union type in chat template
* fix(utils/chat_template): Backward compatibility for the newest Union type
* Update src/transformers/utils/chat_template_utils.py
Co-authored-by: Matt <Rocketknight1@use... | [
{
"path": "src/transformers/utils/chat_template_utils.py",
"patch": "@@ -15,6 +15,7 @@\n import inspect\n import json\n import re\n+import types\n from contextlib import contextmanager\n from datetime import datetime\n from functools import lru_cache\n@@ -97,7 +98,7 @@ def _parse_type_hint(hint: str) -> Dic... | 2024-12-12T14:07:06 |
ollama/ollama | 4adb9cf4bbf21486113eb13680b8be6a08fc5d0e | 74f475e7351162e3a3449d3564d61c6887a6f610 | scripts: fix macOS auto-update signature verification failure (#13713)
Add --norsrc flag to ditto commands when creating Ollama-darwin.zip
to exclude AppleDouble resource fork files (._* files) from the archive.
The mlx.metallib file has extended attributes, which causes ditto to
include a ._mlx.metallib AppleDouble ... | [
{
"path": "scripts/build_darwin.sh",
"patch": "@@ -179,15 +179,15 @@ _build_macapp() {\n fi\n \n rm -f dist/Ollama-darwin.zip\n- ditto -c -k --keepParent dist/Ollama.app dist/Ollama-darwin.zip\n+ ditto -c -k --norsrc --keepParent dist/Ollama.app dist/Ollama-darwin.zip\n (cd dist/Ollama.app... | 2026-01-14T15:48:10 |
nodejs/node | 3e0d40d4af6f437ecacb8b54d0d84ed0e5a4899f | acc328ef5884ab55538c3953caea144b3f00e07a | test: add info option to common.expectsError
PR-URL: https://github.com/nodejs/node/pull/19514
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "test/common/README.md",
"patch": "@@ -86,6 +86,8 @@ Indicates if there is more than 1gb of total memory.\n regular expression must match the `message` property of the expected error.\n * `name` [<string>]\n expected error must have this value for its `name` property.\n+ * `info` <... | 2018-03-20T17:19:05 |
vercel/next.js | 7a2462a2f943b68e6d1ef474fb286c08de8b7152 | f3570261e6e5f66c00e981c94bebb0ae3f7822e5 | nitpicks (#493)
fixups for #486 | [
{
"path": "crates/turbopack-dev-server/src/source/conditional.rs",
"patch": "@@ -15,7 +15,7 @@ use super::{\n /// This is a laziness optimization when the content of the second source can\n /// only be reached via references from the first source.\n ///\n-/// For example, we use that in the content source t... | 2022-10-11T08:09:38 |
golang/go | 42b9e3a8dfb31f18829c45f0995cbf3c78fc90fb | aaed6cbced238030053df4e54f676a1d59df89d7 | context: fix XTestInterlockedCancels
The test does not use Done channel, so fix that.
Change-Id: I795feab2e95de815b8b6ee7a7fd90f19f7af7db1
Reviewed-on: https://go-review.googlesource.com/c/go/+/294749
Reviewed-by: Sameer Ajmani <sameer@golang.org>
Trust: Sameer Ajmani <sameer@golang.org>
Trust: Cody Oss <codyoss@goog... | [
{
"path": "src/context/context_test.go",
"patch": "@@ -525,7 +525,7 @@ func XTestInterlockedCancels(t testingT) {\n \tparent, cancelParent := WithCancel(Background())\n \tchild, cancelChild := WithCancel(parent)\n \tgo func() {\n-\t\tparent.Done()\n+\t\t<-parent.Done()\n \t\tcancelChild()\n \t}()\n \tcancel... | 2021-02-21T03:22:13 |
huggingface/transformers | 5cf11e5ab9591652ee025069658f9af5a98e455e | 3db8e278161264e4546792b1722d9434a42b6b02 | Fix type hints for apply_chat_template (#35216) | [
{
"path": "src/transformers/tokenization_utils_base.py",
"patch": "@@ -28,7 +28,7 @@\n from contextlib import contextmanager\n from dataclasses import dataclass\n from inspect import isfunction\n-from typing import TYPE_CHECKING, Any, Dict, List, NamedTuple, Optional, Sequence, Tuple, Union\n+from typing im... | 2024-12-12T13:59:24 |
ollama/ollama | af7ea6e96e5272f7b5ccb2bf3fe9dadd92fc763d | 8f1e0140e70f59cecf39df62b6fd5ce2e2572150 | x/imagegen: install mlx.metallib and fix macOS rpath handling, add mlx library directories to LD_LIBRARY_PATH (#13695)
- Install mlx.metallib for arm64 builds (required for Metal GPU acceleration)
- Apply rpath settings to all macOS builds, not just x86_64
- Add CMAKE_BUILD_WITH_INSTALL_RPATH to avoid install_name_too... | [
{
"path": "CMakeLists.txt",
"patch": "@@ -48,9 +48,10 @@ if((CMAKE_OSX_ARCHITECTURES AND NOT CMAKE_OSX_ARCHITECTURES MATCHES \"arm64\")\n set(GGML_CPU_ALL_VARIANTS ON)\n endif()\n \n-if (CMAKE_OSX_ARCHITECTURES MATCHES \"x86_64\")\n+if(APPLE)\n set(CMAKE_BUILD_RPATH \"@loader_path\")\n set(CMAKE... | 2026-01-13T03:03:11 |
nodejs/node | b22a189b430e87d225279b43148b11f68fca8f49 | a972ed4d508e536fec96d4be20e3172bca1f6665 | deps: fix typo in openssl upgrading doc
PR-URL: https://github.com/nodejs/node/pull/19789
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.d... | [
{
"path": "deps/openssl/doc/UPGRADING.md",
"patch": "@@ -80,7 +80,7 @@ Since perl is not a build requirement in node, they all should be\n generated in advance and statically stored in the repository. We\n provide two sets of asm files, one is asm_latest(avx2 and addx\n supported) in `deps/openssl/asm` and ... | 2018-04-04T10:46:44 |
vercel/next.js | 1ca80a5db659b5b47a65496819e3f38227d8f60b | acb46e1090cad1ea3bc0dfaecedbaad84ac2cfbe | Update security-headers doc (#41312)
<!--
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:
-->
## Documentation / Example... | [
{
"path": "docs/advanced-features/security-headers.md",
"patch": "@@ -130,9 +130,9 @@ const ContentSecurityPolicy = `\n \n When a directive uses a keyword such as `self`, wrap it in single quotes `''`.\n \n-In the header's value, replace the new line with an empty string.\n+In the header's value, replace th... | 2022-10-11T00:03:58 |
huggingface/transformers | 3db8e278161264e4546792b1722d9434a42b6b02 | a9ccdfd8e3fbaf19ad6f174a99e8d39e706950b3 | Fixed typo of 'indentifier' in audio_utils.py (#35226) | [
{
"path": "src/transformers/pipelines/audio_utils.py",
"patch": "@@ -68,7 +68,7 @@ def ffmpeg_microphone(\n The name of the format of the audio samples to be returned by ffmpeg. The standard is `f32le`, `s16le`\n could also be used.\n ffmpeg_input_device (`str`, *optional*):\... | 2024-12-12T13:45:04 |
golang/go | aaed6cbced238030053df4e54f676a1d59df89d7 | fbed561f8a596ddbd2bb599a17ea3c6e0b223602 | testing/race: fixing intermittent test failure
Test NoRaceMutexPureHappensBefore in runtime/race/testdata/mutex_test.go
expects the second spawned goroutine to run after the first. The test
attempts to force this scheduling with a 10 millisecond wait. Following
a suggestion by Bryan Mills, we force this scheduling u... | [
{
"path": "src/runtime/race/testdata/mutex_test.go",
"patch": "@@ -78,16 +78,23 @@ func TestNoRaceMutexPureHappensBefore(t *testing.T) {\n \tvar mu sync.Mutex\n \tvar x int16 = 0\n \t_ = x\n+\twritten := false\n \tch := make(chan bool, 2)\n \tgo func() {\n \t\tx = 1\n \t\tmu.Lock()\n+\t\twritten = true\n \t... | 2021-02-12T08:54:50 |
ollama/ollama | 8f1e0140e70f59cecf39df62b6fd5ce2e2572150 | 35c3c9e3c21d78dff93088f74eb8d14164adb15a | x/imagegen: fix mlx build in Dockerfile and macOS build script (#13693) | [
{
"path": "Dockerfile",
"patch": "@@ -161,6 +161,9 @@ ARG GOFLAGS=\"'-ldflags=-w -s'\"\n ENV CGO_ENABLED=1\n ARG CGO_CFLAGS\n ARG CGO_CXXFLAGS\n+RUN mkdir -p dist/bin\n+RUN --mount=type=cache,target=/root/.cache/go-build \\\n+ go build -tags mlx -trimpath -buildmode=pie -o dist/bin/ollama-mlx .\n \n FROM... | 2026-01-12T23:52:43 |
huggingface/transformers | 6181c6b095e85ba3c807fd18c90b8c27df4becd9 | 33c12e4d8095af3cd21eda01aff9f8b0e81473e6 | Fix seamless TTS generate (#34968)
* fix seamless tts generate
* apply same fix for v2
* [run-slow] seamless_m4t, seamless_m4t_v2
* remove TODO
* [run-slow] seamless_m4t, seamless_m4t_v2
* [run-slow] seamless_m4t, seamless_m4t_v2
* ignore failing test on multigpus
* [run-slow] seamless_m4t, seamle... | [
{
"path": "src/transformers/models/seamless_m4t/modeling_seamless_m4t.py",
"patch": "@@ -293,6 +293,8 @@ def format_speech_generation_kwargs(kwargs):\n elif key.startswith(\"speech_\"):\n key = key[len(\"speech_\") :]\n kwargs_speech[key] = value\n+ elif key == \"gener... | 2024-12-11T14:38:42 |
vercel/next.js | acb46e1090cad1ea3bc0dfaecedbaad84ac2cfbe | 35308c668ee63d8cea5a2c12713d7c761f259764 | Fix NextUrl trailing slash normalize for data route (#41311)
x-ref: [slack
thread](https://vercel.slack.com/archives/C045FKE5P51/p1665074590321179)
## Bug
- [x] Related issues linked using `fixes #number`
- [x] Integration tests added
- [ ] Errors have a helpful link attached, see `contributing.md` | [
{
"path": "packages/next/shared/lib/router/utils/format-next-pathname-info.ts",
"patch": "@@ -17,6 +17,10 @@ export function formatNextPathnameInfo(info: ExtendedInfo) {\n info.ignorePrefix\n )\n \n+ if (info.buildId || !info.trailingSlash) {\n+ pathname = removeTrailingSlash(pathname)\n+ }\n+\n ... | 2022-10-10T23:50:31 |
nodejs/node | 3567ea034ea615b919c28cf79fbf1172a6cb8ce6 | 5bdd6a7b9e9f0cae02e441affba80a5f49098e1a | doc: fix added value for `assert` module
PR-URL: https://github.com/nodejs/node/pull/19724
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "doc/api/assert.md",
"patch": "@@ -1,6 +1,6 @@\n # Assert\n \n-<!--introduced_in=v0.10.0-->\n+<!--introduced_in=v0.1.21-->\n \n > Stability: 2 - Stable\n ",
"additions": 1,
"deletions": 1,
"language": "Markdown"
}
] | 2018-04-01T08:13:03 |
golang/go | d434c2338b11b9ecf19865e8ec3f2721706f29cf | a671e33c6daded6639e0cd97b4791c4468475e71 | runtime: clarify GC fractional mode description
nowdays, in runtime/mgc.go,we can see the comment descrition : The fractional worker is necessary when GOMAXPROCS*gcBackgroundUtilization is not an integer.
but it not true such as GOMAXPROCS=5.
in the implemet of startCycle() , Fractional Mode happend only when
GOMAXPRO... | [
{
"path": "src/runtime/mgc.go",
"patch": "@@ -302,9 +302,11 @@ const (\n \t// gcMarkWorkerFractionalMode indicates that a P is currently\n \t// running the \"fractional\" mark worker. The fractional worker\n \t// is necessary when GOMAXPROCS*gcBackgroundUtilization is not\n-\t// an integer. The fractional w... | 2021-02-23T03:12:56 |
huggingface/transformers | 33c12e4d8095af3cd21eda01aff9f8b0e81473e6 | 7d303efa5f46c23cd5e76ee99e717144d05e8783 | Fix CI (#35208)
fix aria | [
{
"path": "src/transformers/models/aria/modeling_aria.py",
"patch": "@@ -432,93 +432,6 @@ def forward(self, hidden_states: torch.Tensor) -> torch.Tensor:\n return output + shared_expert_output\n \n \n-class AriaTextRotaryEmbedding(nn.Module):\n- def __init__(\n- self,\n- dim=None,\n... | 2024-12-11T13:24:52 |
vercel/next.js | 5e1922d3973d3d10e57db3bd822d3f2772209b1e | 3a05f60d3ce282883ddffa034d7cbf789206eaee | move node.js rendering to a content source (vercel/turbo#486)
add getServerSideProps and dynamic segments
fixes vercel/web-tooling-internal#37
fixes vercel/turbo#444 | [
{
"path": "packages/next-swc/crates/next-core/Cargo.toml",
"patch": "@@ -11,9 +11,12 @@ bench = false\n [dependencies]\n anyhow = \"1.0.47\"\n futures = \"0.3.21\"\n+indexmap = { workspace = true, features = [\"serde\"] }\n mime = \"0.3.16\"\n+regex = \"1.6.0\"\n serde = \"1.0.136\"\n serde_json = \"1.0.85\... | 2022-10-10T22:21:30 |
nodejs/node | 5bdd6a7b9e9f0cae02e441affba80a5f49098e1a | ceaeee012066e7e56332ba9d9f9306401c971560 | doc: properly document AssertionError
The AssertionError was always exposed but never properly documented.
This explains how it is used and what options it accepts.
PR-URL: https://github.com/nodejs/node/pull/19724
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Re... | [
{
"path": "doc/api/assert.md",
"patch": "@@ -13,6 +13,70 @@ A `strict` and a `legacy` mode exist, while it is recommended to only use\n For more information about the used equality comparisons see\n [MDN's guide on equality comparisons and sameness][mdn-equality-guide].\n \n+## Class: assert.AssertionError\... | 2018-04-01T08:11:24 |
golang/go | 080119799bb9cbace0d20bcc671497a53e3ec14e | 74cac8d47937af01bd9653df8d601b08843d3808 | runtime: fix usleep on windows/arm
Changed calling convention to pre-multiply the argument by -100,
and then deleted the * 100 but not the negation in the windows/arm assembly.
Delete the negation.
Fixes the current all.bash breakage on windows/arm builder.
(Maybe that will uncover more.)
Change-Id: I13006a44866ecc0... | [
{
"path": "src/runtime/sys_windows_arm.s",
"patch": "@@ -375,12 +375,11 @@ TEXT runtime·tstart_stdcall(SB),NOSPLIT|NOFRAME,$0\n // duration (in -100ns units) is in dt+0(FP).\n // g may be nil.\n TEXT runtime·usleep2(SB),NOSPLIT|NOFRAME,$0-4\n-\tMOVW\tdt+0(FP), R0\n+\tMOVW\tdt+0(FP), R3\n \tMOVM.DB.W [R4, R1... | 2021-02-23T16:38:24 |
ollama/ollama | 9667c2282f477fb3ba947585c5417ffbc4654a43 | a937a6831763ec0c7e214c3408d29ca7be9078ca | x/imagegen: add naive TeaCache and FP8 quantization support (#13683)
TeaCache:
- Timestep embedding similarity caching for diffusion models
- Polynomial rescaling with configurable thresholds
- Reduces transformer forward passes by ~30-50%
FP8 quantization:
- Support for FP8 quantized models (8-bit weights with scale... | [
{
"path": "api/client.go",
"patch": "@@ -165,7 +165,7 @@ func (c *Client) do(ctx context.Context, method, path string, reqData, respData\n \treturn nil\n }\n \n-const maxBufferSize = 512 * format.KiloByte\n+const maxBufferSize = 8 * format.MegaByte\n \n func (c *Client) stream(ctx context.Context, method, p... | 2026-01-12T21:45:22 |
huggingface/transformers | 5fcf6286bff90a2ba3b7a4b45fdf8542ea404dbe | bcc50cc7ce12c458ef9e82e189652efe9150a4d0 | Add TimmWrapper (#34564)
* Add files
* Init
* Add TimmWrapperModel
* Fix up
* Some fixes
* Fix up
* Remove old file
* Sort out import orders
* Fix some model loading
* Compatible with pipeline and trainer
* Fix up
* Delete test_timm_model_1/config.json
* Remove accidentally commited... | [
{
"path": "docs/source/en/_toctree.yml",
"patch": "@@ -705,6 +705,8 @@\n title: Swin2SR\n - local: model_doc/table-transformer\n title: Table Transformer\n+ - local: model_doc/timm_wrapper\n+ title: Timm Wrapper\n - local: model_doc/upernet\n title: UperNet\n ... | 2024-12-11T12:40:30 |
vercel/next.js | bf947aa16cca8054c101d97a91718992040cff63 | 8825e2e22681277849361ca061cdada811dd6f33 | move node.js rendering to a content source (#486)
add getServerSideProps and dynamic segments
fixes vercel/web-tooling-internal#37
fixes #444 | [
{
"path": "crates/next-core/Cargo.toml",
"patch": "@@ -11,9 +11,12 @@ bench = false\n [dependencies]\n anyhow = \"1.0.47\"\n futures = \"0.3.21\"\n+indexmap = { workspace = true, features = [\"serde\"] }\n mime = \"0.3.16\"\n+regex = \"1.6.0\"\n serde = \"1.0.136\"\n serde_json = \"1.0.85\"\n+serde_qs = \"0... | 2022-10-10T22:21:30 |
golang/go | 42cd40ee74050391e4714eefa8aeb0242b93b0f5 | f1562c761014111ce359b14016718ddabd24c2f2 | cmd/compile: improve bit test code
Some bit test instruction generation stopped triggering after
the change to addressing modes. I suspect this was just because
ANDQload was being generated before the rewrite rules could discover
the BTQ. Fix that by decomposing the ANDQload when it is surrounded
by a TESTQ (thus re-e... | [
{
"path": "src/cmd/compile/internal/ssa/gen/AMD64.rules",
"patch": "@@ -2191,6 +2191,11 @@\n \t&& clobber(l) =>\n @l.Block (CMP(Q|L|W|B)constload {sym} [makeValAndOff64(0, int64(off))] ptr mem)\n \n+// Convert ANDload to MOVload when we can do the AND in a containing TEST op.\n+// Only do when it's within... | 2021-02-12T23:55:25 |
ollama/ollama | a937a6831763ec0c7e214c3408d29ca7be9078ca | 2185112d8445d1e473a80f300d96865a62584c33 | server: fix slow 'ollama rm' of models with many layers (#13680)
RemoveLayers was calling Manifests() for each layer to check if it was
shared with other models. For models with many blobs (e.g., tensor
models), this caused O(N*M) manifest reads.
Now loads manifests once and builds a set of in-use digests. | [
{
"path": "server/manifest.go",
"patch": "@@ -47,16 +47,40 @@ func (m *Manifest) Remove() error {\n }\n \n func (m *Manifest) RemoveLayers() error {\n-\tfor _, layer := range append(m.Layers, m.Config) {\n-\t\tif layer.Digest != \"\" {\n-\t\t\tif err := layer.Remove(); errors.Is(err, os.ErrNotExist) {\n-\t\... | 2026-01-12T21:17:48 |
nodejs/node | de0053cc3280bdf72c9010f383290f79120a1e98 | 237cbe10fb82ba6ec69b14193a4a970e184306e7 | doc: fix various nits
* Replace 2 hyphens (--) by spaced m-dashes (—) as per STYLE_GUIDE.md.
* Space infix operators.
* Unify quotes in inline code spans (use only single quotes).
* Unify `* Returns:` (eliminate deviations).
* Dedupe spaces.
PR-URL: https://github.com/nodejs/node/pull/19743
Reviewed-By: James M Snell... | [
{
"path": "doc/api/addons.md",
"patch": "@@ -102,7 +102,7 @@ Addon module name is `addon`.\n Once the source code has been written, it must be compiled into the binary\n `addon.node` file. To do so, create a file called `binding.gyp` in the\n top-level of the project describing the build configuration of th... | 2018-04-02T05:38:48 |
huggingface/transformers | bcc50cc7ce12c458ef9e82e189652efe9150a4d0 | d363e71d0e32f44d7a5b3571d4921371907bd0ee | [PEFT] Better Trainer error when prompt learning with loading best model at the end (#35087)
Original issue: https://github.com/huggingface/peft/issues/2256
There is a potential error when using load_best_model_at_end=True with a
prompt learning PEFT method. This is because Trainer uses load_adapter
under the hoo... | [
{
"path": "src/transformers/trainer.py",
"patch": "@@ -2938,7 +2938,22 @@ def _load_best_model(self):\n active_adapter = model.active_adapter\n \n if os.path.exists(best_adapter_model_path) or os.path.exists(best_safe_adapter_model_path):\n- ... | 2024-12-11T11:44:39 |
vercel/next.js | 35308c668ee63d8cea5a2c12713d7c761f259764 | 05498a0988e29a4df0a6c79ebe1430769f080fb0 | Update middleware query hydration handling (#41243)
This updates to skip the data request done during query hydration when
middleware is present as it was mainly to gather query params from any
potential rewrites in middleware although this is usually not needed for
static pages and the context can be gathered in d... | [
{
"path": "packages/next/build/webpack-config.ts",
"patch": "@@ -253,6 +253,9 @@ export function getDefineEnv({\n 'process.env.__NEXT_I18N_SUPPORT': JSON.stringify(!!config.i18n),\n 'process.env.__NEXT_I18N_DOMAINS': JSON.stringify(config.i18n?.domains),\n 'process.env.__NEXT_ANALYTICS_ID': JSON... | 2022-10-10T19:58:18 |
golang/go | 5e94fe931613111c170e4798131790b3db2bbe90 | 55d7dcc3cd4b3ee6bca0ab7101866d785776ff51 | go/build/constraint: fix splitPlusBuild func doc comment
Noticed while reading the code of the new package; likely a copy-paste
from the splitGoBuild function, which is almost identical.
Change-Id: I869272123708d25d237a4f0445f8e853865747f0
Reviewed-on: https://go-review.googlesource.com/c/go/+/295469
Trust: Alberto D... | [
{
"path": "src/go/build/constraint/expr.go",
"patch": "@@ -355,8 +355,8 @@ func IsPlusBuild(line string) bool {\n \treturn ok\n }\n \n-// splitGoBuild splits apart the leading //go:build prefix in line from the build expression itself.\n-// It returns \"\", false if the input is not a //go:build line or if ... | 2021-02-23T14:05:33 |
nodejs/node | 2fef227a614a16f894b574ba9bfe84fc56b64681 | 2f8df6b0f2cfed39afe8f99cc250c71926aaca79 | test: check all properties in common.expectsError
This makes sure all properties that are meant to be checked will
actually be tested for.
PR-URL: https://github.com/nodejs/node/pull/19722
Reviewed-By: Weijia Wang <starkwang@126.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@... | [
{
"path": "test/common/index.js",
"patch": "@@ -691,7 +691,6 @@ exports.expectsError = function expectsError(fn, settings, exact) {\n fn = undefined;\n }\n function innerFn(error) {\n- assert.strictEqual(error.code, settings.code);\n if ('type' in settings) {\n const type = settings.typ... | 2018-04-01T08:15:37 |
ollama/ollama | 361d6c16c23b60f84eb1d2134914610c0ae5836b | 7e2496e88e916f8a4f08b21b3f2c472258fed629 | x/imagegen/transfer: fix timeout and progress reporting (#13679)
Removes 5-minute HTTP client timeout that caused "context deadline
exceeded" errors on large file downloads. Stall detection (10s)
already handles unresponsive connections.
Fixes progress bar total going down on resume by calculating total
from all blob... | [
{
"path": "x/imagegen/transfer/download.go",
"patch": "@@ -45,24 +45,33 @@ func download(ctx context.Context, opts DownloadOptions) error {\n \t\treturn nil\n \t}\n \n-\t// Filter existing\n-\tvar blobs []Blob\n+\t// Calculate total from all blobs (for accurate progress reporting on resume)\n \tvar total in... | 2026-01-11T23:33:53 |
huggingface/transformers | d363e71d0e32f44d7a5b3571d4921371907bd0ee | 9094b87dd43afc3dad83f580c658aa6534382f56 | 🧹 Remove deprecated RotaryEmbedding parts in the Attention layers (#34858)
* update
* style
* fix missing args
* remove last trace of old rope classes
* remove deprecated copied from
* fix copies
* trigger CIs
* post rebase clean-up
* reverse mistral
* cleanup after dropping commits
* Ad... | [
{
"path": "examples/modular-transformers/modeling_dummy.py",
"patch": "@@ -228,9 +228,6 @@ def __init__(self, config: DummyConfig, layer_idx: Optional[int] = None):\n self.v_proj = nn.Linear(self.hidden_size, self.num_key_value_heads * self.head_dim, bias=config.attention_bias)\n self.o_proj... | 2024-12-11T10:16:52 |
golang/go | a51daac840482d71d89742871b860a023dbdba0e | e5159b2a2f0fdd47c644d1655f5a7b57ec7dd509 | cmd/link: set SizeOfRawData rather than VirtualSize in COFF files for .bss section
GCC and Clang both set the SizeOfRawData field rather than the
VirtualSize field for communicating the size of the .bss section. As a
consequence, LLD does not look at VirtualSize and collapses the .bss
section into whatever is around i... | [
{
"path": "src/cmd/link/internal/ld/pe.go",
"patch": "@@ -418,14 +418,16 @@ func (f *peFile) addSection(name string, sectsize int, filesize int) *peSection\n \t\tname: name,\n \t\tshortName: name,\n \t\tindex: len(f.sections) + 1,\n-\t\tvirtualSize: uint32(sectsize),\n \t\... | 2021-02-13T23:04:48 |
vercel/next.js | 05498a0988e29a4df0a6c79ebe1430769f080fb0 | 6e4f1e285182fbd7a5126c2103f61b5167eccfe3 | Local font files adjust fallbacks (#41180)
When using `@next/font/local` we can't have pre calculated metrics for the font. This PR uses fontkit to read metadata about the imported local font in order to generate a fallback.
Also removes some props from the api that's better done automatically in the future.
## Bug
... | [
{
"path": "packages/font/fontkit.js",
"patch": "@@ -0,0 +1,3 @@\n+// eslint-disable-next-line import/no-extraneous-dependencies\n+import { create } from 'fontkit'\n+export default create",
"additions": 3,
"deletions": 0,
"language": "JavaScript"
},
{
"path": "packages/font/package.json",... | 2022-10-10T18:54:34 |
nodejs/node | 83444b7c66a5d3ba89e1d40790db26735094f5ea | 8271215118da581cf0fec002b5b2f201eecfb7f4 | test: test process.setuid for bad argument types
Test process.setuid with an object as an argument. An equivalent test
exists for process.seteuid.
PR-URL: https://github.com/nodejs/node/pull/19703
Fixes: https://github.com/nodejs/node/issues/19591
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Colin... | [
{
"path": "test/parallel/test-process-setuid-setgid.js",
"patch": "@@ -33,6 +33,10 @@ if (common.isWindows) {\n return;\n }\n \n+assert.throws(() => {\n+ process.setuid({});\n+}, /^TypeError: setuid argument must be a number or a string$/);\n+\n assert.throws(() => {\n process.setuid('fhqwhgadshgnsdhjs... | 2018-03-30T14:08:08 |
ollama/ollama | 7e2496e88e916f8a4f08b21b3f2c472258fed629 | 5b84e29882021dd80ecd858a675f80540d9b0627 | Fix cmake install command in README (#13678)
Update installation command for MLX component in README. | [
{
"path": "x/README.md",
"patch": "@@ -9,7 +9,7 @@ Support is currently limited to MacOS and Linux with CUDA GPUs. We're looking t\n ```\n cmake --preset MLX\n cmake --build --preset MLX --parallel\n-cmake --install --component MLX\n+cmake --install build --component MLX\n go build -tags mlx .\n ```\n ",
... | 2026-01-11T21:16:42 |
huggingface/transformers | 9094b87dd43afc3dad83f580c658aa6534382f56 | 10feacd88aef9569e240b7e3833ab32b297e4460 | BLIP: enable device map (#34850)
fix device map | [
{
"path": "src/transformers/models/blip/modeling_blip.py",
"patch": "@@ -464,6 +464,7 @@ class BlipPreTrainedModel(PreTrainedModel):\n config_class = BlipConfig\n base_model_prefix = \"blip\"\n supports_gradient_checkpointing = True\n+ _no_split_modules = [\"BlipEncoderLayer\"]\n \n def _... | 2024-12-11T10:03:30 |
golang/go | a78b0e67211034743a1f03645312aed35e5c5ba2 | 08543f071520074854f280ad789cf79c5a00af7d | internal/poll: fix the verbose condition in splice
Change-Id: I0b433ea1a78632de20ea58c48c9be0f1fb6eb083
Reviewed-on: https://go-review.googlesource.com/c/go/+/271499
Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Tobias Klauser <tobias.klauser@gmail.com>
R... | [
{
"path": "src/internal/poll/splice_linux.go",
"patch": "@@ -52,7 +52,7 @@ func Splice(dst, src *FD, remain int64) (written int64, handled bool, sc string,\n \t\t// If inPipe == 0 && err == nil, src is at EOF, and the\n \t\t// transfer is complete.\n \t\thandled = handled || (err != syscall.EINVAL)\n-\t\tif... | 2020-11-19T09:30:27 |
vercel/next.js | 8825e2e22681277849361ca061cdada811dd6f33 | 52c2f05d871f7ed83a498ffde9a6a0ead0e881e9 | CSS modules shim (#490)
At the moment, whenever SSR encounters a CSS module, it will likely crash with the following error:
```
TypeError: Cannot read properties of undefined (reading 'someClassName')
```
This is because CSS module support is currently unimplemented. In order to surface other potential errors while ... | [
{
"path": "crates/turbopack-css/Cargo.toml",
"patch": "@@ -17,6 +17,7 @@ serde = \"1.0.136\"\n turbo-tasks = { path = \"../turbo-tasks\" }\n turbo-tasks-fs = { path = \"../turbo-tasks-fs\" }\n turbopack-core = { path = \"../turbopack-core\" }\n+turbopack-ecmascript = { path = \"../turbopack-ecmascript\" }\n... | 2022-10-10T15:47:42 |
nodejs/node | 8271215118da581cf0fec002b5b2f201eecfb7f4 | fdb35d89605de642f316563cd552f930e06ac306 | doc: improve Buffer.allocUnsafeSlow() and related
* Fixed "cleanup" being misused as a verb
* "Use of Foo should only be used" construction changed to "Foo should
only be used..."
* Otherwise-unmentioned "`Persistent`" changed to more understandable
"persistent"
* remove an instance of unnecessary italics
* wrap a... | [
{
"path": "doc/api/buffer.md",
"patch": "@@ -434,7 +434,7 @@ Prior to Node.js 8.0.0, the underlying memory for `Buffer` instances\n created in this way is *not initialized*. The contents of a newly created\n `Buffer` are unknown and *may contain sensitive data*. Use\n [`Buffer.alloc(size)`][`Buffer.alloc()`... | 2018-04-02T06:32:59 |
ollama/ollama | 5b84e29882021dd80ecd858a675f80540d9b0627 | 7cc2a653f2634389403b4af4b07fc5c801a81604 | docs: fix troubleshooting page (#13674)
Updated the link in the log output description to point to the correct troubleshooting guide format. | [
{
"path": ".github/ISSUE_TEMPLATE/10_bug_report.yml",
"patch": "@@ -13,7 +13,7 @@ body:\n id: logs\n attributes:\n label: Relevant log output\n- description: Please copy and paste any relevant log output. See [Troubleshooting Guide](https://github.com/ollama/ollama/blob/main/docs/troubles... | 2026-01-11T08:58:07 |
huggingface/transformers | 5290f6a62dd4892b07ff290087591d8a625a9f1f | 91b8ab18b778ae9e2f8191866e018cd1dc7097be | [docs] Fix FlashAttention link (#35171)
fix link | [
{
"path": "docs/source/en/model_doc/idefics2.md",
"patch": "@@ -141,7 +141,7 @@ Do note that when training Idefics2 on multi-turn conversations between a user a\n \n ## Model optimizations: Flash Attention\n \n-The code snippets above showcase inference without any optimization tricks. However, one can dras... | 2024-12-10T19:36:25 |
golang/go | 08543f071520074854f280ad789cf79c5a00af7d | 0398a771d2fb4c4702e31bbb485924198b1b2603 | ios/fs: mention f.dir in (*subFS).fixErr godoc
There is no dir parameter to (f *subFS).fixErr.
Change-Id: I49e42bac5e102cfab0d289658d9871429cfec515
Reviewed-on: https://go-review.googlesource.com/c/go/+/292389
Trust: Tobias Klauser <tobias.klauser@gmail.com>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBo... | [
{
"path": "src/io/fs/sub.go",
"patch": "@@ -68,7 +68,7 @@ func (f *subFS) shorten(name string) (rel string, ok bool) {\n \treturn \"\", false\n }\n \n-// fixErr shortens any reported names in PathErrors by stripping dir.\n+// fixErr shortens any reported names in PathErrors by stripping f.dir.\n func (f *su... | 2021-02-16T09:36:10 |
vercel/next.js | 3a05f60d3ce282883ddffa034d7cbf789206eaee | 7ebb64846cc76e4685d29cf10ee5a8729ca3766f | fix many root sources crated (vercel/turbo#485)
It's important to not create a `cell` outside of the root `source` method as this will create a new cell for each call, which means each `source` will create a separate task, and this bubbles for each cell created in `source`... | [
{
"path": "packages/next-swc/crates/next-dev/src/lib.rs",
"patch": "@@ -108,12 +108,12 @@ impl NextDevServerBuilder {\n let show_all = self.show_all;\n let log_detail = self.log_detail;\n let browserslist_query = self.browserslist_query;\n- let log_options = LogOptions {\n+ ... | 2022-10-10T13:44:42 |
nodejs/node | fdb35d89605de642f316563cd552f930e06ac306 | 8995125c1427545118f68e82eea2a622878af875 | assert: ensure .rejects() disallows sync throws
This updates `assert.rejects()` to disallow any errors that are thrown
synchronously from the given function. Previously, throwing an error
would cause the same behavior as returning a rejected Promise.
Fixes: https://github.com/nodejs/node/issues/19646
PR-URL: https://... | [
{
"path": "lib/assert.js",
"patch": "@@ -451,8 +451,11 @@ async function waitForActual(block) {\n if (typeof block !== 'function') {\n throw new ERR_INVALID_ARG_TYPE('block', 'Function', block);\n }\n+\n+ // Return a rejected promise if `block` throws synchronously.\n+ const resultPromise = block(... | 2018-03-28T05:21:31 |
huggingface/transformers | 52d135426f387862db8c73ea5ab8f69338ee81c7 | 425af6cdc20d20e93fb814e6932c1b194b3f2915 | Multiple typo fixes in NLP, Audio docs (#35181)
Fixed multiple typos in Tutorials, NLP, and Audio sections | [
{
"path": "docs/source/en/tasks/asr.md",
"patch": "@@ -112,7 +112,7 @@ The next step is to load a Wav2Vec2 processor to process the audio signal:\n >>> processor = AutoProcessor.from_pretrained(\"facebook/wav2vec2-base\")\n ```\n \n-The MInDS-14 dataset has a sampling rate of 8000kHz (you can find this info... | 2024-12-10T17:08:55 |
ollama/ollama | 33ee7168ba1e16c813b52dc2c9417efa1e2e9f20 | 34d0c55ea57e24d04b57e792f91a91eaa18ad9ce | Add experimental MLX backend and engine with imagegen support (#13648)
* WIP - MLX backend with gemma3
* MLX: add cmake and go tag build toggles
To build the new MLX backend code:
cmake --preset MLX
cmake --build --preset MLX --parallel
cmake --install build --component MLX
go build -tags mlx .
Note: the ma... | [
{
"path": "CMakeLists.txt",
"patch": "@@ -2,6 +2,22 @@ cmake_minimum_required(VERSION 3.21)\n \n project(Ollama C CXX)\n \n+# Handle cross-compilation on macOS: when CMAKE_OSX_ARCHITECTURES is set to a\n+# single architecture different from the host, override CMAKE_SYSTEM_PROCESSOR\n+# to match. This is nec... | 2026-01-09T00:18:59 |
golang/go | 0398a771d2fb4c4702e31bbb485924198b1b2603 | 6525abddcee2886ca0095decdfe1e97de19d06f2 | cmd/internal/obj/riscv: prevent constant loads that do not target registers
Check that the target of a constant load is a register and add test coverage
for this error condition. While here, rename the RISC-V testdata and tests
to be consistent with other platforms.
Change-Id: I7fd0bfcee8cf9df0597d72e65cd74a2d0bfd349... | [
{
"path": "src/cmd/asm/internal/asm/endtoend_test.go",
"patch": "@@ -439,8 +439,12 @@ func TestPPC64EndToEnd(t *testing.T) {\n \ttestEndToEnd(t, \"ppc64\", \"ppc64\")\n }\n \n-func TestRISCVEncoder(t *testing.T) {\n-\ttestEndToEnd(t, \"riscv64\", \"riscvenc\")\n+func TestRISCVEndToEnd(t *testing.T) {\n+\tte... | 2021-02-17T10:03:59 |
nodejs/node | 625971271b1b9208cd0da53d55f4e5669df3f129 | 14310b5c1fa1e6a65fe763494b24ac1e9bffdaa0 | test: improve assert message
Use the default assert.strictEqual() message so that unequal values are
shown in the event of an AssertionError.
PR-URL: https://github.com/nodejs/node/pull/19629
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivik... | [
{
"path": "test/parallel/test-http-client-timeout-agent.js",
"patch": "@@ -89,6 +89,6 @@ server.listen(0, options.host, function() {\n \n process.on('exit', function() {\n console.error(`done=${requests_done} sent=${requests_sent}`);\n- assert.strictEqual(requests_done, requests_sent,\n- ... | 2018-03-27T08:21:05 |
huggingface/transformers | e5c45a667978ecdcfc9d58ae1dae4ad67401ab39 | 3e2769a3c998599a9b84b80d9ef8c81b29476276 | Fixing GGUF support for StableLm (#35060)
fix
Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.com> | [
{
"path": "src/transformers/modeling_gguf_pytorch_utils.py",
"patch": "@@ -307,7 +307,7 @@ def load_gguf_checkpoint(gguf_checkpoint_path, return_tensors=False):\n ffn_norm_name = \"ffn_norm\"\n qkv_bias = any(bias_name in tensor.name for tensor in reader.tensors for bias_name in attn_bias_na... | 2024-12-10T15:30:09 |
vercel/next.js | 52c2f05d871f7ed83a498ffde9a6a0ead0e881e9 | 614639908f05abf7383f78e80ba8bf4b4e050a30 | fix many root sources crated (#485)
It's important to not create a `cell` outside of the root `source` method as this will create a new cell for each call, which means each `source` will create a separate task, and this bubbles for each cell created in `source`... | [
{
"path": "crates/next-dev/src/lib.rs",
"patch": "@@ -108,12 +108,12 @@ impl NextDevServerBuilder {\n let show_all = self.show_all;\n let log_detail = self.log_detail;\n let browserslist_query = self.browserslist_query;\n- let log_options = LogOptions {\n+ let log_optio... | 2022-10-10T13:44:42 |
ollama/ollama | 626af2d80973270c4d59b8df7153ac47ad67ed7b | 76912c062aaa61652f50532fd74273e76b4979f3 | template: fix args-as-json rendering (#13636)
In #13525, I accidentally broke templates' ability to automatically
render tool call function arguments as JSON.
We do need these to be proper maps because we need templates to be able
to call range, which can't be done on custom types. | [
{
"path": "template/template.go",
"patch": "@@ -381,6 +381,28 @@ func (t templateTools) String() string {\n \treturn string(bts)\n }\n \n+// templateArgs is a map type with JSON string output for templates.\n+type templateArgs map[string]any\n+\n+func (t templateArgs) String() string {\n+\tif t == nil {\n+\... | 2026-01-07T02:33:57 |
nodejs/node | 14310b5c1fa1e6a65fe763494b24ac1e9bffdaa0 | b06f686f8878027ccbd08b36b546378ffc0addfd | test: remove third argument from call to assert.strictEqual()
Remove the message argument from call to assert.strictEqual so
that the AssertionError will report the value of er.code, and add
a comment with the message.
PR-URL: https://github.com/nodejs/node/pull/19659
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Revi... | [
{
"path": "test/parallel/test-http-destroyed-socket-write2.js",
"patch": "@@ -62,12 +62,13 @@ server.listen(0, function() {\n break;\n \n default:\n+ // Write to a torn down client should RESET or ABORT\n assert.strictEqual(er.code,\n- 'ECONNRESET',\n- ... | 2018-03-27T14:34:48 |
golang/go | c4b771348c3e5c5372bd00254f2e796b627c13dc | 2a18e37c4e78e26c9f1e613dfa97aaf275ea0b4d | runtime: fix windows/arm signal handling assembly
Bug introduced in CL 288799: R12 is used but not set.
Fixes windows/arm builder.
Change-Id: I015a5a83cfa3bdd23da1ffb73713623764f2f817
Reviewed-on: https://go-review.googlesource.com/c/go/+/295109
Trust: Russ Cox <rsc@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@go... | [
{
"path": "src/runtime/sys_windows_arm.s",
"patch": "@@ -160,6 +160,11 @@ g0:\n \tBL\t(R7)\t\t// Call the go routine\n \tMOVW\t16(R13), R4\t// Fetch return value from stack\n \n+\t// Save system stack pointer for sigresume setup below.\n+\t// The exact value does not matter - nothing is read or written\n+\t... | 2021-02-22T17:56:33 |
huggingface/transformers | 3e2769a3c998599a9b84b80d9ef8c81b29476276 | 5fba3f99c0a44f7613aeaa0550f7786919780663 | Fix DBRX LayerNorm init method (#35177)
fix dbrx layernorm init | [
{
"path": "src/transformers/models/dbrx/modeling_dbrx.py",
"patch": "@@ -845,7 +845,7 @@ def _init_weights(self, module: nn.Module):\n if module.padding_idx is not None:\n module.weight.data[module.padding_idx].zero_()\n elif isinstance(module, nn.LayerNorm):\n- ... | 2024-12-10T14:31:22 |
vercel/next.js | 3d499a627f49b911b30120df4e2e39e998d6273b | d74f34021bfbd0757ebc0dc2f685c98e5ba1bd34 | Add test for link back to original page (#41297)
- Implements failing test
- Implemented handling for the case where the router tree does not match up with the segment path being navigated to. This is what caused the underlying error.
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration test... | [
{
"path": "packages/next/client/components/reducer.ts",
"patch": "@@ -471,11 +471,16 @@ function shouldHardNavigate(\n string\n ]\n \n- // If dynamic parameter in tree doesn't match up with segment path a hard navigation is triggered.\n- if (Array.isArray(currentSegment) && !matchSegment(currentSegm... | 2022-10-10T12:42:46 |
ollama/ollama | 6c3faafed27a1b7c3b0b4261f97fa1f82f51408e | e51dead6363e941b480f5bf1270254db7e175083 | olmo3: fix flaky test (#13629)
I introduced this in <https://github.com/ollama/ollama/pull/13525> | [
{
"path": "model/renderers/olmo3_test.go",
"patch": "@@ -227,9 +227,9 @@ func TestOlmo3Renderer(t *testing.T) {\n \t\t\t\t\t\t\tID: \"call_1\",\n \t\t\t\t\t\t\tFunction: api.ToolCallFunction{\n \t\t\t\t\t\t\t\tName: \"book_flight\",\n-\t\t\t\t\t\t\t\tArguments: testArgs(map[string]any{\n-\t\t\t\t\t\t\t\t\t\... | 2026-01-06T06:37:20 |
huggingface/transformers | 6acb4e43a7a0c89830bc3658cb425477e6934be5 | 80f2b1610fa17ebf582897c8611180cac38652f0 | Support BatchNorm in Hubert pos_conv_emb as in fairseq (#34389)
* Support BatchNorm in Hubert pos_conv_emb as in fairseq
* Correct the new defaults (#34377)
* Correct the new defaults
* CIs
* add check
* Update utils.py
* Update utils.py
* Add the max_length in generate test checking shape without... | [
{
"path": "src/transformers/models/hubert/configuration_hubert.py",
"patch": "@@ -94,6 +94,8 @@ class HubertConfig(PretrainedConfig):\n embeddings layer.\n num_conv_pos_embedding_groups (`int`, *optional*, defaults to 16):\n Number of groups of 1D convolutional positional emb... | 2024-12-10T13:18:23 |
nodejs/node | b06f686f8878027ccbd08b36b546378ffc0addfd | 2ec69955556bf92f49355659b6126e08fa2c3298 | http: fix `request` when `setHost` is `true`
Fixes: https://github.com/nodejs/node/issues/19457
PR-URL: https://github.com/nodejs/node/pull/19502
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Yuta Hiro... | [
{
"path": "doc/api/http.md",
"patch": "@@ -1858,6 +1858,8 @@ changes:\n details. Any [`Duplex`][] stream is a valid return value.\n * `timeout` {number}: A number specifying the socket timeout in milliseconds.\n This will set the timeout before the socket is connected.\n+ * `setHost` {boolean}: S... | 2018-03-21T04:11:40 |
vercel/next.js | 92b2032fef30068c3a810ca5000e0aea5f31f431 | 1fd79982877ebdab6406226677be069b0b21d786 | fix bug in tracking unemitted collectibles when moving between scopes (#481)
This can cause unemitted collectibles to be hanging around in wrong TaskScopes, which looks like emit or unemit has no effect. | [
{
"path": "crates/turbo-tasks-memory/src/task.rs",
"patch": "@@ -707,7 +707,7 @@ impl Task {\n }\n }\n \n- if !state.emitted_collectibles.is_empty() || state.unemitted_collectibles.is_empty() {\n+ if !state.emitted_collectibles.is_empty() || !state.unemitted... | 2022-10-10T09:07:16 |
huggingface/transformers | 80f2b1610fa17ebf582897c8611180cac38652f0 | 0938b57770db818b3d818bc00fa989fa206087dd | Fix file path for shard_num 1 with mllama converter (#35053)
"#35049 fix path for num_shard 1" | [
{
"path": "src/transformers/models/mllama/convert_mllama_weights_to_hf.py",
"patch": "@@ -338,7 +338,11 @@ def write_model(\n \n print(f\"Fetching all parameters from the checkpoint at {input_base_path}...\")\n if num_shards == 1:\n- loaded = [torch.load(os.path.join(input_base_path, \"consol... | 2024-12-10T09:11:45 |
ollama/ollama | d087e46bd193b1101cef13e28841185a465a077f | 37f6f3af24ad567e2160f79545f1a10a207467a2 | docs/capabilities/vision: fix curl related code snippet (#13615) | [
{
"path": "docs/capabilities/vision.mdx",
"patch": "@@ -36,7 +36,6 @@ Provide an `images` array. SDKs accept file paths, URLs or raw bytes while the R\n }],\n \"stream\": false\n }'\n- \"\n ```\n </Tab>\n <Tab title=\"Python\">",
"additions": 0,
"deletions": 1,
"la... | 2026-01-03T22:27:46 |
nodejs/node | a820f4155b5e9a742fec750b437036dcd98d3271 | 1a5a19d6d475578eec355a8b3079b4a96fc77489 | tools: don’t emit illegal utf-8 from icutrim/iculslocs
- argv[0] was being emitted into a utf-8 stream, but argv[0] may
not be legal utf-8
- fix by not emitting argv[0] (was only for a source comment)
- partially resolves https://github.com/nodejs/node/issues/17077
PR-URL: https://github.com/nodejs/node/pull/19756
Fi... | [
{
"path": "tools/icu/iculslocs.cc",
"patch": "@@ -271,9 +271,9 @@ int list(const char* toBundle) {\n if (bf != NULL) { // NOLINT (readability/null_usage)\n // write the HEADER\n fprintf(bf,\n- \"// Warning this file is automatically generated\\n\"\n- \"// Updated by %s based... | 2018-04-02T15:09:29 |
huggingface/transformers | 0938b57770db818b3d818bc00fa989fa206087dd | dada0fd85f13c68dd7506aba0740083523bcf2df | Assisted decoding multi-gpu (#35116)
* fix
* move a few lines up | [
{
"path": "src/transformers/generation/utils.py",
"patch": "@@ -4260,9 +4260,10 @@ def _assisted_decoding(\n while self._has_unfinished_sequences(this_peer_finished, synced_gpus, device=input_ids.device):\n cur_len = input_ids.shape[-1]\n \n- # 1. Fetch candidate sequences fr... | 2024-12-10T08:59:17 |
vercel/next.js | ed769521f9d940d43bb8c2c329fb6969cf203a9d | 4851e09ca8bd3fac8f4d3a0210902571a0175904 | Support for App.getInitialProps/Page.getInitialProps (vercel/turbo#464)
This is a very simplified version of what Next.js does. It adds support for `App` and page components defining `getInitialProps`.
fixes vercel/web-tooling-internal#38 | [
{
"path": "packages/next-swc/crates/next-core/src/next_import_map.rs",
"patch": "@@ -40,6 +40,13 @@ pub fn get_next_import_map(pages_dir: FileSystemPathVc) -> ImportMapVc {\n )\n .into(),\n );\n+ let internal_shared_utils_import_mapping = asset_to_import_mapping(\n+ VirtualAsse... | 2022-10-10T09:03:25 |
ollama/ollama | 37f6f3af24ad567e2160f79545f1a10a207467a2 | e1bdc23dd27cc615ae5ab2334429c05e241d3a02 | server: return error when embedding contains NaN or Inf values (#13599)
The normalize function now checks for NaN and Inf values in the
embedding vector before processing. This prevents JSON encoding
failures when models produce invalid floating-point values.
Fixes #13572
Signed-off-by: majiayu000 <1835304752@qq.com... | [
{
"path": "server/routes.go",
"patch": "@@ -752,9 +752,15 @@ func (s *Server) EmbedHandler(c *gin.Context) {\n \t\t\t\treturn err\n \t\t\t}\n \t\t\t// TODO: this first normalization should be done by the model\n-\t\t\tembedding = normalize(embedding)\n+\t\t\tembedding, err = normalize(embedding)\n+\t\t\tif ... | 2026-01-03T07:20:12 |
golang/go | 5e804ba17da12f53c0d66c1ce1e0e7845feb7f69 | 6a40dd05d833b2bd78eb68ac67d7e860edff6878 | cmd/compile: use transitive relations for slice len/cap in poset
Currently, we keep track of slice len by mapping from slice ID to
len/cap SSA value. However, slice len/cap can have multiple SSA values,
so when updating fact table for slice len/cap, we only update in one
place.
Instead, we can take advantage of the t... | [
{
"path": "src/cmd/compile/internal/ssa/prove.go",
"patch": "@@ -778,7 +778,14 @@ func prove(f *Func) {\n \t\t\t\tif ft.lens == nil {\n \t\t\t\t\tft.lens = map[ID]*Value{}\n \t\t\t\t}\n-\t\t\t\tft.lens[v.Args[0].ID] = v\n+\t\t\t\t// Set all len Values for the same slice as equal in the poset.\n+\t\t\t\t// T... | 2020-11-27T19:46:00 |
huggingface/transformers | dada0fd85f13c68dd7506aba0740083523bcf2df | 34f4080ff59b1668d919a1ba9f8bc4a3a2a3f478 | Fix `num_items_in_batch` not being an integer (#35115)
In method `Trainer#get_batch_samples`, the return values should be a
list of batch samples and an integer indicating the number of items that
exist in the batch. However, this was not actually a case and what was
returned instead of an integer, was a tensor with o... | [
{
"path": "src/transformers/trainer.py",
"patch": "@@ -5138,4 +5138,8 @@ def get_batch_samples(self, epoch_iterator, num_batches):\n \n if self.args.average_tokens_across_devices:\n num_items_in_batch = self.accelerator.gather(num_items_in_batch).sum().item()\n+\n+ if torch.is_ten... | 2024-12-10T07:40:40 |
vercel/next.js | 1fd79982877ebdab6406226677be069b0b21d786 | e7fec4eb0b0db12ac2c5bf40a4d7eabf121d9f92 | Support for App.getInitialProps/Page.getInitialProps (#464)
This is a very simplified version of what Next.js does. It adds support for `App` and page components defining `getInitialProps`.
fixes vercel/web-tooling-internal#38 | [
{
"path": "crates/next-core/src/next_import_map.rs",
"patch": "@@ -40,6 +40,13 @@ pub fn get_next_import_map(pages_dir: FileSystemPathVc) -> ImportMapVc {\n )\n .into(),\n );\n+ let internal_shared_utils_import_mapping = asset_to_import_mapping(\n+ VirtualAssetVc::new(\n+ ... | 2022-10-10T09:03:25 |
nodejs/node | 1a5a19d6d475578eec355a8b3079b4a96fc77489 | ed86cc570e875b00a6c94839d87027a27ce85932 | n-api: back up env before finalize
Heed the comment to not use fields of a Reference after calling its
finalize callback, because such a call may destroy the Reference.
Fixes: https://github.com/nodejs/node/issues/19673
PR-URL: https://github.com/nodejs/node/pull/19718
Reviewed-By: James M Snell <jasnell@gmail.com>
R... | [
{
"path": "src/node_api.cc",
"patch": "@@ -457,9 +457,10 @@ class Reference : private Finalizer {\n // Check before calling the finalize callback, because the callback might\n // delete it.\n bool delete_self = reference->_delete_self;\n+ napi_env env = reference->_env;\n \n if (reference... | 2018-04-01T01:37:17 |
golang/go | a2e150c7cded1367fb092e87abb37ce2a1673d11 | 5a0e4fc4e7188fb36e64a7d7d25bab943f081811 | go/types, cmd/compile/internal/types2: use regular type printing for unsafe.Pointer
Type string printing special-cased printing of unsafe.Pointer because
it's a built-in type; yet it's declared in a package like any other
imported or used-defined type (unlike built-in types such as int).
Use the same mechanism for pr... | [
{
"path": "src/cmd/compile/internal/types2/issues_test.go",
"patch": "@@ -546,3 +546,25 @@ func TestIssue43088(t *testing.T) {\n \tComparable(T1)\n \tComparable(T2)\n }\n+\n+func TestIssue44515(t *testing.T) {\n+\ttyp := Unsafe.Scope().Lookup(\"Pointer\").Type()\n+\n+\tgot := TypeString(typ, nil)\n+\twant :... | 2021-02-23T01:02:46 |
ollama/ollama | e1bdc23dd27cc615ae5ab2334429c05e241d3a02 | 2e78653ff99536885ab6bbbc00f20dd34d499102 | docs: fix tool name mismatch and trailing commas in api.md example (#13559)
The tool calling example used "get_temperature" for tool_calls but
defined the tool as "get_weather". Also removed trailing commas that
made the JSON invalid.
Fixes #13031 | [
{
"path": "docs/api.md",
"patch": "@@ -895,19 +895,19 @@ curl http://localhost:11434/api/chat -d '{\n \"tool_calls\": [\n {\n \"function\": {\n- \"name\": \"get_temperature\",\n+ \"name\": \"get_weather\",\n \"arguments\": {\n \"city\":... | 2026-01-03T07:14:53 |
rust-lang/rust | 4c8bb775e4a0679a77713f236555a12c494f665c | 099d0e09cf6409847dc9ceea8452e8e14c677376 | internal: fix salsa-ified crate graph working with lazy project discovery | [
{
"path": "src/tools/rust-analyzer/crates/hir-expand/src/lib.rs",
"patch": "@@ -208,7 +208,8 @@ impl ExpandErrorKind {\n },\n None => RenderedExpandError {\n message: format!(\n- \"internal error: proc-macro map is mi... | 2025-04-01T16:30:14 |
huggingface/transformers | 34f4080ff59b1668d919a1ba9f8bc4a3a2a3f478 | fa8763ce172fff0ae38280bf8cd7428c4921e0ed | [CI] Fix bnb quantization tests with accelerate>=1.2.0 (#35172) | [
{
"path": "tests/quantization/bnb/test_4bit.py",
"patch": "@@ -385,14 +385,14 @@ def test_inference_without_keep_in_fp32(self):\n \n # test with `google-t5/t5-small`\n model = T5ForConditionalGeneration.from_pretrained(self.model_name, load_in_4bit=True, device_map=\"auto\")\n- encode... | 2024-12-09T18:55:16 |
vercel/next.js | 4851e09ca8bd3fac8f4d3a0210902571a0175904 | 9427514d69a819fd3493a089e6ec8ea7be37d614 | Revamp errors and logging (vercel/turbo#467)
This updates all of our Issues to have a consistent display, and changes the way we display source code and debug-level details. In particular, this makes the following changes:
1. Cleans up the title/description of existing issues
- We were filling the `title` field wi... | [
{
"path": "packages/next-swc/crates/next-core/src/nodejs/issue.rs",
"patch": "@@ -1,5 +1,5 @@\n use anyhow::Result;\n-use turbo_tasks::{primitives::StringVc, ValueToString};\n+use turbo_tasks::primitives::StringVc;\n use turbo_tasks_fs::FileSystemPathVc;\n use turbopack_core::issue::{Issue, IssueVc};\n \n@@... | 2022-10-10T06:24:54 |
nodejs/node | ed86cc570e875b00a6c94839d87027a27ce85932 | c5928ab6314bb128fb709ace83e478a733e6795f | src: rename req_wrap with -async/-sync suffix
This commit renames the req_wrap variable to use an -async/-sync
suffix to avoid cases where the variables were being shadowed.
PR-URL: https://github.com/nodejs/node/pull/19628
Refs: https://github.com/nodejs/node/pull/19614
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com... | [
{
"path": "src/node_file.cc",
"patch": "@@ -769,14 +769,14 @@ void Access(const FunctionCallbackInfo<Value>& args) {\n BufferValue path(env->isolate(), args[0]);\n CHECK_NE(*path, nullptr);\n \n- FSReqBase* req_wrap = GetReqWrap(env, args[2]);\n- if (req_wrap != nullptr) { // access(path, mode, req)\... | 2018-03-27T07:31:39 |
Subsets and Splits
Assembly Language GitHub Issues
Retrieves a sample of assembly-language related commits with their details, but doesn't provide meaningful analysis or patterns beyond basic filtering.
Swift Compiler Issues Analysis
Retrieves all training data for the Swift programming language repository, providing basic filtering but offering limited analytical insight beyond identifying relevant code examples.