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 |
|---|---|---|---|---|---|
rust-lang/rust | c0fe46d6b72c96bda16bf62e7476e6d85ba68afe | aec77398378cc7af99043c3d1dd2394eb3d33c43 | Make missing optimized MIR error more informative | [
{
"path": "compiler/rustc_monomorphize/messages.ftl",
"patch": "@@ -48,7 +48,7 @@ monomorphize_large_assignments =\n .note = The current maximum size is {$limit}, but it can be customized with the move_size_limit attribute: `#![move_size_limit = \"...\"]`\n \n monomorphize_no_optimized_mir =\n- missi... | 2025-03-27T12:08:00 |
huggingface/transformers | 1646ffb4d19b6777fd45ac727c7a7c323d51e7f8 | 3ee24e220863fca88468c1670399eecfe15582c0 | VLMs: `patch_size` -> `num_image_tokens` in processing (#33424)
* use num additional tokens
* fix copies + docs
* another fix copies :)
* add docs
* move order for BC | [
{
"path": "docs/source/en/model_doc/blip-2.md",
"patch": "@@ -40,6 +40,10 @@ The original code can be found [here](https://github.com/salesforce/LAVIS/tree/5\n - BLIP-2 can be used for conditional text generation given an image and an optional text prompt. At inference time, it's recommended to use the [`ge... | 2024-11-18T12:21:07 |
golang/go | 6f401df36680526d7e6eabb70ce8c4dd986273ef | b60f79385018b41ccd1d0fb717b0bff99d2d3139 | [dev.fuzz] cmd/go: call F.Fuzz from all fuzz script tests
Fuzz targets must call F.Skip, F.Fail, or F.Fuzz. F.Fuzz must not be
called more than once. If a fuzz target panics, calls runtime.Goexit,
or returns normally without calling one of those functions, the target
should panic, and 'go test' should exit with a non-... | [
{
"path": "src/cmd/go/testdata/script/test_fuzz.txt",
"patch": "@@ -1,6 +1,20 @@\n # TODO(jayconrod): support shared memory on more platforms.\n [!darwin] [!linux] [!windows] skip\n \n+# Test that running a fuzz target that returns without failing or calling\n+# f.Fuzz fails and causes a non-zero exit statu... | 2021-02-09T15:15:02 |
vercel/next.js | 1967637189afe1f3164bfcf7115c7b0ac12bc45b | 228e86e7f21d7c0e24dc0406b37ed9fad51b59c4 | improve error message (#433) | [
{
"path": "crates/turbo-tasks-build/src/lib.rs",
"patch": "@@ -356,7 +356,12 @@ impl<'a> RegisterContext<'a> {\n \n let entry = self.values.get_mut(&key);\n if entry.is_none() {\n- panic!(\"failed to add value trait {} to {}\", trait_ident, ident);\n+ panic!(\n+ ... | 2022-09-28T16:09:23 |
nodejs/node | 2725acf1c20986767ddbe009c6bb4c862e9b9fbf | c1695d8bad09fc61922ec91101736debb2d165db | doc: fix/improve inspector profiler example
The first parameter to the callback is `err`. Fix that. Expand example
to demonstrate an actual write to disk.
PR-URL: https://github.com/nodejs/node/pull/19379
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Franziska ... | [
{
"path": "doc/api/inspector.md",
"patch": "@@ -145,7 +145,7 @@ protocol. Here's a simple example showing how to use the [CPU profiler][]:\n \n ```js\n const inspector = require('inspector');\n-\n+const fs = require('fs');\n const session = new inspector.Session();\n session.connect();\n \n@@ -154,8 +154,11... | 2018-03-15T22:44:04 |
ollama/ollama | 05982a95cb9e053fadf309e60ec9ff2bc58ba32e | 4987f13d345d77844b6737edadaa1f0432df004c | Qwen3VL Cloud Parser and Renderer (#12526)
* working (other than tool call is the incorrect order) for tool calls and tools
* Tests work, other than image tags (tests do not go through server) and tools (not in the correct order, but contents are the same)
* testing for qwen3vl parser - toolparser is working
* made... | [
{
"path": "api/types.go",
"patch": "@@ -266,9 +266,9 @@ func (pt PropertyType) String() string {\n \n type ToolProperty struct {\n \tAnyOf []ToolProperty `json:\"anyOf,omitempty\"`\n-\tType PropertyType `json:\"type\"`\n+\tType PropertyType `json:\"type,omitempty\"`\n \tItems a... | 2025-10-13T23:52:33 |
golang/go | b60f79385018b41ccd1d0fb717b0bff99d2d3139 | 5ef7357b50015e91b096a4f14f554db78ba18b5f | [dev.fuzz] cmd/go: skip fuzz tests on unsupported platforms
For now, fuzzing is only supported on Darwin, Linux, and Windows. We
haven't testing shared memory communication between coordinator and
worker processes on other platforms. Currently, fuzz.CoordinateFuzzing
and RunFuzzWorker both panic with "unimplemented" m... | [
{
"path": "src/cmd/go/testdata/script/test_fuzz.txt",
"patch": "@@ -1,3 +1,6 @@\n+# TODO(jayconrod): support shared memory on more platforms.\n+[!darwin] [!linux] [!windows] skip\n+\n # Test that calling f.Error in a fuzz target causes a non-zero exit status.\n ! go test -fuzz=Fuzz -fuzztime=5s -parallel=1 ... | 2021-02-09T21:09:30 |
vercel/next.js | f0079a9caa92729f236b0c8711e45f0df07a6192 | f7069c027918ced32276e8eb87a4c6cd47fd9842 | Add test case for `react-server` import condition (#40997)
The `react-server` condition for `exports` is already covered. This PR adds a new test case to cover the `imports` condition for internal dependencies.
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have a... | [
{
"path": "test/e2e/app-dir/rsc-basic.test.ts",
"patch": "@@ -405,9 +405,11 @@ describe('app dir - react server components', () => {\n const result = await resolveStreamResponse(response)\n \n // Package should be resolved based on the react-server condition,\n- // as well as package'... | 2022-09-28T15:40:13 |
huggingface/transformers | 3ee24e220863fca88468c1670399eecfe15582c0 | 13493215abceafc1653af88b045120014fb4c1fc | Add OLMo November 2024 (#34551)
* Add model skeletion with transformers-cli add-new-model-like
* Convert config to modular, add rms_norm_eps, delete clip_qkv
* Convert model to modular, add RMSNorm
* Add flash attention with qk norm and no qkv clipping
* Add decoder layer with RMSNorm after attention/feedf... | [
{
"path": "docs/source/en/_toctree.yml",
"patch": "@@ -514,6 +514,8 @@\n title: Nyströmformer\n - local: model_doc/olmo\n title: OLMo\n+ - local: model_doc/olmo_1124\n+ title: OLMo November 2024\n - local: model_doc/olmoe\n title: OLMoE\n - local: model_... | 2024-11-18T09:43:10 |
rust-lang/rust | a535a31045f0f786b36112ed4488b24539ed2710 | 6bcd71160f8bb3efb5e832fe080b0473b7b2d202 | Move `ast::Item::ident` into `ast::ItemKind`.
`ast::Item` has an `ident` field.
- It's always non-empty for these item kinds: `ExternCrate`, `Static`,
`Const`, `Fn`, `Mod`, `TyAlias`, `Enum`, `Struct`, `Union`,
`Trait`, `TraitAlias`, `MacroDef`, `Delegation`.
- It's always empty for these item kinds: `Use`, `For... | [
{
"path": "src/items.rs",
"patch": "@@ -333,12 +333,12 @@ impl<'a> FnSig<'a> {\n defaultness: ast::Defaultness,\n ) -> FnSig<'a> {\n match *fn_kind {\n- visit::FnKind::Fn(visit::FnCtxt::Assoc(..), _, vis, ast::Fn { sig, generics, .. }) => {\n+ visit::FnKind::Fn(visi... | 2025-03-20T22:47:43 |
nodejs/node | c1695d8bad09fc61922ec91101736debb2d165db | 1203b1372592a5067888987080f30b6b9047d150 | n-api: add napi_fatal_exception
Add function to trigger and uncaught exception.
Useful if an async callback throws an exception with
no way to recover.
PR-URL: https://github.com/nodejs/node/pull/19337
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Hennin... | [
{
"path": "doc/api/n-api.md",
"patch": "@@ -541,6 +541,20 @@ This API returns true if an exception is pending.\n \n This API can be called even if there is a pending JavaScript exception.\n \n+#### napi_fatal_exception\n+<!-- YAML\n+added: REPLACEME\n+-->\n+```C\n+napi_status napi_fatal_exception(napi_env e... | 2018-03-14T02:14:08 |
golang/go | 59703d53e249db738363c3fab9143348ff9559ea | 168d6a49a5ecbdd6a1eb039b2398c2821b3d3865 | [dev.regabi] cmd/link: stop using ABI aliases if wrapper is enabled
If ABI wrappers are enabled, we should not see ABI aliases at
link time. Stop resolving them. One exception is shared linkage,
where we still use ABI aliases as we don't always know the ABI
for symbols from shared libraries.
Change-Id: Ia89a788094382... | [
{
"path": "src/cmd/link/internal/ld/lib.go",
"patch": "@@ -489,10 +489,16 @@ func (ctxt *Link) loadlib() {\n \tcase 0:\n \t\t// nothing to do\n \tcase 1, 2:\n-\t\tflags = loader.FlagStrictDups\n+\t\tflags |= loader.FlagStrictDups\n \tdefault:\n \t\tlog.Fatalf(\"invalid -strictdups flag value %d\", *FlagStri... | 2021-02-05T23:07:46 |
vercel/next.js | f7069c027918ced32276e8eb87a4c6cd47fd9842 | 5831097c25094a3fd3daaf7770872c9891132487 | Fix unused CSS module imports are tracked on the server (#40996)
Reported by @hanneslund, when a CSS modules file gets imported in server
components, during `collectClientComponentsAndCSSForDependency` in our
client entry plugin it will always be collected no matter it is used or
not. Due to the restriction that we... | [
{
"path": "packages/next/build/webpack/plugins/flight-client-entry-plugin.ts",
"patch": "@@ -14,6 +14,7 @@ import type {\n import { APP_DIR_ALIAS } from '../../../lib/constants'\n import {\n COMPILER_NAMES,\n+ EDGE_RUNTIME_WEBPACK,\n FLIGHT_SERVER_CSS_MANIFEST,\n } from '../../../shared/lib/constants'\... | 2022-09-28T15:06:10 |
huggingface/transformers | 8d50fda64433023e19f51789105c1202c7339976 | b0c0ba7b4dd53635e6401e207c0d33231d273551 | Remove FSDP wrapping from sub-models. (#34452)
* Remove FSDP wrapping from sub-models.
* solve conflict trainer.py
* make fixup
* add unit test for fsdp_auto_wrap_policy when using auto_find_batch_size
* put back extract_model_from_parallel
* use transformers unwrap_model | [
{
"path": "src/transformers/trainer.py",
"patch": "@@ -66,7 +66,7 @@\n from .integrations.deepspeed import deepspeed_init, deepspeed_load_checkpoint, is_deepspeed_available\n from .integrations.tpu import tpu_spmd_dataloader\n from .modelcard import TrainingSummary\n-from .modeling_utils import PreTrainedMo... | 2024-11-15T22:00:03 |
rust-lang/rust | 5101c8e87f6e307c618576f76281e011372a65a4 | 5791b9c4a43da20d846f00cebd6a1007240a7ec7 | Move `ast::Item::ident` into `ast::ItemKind`.
`ast::Item` has an `ident` field.
- It's always non-empty for these item kinds: `ExternCrate`, `Static`,
`Const`, `Fn`, `Mod`, `TyAlias`, `Enum`, `Struct`, `Union`,
`Trait`, `TraitAlias`, `MacroDef`, `Delegation`.
- It's always empty for these item kinds: `Use`, `For... | [
{
"path": "clippy_lints/src/crate_in_macro_def.rs",
"patch": "@@ -53,7 +53,7 @@ declare_lint_pass!(CrateInMacroDef => [CRATE_IN_MACRO_DEF]);\n \n impl EarlyLintPass for CrateInMacroDef {\n fn check_item(&mut self, cx: &EarlyContext<'_>, item: &Item) {\n- if let ItemKind::MacroDef(macro_def) = &it... | 2025-03-20T22:47:43 |
nodejs/node | 14460d595fd867e92fdd6328ca0bc5636c1899d9 | 5a4a1cba2445d71aadf4ebf4350090dfdb32d871 | tools: fix logic nit in tools/doc/generate.js
PR-URL: https://github.com/nodejs/node/pull/19475
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com> | [
{
"path": "tools/doc/generate.js",
"patch": "@@ -65,8 +65,8 @@ function next(er, input) {\n switch (format) {\n case 'json':\n require('./json.js')(input, filename, (er, obj) => {\n- console.log(JSON.stringify(obj, null, 2));\n if (er) throw er;\n+ console.log(JSON.stringif... | 2018-03-20T12:38:00 |
golang/go | e9c96835971044aa4ace37c7787de231bbde05d9 | e0ac989cf3e43ec77c7205a66cb1cd63dd4d3043 | cmd/go: suppress errors from 'go get -d' for packages that only conditionally exist
Fixes #44106
Fixes #29268
Change-Id: Id113f2ced274d43fbf66cb804581448218996f81
Reviewed-on: https://go-review.googlesource.com/c/go/+/289769
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
Trust... | [
{
"path": "src/cmd/go/internal/modget/get.go",
"patch": "@@ -380,10 +380,9 @@ func runGet(ctx context.Context, cmd *base.Command, args []string) {\n \t\tpkgs := load.PackagesAndErrors(ctx, pkgPatterns)\n \t\tload.CheckPackageErrors(pkgs)\n \t\twork.InstallPackages(ctx, pkgPatterns, pkgs)\n-\t\t// TODO(#4027... | 2021-02-04T20:26:52 |
vercel/next.js | 402c64be0039e1383207644bfcae9d895e4ab1e2 | 3263f5e5e66edb843d4de56e187ab15d0a3518e8 | Introduce AssetContent to handle symlink assets (vercel/turbo#406)
* Fix DiskFileSystem::read_link
* pnpm-like integration test
* Introduce AssetContent to handle symlink assets
* Fix read_link on Windows
* Run clippy fix
* Rename `path` to `target`
Co-authored-by: Justin Ridgewell <justin@ridgewell.... | [
{
"path": "packages/next-swc/crates/next-core/src/next_client/mod.rs",
"patch": "@@ -3,7 +3,7 @@ pub(crate) mod runtime_reference;\n use anyhow::{anyhow, Result};\n use serde::{Deserialize, Serialize};\n use turbo_tasks::{debug::ValueDebugFormat, trace::TraceRawVcs, ValueToString};\n-use turbo_tasks_fs::{Fi... | 2022-09-28T14:44:32 |
huggingface/transformers | b0c0ba7b4dd53635e6401e207c0d33231d273551 | 52ea4aa589324bae43dfb1b6db70335da7b68654 | FSDP grad accum fix (#34645)
* add gradient accumulation steps tests for fsdp
* invert no_sync context to fix training for fsdp | [
{
"path": "src/transformers/trainer.py",
"patch": "@@ -2488,7 +2488,7 @@ def _inner_training_loop(\n # We explicitly want to avoid relying on `accelerator.accumulate` for generation training\n context = (\n functools.partial(self.accelerator.no... | 2024-11-15T21:28:06 |
ollama/ollama | 4987f13d345d77844b6737edadaa1f0432df004c | e638f2acb6af7ef3d4a86567a43196bd895463bd | Llama cpp bump (df1b612): granite docling / mamba2 optimizations / multimodal encoding fixes (#12552)
* feat: Bump llama.cpp to df1b612
Branch: LlamaCPPBump-GraniteDocling
Signed-off-by: Gabe Goodhart <ghart@us.ibm.com>
* fix(mtmd): Correctly encode text chunks during mtmd tokenization
There can be text chunks tha... | [
{
"path": "Makefile.sync",
"patch": "@@ -1,6 +1,6 @@\n UPSTREAM=https://github.com/ggml-org/llama.cpp.git\n WORKDIR=llama/vendor\n-FETCH_HEAD=364a7a6d4a786e98947c8a90430ea581213c0ba9\n+FETCH_HEAD=7049736b2dd9011bf819e298b844ebbc4b5afdc9\n \n .PHONY: help\n help:",
"additions": 1,
"deletions": 1,
... | 2025-10-13T22:26:18 |
nodejs/node | 1f356a26ae647ff0efab0d99ec76388e640b57c9 | 7c73cd4c70513dd4fa1f7ea13e3bb3270696eabe | perf_hooks,trace_events: fix timescale on bootstrap marks
PR-URL: https://github.com/nodejs/node/pull/19450
Reviewed-By: Anna Henningsen <anna@addaleax.net> | [
{
"path": "src/node_perf.cc",
"patch": "@@ -46,7 +46,7 @@ void performance_state::Mark(enum PerformanceMilestone milestone,\n TRACE_EVENT_INSTANT_WITH_TIMESTAMP0(\n TRACING_CATEGORY_NODE1(bootstrap),\n GetPerformanceMilestoneName(milestone),\n- TRACE_EVENT_SCOPE_THREAD, ts);\n+ TRACE... | 2018-03-19T16:29:13 |
rust-lang/rust | df247968f267d30fb8b048c21f595f2293d8ff62 | 43018eacb61da96b718f70b7719bf5e51207df61 | Move `ast::Item::ident` into `ast::ItemKind`.
`ast::Item` has an `ident` field.
- It's always non-empty for these item kinds: `ExternCrate`, `Static`,
`Const`, `Fn`, `Mod`, `TyAlias`, `Enum`, `Struct`, `Union`,
`Trait`, `TraitAlias`, `MacroDef`, `Delegation`.
- It's always empty for these item kinds: `Use`, `For... | [
{
"path": "compiler/rustc_ast/src/ast.rs",
"patch": "@@ -3303,9 +3303,6 @@ pub struct Item<K = ItemKind> {\n pub id: NodeId,\n pub span: Span,\n pub vis: Visibility,\n- /// The name of the item.\n- /// It might be a dummy name in case of anonymous items.\n- pub ident: Ident,\n \n pu... | 2025-03-20T22:47:43 |
golang/go | 168d6a49a5ecbdd6a1eb039b2398c2821b3d3865 | 0a62067708938020e10b8142b4017edeac1b1f52 | [dev.regabi] go/types: use 512 bits as max. integer precision
This is a port of CL 288633 to go/types. It differs from that CL
in the implementation of opName, which now uses ast Exprs.
Additionally, a couple tests had to be updated:
+ TestEvalArith is updated to not overflow.
+ stmt0.src is updated to have an erro... | [
{
"path": "src/go/types/eval_test.go",
"patch": "@@ -76,7 +76,7 @@ func TestEvalArith(t *testing.T) {\n \t\t`false == false`,\n \t\t`12345678 + 87654321 == 99999999`,\n \t\t`10 * 20 == 200`,\n-\t\t`(1<<1000)*2 >> 100 == 2<<900`,\n+\t\t`(1<<500)*2 >> 100 == 2<<400`,\n \t\t`\"foo\" + \"bar\" == \"foobar\"`,\n... | 2021-02-09T03:37:48 |
huggingface/transformers | 7b3d615bc23c40daa9f38dbae0abd979936f6414 | f5dbfab7f3066604e574d5331e7c105443fef5c6 | fix(wandb): pass fake dataset to avoid exception in trainer (see #34455) (#34720) | [
{
"path": "src/transformers/integrations/integration_utils.py",
"patch": "@@ -918,7 +918,7 @@ def on_train_end(self, args, state, control, model=None, tokenizer=None, **kwarg\n if self._log_model.is_enabled and self._initialized and state.is_world_process_zero:\n from ..trainer import Tr... | 2024-11-15T14:44:02 |
vercel/next.js | 228e86e7f21d7c0e24dc0406b37ed9fad51b59c4 | 93e9e76bf57a911939baa7b38bc534f206b7af48 | Introduce AssetContent to handle symlink assets (#406)
* Fix DiskFileSystem::read_link
* pnpm-like integration test
* Introduce AssetContent to handle symlink assets
* Fix read_link on Windows
* Run clippy fix
* Rename `path` to `target`
Co-authored-by: Justin Ridgewell <justin@ridgewell.name>
* S... | [
{
"path": "crates/next-core/src/next_client/mod.rs",
"patch": "@@ -3,7 +3,7 @@ pub(crate) mod runtime_reference;\n use anyhow::{anyhow, Result};\n use serde::{Deserialize, Serialize};\n use turbo_tasks::{debug::ValueDebugFormat, trace::TraceRawVcs, ValueToString};\n-use turbo_tasks_fs::{File, FileContent, F... | 2022-09-28T14:44:32 |
ollama/ollama | e638f2acb6af7ef3d4a86567a43196bd895463bd | 18087f2ec71d3c4bbe7cfb61eca15b196f34b423 | runner: fix shifting on llama runner (#12604) | [
{
"path": "runner/llamarunner/runner.go",
"patch": "@@ -162,6 +162,7 @@ func (s *Server) NewSequence(prompt string, images []llm.ImageData, params NewSe\n \t\tembeddingOnly: params.embedding,\n \t\tstop: params.stop,\n \t\tnumKeep: params.numKeep,\n+\t\tshift: params.shift... | 2025-10-13T20:46:33 |
rust-lang/rust | 6bcd71160f8bb3efb5e832fe080b0473b7b2d202 | fd7b9a412fdc12fc893442f548d4b3f0d226b944 | Remove useless `Option<Ident>` arg.
`FmtVisitor::visit_mac` has an `Option<Ident>` arg which is always
either `None` or `Some(kw::Empty)`, because `ItemKind::MacCall` always
has an empty ident. This value is passed through various functions until
it reaches `rewrite_macro_name`, which treats `None` and
`Some(kw::Empty... | [
{
"path": "src/expr.rs",
"patch": "@@ -246,7 +246,7 @@ pub(crate) fn format_expr(\n | ast::ExprKind::Await(_, _)\n | ast::ExprKind::Yield(ast::YieldKind::Postfix(_)) => rewrite_chain(expr, context, shape),\n ast::ExprKind::MacCall(ref mac) => {\n- rewrite_macro(mac, None, ... | 2025-03-20T06:28:45 |
nodejs/node | 7c73cd4c70513dd4fa1f7ea13e3bb3270696eabe | 0fb017d684448308bb78d43f2c32e0b15d1c8241 | net: emit error on invalid address family
This commit adds proper error handling to net.connect() when
a custom lookup() function returns an invalid address family.
PR-URL: https://github.com/nodejs/node/pull/19415
Fixes: https://github.com/nodejs/node/issues/19407
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Rev... | [
{
"path": "doc/api/errors.md",
"patch": "@@ -1042,6 +1042,11 @@ The `inspector` module is not available for use.\n While using the `inspector` module, an attempt was made to use the inspector\n before it was connected.\n \n+<a id=\"ERR_INVALID_ADDRESS_FAMILY\"></a>\n+### ERR_INVALID_ADDRESS_FAMILY\n+\n+The ... | 2018-03-17T16:43:50 |
huggingface/transformers | 68f8186a899b87ed75591c62688f9fbf1445bd24 | e7c36a9d572152f90e615bedfde0ce16c02f6ced | Fix example in EsmConfig docstring (#34653) | [
{
"path": "src/transformers/models/esm/configuration_esm.py",
"patch": "@@ -87,11 +87,14 @@ class EsmConfig(PretrainedConfig):\n ```python\n >>> from transformers import EsmModel, EsmConfig\n \n- >>> # Initializing a ESM facebook/esm-1b style configuration >>> configuration = EsmConfig()\n+ >>... | 2024-11-13T21:55:58 |
golang/go | 1c58fcf7ed917f66e2b7f77f251e7e63ca9630e2 | 493363ccff354ab5ed133f6d5fac942ba6cc034a | [dev.regabi] go/types: handle untyped constant arithmetic overflow
This is a port of CL 287832 for go/types. It differs from that CL in its
handling of position data. Unlike the syntax package, which has a
unified Operation node, go/types checks operations for ast.UnaryExpr,
IncDecStmt, and BinaryExpr. It was simpler ... | [
{
"path": "src/go/types/expr.go",
"patch": "@@ -78,13 +78,60 @@ func (check *Checker) op(m opPredicates, x *operand, op token.Token) bool {\n \treturn true\n }\n \n+// overflow checks that the constant x is representable by its type.\n+// For untyped constants, it checks that the value doesn't become\n+// a... | 2021-02-08T23:04:58 |
vercel/next.js | daad11712781f9c0ee5ff1f35d89fb08e7b1ae8f | e8f85e3d9a5fc57ffd46c0df3c31277d52ff2de8 | Fix wrong code condition used when bundling the server (#40987)
We observed this bug when using `.tsx` as the extension (currently the
condition only matches `.m?js`). Besides that, `react/jsx-runtime`
shouldn't be external too because it has React imported.
## Bug
- [ ] Related issues linked using `fixes #num... | [
{
"path": "packages/next/build/webpack-config.ts",
"patch": "@@ -1000,6 +1000,7 @@ export default async function getBaseWebpackConfig(\n if (layer === WEBPACK_LAYERS.server) {\n if (\n request === 'react' ||\n+ request === 'react/jsx-runtime' ||\n request ===\n 'ne... | 2022-09-28T14:19:40 |
rust-lang/rust | 43018eacb61da96b718f70b7719bf5e51207df61 | deed0f2480c507f7a3979ea814ade54685c5c45a | Ignore `#[test_case]` on anything other than `fn`/`const`/`static`.
`expand_test_case` looks for any item with a `#[test_case]` attribute
and adds a `test_path_symbol` attribute to it while also fiddling with
the item's ident's span.
This is pretty weird, because `#[test_case]` is only valid on
`fn`/`const`/`static` ... | [
{
"path": "compiler/rustc_builtin_macros/src/test.rs",
"patch": "@@ -51,21 +51,26 @@ pub(crate) fn expand_test_case(\n return vec![];\n }\n };\n- item = item.map(|mut item| {\n- let test_path_symbol = Symbol::intern(&item_path(\n- // skip the name of the root mod... | 2025-03-21T04:25:30 |
ollama/ollama | 6c833d5f8d824c87aa54b2fbfe97b94d7c4be541 | 6544e1473525c381e89aba4778283900b3ad7145 | fix(qwen3): deepseek distill
deepseek's qwen3 distill uses a different rope scheme so support both | [
{
"path": "model/models/qwen3/model.go",
"patch": "@@ -15,11 +15,17 @@ import (\n )\n \n type Options struct {\n-\thiddenSize, numHeads, numKVHeads int\n-\teps float32\n-\tropeBase, ropeScale float32\n-\n-\tkeyLength, valueLength int\n+\thiddenSize,\n+\tnumHeads,\n+... | 2025-10-13T19:09:53 |
nodejs/node | 0fb017d684448308bb78d43f2c32e0b15d1c8241 | f24d0ec2016cda551d3da828109296e75386bbc3 | test: fix flaky test-http2-ping-flood
The test is unreliable on some Windows platforms in its current form.
Make it more robust by using `setInterval()` to repeat the flooding
until an error is triggered.
PR-URL: https://github.com/nodejs/node/pull/19395
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: J... | [
{
"path": "test/sequential/sequential.status",
"patch": "@@ -11,7 +11,6 @@ test-inspector-async-call-stack : PASS, FLAKY\n test-inspector-bindings : PASS, FLAKY\n test-inspector-debug-end : PASS, FLAKY\n test-inspector-async-hook-setup-at-signal: PASS, FLAKY\n-test-http2-pi... | 2018-03-16T17:50:03 |
huggingface/transformers | be8748a53ce8364f3e584035e267030e7bfad06c | 33eef992503689ba1af98090e26d3e98865b2a9b | 🌐 [i18n-KO] Translated marian.md to Korean (#34698)
* initial translation
* removed english
* Fixed Trivial Typos, updated _toctree.yml | [
{
"path": "docs/source/ko/_toctree.yml",
"patch": "@@ -448,8 +448,8 @@\n title: Mamba\n - local: model_doc/mamba2\n title: Mamba2\n- - local: in_translation\n- title: (번역중) MarianMT\n+ - local: model_doc/marian\n+ title: MarianMT\n - local: in_translation\... | 2024-11-13T21:14:23 |
golang/go | 493363ccff354ab5ed133f6d5fac942ba6cc034a | c48d1503ba5d0f74bbc5cae5036bf225c6823a44 | [dev.regabi] go/types: must not import a package called "init"
This is a port of CL 287494 to go/types. The additional checks in
test/fixedbugs are included, though they won't be executed by go/types.
Support for errorcheckdir checks will be added to go/types in a later
CL.
Change-Id: I37e202ea5daf7d7b8fc6ae93a4c4dbd... | [
{
"path": "src/go/types/resolver.go",
"patch": "@@ -252,14 +252,6 @@ func (check *Checker) collectObjects() {\n \t\t\t\t\treturn\n \t\t\t\t}\n \n-\t\t\t\t// add package to list of explicit imports\n-\t\t\t\t// (this functionality is provided as a convenience\n-\t\t\t\t// for clients; it is not needed for ty... | 2021-02-08T23:24:13 |
rust-lang/rust | deed0f2480c507f7a3979ea814ade54685c5c45a | 4c551bcacd4b6d5652a6e9bc6fd5b7afbac435ae | Remove useless `Option<Ident>` arg.
`FmtVisitor::visit_mac` has an `Option<Ident>` arg which is always
either `None` or `Some(kw::Empty)`, because `ItemKind::MacCall` always
has an empty ident. This value is passed through various functions until
it reaches `rewrite_macro_name`, which treats `None` and
`Some(kw::Empty... | [
{
"path": "src/tools/rustfmt/src/expr.rs",
"patch": "@@ -246,7 +246,7 @@ pub(crate) fn format_expr(\n | ast::ExprKind::Await(_, _)\n | ast::ExprKind::Yield(ast::YieldKind::Postfix(_)) => rewrite_chain(expr, context, shape),\n ast::ExprKind::MacCall(ref mac) => {\n- rewrite... | 2025-03-20T06:28:45 |
vercel/next.js | e8f85e3d9a5fc57ffd46c0df3c31277d52ff2de8 | 43dfc501793f07643697a171b6dbf229853fbffa | misc: add MANGLING_DEBUG option (#40958)
Context:
I am doing some work re: bundle size so I'm spending a lot of time looking at the bundles we generate. This debug options basically deactives mangling and beautifies the output whilst keeping the dead code elimination from Terser which is helpful for me to check what... | [
{
"path": "packages/next/build/webpack-config.ts",
"patch": "@@ -897,13 +897,28 @@ export default async function getBaseWebpackConfig(\n comparisons: false,\n inline: 2, // https://github.com/vercel/next.js/issues/7178#issuecomment-493048965\n },\n- mangle: { safari10: true },\n+ mangl... | 2022-09-28T13:10:59 |
nodejs/node | 897f7b6c6b5ce990329f30ed1f0784db183e8e5a | 301f6cc553bd73cfa345ae7de6ee81655efc57d0 | fs: improve errors in watchFile and unwatchFile
- Check if the watcher is active in JS land before
invoking the binding, act as a noop if the state of
the watcher does not match the expectation. This
avoids firing 'stop' when the watcher is already
stopped.
- Update comments, validate more arguments and
the ... | [
{
"path": "lib/fs.js",
"patch": "@@ -1449,18 +1449,43 @@ util.inherits(StatWatcher, EventEmitter);\n \n // FIXME(joyeecheung): this method is not documented.\n // At the moment if filename is undefined, we\n-// 1. Throw an Error from C++ land if it's the first time .start() is called\n-// 2. Return silently... | 2018-03-14T12:11:55 |
huggingface/transformers | 33eef992503689ba1af98090e26d3e98865b2a9b | 6de2a4d1f1c0111849479e2f8be8580809f60802 | Agents: Small fixes in streaming to gradio + add tests (#34549)
* Better support transformers.agents in gradio: small fixes and additional tests | [
{
"path": "src/transformers/agents/agents.py",
"patch": "@@ -1141,11 +1141,10 @@ def step(self):\n )\n self.logger.warning(\"Print outputs:\")\n self.logger.log(32, self.state[\"print_outputs\"])\n+ observation = \"Print outputs:\\n\" + self.state[\"print_outpu... | 2024-11-11T19:52:09 |
golang/go | e0ac989cf3e43ec77c7205a66cb1cd63dd4d3043 | c9d6f45fec19a9cb66ddd89d61bfa982f5bf4afe | archive/tar: detect out of bounds accesses in PAX records resulting from padded lengths
Handles the case in which padding of a PAX record's length field
violates invariants about the formatting of record, whereby it no
longer matches the prescribed format:
"%d %s=%s\n", <length>, <keyword>, <value>
as per:
... | [
{
"path": "src/archive/tar/strconv.go",
"patch": "@@ -265,8 +265,27 @@ func parsePAXRecord(s string) (k, v, r string, err error) {\n \t\treturn \"\", \"\", s, ErrHeader\n \t}\n \n+\tafterSpace := int64(sp + 1)\n+\tbeforeLastNewLine := n - 1\n+\t// In some cases, \"length\" was perhaps padded/malformed, and\... | 2021-02-04T09:39:18 |
rust-lang/rust | 59307fd9fd17b46d0fa65c7e542d39dedd2dec66 | 0b45675cfcec57f30a3794e1a1e18423aa9cf200 | Factor out some shared code.
`global_allocator_spans` and `alloc_error_handler_span` are identical
except for `name`. | [
{
"path": "compiler/rustc_metadata/src/creader.rs",
"patch": "@@ -1032,14 +1032,19 @@ impl<'a, 'tcx> CrateLoader<'a, 'tcx> {\n }\n \n fn inject_allocator_crate(&mut self, krate: &ast::Crate) {\n- self.cstore.has_global_allocator = match &*global_allocator_spans(krate) {\n- [span1, ... | 2025-03-20T04:53:22 |
vercel/next.js | 43dfc501793f07643697a171b6dbf229853fbffa | b79d72d4b370a97c53018c7259755e2b7a8ee961 | Remove outdated warning (#40988)
Cleans up a leftover warning as it's no longer relevant to be shown at this particular spot.
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have a helpful link attached, see `contributing.md`
## Feature
- [ ] Implements an exis... | [
{
"path": "packages/next/build/webpack-config.ts",
"patch": "@@ -580,11 +580,6 @@ export default async function getBaseWebpackConfig(\n 'You are using the experimental Node.js Runtime with `experimental.runtime`.'\n )\n }\n- if (hasServerComponents) {\n- Log.warn(\n- 'You ha... | 2022-09-28T12:26:52 |
ollama/ollama | 6db8da99588de07a49fe788df6b53a7637b21344 | 0c68ec8d6a243e4d7b91091d49a69d419bb7e29e | routes: fix built-in renderers for `api/generate`
Made it so when api/generate builds up a message array and generates the
prompt it now goes through the same function as `api/chat` for
consistency. This is where we hook the optional built-in renderers to
bypass templates, which was missing for `api/generate` before t... | [
{
"path": "server/routes.go",
"patch": "@@ -403,12 +403,11 @@ func (s *Server) GenerateHandler(c *gin.Context) {\n \t\t\t\tmsgs = append(msgs, m.Messages...)\n \t\t\t}\n \n+\t\t\tuserMsg := api.Message{Role: \"user\", Content: req.Prompt}\n \t\t\tfor _, i := range images {\n-\t\t\t\timgPrompt := \"\"\n-\t\t... | 2025-10-11T20:57:43 |
huggingface/transformers | a06a0d12636756352494b99b5b264ac9955bc735 | 1cf17077bf2d4affed31387c0943251a4ba8fab7 | 🌐 [i18n-KO] Translated bert.md to Korean (#34627)
* Translated bert.md, Need additional check
* Translation 2nd ver, changed _toctree.yml
* Fixed Typo
* Update bert.md
Co-authored-by: YONGSANG <71686691+4N3MONE@users.noreply.github.com>
* Update bert.md
Co-authored-by: YONGSANG <71686691+4N3MONE@us... | [
{
"path": "docs/source/ko/_toctree.yml",
"patch": "@@ -326,8 +326,8 @@\n title: BARThez\n - local: model_doc/bartpho\n title: BARTpho\n- - local: in_translation\n- title: (번역중) BERT\n+ - local: model_doc/bert\n+ title: BERT\n - local: in_translation\n ... | 2024-11-08T02:56:09 |
nodejs/node | 301f6cc553bd73cfa345ae7de6ee81655efc57d0 | 897cec43c67d036f631e0538a8172a5a8f759611 | fs: remove watcher state errors for fs.watch
- Remove ERR_FS_WATCHER_ALREADY_STARTED and
ERR_FS_WATCHER_NOT_STARTED because those two situations should
result in noop instead of errors for consistency with the
documented behavior of fs.watchFile.
This partially reverts https://github.com/nodejs/node/pull/19089... | [
{
"path": "doc/api/errors.md",
"patch": "@@ -783,18 +783,6 @@ falsy value.\n An invalid symlink type was passed to the [`fs.symlink()`][] or\n [`fs.symlinkSync()`][] methods.\n \n-<a id=\"ERR_FS_WATCHER_ALREADY_STARTED\"></a>\n-### ERR_FS_WATCHER_ALREADY_STARTED\n-\n-An attempt was made to start a watcher r... | 2018-03-14T10:55:43 |
golang/go | 11d15c171bd25337c1dde25a0f7ce4892cb894bb | 618e3c15bdb5c031ac037e7ad5c1b3791a913226 | [dev.regabi] go/types: convert untyped arguments to delete
This is a port of CL 285059 to go/types. The error assertion is updated
to match go/types error for assignment, which has been improved.
Change-Id: Icdd2751edea0abef7c84feadcbf9265d71239ade
Reviewed-on: https://go-review.googlesource.com/c/go/+/289716
Run-Try... | [
{
"path": "src/go/types/builtins.go",
"patch": "@@ -353,8 +353,8 @@ func (check *Checker) builtin(x *operand, call *ast.CallExpr, id builtinId) (_ b\n \t\t\treturn\n \t\t}\n \n-\t\tif ok, code := x.assignableTo(check, m.key, nil); !ok {\n-\t\t\tcheck.invalidArg(x, code, \"%s is not assignable to %s\", x, m.... | 2021-02-04T17:03:53 |
huggingface/transformers | 1cf17077bf2d4affed31387c0943251a4ba8fab7 | 6938524a2835bdf1ee13bb52ab3d1e767696b2ef | 🌐 [i18n-KO] Translated `timesformer.md` to Korean (#33972)
* docs: ko: model_doc/timesformer.md
* feat: nmt draft
* fix: manual edits
* fix_toctree
* fix toctree on Video Models | [
{
"path": "docs/source/ko/_toctree.yml",
"patch": "@@ -677,6 +677,10 @@\n title: (번역중) 오디오 모델\n - isExpanded: false\n sections:\n+ - local: model_doc/timesformer\n+ title: TimeSformer\n+ - local: in_translation\n+ title: (번역중) VideoMAE\n - local: model_doc/vivit... | 2024-11-07T19:04:27 |
vercel/next.js | 58d473611648ecad57d2a33f266a3011f25bba98 | cafb5ff8ff4b20c8a94d548b80d29e23af34ffea | Revert "Fix"
This reverts commit 112589e2d92392ee1f66aaff64063e3d971c4780. | [
{
"path": "packages/next-swc/crates/napi/src/minify.rs",
"patch": "@@ -35,7 +35,7 @@ use serde::Deserialize;\n use std::sync::Arc;\n use swc_core::{\n base::{config::JsMinifyOptions, try_with_handler, TransformOutput},\n- common::{errors::ColorConfig, sync::Lrc, FileName, SourceFile, SourceMap, GLOBA... | 2022-09-28T11:14:22 |
ollama/ollama | 0c68ec8d6a243e4d7b91091d49a69d419bb7e29e | 70d9e363e16ea8617d5ec4d1011323a6ff6f845c | discover: fix typo (#12565) | [
{
"path": "discover/runner.go",
"patch": "@@ -408,7 +408,7 @@ func (r *bootstrapRunner) HasExited() bool {\n \n func bootstrapDevices(ctx context.Context, ollamaLibDirs []string, extraEnvs []string) []ml.DeviceInfo {\n \t// TODO DRY out with llm/server.go\n-\tslog.Debug(\"spawing runner with\", \"OLLAMA_LIB... | 2025-10-11T19:06:02 |
nodejs/node | 897cec43c67d036f631e0538a8172a5a8f759611 | 9c9324768f07051a34ca84154caa476082727cca | fs: fix memory leak in WriteString
In the async case, if the buffer was copied instead of being moved
then the buf will not get deleted after the request is done.
This was introduced when the FSReqWrap:: Ownership was
removed in 4b9ba9b, and ReleaseEarly was no longer called upon
destruction of FSReqWrap.
Create a cu... | [
{
"path": "src/node_file.cc",
"patch": "@@ -1527,7 +1527,6 @@ static void WriteString(const FunctionCallbackInfo<Value>& args) {\n \n const auto enc = ParseEncoding(env->isolate(), args[3], UTF8);\n \n- std::unique_ptr<char[]> delete_on_return;\n Local<Value> value = args[1];\n char* buf = nullptr;\n... | 2018-03-14T20:47:35 |
rust-lang/rust | f8a9c92caea03e25034a78cc3c66d866d475e4d7 | bca0d609b4e055ffa5c5b2bc973e7b6a4185cb5b | fix: Fix panic in progress due to splitting unicode incorrectly | [
{
"path": "src/tools/rust-analyzer/crates/rust-analyzer/src/cli/progress_report.rs",
"patch": "@@ -79,8 +79,8 @@ impl<'a> ProgressReport<'a> {\n // Backtrack to the first differing character\n let mut output = String::new();\n output += &'\\x08'.to_string().repeat(self.text.len() - c... | 2025-04-01T00:32:02 |
huggingface/transformers | 6938524a2835bdf1ee13bb52ab3d1e767696b2ef | 7bbc62474391aff64f63fcc064c975752d1fa4de | fix(dvclive): pass fake dataset to avoid exception in trainer init (#34455)
fix(dvclive): pass fake dataset to avoid exception in trainer | [
{
"path": "src/transformers/integrations/integration_utils.py",
"patch": "@@ -2125,7 +2125,12 @@ def on_train_end(self, args, state, control, **kwargs):\n from transformers.trainer import Trainer\n \n if self._log_model is True:\n- fake_trainer = Trainer(args=args, mod... | 2024-11-07T14:57:34 |
vercel/next.js | cafb5ff8ff4b20c8a94d548b80d29e23af34ffea | 62f996e5f64e04216f2515a415c063f3b36caa84 | Revert "Fix wasm"
This reverts commit fbf1bd1198cfb8daabc6a9ec4e57d1348fe51f0a. | [
{
"path": "packages/next-swc/crates/wasm/src/lib.rs",
"patch": "@@ -8,9 +8,7 @@ use wasm_bindgen_futures::future_to_promise;\n \n use swc_core::{\n base::{config::JsMinifyOptions, config::ParseOptions, try_with_handler, Compiler},\n- common::{\n- comments::Comments, errors::ColorConfig, FileNa... | 2022-09-28T11:14:19 |
ollama/ollama | 1a2feb2a970c8331e1d34f68877190c169999c44 | aab2190420a21d9bc7287e8029e46ada14aef431 | ollamarunner: fix deadlock
hardErrCh will deadlock since forwardBatch is blocked on
computeStartedCh which never gets sent. since the response to
hardErrCh is to panic, just panic instead | [
{
"path": "runner/ollamarunner/runner.go",
"patch": "@@ -321,9 +321,6 @@ type Server struct {\n \t// TODO (jmorganca): make this n_batch\n \tbatchSize int\n \n-\t// Used to signal a hard failure during async processing which will panic the runner\n-\thardErrCh chan error\n-\n \t// Simple counter used only f... | 2025-10-10T23:38:12 |
nodejs/node | 18abca7b4989bb37f1d4299ca671af852b1f0be5 | d54e0f8e52ff5f63c696a82509098f09f0625d3f | src: fix minor typo in comment stream_base.h
PR-URL: https://github.com/nodejs/node/pull/19429
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@... | [
{
"path": "src/stream_base.h",
"patch": "@@ -225,7 +225,7 @@ class StreamResource {\n // Clear the current error (i.e. that would be returned by Error()).\n virtual void ClearError();\n \n- // Transfer ownership of this tream to `listener`. The previous listener\n+ // Transfer ownership of this stream... | 2018-03-18T14:06:06 |
huggingface/transformers | e83aaaa86be6de424eade37d4d48fddcbefb007e | 9f28d0c5d00a730947e6057fa34ffeb311347534 | Fix `use_parallel_residual` and `qkv_bias` for StableLM GGUF config extraction (#34450)
* fix stablelm qkv_bias
* fix stablelm qkv_bias and use_parallel_residual
* remove original_model.config for stablelm gguf test | [
{
"path": "src/transformers/modeling_gguf_pytorch_utils.py",
"patch": "@@ -106,6 +106,17 @@ def load_gguf_checkpoint(gguf_checkpoint_path, return_tensors=False):\n if \"qwen2moe\" in architecture:\n updated_architecture = \"qwen2_moe\"\n \n+ # For stablelm architecture, we need to set qkv_bia... | 2024-11-05T17:26:20 |
vercel/next.js | 62f996e5f64e04216f2515a415c063f3b36caa84 | 08066f67cafee5d77d6c7c9e7e4aaef9c0daff1e | Revert "Fix"
This reverts commit 082e766ee5526d7f3a2f30e5e1638658fcee206e. | [
{
"path": "packages/next-swc/crates/napi/src/bundle/mod.rs",
"patch": "@@ -13,7 +13,7 @@ use swc_core::{\n common::{\n collections::AHashMap,\n errors::{ColorConfig, Handler},\n- BytePos, FileName, Globals, SourceMap, Span, GLOBALS,\n+ BytePos, FileName, SourceMap, Span,\n ... | 2022-09-28T11:14:15 |
nodejs/node | d54e0f8e52ff5f63c696a82509098f09f0625d3f | d74184c2fa356a0f1cda99803d26a768f23a18bf | test: rename regression tests file names
Rename the tests appropriately alongside mentioning the subsystem.
Also, make a few basic changes to make sure the tests conform to the
standard test structure.
- Rename test-regress-GH-io-1068 to test-tty-stdin-end
- Rename test-regress-GH-io-1811 to test-zlib-kmaxlength-rang... | [
{
"path": "test/parallel/test-kill-segfault-freebsd.js",
"patch": "@@ -1,5 +1,10 @@\n 'use strict';\n require('../common');\n+\n+// This test ensures Node.js doesn't crash on hitting Ctrl+C in order to\n+// terminate the currently running process (especially on FreeBSD).\n+// https://github.com/nodejs/node-... | 2018-03-13T21:43:29 |
ollama/ollama | e0cd51166130d03b8ca1f0261478a0c4ddd983f2 | 207332078f9a9c9eb097c2138471a3120eeadce2 | fix test | [
{
"path": "convert/tensor.go",
"patch": "@@ -35,7 +35,7 @@ func splitDim(t Tensor, dim int, splits ...split) iter.Seq[*ggml.Tensor] {\n \n \t\t\tslice := split.slices\n \t\t\tif len(slice) == 0 {\n-\t\t\t\tslice := slices.Repeat([]tensor.Slice{nil}, len(shape))\n+\t\t\t\tslice = slices.Repeat([]tensor.Slice... | 2025-10-07T23:46:37 |
huggingface/transformers | 9f28d0c5d00a730947e6057fa34ffeb311347534 | d2bae7ee9d2bc8791e05763e56f46754ed3e71ae | Fix torchvision interpolation CI (#34539)
fix-torch-interpolation-ci | [
{
"path": "src/transformers/models/detr/image_processing_detr_fast.py",
"patch": "@@ -347,7 +347,7 @@ def __init__(\n format: Union[str, AnnotationFormat] = AnnotationFormat.COCO_DETECTION,\n do_resize: bool = True,\n size: Dict[str, int] = None,\n- resample: [Union[PILImageRe... | 2024-11-05T16:02:14 |
vercel/next.js | 112589e2d92392ee1f66aaff64063e3d971c4780 | fbf1bd1198cfb8daabc6a9ec4e57d1348fe51f0a | Fix | [
{
"path": "packages/next-swc/crates/napi/src/minify.rs",
"patch": "@@ -35,7 +35,7 @@ use serde::Deserialize;\n use std::sync::Arc;\n use swc_core::{\n base::{config::JsMinifyOptions, try_with_handler, TransformOutput},\n- common::{errors::ColorConfig, sync::Lrc, FileName, SourceFile, SourceMap},\n+ ... | 2022-09-28T10:50:41 |
nodejs/node | 224941bd8cd70ead9e19d2b0afb4f58833a40541 | 49799f3163be5dbae6639cd4dc475a46e1da7722 | http2: clean up Http2Settings
Use of a MaybeStackBuffer was just silly. Fix a long standing todo
Reduce code duplication a bit.
PR-URL: https://github.com/nodejs/node/pull/19400
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com> | [
{
"path": "src/node_http2.cc",
"patch": "@@ -190,60 +190,28 @@ Http2Options::Http2Options(Environment* env) {\n }\n \n void Http2Session::Http2Settings::Init() {\n- entries_.AllocateSufficientStorage(IDX_SETTINGS_COUNT);\n AliasedBuffer<uint32_t, v8::Uint32Array>& buffer =\n env()->http2_state()->s... | 2018-03-16T20:28:51 |
huggingface/transformers | 082e57e0d42a46a4a5244f8d005eeb88c8da37b6 | 74d3824cc0725829e7d92e1d43b97be1f18454f8 | Fix #34494 assistant tokens when truncated (#34531)
* Fix assistant tokens when truncated
* fix test
* fix test
* step | [
{
"path": "src/transformers/tokenization_utils_base.py",
"patch": "@@ -1722,7 +1722,7 @@ def apply_chat_template(\n if start_token is None:\n # start_token is out of bounds maybe due to truncation.\n break\n- ... | 2024-11-05T15:10:15 |
ollama/ollama | 207332078f9a9c9eb097c2138471a3120eeadce2 | 93085127f443a39190cf46efa62c51287c3714e1 | fix lint | [
{
"path": "convert/convert_gptoss.go",
"patch": "@@ -89,11 +89,11 @@ func (m *gptossModel) Tensors(ts []Tensor) []*ggml.Tensor {\n \t\t\tout = append(out, slices.Collect(splitDim(t, 1,\n \t\t\t\tsplit{\n \t\t\t\t\tReplacer: strings.NewReplacer(\"gate_up_exps\", \"gate_exps\"),\n-\t\t\t\t\tslices: []tensor.S... | 2025-10-07T23:39:14 |
vercel/next.js | fbf1bd1198cfb8daabc6a9ec4e57d1348fe51f0a | 082e766ee5526d7f3a2f30e5e1638658fcee206e | Fix wasm | [
{
"path": "packages/next-swc/crates/wasm/src/lib.rs",
"patch": "@@ -8,7 +8,9 @@ use wasm_bindgen_futures::future_to_promise;\n \n use swc_core::{\n base::{config::JsMinifyOptions, config::ParseOptions, try_with_handler, Compiler},\n- common::{comments::Comments, errors::ColorConfig, FileName, FilePat... | 2022-09-28T10:48:56 |
golang/go | c9d6f45fec19a9cb66ddd89d61bfa982f5bf4afe | cea4e21b525ad6b465f62741680eaa0a44e9cc3e | runtime/metrics: fix a couple of documentation typpos
Fixes #44150
Change-Id: Ibe5bfba01491dd8c2f0696fab40a1673230d76e9
Reviewed-on: https://go-review.googlesource.com/c/go/+/290349
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Review... | [
{
"path": "src/runtime/metrics/doc.go",
"patch": "@@ -16,13 +16,14 @@ Interface\n Metrics are designated by a string key, rather than, for example, a field name in\n a struct. The full list of supported metrics is always available in the slice of\n Descriptions returned by All. Each Description also include... | 2021-02-07T23:25:39 |
nodejs/node | 6050add95e4d3bf6f70dc5517fa2fe4f656aba32 | 8c46fa69036757e2b86d9bea308b66d502420c5e | src: fix indentation of params in env-inl.h
PR-URL: https://github.com/nodejs/node/pull/19390
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net> | [
{
"path": "src/env-inl.h",
"patch": "@@ -121,7 +121,7 @@ inline Environment* Environment::AsyncHooks::env() {\n \n // Remember to keep this code aligned with pushAsyncIds() in JS.\n inline void Environment::AsyncHooks::push_async_ids(double async_id,\n- double tr... | 2018-03-16T12:34:04 |
huggingface/transformers | 74d3824cc0725829e7d92e1d43b97be1f18454f8 | 45b0c7680c0a2d79bda345e04d8461f27602010d | Revert "Fix Whisper CI" (#34605)
Revert "Fix Whisper CI (#34541)"
This reverts commit eb811449a2389e48930c45f84c88fd041735cf92. | [
{
"path": "src/transformers/generation/utils.py",
"patch": "@@ -1452,11 +1452,10 @@ def _prepare_generated_length(\n ):\n generation_config.max_length -= inputs_tensor.shape[1]\n elif has_default_max_length: # by default let's always generate 20 new tokens\n- if gener... | 2024-11-05T14:12:47 |
ollama/ollama | 15e3611d3d13f5ee48aae9ec893529cf7acd972a | 77060d462cc0ef171d5ebb66b8070175c53212df | logs: quiet down context canceled on completion and scheduler noise (#12553)
* logs: quiet down context canceled on completion
If the client closes the connection before Completion finishes, we were
logging at error level implying the runner crashed which was misleading.
time=2025-10-08T22:59:20.566-07:00 level=ERRO... | [
{
"path": "llm/server.go",
"patch": "@@ -1486,7 +1486,10 @@ func (s *llmServer) Completion(ctx context.Context, req CompletionRequest, fn fu\n \tserverReq.Header.Set(\"Content-Type\", \"application/json\")\n \n \tres, err := http.DefaultClient.Do(serverReq)\n-\tif err != nil {\n+\tif err != nil && errors.Is... | 2025-10-09T17:37:47 |
rust-lang/rust | b14a0ce7f6b9b72d3495fc9b0d632fd14400dcec | ab5b1be771e63ea3736d8830e7b661decc6b1abc | PassWrapper: adapt for llvm/llvm-project@94122d58fc77079a291a3d008914006cb509d9db
We also have to remove the LLVM argument in cast-target-abi.rs for LLVM
21. I'm not really sure what the best approach here is since that test
already uses revisions. We could also fork the test into a copy for LLVM
19-20 and another for... | [
{
"path": "compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp",
"patch": "@@ -855,10 +855,15 @@ extern \"C\" LLVMRustResult LLVMRustOptimize(\n }\n \n if (LintIR) {\n- PipelineStartEPCallbacks.push_back(\n- [](ModulePassManager &MPM, OptimizationLevel Level) {\n- MPM.addPass(createModul... | 2025-03-31T18:34:14 |
vercel/next.js | 082e766ee5526d7f3a2f30e5e1638658fcee206e | c3db1023cb77a773d43f381d511f96f87528a9e5 | Fix | [
{
"path": "packages/next-swc/crates/napi/src/bundle/mod.rs",
"patch": "@@ -13,7 +13,7 @@ use swc_core::{\n common::{\n collections::AHashMap,\n errors::{ColorConfig, Handler},\n- BytePos, FileName, SourceMap, Span,\n+ BytePos, FileName, Globals, SourceMap, Span, GLOBALS,\n ... | 2022-09-28T10:47:07 |
golang/go | cea4e21b525ad6b465f62741680eaa0a44e9cc3e | dc725bfb3c3f29c7395e088d25ef6bf8dba8f129 | io/fs: backslash is always a glob meta character
Fixes #44171
Change-Id: I2d3437a2f5b9fa0358e4664e1a8eacebed975eed
Reviewed-on: https://go-review.googlesource.com/c/go/+/290512
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by... | [
{
"path": "src/io/fs/glob.go",
"patch": "@@ -6,7 +6,6 @@ package fs\n \n import (\n \t\"path\"\n-\t\"runtime\"\n )\n \n // A GlobFS is a file system with a Glob method.\n@@ -111,8 +110,8 @@ func glob(fs FS, dir, pattern string, matches []string) (m []string, e error) {\n // recognized by path.Match.\n func ... | 2021-02-09T00:32:39 |
nodejs/node | 2e376184f27df759ecf84f2361c7921635aed00d | 893432ad928e25854950c0b5c581dfb3081ed4bb | fs: fix `createReadStream(…, {end: n})` for non-seekable fds
82bdf8fba2d3f fixed an issue by silently modifying the `start`
option for the case when only `end` is passed, in order to perform
reads from a specified range in the file.
However, that approach does not work for non-seekable files, since
a numeric `start` ... | [
{
"path": "lib/fs.js",
"patch": "@@ -1967,8 +1967,7 @@ function ReadStream(path, options) {\n this.flags = options.flags === undefined ? 'r' : options.flags;\n this.mode = options.mode === undefined ? 0o666 : options.mode;\n \n- this.start = typeof this.fd !== 'number' && options.start === undefined ?\... | 2018-03-13T19:42:33 |
ollama/ollama | 1fc35f1260a525aca8b63fcc9ed953b54c5eaace | aa45f7ce27f41ce28e08701cd7b0ef6671646053 | kvcache: Clean up sliding window state with independent batches
Sliding windows models (e.g. gpt-oss, gemma3) remove tokens that
are out of the cache's window each time we start a new forward pass.
The cache storage needs to handle the window size for each sequence
plus the batch size, since the batch needs to attend... | [
{
"path": "kvcache/causal.go",
"patch": "@@ -160,7 +160,15 @@ func (c *Causal) Init(backend ml.Backend, dtype ml.DType, maxSequences, capacity\n \tif c.swaMemorySize == 0 {\n \t\tc.swaMemorySize = c.swaWindowSize\n \t}\n-\tif int(c.swaMemorySize) > capacity {\n+\t// We will allocate space in the cache for t... | 2025-10-06T23:04:53 |
huggingface/transformers | 893ad04fad145904ccb71e4e858e4134c32226b6 | 5e1fd4e204d81f2f66f8c164433e62ea5f4d0467 | Load sub-configs from composite configs (#34410)
* save/load sub-configs
* nit forgot these
* fix copies
* move test to common
* use dict for sub-configs
* add load-save-laod test
* clean up modeling check
* oops this are correct keys
* fix some tests, missed some composite configs
* this mo... | [
{
"path": "src/transformers/configuration_utils.py",
"patch": "@@ -190,6 +190,8 @@ class PretrainedConfig(PushToHubMixin):\n \"\"\"\n \n model_type: str = \"\"\n+ base_config_key: str = \"\"\n+ sub_configs: Dict[str, \"PretrainedConfig\"] = {}\n is_composition: bool = False\n attribute... | 2024-11-05T10:34:01 |
vercel/next.js | 8ff22ca398b53ec3d891daecbb3dd6fbbd3c56ee | f7ce8eceb7a76e6758a9d236ad9711440fb2bb12 | edge-ssr: bundle next/dist as ESM for better tree-shaking (#40251) (#40980)
Re-do of https://github.com/vercel/next.js/pull/40251
Edge SSR'd routes cold boot performances are proportional to the
executed code size.
In order to improve it, we are trying to optimize for the bundle size of
a packed Edge SSR route... | [
{
"path": "packages/next/amp.js",
"patch": "@@ -1 +1,4 @@\n-module.exports = require('./dist/shared/lib/amp')\n+module.exports =\n+ process.env.NEXT_RUNTIME === 'edge'\n+ ? require('./dist/esm/shared/lib/amp')\n+ : require('./dist/shared/lib/amp')",
"additions": 4,
"deletions": 1,
"langua... | 2022-09-28T10:29:22 |
golang/go | 0fbde54ea646aa1363fc172610a75e5ba877d4ec | dcb5e0392e73c900db0f7260b392c91611e33540 | [dev.typeparams] cmd/compile: allow generic funcs to call other generic funcs for stenciling
- Handle generic function calling itself or another generic function in
stenciling. This is easy - after it is created, just scan an
instantiated generic function for function instantiations (that may
needed to be st... | [
{
"path": "src/cmd/compile/internal/noder/object.go",
"patch": "@@ -155,6 +155,9 @@ func (g *irgen) objFinish(name *ir.Name, class ir.Class, typ *types.Type) {\n \t\t\tbreak // methods are exported with their receiver type\n \t\t}\n \t\tif types.IsExported(sym.Name) {\n+\t\t\tif name.Class == ir.PFUNC && na... | 2021-02-08T18:23:05 |
nodejs/node | 6a5a9ad62decfc7a5a41e362484dc0e56c648e67 | 96cb4fb795808aa2774e842974aeb411c5d3dd94 | n-api: add missing exception checking
Add checks for a pending exception in napi_make_callback
after the callback has been invoked. If there is a pending
exception then we need to avoid checking the result as that
will not be able to complete properly.
Add additional checks to the unit test for napi_make_callback
to... | [
{
"path": "src/node_api.cc",
"patch": "@@ -2801,11 +2801,15 @@ napi_status napi_make_callback(napi_env env,\n isolate, v8recv, v8func, argc,\n reinterpret_cast<v8::Local<v8::Value>*>(const_cast<napi_value*>(argv)),\n *node_async_context);\n- CHECK_MAYBE_EMPTY(env, callback_result, napi_ge... | 2018-03-15T02:05:47 |
huggingface/transformers | 5e1fd4e204d81f2f66f8c164433e62ea5f4d0467 | d0b1d8d888b71724afb7623cc1e7a30bbf9edf4a | FIX: Broken repr of TorchAoConfig (#34560)
FIX Broken repr of TorchAoConfig
The __repr__ method references a non-existent self.kwargs. This is now
fixed.
There does not appear to be a uniform way of defining __repr__ for
quantization configs. I copied the method as implemented for HQQ:
https://github.com/hu... | [
{
"path": "src/transformers/utils/quantization_config.py",
"patch": "@@ -1309,7 +1309,8 @@ def get_apply_tensor_subclass(self):\n return _STR_TO_METHOD[self.quant_type](**self.quant_type_kwargs)\n \n def __repr__(self):\n- return f\"{self.quant_type}({', '.join(str(k) + '=' + str(v) for k... | 2024-11-05T09:26:13 |
ollama/ollama | aa45f7ce27f41ce28e08701cd7b0ef6671646053 | 4e5d862ec47467a87124a180ae91de703283d14c | discover: Disable flash attention for Jetson Xavier (CC 7.2)
GGML picks the wrong kernel and these systems fail with:
Sep 28 22:25:39 xavier ollama[48999]: //ml/backend/ggml/ggml/src/ggml-cuda/fattn-wmma-f16.cu:437:
ERROR: CUDA kernel flash_attn_ext_f16 has no device code compatible with CUDA arch 720. ggml-cuda.cu
wa... | [
{
"path": "discover/gpu.go",
"patch": "@@ -2,7 +2,6 @@ package discover\n \n import (\n \t\"context\"\n-\t\"fmt\"\n \t\"log/slog\"\n \t\"os\"\n \t\"path/filepath\"\n@@ -62,17 +61,14 @@ func devInfoToInfoList(devs []ml.DeviceInfo) GpuInfoList {\n \t\t\tDependencyPath: dev.LibraryPath,\n \t\t\tDriverMajor: ... | 2025-10-07T18:37:58 |
vercel/next.js | f7ce8eceb7a76e6758a9d236ad9711440fb2bb12 | 070239e66664302b2fc8dc4b67a9a143530d9930 | misc: remove NEXT_RUNTIME=edge from middleware tests (#40977)
This seems to be the cause for the failure of https://github.com/vercel/next.js/actions/runs/3133433920/jobs/5087331787 that caused[ the revert](https://github.com/vercel/next.js/pull/40967) of my [commit ](https://github.com/vercel/next.js/commit/11deaaa8... | [
{
"path": "test/e2e/middleware-general/test/index.test.ts",
"patch": "@@ -56,7 +56,6 @@ describe('Middleware Runtime', () => {\n ANOTHER_MIDDLEWARE_TEST: 'asdf2',\n STRING_ENV_VAR: 'asdf3',\n MIDDLEWARE_TEST: 'asdf',\n- NEXT_RUNTIME: 'edge',\n },\n })\n ... | 2022-09-28T09:47:37 |
huggingface/transformers | d0b1d8d888b71724afb7623cc1e7a30bbf9edf4a | eb811449a2389e48930c45f84c88fd041735cf92 | Skip DeepSpeed ZeRO Stage 3 model initialization when bnb (#34395)
* Skip DeepSpeed ZeRO Stage 3 model initialization when it is intended to be quantized.
* Propagate the quantization state using a context manager
* make fixup | [
{
"path": "src/transformers/modeling_utils.py",
"patch": "@@ -136,6 +136,7 @@\n \n \n _init_weights = True\n+_is_quantized = False\n \n \n def is_fsdp_enabled():\n@@ -213,6 +214,16 @@ def _skip_init(*args, **kwargs):\n setattr(torch.nn.init, name, init_func)\n \n \n+@contextmanager\n+def set... | 2024-11-05T09:06:07 |
nodejs/node | 879f521c654fffd34360be432a6280936ba94071 | d20f1f004ca45b408a774f4a58f35266a03bb001 | test: fix flaky test-http2-settings-flood
The test is unreliable on some Windows platforms in its current form.
Make it more robust by using `setInterval()` to repeat the flooding
until an error is triggered.
Fixes: https://github.com/nodejs/node/issues/18251
PR-URL: https://github.com/nodejs/node/pull/19349
Reviewe... | [
{
"path": "test/sequential/sequential.status",
"patch": "@@ -12,7 +12,6 @@ test-inspector-bindings : PASS, FLAKY\n test-inspector-debug-end : PASS, FLAKY\n test-inspector-async-hook-setup-at-signal: PASS, FLAKY\n test-http2-ping-flood : PASS, FLAKY\n-test-http2-se... | 2018-03-14T14:39:07 |
ollama/ollama | bd15eba4e4a2979df61e197573e75c8f2f62ffc8 | bc712786707245cb739b53262b84b3bafbb31fec | Bring back escape valve for llm libraries and fix Jetpack6 crash (#12529)
* Bring back escape valve for llm libraries
If the new discovery logic picks the wrong library, this gives users the
ability to force a specific one using the same pattern as before. This
can also potentially speed up bootstrap discovery if one... | [
{
"path": "discover/gpu.go",
"patch": "@@ -6,7 +6,9 @@ import (\n \t\"log/slog\"\n \t\"os\"\n \t\"path/filepath\"\n+\t\"regexp\"\n \t\"runtime\"\n+\t\"strconv\"\n \t\"strings\"\n \n \t\"github.com/ollama/ollama/format\"\n@@ -146,3 +148,35 @@ func GetSystemInfo() SystemInfo {\n \t\tGPUs: gpus,\n \t}\n }\n+\n... | 2025-10-07T23:06:14 |
vercel/next.js | 070239e66664302b2fc8dc4b67a9a143530d9930 | 91f0a7c60182caa1952cdb5189e99052b1aecfc9 | Revert "Merge e2e test node_modules (#40926)" (#40974)
This reverts commit b508fef2186c633bf9e01b01af141077f5c17b6c.
Fixes: https://github.com/vercel/next.js/actions/runs/3139454323/jobs/5100342131
We aren't able to modify the filesystem for E2E deployments so this reverts the change introduced in the above PR to en... | [
{
"path": "packages/next/server/config-schema.ts",
"patch": "@@ -240,12 +240,6 @@ const configSchema = {\n appDir: {\n type: 'boolean',\n },\n- optoutServerComponentsBundle: {\n- items: {\n- type: 'string',\n- },\n- type: 'array',\n- ... | 2022-09-28T08:08:46 |
golang/go | 22f9e1ccbc9db9a1d9ecbadca972264e5ad2f169 | 5d7dc53888c3c91ef4122d584a064bc24b6f7540 | [dev.regabi] runtime: initialize special registers before sigpanic
In case that we are panicking in ABI0 context or external code,
special registers are not initialized. Initialized them in
injected code before calling sigpanic.
TODO: Windows, Plan 9.
Change-Id: I0919b80e7cc55463f3dd94f1f63cba305717270a
Reviewed-on:... | [
{
"path": "src/runtime/asm.s",
"patch": "@@ -11,3 +11,8 @@\n DATA runtime·no_pointers_stackmap+0x00(SB)/4, $2\n DATA runtime·no_pointers_stackmap+0x04(SB)/4, $0\n GLOBL runtime·no_pointers_stackmap(SB),RODATA, $8\n+\n+#ifndef GOARCH_amd64\n+TEXT ·sigpanic0<ABIInternal>(SB),NOSPLIT,$0-0\n+\tJMP\t·sigpanic<AB... | 2021-02-04T16:41:34 |
huggingface/transformers | eb811449a2389e48930c45f84c88fd041735cf92 | bfa021be055661e572ee20ca619979c27a551537 | Fix Whisper CI (#34541)
update
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> | [
{
"path": "src/transformers/generation/utils.py",
"patch": "@@ -1452,10 +1452,11 @@ def _prepare_generated_length(\n ):\n generation_config.max_length -= inputs_tensor.shape[1]\n elif has_default_max_length: # by default let's always generate 20 new tokens\n- generati... | 2024-11-04T20:35:37 |
nodejs/node | d20f1f004ca45b408a774f4a58f35266a03bb001 | 9f3e5a09418b70df8c1bb9f5ec4ed9e08954c946 | doc: fix typos on n-api
PR-URL: https://github.com/nodejs/node/pull/19385
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Vse Mozhet Byt <v... | [
{
"path": "doc/api/n-api.md",
"patch": "@@ -615,7 +615,7 @@ are no longer required, the scope can be 'closed' and any handles associated\n with the scope are invalidated. The methods available to open/close scopes are\n [`napi_open_handle_scope`][] and [`napi_close_handle_scope`][].\n \n-N-API only supports... | 2018-03-16T05:57:15 |
ollama/ollama | 918231931cb6db86ce1586788a47a3cba8d76d30 | 04c1849878b16c260bdddb8d80b5b48871b93f68 | win: fix build script (#12513) | [
{
"path": "scripts/build_windows.ps1",
"patch": "@@ -179,7 +179,7 @@ function buildROCm() {\n if ($LASTEXITCODE -ne 0) { exit($LASTEXITCODE)}\n & cmake --install build --component \"HIP\" --strip\n if ($LASTEXITCODE -ne 0) { exit($LASTEXITCODE)}\n- rm -f $scrip... | 2025-10-06T21:46:45 |
vercel/next.js | 91f0a7c60182caa1952cdb5189e99052b1aecfc9 | 918b109d7676d37f890febbb493ec5f21bc0c69c | Update to use HEAD request for middleware query hydration (#40973)
When fetching the middleware rewrite information via `_next/data` for a static page that is not a `fallback` we can use a `HEAD` request instead of a `GET` request which provides the necessary header information and saves some bandwidth by avoiding sen... | [
{
"path": "packages/next/shared/lib/router/router.ts",
"patch": "@@ -1551,6 +1551,7 @@ export default class Router implements BaseRouter {\n isPreview: nextState.isPreview,\n hasMiddleware: isMiddlewareMatch,\n unstable_skipClientCache: options.unstable_skipClientCache,\n+ isQ... | 2022-09-28T07:37:45 |
huggingface/transformers | bfa021be055661e572ee20ca619979c27a551537 | 0a6795af122e2dbb2dc5668da7f5753ce0d02cc5 | fix TrainerState doc because num_input_tokens_seen is unused by defau… (#34593)
fix TrainerState doc because num_input_tokens_seen is unused by default config
Co-authored-by: kangsheng <kangsheng@meituan.com> | [
{
"path": "src/transformers/trainer_callback.py",
"patch": "@@ -64,7 +64,8 @@ class TrainerState:\n The batch size for the training dataloader. Only needed when\n `auto_find_batch_size` has been used.\n num_input_tokens_seen (`int`, *optional*, defaults to 0):\n- T... | 2024-11-04T17:42:20 |
rust-lang/rust | 753968162a423d5a63ca86ef509d4aaf18ac1f9a | ab5b1be771e63ea3736d8830e7b661decc6b1abc | Fix invalid link | [
{
"path": "compiler/rustc_middle/src/ty/mod.rs",
"patch": "@@ -953,7 +953,7 @@ impl<'tcx> rustc_type_ir::Flags for Clauses<'tcx> {\n /// environment. `ParamEnv` is the type that represents this information. See the\n /// [dev guide chapter][param_env_guide] for more information.\n ///\n-/// [param_env_guide... | 2025-03-31T16:42:01 |
golang/go | 1901853098bbe25a1bbedc0ee53c6658d754151e | ed3e4afa12d655a0c5606bcf3dd4e1cdadcb1476 | runtime/metrics: fix panic in readingAllMetric example
medianBucket can return if the total is greater than thresh.
However, if a histogram has no counts, total and thresh
will both be zero and cause panic.
Adding an equal sign to prevent the potential panic.
Fixes #44148
Change-Id: Ifb8a781990f490d142ae7c035b4e01d... | [
{
"path": "src/runtime/metrics/example_test.go",
"patch": "@@ -88,7 +88,7 @@ func medianBucket(h *metrics.Float64Histogram) float64 {\n \ttotal = 0\n \tfor i, count := range h.Counts {\n \t\ttotal += count\n-\t\tif total > thresh {\n+\t\tif total >= thresh {\n \t\t\treturn h.Buckets[i]\n \t\t}\n \t}",
"... | 2021-02-07T16:31:12 |
nodejs/node | 3802e43c0fa9ba38aa9528e6be0753c80b528eba | 69f8523d833466472ec262a55eeb9b18de809eb5 | src: fix indenting of wrap->EmitTraceEventBefore
PR-URL: https://github.com/nodejs/node/pull/19340
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "src/async_wrap.cc",
"patch": "@@ -312,7 +312,7 @@ static void PromiseHook(PromiseHookType type, Local<Promise> promise,\n if (type == PromiseHookType::kBefore) {\n env->async_hooks()->push_async_ids(\n wrap->get_async_id(), wrap->get_trigger_async_id());\n- wrap->EmitTraceEventBe... | 2018-03-14T07:10:59 |
ollama/ollama | 292767afb48fe4c3acc3233e88a45e5a3f93ffec | ae5e0f08893346ba9a61e86c0507b39b90d1ed38 | CI: fix win arm build (#12502)
Resolve subtle erroraction stickiness difference between x86 and arm builder setup | [
{
"path": ".github/workflows/release.yaml",
"patch": "@@ -214,11 +214,15 @@ jobs:\n go-version-file: go.mod\n - name: Verify gcc is actually clang\n run: |\n- gcc -v \n- if (((& gcc -v 2>&1) -join \"`n\") -notmatch 'clang') {\n+ $ErrorActionPreference='Cont... | 2025-10-04T18:46:45 |
huggingface/transformers | 34927b0f73c1a9d73746a74b543b8207f4b632fa | 187439c3fa139b2102a874483e9f8f0cfa8e5557 | MPS: `isin_mps_friendly` can support 0D tensors (#34538)
* apply fix
* tested
* make fixup | [
{
"path": "src/transformers/pytorch_utils.py",
"patch": "@@ -314,14 +314,17 @@ def isin_mps_friendly(elements: torch.Tensor, test_elements: torch.Tensor | int)\n \n Args:\n elements (`torch.Tensor`): Input elements\n- test_elements (`torch.Tensor`): The elements to check against.\n+ ... | 2024-11-04T16:18:50 |
vercel/next.js | 76d7ba06d243c0e6d901ea6ac1919f9ee9b9b149 | cc4ffd19adce5026582ddee643ea5896aa5395fc | Support for package name collisions (#422)
This adds support for resolving sub-modules into different but similarly-named modules. Before, `import "foo/bar";` would always try to resolve "./bar" in the first "foo" package we could find, be it in `node_modules` or TS's `compilerOptions.baseUrl`. Now, we'll try to reso... | [
{
"path": "crates/turbopack-core/src/resolve/mod.rs",
"patch": "@@ -386,10 +386,10 @@ pub async fn find_context_file(\n }\n }\n \n-#[turbo_tasks::value(shared)]\n-enum FindPackageResult {\n- Package(FileSystemPathVc, Vec<AssetReferenceVc>),\n- NotFound(Vec<AssetReferenceVc>),\n+#[turbo_tasks::valu... | 2022-09-28T07:05:26 |
golang/go | ed3e4afa12d655a0c5606bcf3dd4e1cdadcb1476 | 724d0720b3e110f64598bf789cbe2a6a1b3b0fd8 | syscall/plan9: remove spooky fd action at a distance
Change Plan 9 fork/exec to use the O_CLOEXEC file
descriptor, instead of relying on spooky at a
distance.
Historically, Plan 9 has set the O_CLOEXEC flag on
the underlying channels in the kernel, rather
than the file descriptors -- if two fds pointed
at a single ch... | [
{
"path": "src/syscall/exec_plan9.go",
"patch": "@@ -320,14 +320,15 @@ func cexecPipe(p []int) error {\n \t\treturn e\n \t}\n \n-\tfd, e := Open(\"#d/\"+itoa(p[1]), O_CLOEXEC)\n+\tfd, e := Open(\"#d/\"+itoa(p[1]), O_RDWR|O_CLOEXEC)\n \tif e != nil {\n \t\tClose(p[0])\n \t\tClose(p[1])\n \t\treturn e\n \t}\n... | 2021-01-06T02:40:05 |
nodejs/node | 9a70b2725481ef17dc8a07d6e9d3dc9f72ad0907 | 5fb6f7f22f8fa7284cceb9d6ad7f96a603aca6d2 | doc: fix punctuation issue in async_hooks.md
Move period incorrectly placed outside of parentheses to inside the
parentheses. The parenthetical in this case is a full sentence.
PR-URL: https://github.com/nodejs/node/pull/19364
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Yuta Hiroto <hello@hi... | [
{
"path": "doc/api/async_hooks.md",
"patch": "@@ -284,7 +284,7 @@ The `TCPSERVERWRAP` is the server which receives the connections.\n The `TCPWRAP` is the new connection from the client. When a new\n connection is made, the `TCPWrap` instance is immediately constructed. This\n happens outside of any JavaScr... | 2018-03-15T05:32:42 |
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.