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
golang/go
27dbc4551a37a48cf7c020db0aeac6f2841883dc
593f5bbad7727f57ce452c4aa93604e8dabbba7d
cmd/asm: disable scaled register format for arm64 Arm64 doesn't have scaled register format, such as (R1*2), (R1)(R2*3), but currently the assembler doesn't report an error for such kind of instruction operand format. This CL disables the scaled register operand format for arm64 and reports an error if this kind of in...
[ { "path": "src/cmd/asm/internal/asm/parse.go", "patch": "@@ -999,15 +999,17 @@ func (p *Parser) registerIndirect(a *obj.Addr, prefix rune) {\n \t\t\t\tp.errorf(\"unimplemented two-register form\")\n \t\t\t}\n \t\t\ta.Index = r1\n-\t\t\tif scale == 0 && p.arch.Family == sys.ARM64 {\n-\t\t\t\t// scale is 1 by...
2021-02-04T03:08:20
nodejs/node
96e82beac353c2607228590b49b3d232d33a64bf
2852521c49da64857fa8f49aca387f1bd6b93c26
test: fix test-http-dump-req-when-res-ends Fix test-http-dump-req-when-res-ends and move it back to test/parallel/ PR-URL: https://github.com/nodejs/node/pull/19866 Refs: https://github.com/nodejs/node/pull/19823 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Matteo Collina <matteo.collina@gmail.c...
[ { "path": "test/parallel/test-http-dump-req-when-res-ends.js", "patch": "@@ -1,25 +1,24 @@\n 'use strict';\n \n-const common = require('../common');\n-const http = require('http');\n-const assert = require('assert');\n-const fs = require('fs');\n+const { mustCall } = require('../common');\n \n-let resEnd = ...
2018-04-07T12:51:15
vercel/next.js
2f3edac20c481dc9d64ed93b5fd112ad67796efa
3c821767ce99df152237af7c40b0a55fd51a3dfe
add introspection for assets and content sources (vercel/turbo#47) add very simple explorer to introspect the graph via `/__turbopack__/` Allows to "walk" through the content sources and asset graph. Some assets allows to access inner assets, e. g. from the ecmascript chunk you can access the entry module asset, ...
[ { "path": "packages/next-swc/crates/next-core/src/nodejs/mod.rs", "patch": "@@ -183,7 +183,7 @@ async fn get_renderer_pool(\n \n /// Converts a module graph into node.js executable assets\n #[turbo_tasks::function]\n-async fn get_intermediate_asset(\n+pub async fn get_intermediate_asset(\n entry_module:...
2022-10-17T15:19:29
rust-lang/rust
6424f0a7ba84253c8db42d66d3e80ef74e65f92b
b69a4787b4fc86a8d1cc2563d9d6aade092e83b5
Replace trap_unimplemented calls with codegen_panic_nounwind This will show a backtrace. Also added a reference to rust-lang/rustc_codegen_cranelift#171 in the unimplemented intrinsic error message.
[ { "path": "src/intrinsics/llvm.rs", "patch": "@@ -66,7 +66,12 @@ pub(crate) fn codegen_llvm_intrinsic_call<'tcx>(\n fx.tcx\n .dcx()\n .warn(format!(\"unsupported llvm intrinsic {}; replacing with trap\", intrinsic));\n- crate::trap::trap_unimplemented(f...
2025-04-08T10:25:03
huggingface/transformers
919220dab1e29f4d04eacd61a197a45a4fec2613
eb2b452432c1ba28325586db23f4c25e24f5ac24
Update translated docs for `sdpa_kernel` (#35461) * docs: update sdpa_kernel for translation * fix: nn.attention * update: infer many
[ { "path": "docs/source/ja/perf_infer_gpu_many.md", "patch": "@@ -34,7 +34,7 @@ BetterTransformerは、テキスト、画像、音声モデルの単一GPUおよ\n <Tip>\n \n Flash Attentionは、fp16またはbf16 dtypeを使用しているモデルにのみ使用できます。BetterTransformerを使用する前に、モデルを適切なdtypeにキャストしてください。\n- \n+\n </Tip>\n \n ### Decoder models\n@@ -53,11 +53,12 @@ model.to_...
2024-12-31T16:37:58
ollama/ollama
a16f96658b92921dfe2bba68a4c6314eb0665a47
18ab09b431c5c63322504648c8851a4ce8f75394
mlxrunner: Enforce model context limit Currently, context length is unbounded - the cache will keep growing forever independent of the model's trained context length. This caps it and enforces semantics similar to most cloud services: - Long prompts will result in an error, not truncation. - Generation that exceeds ...
[ { "path": "server/images.go", "patch": "@@ -71,6 +71,10 @@ type Model struct {\n \tTemplate *template.Template\n }\n \n+func (m *Model) IsMLX() bool {\n+\treturn m.Config.ModelFormat == \"safetensors\"\n+}\n+\n // Capabilities returns the capabilities that the model supports\n func (m *Model) Capabilities()...
2026-02-25T23:07:09
golang/go
726d704c32acf99a9ed44d81c99adb22d4759241
79beddc773ecca50c283dde6aad7c80929da0554
cmd/asm: add arm64 instructions VUMAX and VUMIN This CL adds support for arm64 fp&simd instructions VUMAX and VUMIN. Fixes #42326 Change-Id: I3757ba165dc31ce1ce70f3b06a9e5b94c14d2ab9 Reviewed-on: https://go-review.googlesource.com/c/go/+/271497 Trust: eric fang <eric.fang@arm.com> Run-TryBot: eric fang <eric.fang@arm...
[ { "path": "src/cmd/asm/internal/asm/testdata/arm64.s", "patch": "@@ -207,6 +207,18 @@ TEXT\tfoo(SB), DUPOK|NOSPLIT, $-8\n \tVUADDW2\tV9.B16, V12.H8, V14.H8 // 8e11296e\n \tVUADDW2\tV13.H8, V20.S4, V30.S4 // 9e126d6e\n \tVUADDW2\tV21.S4, V24.D2, V29.D2 // 1d13b56e\n+\tVUMAX\tV3.B8,...
2020-11-19T07:18:41
nodejs/node
4ac7753e4d6de2b52e4404391d6705ee14038663
398968297ae387714431d3e1c6ff0f0cb24807d8
test: move require('http2') after crypto check This test currently fails when configured --without-ssl: Error [ERR_NO_CRYPTO]: Node.js is not compiled with OpenSSL crypto support This commit moves the require of http2 to come after the crypto check to avoid the error. PR-URL: https://github.com/nodejs/node/pull/1990...
[ { "path": "test/parallel/test-http2-client-write-empty-string.js", "patch": "@@ -1,11 +1,11 @@\n 'use strict';\n \n const assert = require('assert');\n-const http2 = require('http2');\n const common = require('../common');\n if (!common.hasCrypto)\n common.skip('missing crypto');\n \n+const http2 = requir...
2018-04-10T05:37:04
rust-lang/rust
a8b0eb7c65bba72de8bc5cd5068a46ab4563d201
c7272a6cbc999a187d564624594889532e47ffa0
Update compiler/rustc_borrowck/src/diagnostics/region_errors.rs Co-authored-by: lcnr <rust@lcnr.de>
[ { "path": "compiler/rustc_borrowck/src/diagnostics/region_errors.rs", "patch": "@@ -198,7 +198,8 @@ impl<'infcx, 'tcx> MirBorrowckCtxt<'_, 'infcx, 'tcx> {\n \n /// Returns `true` if a closure is inferred to be an `FnMut` closure.\n fn is_closure_fn_mut(&self, fr: RegionVid) -> bool {\n- if le...
2025-04-08T09:36:44
vercel/next.js
9a3c858071eee11c90a486a627ed161435289ff4
b743af6a1913b42a685c0cbbe38cf97d115b5a55
add introspection for assets and content sources (#47) add very simple explorer to introspect the graph via `/__turbopack__/` Allows to "walk" through the content sources and asset graph. Some assets allows to access inner assets, e. g. from the ecmascript chunk you can access the entry module asset, so you can g...
[ { "path": "crates/next-core/src/nodejs/mod.rs", "patch": "@@ -183,7 +183,7 @@ async fn get_renderer_pool(\n \n /// Converts a module graph into node.js executable assets\n #[turbo_tasks::function]\n-async fn get_intermediate_asset(\n+pub async fn get_intermediate_asset(\n entry_module: EcmascriptModuleA...
2022-10-17T15:19:29
huggingface/transformers
90f256c90c927a804847bb825b145b282d81b495
5c75087aeee7081025370e10d1f571a11600f1ae
Update perf_infer_gpu_one.md: fix a typo (#35441)
[ { "path": "docs/source/en/perf_infer_gpu_one.md", "patch": "@@ -462,7 +462,7 @@ generated_ids = model.generate(**inputs)\n outputs = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)\n ```\n \n-To load a model in 4-bit for inference with multiple GPUs, you can control how much GPU RAM you want...
2024-12-29T13:57:08
ollama/ollama
18ab09b431c5c63322504648c8851a4ce8f75394
638faeac547bb9968e8f365791dc5f46887a4625
mlxrunner: Propagate pipeline errors to client via api.StatusError Errors that occur during pipeline processing are currently only logged but not sent back to the client. Rather than using HTTP status codes as we have historically done, this serializes errors as messages to allow sending them at any time during the st...
[ { "path": "x/mlxrunner/client.go", "patch": "@@ -22,6 +22,7 @@ import (\n \t\"sync/atomic\"\n \t\"time\"\n \n+\t\"github.com/ollama/ollama/api\"\n \t\"github.com/ollama/ollama/llm\"\n \t\"github.com/ollama/ollama/ml\"\n \t\"github.com/ollama/ollama/x/imagegen\"\n@@ -192,6 +193,20 @@ type completionOpts stru...
2026-02-26T20:23:06
golang/go
79beddc773ecca50c283dde6aad7c80929da0554
12bb256cb30a76b540dbbc1cac38d7044facfa29
cmd/asm: add 128-bit FLDPQ and FSTPQ instructions for arm64 This CL adds assembly support for 128-bit FLDPQ and FSTPQ instructions. This CL also deletes some wrong pre/post-indexed LDP and STP instructions, such as {ALDP, C_UAUTO4K, C_NONE, C_NONE, C_PAIR, 74, 8, REGSP, 0, C_XPRE}, because when the offset type is C_U...
[ { "path": "src/cmd/asm/internal/asm/testdata/arm64.s", "patch": "@@ -982,6 +982,54 @@ again:\n \tFSTPS\t(F3, F4), x(SB)\n \tFSTPS\t(F3, F4), x+8(SB)\n \n+// FLDPQ/FSTPQ\n+\tFLDPQ -4000(R0), (F1, F2) // 1b803ed1610b40ad\n+\tFLDPQ\t-1024(R0), (F1, F2) // 010860ad\n+\tFLDPQ\t(R0), (F1, F2) // 010840a...
2020-11-23T10:59:33
nodejs/node
cbc7eb7eecf8fa698ba3a02e1a73cb2db67daf89
f3e107aeef2f75cb3a705fd15260f65dd77e78d4
test: refactor parallel/test-tls-cert-chains-concat Added common.mustCall and replaced function with arrow function. PR-URL: https://github.com/nodejs/node/pull/19096 Fixes: https://github.com/nodejs/node/issues/14544 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.c...
[ { "path": "test/parallel/test-tls-cert-chains-concat.js", "patch": "@@ -1,5 +1,5 @@\n 'use strict';\n-require('../common');\n+const common = require('../common');\n const fixtures = require('../common/fixtures');\n \n // Check cert chain is received by client, and is completed with the ca cert\n@@ -19,7 +19...
2018-03-02T19:28:29
huggingface/transformers
5c75087aeee7081025370e10d1f571a11600f1ae
3b0a94ef9ef59c68da448e34de3a56f608f597fb
Fix `model_accepts_loss_kwargs` for timm model (#35257) * Fix for timm model * Add comment
[ { "path": "src/transformers/models/timm_wrapper/modeling_timm_wrapper.py", "patch": "@@ -82,6 +82,9 @@ class TimmWrapperPreTrainedModel(PreTrainedModel):\n config_class = TimmWrapperConfig\n _no_split_modules = []\n \n+ # used in Trainer to avoid passing `loss_kwargs` to model forward\n+ accep...
2024-12-27T16:33:44
vercel/next.js
e2f16f96c23a02583b1ccdbc871f39db3f77715d
e61820e04d0f7aab3cdbfe2b6955467c4f6618d7
Update `next/image` docs and examples (#41434) This PR updates the docs for the following code change: - #41399 There are a few updates here: - [x] Update docs - [x] Update links to docs inside component - [x] Update examples - [x] Fix corner cases in codemod
[ { "path": "docs/advanced-features/codemods.md", "patch": "@@ -64,7 +64,97 @@ Dangerously migrates from `next/legacy/image` to the new `next/image` by adding\n - Removes `objectPosition` prop and adds `style`\n - Removes `lazyBoundary` prop\n - Removes `lazyRoot` prop\n-- TODO: handle `loader`\n+- TODO: does...
2022-10-17T14:41:35
rust-lang/rust
603685cd7469265a014e9865b4fb840f713453eb
3dec37f1cc0d2dc30a47116678ebfe69165ea600
compiletest: drop dependency on `anyhow` Currently `compiletest` panics all over the place but doesn't really use `anyhow` anyway. I'd like to introduce some more principled error handling and disciplined diagnostic reporting in the near future.
[ { "path": "Cargo.lock", "patch": "@@ -676,7 +676,6 @@ name = \"compiletest\"\n version = \"0.0.0\"\n dependencies = [\n \"anstyle-svg\",\n- \"anyhow\",\n \"build_helper\",\n \"colored\",\n \"diff\",", "additions": 0, "deletions": 1, "language": "Unknown" }, { "path": "src/tools/compi...
2025-04-08T08:11:26
ollama/ollama
dd5eb6337dab84d76d7edec2c102064504d75378
79917cf80bf74538a4ae694e6b61adb908b0f8df
mlxrunner: Fix panic on full KV cache hit When the entire prompt was already cached (e.g. repeated prompt), findRemaining returned an empty slice, causing FromValues to panic on an index-out-of-range accessing a zero-length byte slice. Fix by always keeping at least one token to re-evaluate so the pipeline can seed t...
[ { "path": "x/mlxrunner/cache.go", "patch": "@@ -78,6 +78,12 @@ func (c *kvCache) findRemaining(tokens []int32) []int32 {\n \t\tprefix++\n \t}\n \n+\t// Always keep at least one token to re-evaluate so the\n+\t// pipeline can seed token generation from it.\n+\tif prefix == len(tokens) && prefix > 0 {\n+\t\tp...
2026-02-26T01:03:31
nodejs/node
6e2d5af0e4164d4b1a827a86b8eafa3b5fcaebe0
9c06770443313d1b79b5dc1749ad0063dd97193c
fs: fix missing 'error' event in (Read|Write)Stream#destroy fs.ReadStream / fs.WriteStream destroy([error]) function should emit 'error' event if `error` is set. PR-URL: https://github.com/nodejs/node/pull/19735 Fixes: https://github.com/nodejs/node/issues/19727 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewe...
[ { "path": "lib/fs.js", "patch": "@@ -2128,7 +2128,7 @@ ReadStream.prototype._destroy = function(err, cb) {\n return;\n }\n \n- closeFsStream(this, cb);\n+ closeFsStream(this, cb, err);\n this.fd = null;\n };\n ", "additions": 1, "deletions": 1, "language": "JavaScript" }, { "pa...
2018-04-01T16:58:16
huggingface/transformers
3b0a94ef9ef59c68da448e34de3a56f608f597fb
f63da20a9fc06d03545f120e66fb0aca660f4aa8
Fix f-string to show `ACCELERATE_MIN_VERSION` on error (#35189) fix f-string to show ACCELERATE_MIN_VERSION on error Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.com>
[ { "path": "src/transformers/training_args.py", "patch": "@@ -2164,7 +2164,7 @@ def _setup_devices(self) -> \"torch.device\":\n if not is_accelerate_available():\n raise ImportError(\n f\"Using the `Trainer` with `PyTorch` requires `accelerate>={ACCELERATE_MIN_...
2024-12-27T12:21:44
golang/go
12bb256cb30a76b540dbbc1cac38d7044facfa29
6db80d74200675e20c562684c0bcc6d12a5631eb
go/types: use correct recv for parameterized embedded methods This is a direct port of CL 298129 to go/types. Fixes #44688 Change-Id: I950992ea7beea5b9c8bea0c296b5ce03b2aa9b12 Reviewed-on: https://go-review.googlesource.com/c/go/+/298349 Trust: Robert Findley <rfindley@google.com> Trust: Robert Griesemer <gri@golang...
[ { "path": "src/go/types/call.go", "patch": "@@ -592,31 +592,42 @@ func (check *Checker) selector(x *operand, e *ast.SelectorExpr) {\n \t// methods may not have a fully set up signature yet\n \tif m, _ := obj.(*Func); m != nil {\n \t\tcheck.objDecl(m, nil)\n-\t\t// If m has a parameterized receiver type, inf...
2021-03-03T18:33:24
vercel/next.js
e61820e04d0f7aab3cdbfe2b6955467c4f6618d7
a75b32387741088a808b0e1c0f06040489fd3a86
Fix typo and add comment to `next/image` SyntheticEvent (#41480) - Fix typo - Add comment - Link back to react docs - Remove unnecessary variable
[ { "path": "packages/next/client/image.tsx", "patch": "@@ -268,11 +268,14 @@ function handleLoading(\n setBlurComplete(true)\n }\n if (onLoadRef?.current) {\n+ // Since we don't have the SyntheticEvent here,\n+ // we must create one with the same shape.\n+ // See https://reactjs....
2022-10-17T14:40:40
ollama/ollama
d98dda4676d44a3882fd38492cc00db257f35974
d69ddc1edc4c6df26cd6e6a20c040f2d6c6a29ef
model: fix qwen3 tool calling in thinking (#14477) Align Qwen parser behavior with Transformers serve by allowing <tool_call> parsing while still in thinking collection. Changes: - qwen3vl: detect <tool_call> before </think> in thinking state and transition to tool parsing - qwen3: same thinking-state tool detectio...
[ { "path": "model/parsers/qwen3.go", "patch": "@@ -204,6 +204,24 @@ func (p *Qwen3Parser) eat() ([]qwen3Event, bool) {\n \t\t\tp.maybeThinkingOpenAtBOL = false\n \t\t}\n \n+\t\tthinkingCloseIdx := strings.Index(acc, qwen3ThinkingCloseTag)\n+\t\ttoolOpenIdx := strings.Index(acc, qwen3ToolOpenTag)\n+\n+\t\t// ...
2026-02-27T00:13:18
nodejs/node
252eb2deb239c940081ac20c38ccb9039f136bd3
362694401fc08f1eb312417487bfc2d3c9281a6e
assert: fix error message `assert.throws` also accepts objects and errors as input. This fixes the error message accodingly. PR-URL: https://github.com/nodejs/node/pull/19865 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
[ { "path": "lib/assert.js", "patch": "@@ -465,7 +465,9 @@ async function waitForActual(block) {\n function expectsError(stackStartFn, actual, error, message) {\n if (typeof error === 'string') {\n if (arguments.length === 4) {\n- throw new ERR_INVALID_ARG_TYPE('error', ['Function', 'RegExp'], erro...
2018-04-07T12:20:43
huggingface/transformers
7f97d016754f561a53c81cc18276d89da077f374
4eb17b26e77611d4fbcdcbbc20c7bf275eb015c9
Fix: Rename keyword argument in_channels to num_channels (#35289) Fix: Rename keyword argument in_channels to num_channels in some default backbone configs
[ { "path": "src/transformers/models/mask2former/configuration_mask2former.py", "patch": "@@ -171,7 +171,7 @@ def __init__(\n logger.info(\"`backbone_config` is `None`. Initializing the config with the default `Swin` backbone.\")\n backbone_config = CONFIG_MAPPING[\"swin\"](\n ...
2024-12-27T12:07:31
rust-lang/rust
112ca25a35c3eaef614749194b96b279ea6a6c70
fb0dd6555dbcfe88b318e95b8b11ed15a67088ce
fix(auto-import): Prefer imports of matching types for argument lists
[ { "path": "src/tools/rust-analyzer/crates/ide-assists/src/handlers/auto_import.rs", "patch": "@@ -1,14 +1,16 @@\n use std::cmp::Reverse;\n \n-use hir::{Module, db::HirDatabase};\n+use either::Either;\n+use hir::{Module, Type, db::HirDatabase};\n use ide_db::{\n+ active_parameter::ActiveParameter,\n h...
2025-04-08T06:59:57
ollama/ollama
d69ddc1edc4c6df26cd6e6a20c040f2d6c6a29ef
9bf41969f0c23d2ee980d7f092f5f80ea4521d2a
fix: window app crash on startup when update is pending (#14451)
[ { "path": "app/cmd/app/app.go", "patch": "@@ -296,8 +296,15 @@ func main() {\n \n \t// Check for pending updates on startup (show tray notification if update is ready)\n \tif updater.IsUpdatePending() {\n-\t\tslog.Debug(\"update pending on startup, showing tray notification\")\n-\t\tUpdateAvailable(\"\")\n+...
2026-02-26T21:47:12
golang/go
d6f6ef6358f15d6e49d949749869f199d99d5047
3e524ee65addd8a30bbfb4fd69508d429fda6d4f
cmd/compile: remove races introduced in abiutils field update This fix uses mutex around the problematic store and subsequent access; if this causes performance problems later a better fix is to do all the ABI binding in gc/walk where it is single-threaded. Change-Id: I488f28ab75beb8351c856fd50b0095cab463642e Reviewe...
[ { "path": "src/cmd/compile/internal/abi/abiutils.go", "patch": "@@ -315,12 +315,31 @@ func (config *ABIConfig) ABIAnalyze(t *types.Type) *ABIParamResultInfo {\n \treturn result\n }\n \n+// parameterUpdateMu protects the Offset field of function/method parameters (a subset of structure Fields)\n+var paramete...
2021-03-03T04:39:12
vercel/next.js
a75b32387741088a808b0e1c0f06040489fd3a86
7be2ef0fcf920fccd28f05effa8075dcbdc8896d
Include frameworks in main-app (#41465) There is no need to have a separate `framework` chunk for React and React DOM, as they're already included in the `main-app` entry. With this PR, React and React DOM will be included in `main-app` directly and app is no longer depending on the `framework` chunk. ## Bug - [ ] R...
[ { "path": "packages/next/build/webpack-config.ts", "patch": "@@ -1338,10 +1338,25 @@ export default async function getBaseWebpackConfig(\n // and all other chunk depend on them so there is no\n // duplication that need to be pulled out.\n chunks: (chunk: any) =>\n- !...
2022-10-17T13:48:52
huggingface/transformers
4eb17b26e77611d4fbcdcbbc20c7bf275eb015c9
24c91f095fec4d90fa6901ef17146b4f4c21d0a3
Drop inplace operation for loss computation with gradient accumulation (#35416) Fix inplace loss computation
[ { "path": "src/transformers/trainer.py", "patch": "@@ -3700,7 +3700,7 @@ def training_step(\n else:\n # Finally we need to normalize the loss for reporting\n if num_items_in_batch is None:\n- loss /= self.args.gradient_accumulation_steps\n+ loss ...
2024-12-26T13:58:53
nodejs/node
362694401fc08f1eb312417487bfc2d3c9281a6e
5b8c62c60d63a0da00da20823ce6fed7039036a7
src: rename ERR_STRING_TOO_LARGE to ERR_STRING_TOO_LONG The old error name and message were trying to be consistent with ERR_BUFFER_TOO_LARGE but they were not really accurate. The kStringMaxLength was measured in number of characters, not number of bytes. The name ERR_STRING_TOO_LARGE also seems a bit awkward. This p...
[ { "path": "doc/api/errors.md", "patch": "@@ -1474,11 +1474,11 @@ additional details.\n A stream method was called that cannot complete because the stream was\n destroyed using `stream.destroy()`.\n \n-<a id=\"ERR_STRING_TOO_LARGE\"></a>\n-### ERR_STRING_TOO_LARGE\n+<a id=\"ERR_STRING_TOO_LONG\"></a>\n+### E...
2018-04-07T12:36:33
rust-lang/rust
44d1d86124e7229a59a13899a14e468fee9dc923
c6c179662d5a6fc0520e05b5c0682dcfc7333f77
libtest: Pass the test's panic payload as Option instead of Result Passing a `Result<(), &dyn Any>` to `calc_result` requires awkward code at both call sites, for no real benefit. It's much easier to just pass the payload as `Option<&dyn Any>`. No functional change, except that the owned payload is dropped slightly l...
[ { "path": "library/test/src/lib.rs", "patch": "@@ -666,10 +666,11 @@ fn run_test_in_process(\n \n io::set_output_capture(None);\n \n- let test_result = match result {\n- Ok(()) => calc_result(&desc, Ok(()), time_opts.as_ref(), exec_time.as_ref()),\n- Err(e) => calc_result(&desc, Err(e.a...
2025-04-08T03:26:22
ollama/ollama
9bf41969f0c23d2ee980d7f092f5f80ea4521d2a
0f23b7bff5f3b2d53e11f6de60065a6ab09f5ff8
app: fix first update check delayed by 1 hour (#14427)
[ { "path": "app/cmd/app/app.go", "patch": "@@ -35,6 +35,7 @@ import (\n var (\n \twv = &Webview{}\n \tuiServerPort int\n+\tappStore *store.Store\n )\n \n var debug = strings.EqualFold(os.Getenv(\"OLLAMA_DEBUG\"), \"true\") || os.Getenv(\"OLLAMA_DEBUG\") == \"1\"\n@@ -208,6 +209,7 @@ func main()...
2026-02-25T23:29:55
golang/go
9f33dc3ca1b7b6bdb1a8e83c24d490f579bbbdc8
c4e3f6c4c78f52060d409a549b83b72644069137
cmd/compile: handle aggregate OpArg in registers Also handles case where OpArg does not escape but has its address taken. May have exposed a lurking bug in 1.16 expandCalls, if e.g., loading len(someArrayOfstructThing[0].secondStringField) from a local. Maybe. For #40724. Change-Id: I0298c4ad5d652b5e3d7ed6a62095d5...
[ { "path": "src/cmd/compile/internal/amd64/ssa.go", "patch": "@@ -980,8 +980,6 @@ func ssaGenValue(s *ssagen.State, v *ssa.Value) {\n \t\tssagen.AddAux(&p.From, v)\n \t\tp.To.Type = obj.TYPE_REG\n \t\tp.To.Reg = v.Reg()\n-\tcase ssa.OpArgIntReg, ssa.OpArgFloatReg:\n-\t\tssagen.CheckArgReg(v)\n \tcase ssa.OpA...
2021-02-17T15:38:03
huggingface/transformers
24c91f095fec4d90fa6901ef17146b4f4c21d0a3
6e0515e99c39444caae39472ee1b2fd76ece32f1
[`GPTQ`, `CompressedTensors`] Fix unsafe imports and metada check (#34815) * fix gptq creation when optimum is not installed + fix metadata checking * fix compressed tensors as well * style * pray for ci luck on flaky tests :prayge: * trigger ci --------- Co-authored-by: Marc Sun <57196510+SunMarc@us...
[ { "path": "src/transformers/quantizers/quantizer_compressed_tensors.py", "patch": "@@ -37,6 +37,13 @@ class CompressedTensorsHfQuantizer(HfQuantizer):\n \n def __init__(self, quantization_config: CompressedTensorsConfig, **kwargs):\n super().__init__(quantization_config, **kwargs)\n+\n+ i...
2024-12-24T18:32:44
nodejs/node
5b8c62c60d63a0da00da20823ce6fed7039036a7
87880466b1392c8e0e6d1abb8838d447eceaa981
test: fix flaky http-client-timeout-agent Close the connection immediately after receiving the `end` event to avoid that the `timeout` event is fired before the connection closes gracefully. Move the test back to parallel. PR-URL: https://github.com/nodejs/node/pull/19856 Fixes: https://github.com/nodejs/node/issues/...
[ { "path": "test/parallel/test-http-client-timeout-agent.js", "patch": "@@ -46,11 +46,10 @@ const server = http.createServer(function(req, res) {\n \n server.listen(0, options.host, function() {\n options.port = this.address().port;\n- let req;\n \n for (requests_sent = 0; requests_sent < 30; requests_s...
2018-04-06T18:03:14
rust-lang/rust
e177921ae9bca5d697e682551c27c5baefcfbb60
eb5d8923fce0a025921368d175905c9cab481954
Allow for reparsing failure when reparsing a pasted metavar. Fixes #139445. The additional errors aren't great but the first one is still good and it's the most important, and imperfect errors are better than ICEing.
[ { "path": "compiler/rustc_parse/src/parser/mod.rs", "patch": "@@ -782,9 +782,16 @@ impl<'a> Parser<'a> {\n // Recovery is disabled when parsing macro arguments, so it must\n // also be disabled when reparsing pasted macro arguments,\n // otherwise we get inconsistent resu...
2025-04-07T03:54:24
vercel/next.js
b743af6a1913b42a685c0cbbe38cf97d115b5a55
545c0e976df1bc107739d6efb27d9d1e51b8fe07
Throw runtime errors at import time for failed resolution (#14) Ported from https://github.com/vercel/turbo-tooling/pull/521 Partially addresses https://github.com/vercel/turbo-tooling/issues/249. Resolves https://github.com/vercel/turbo-tooling/issues/527. This inserts code to throw an error at runtime when an...
[ { "path": "crates/turbopack-ecmascript/src/references/amd.rs", "patch": "@@ -131,6 +131,7 @@ impl CodeGenerateable for AmdDefineWithDependenciesCodeGen {\n AmdDefineDependencyElement::Request(request) => {\n ResolvedElement::PatternMapping(\n ...
2022-10-17T13:03:06
ollama/ollama
4e57d2094e127fcb32ed40d68289da7e41a83264
7f9efd53dfa6dd87ac423695f5ca8ffff5a6222c
mlxrunner: Simplify pipeline memory and cache management Particularly in error cases, it can be difficult to ensure that all pinned memory is unpinned, MLX buffers are released and cache state is consistent. This encapsulates those pieces and sets up proper deferrals so that this happens automatically on exit.
[ { "path": "x/mlxrunner/cache.go", "patch": "@@ -9,59 +9,99 @@ import (\n \t\"github.com/ollama/ollama/logutil\"\n \t\"github.com/ollama/ollama/x/mlxrunner/cache\"\n \t\"github.com/ollama/ollama/x/mlxrunner/mlx\"\n+\t\"github.com/ollama/ollama/x/mlxrunner/model/base\"\n )\n \n-// CacheEntry stores a single s...
2026-02-24T22:19:12
golang/go
00cb841b83ad157bc21d36daf0626bbcd4af0d57
f2df1e3c34ceb2225d0df5c9ec92d5dc9e9ba919
syscall: implement rawVforkSyscall for remaining linux platforms This allows the use of CLONE_VFORK and CLONE_VM for fork/exec, preventing 'fork/exec ...: cannot allocate memory' failures from occuring when attempting to execute commands from a Go process that has a large memory footprint. Additionally, this should re...
[ { "path": "src/syscall/asm_linux_386.s", "patch": "@@ -110,6 +110,26 @@ ok2:\n \tMOVL\t$0, err+36(FP)\n \tRET\n \n+// func rawVforkSyscall(trap, a1 uintptr) (r1, err uintptr)\n+TEXT ·rawVforkSyscall(SB),NOSPLIT|NOFRAME,$0-16\n+\tMOVL\ttrap+0(FP), AX\t// syscall entry\n+\tMOVL\ta1+4(FP), BX\n+\tMOVL\t$0, CX\...
2019-05-07T07:56:49
huggingface/transformers
6e0515e99c39444caae39472ee1b2fd76ece32f1
d8c1db2f568d4bcc254bc046036acf0d6bba8373
Add DINOv2 with registers (#35348) * added changes from 32905 * fixed mistakes caused by select all paste * rename diff_dinov2... * ran tests * Fix modular * Fix tests * Use new init * Simplify drop path * Convert all checkpoints * Add figure and summary * Update paths * Update docs ...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -655,6 +655,8 @@\n title: DiNAT\n - local: model_doc/dinov2\n title: DINOV2\n+ - local: model_doc/dinov2_with_registers\n+ title: DINOv2 with Registers\n - local: model_doc/dit\n title: DiT\n - local:...
2024-12-24T12:21:59
rust-lang/rust
eb5d8923fce0a025921368d175905c9cab481954
e643f59f6da3a84f43e75dea99afaa5b041ea6bf
Allow for missing invisible close delim when reparsing an expression. This can happen when invalid syntax is passed to a declarative macro. We shouldn't be too strict about the token stream position once the parser has rejected the invalid syntax. Fixes #139248.
[ { "path": "compiler/rustc_parse/src/parser/mod.rs", "patch": "@@ -793,7 +793,12 @@ impl<'a> Parser<'a> {\n self.bump();\n Some(res)\n } else {\n- panic!(\"no close delim when reparsing {mv_kind:?}\");\n+ // This can occur when invalid...
2025-04-03T03:23:49
nodejs/node
87880466b1392c8e0e6d1abb8838d447eceaa981
7bc5151d5ec819001d40c4b34f6921d5a7242ba8
doc: fix about `decodeStrings` property of `stream.Writable` This fixes negation ommitted in a former commit. It also simplifies the text in general. PR-URL: https://github.com/nodejs/node/pull/19752 Refs: https://github.com/nodejs/node/commit/80ea0c5a64fe673011e8b1025de23a0ea7f3f7f8 Reviewed-By: Anna Henningsen <ann...
[ { "path": "doc/api/stream.md", "patch": "@@ -1520,13 +1520,12 @@ buffered. When the `callback` is invoked, the stream might emit a [`'drain'`][]\n event. If a stream implementation is capable of processing multiple chunks of\n data at once, the `writable._writev()` method should be implemented.\n \n-If the ...
2018-04-02T14:08:48
vercel/next.js
7be2ef0fcf920fccd28f05effa8075dcbdc8896d
7c2fd345105073b1d56be1c369e96fa00e34ccc6
Ignore serverComponentChanges in pages (#41464) Slightly different version of #41020 where it does not end up being an unknown event. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Implements...
[ { "path": "packages/next/client/dev/error-overlay/hot-dev-client.js", "patch": "@@ -260,6 +260,10 @@ function processMessage(e) {\n )\n return handleSuccess()\n }\n+ case 'serverComponentChanges': {\n+ // Server component changes don't apply to `pages`.\n+ return\n+ }\n d...
2022-10-16T21:34:33
ollama/ollama
f20dc6b698eba22c125b1b86a301d6e42673c85e
4b2ac1f369cc6ce2666d4a332d20548766150ed1
mlx: don't default to affine quantization for unquantized models Otherwise the BF16 version of models trigger segfaults when they call into quantized kernels.
[ { "path": "x/imagegen/safetensors/loader.go", "patch": "@@ -37,9 +37,11 @@ func QuantizationParams(quantization string) (groupSize, bits int, mode string)\n \tcase \"MXFP8\":\n \t\t// Microsoft MX FP8: group_size=32, bits=8, E4M3 scales (no qbias)\n \t\treturn 32, 8, \"mxfp8\"\n-\tcase \"FP8\", \"Q8\", \"IN...
2026-02-18T23:32:40
huggingface/transformers
a1780b7ba5da0e4d9f7035b4224fafe13727be6b
64c05eecd68712f2a67bb9f1fb1292eccf4b5b3d
bugfix Idefics3 processor - handle gracefully cases with text and no images (#35363) * bugfix processing empty images * fix * fix * Update src/transformers/models/idefics3/processing_idefics3.py Co-authored-by: Yoni Gozlan <74535834+yonigozlan@users.noreply.github.com> * adding tests * fix * fix * fix -------...
[ { "path": "src/transformers/models/idefics3/processing_idefics3.py", "patch": "@@ -283,45 +283,53 @@ def __call__(\n image_inputs = self.image_processor(images, **output_kwargs[\"images_kwargs\"])\n inputs.update(image_inputs)\n \n- if text is not None:\n- if n_imag...
2024-12-23T15:59:01
golang/go
2a2f99eefb70a66ecb9560a61b5cf23a5ca02ecb
b65091c11d711ff3b01cd25393305410e1b0b377
cmd/go/internal/modload: do not resolve an arbitrary version for 'go list --versions' If we don't actually require the listed module, we previously implicitly resolved "latest", but also (erroneously) forgot to apply exclusions and retractions for it. But there is really no need to resolve "latest" in this case at all...
[ { "path": "src/cmd/go/internal/modload/build.go", "patch": "@@ -113,7 +113,11 @@ func addVersions(ctx context.Context, m *modinfo.ModulePublic, listRetracted boo\n \tif listRetracted {\n \t\tallowed = CheckExclusions\n \t}\n-\tm.Versions, _ = versions(ctx, m.Path, allowed)\n+\tvar err error\n+\tm.Versions, ...
2021-02-26T22:40:18
rust-lang/rust
8501dcbd4b7ce0b5563c915a9e49f316a6572d43
01e44b140d5129ab05e833b2f0b7c9f00b279c43
remove unusual indentation This also fixes markdown rendering
[ { "path": "src/bootstrap/src/core/builder/mod.rs", "patch": "@@ -101,13 +101,13 @@ pub trait Step: 'static + Clone + Debug + PartialEq + Eq + Hash {\n /// Primary function to implement `Step` logic.\n ///\n /// This function can be triggered in two ways:\n- /// 1. Directly from [`Builder:...
2025-04-08T00:59:48
nodejs/node
7bc5151d5ec819001d40c4b34f6921d5a7242ba8
a6db6404ff200ab37b69a33fad48cb6fa73d8bc8
zlib: fix windowBits validation to allow 0 for decompression mode From the zlib v1.2.11 manual: > ZEXTERN int ZEXPORT inflateInit2 OF((z_streamp strm, > int windowBits)); > > ... > windowBits can also be zero to request that inflate use the window > size in the zlib header of the...
[ { "path": "lib/zlib.js", "patch": "@@ -251,9 +251,19 @@ function Zlib(opts, mode) {\n opts.finishFlush, 'options.finishFlush',\n Z_NO_FLUSH, Z_BLOCK, Z_FINISH);\n \n- windowBits = checkRangesOrGetDefault(\n- opts.windowBits, 'options.windowBits',\n- Z_MIN_WINDOWBITS, Z_MAX_WINDOWBIT...
2018-03-29T22:07:44
vercel/next.js
7c2fd345105073b1d56be1c369e96fa00e34ccc6
1d37afb3513642a3f96f3881b2d325c675bd004f
fix(app-render): make css and font respect assetPrefix (#41455) Add missing `assetPrefix` for link tags (`@next/font` and CSS). The PR also merges multiple duplicated `renderOpt.assetPrefix || ''`.
[ { "path": "packages/next/server/app-render.tsx", "patch": "@@ -872,6 +872,8 @@ export async function renderToHTMLOrFlight(\n ComponentMod.pages\n )\n \n+ const assetPrefix = renderOpts.assetPrefix || ''\n+\n /**\n * Use the provided loader tree to create the React Component tree.\n ...
2022-10-16T19:56:15
ollama/ollama
8daf47fb3afec28de3e447d974c2bf911bcafc20
6c980579cdc62d67aee13511102437a6fe5aa13a
mlxrunner: Fix duplicate log prefixes and reduce log noise Pass subprocess stdout/stderr through to the parent's stderr directly instead of re-wrapping each line with slog. The subprocess already writes structured slog output, so the re-wrapping produced nested timestamps, levels, and message fields that were hard to ...
[ { "path": "x/mlxrunner/cache/cache.go", "patch": "@@ -3,8 +3,7 @@\n package cache\n \n import (\n-\t\"log/slog\"\n-\n+\t\"github.com/ollama/ollama/logutil\"\n \t\"github.com/ollama/ollama/x/mlxrunner/mlx\"\n )\n \n@@ -113,7 +112,7 @@ func (c *RotatingKVCache) Update(keys, values *mlx.Array) (*mlx.Array, *ml...
2026-02-23T21:28:01
rust-lang/rust
b08e9c2a60f4dbab4bdaa733727947b3395de329
e643f59f6da3a84f43e75dea99afaa5b041ea6bf
Fix stack overflow in exhaustiveness due to recursive HIR opaque type values
[ { "path": "compiler/rustc_pattern_analysis/src/rustc.rs", "patch": "@@ -1,5 +1,6 @@\n use std::fmt;\n use std::iter::once;\n+use std::ops::ControlFlow;\n \n use rustc_abi::{FIRST_VARIANT, FieldIdx, Integer, VariantIdx};\n use rustc_arena::DroplessArena;\n@@ -11,7 +12,8 @@ use rustc_middle::mir::{self, Const...
2025-04-07T22:32:49
golang/go
e9eed78dc3f4ab9a87f43c7d902025329f622783
09f4ef4fa73a110eefd2cb9d78439f51d9294f65
cmd/go: resolve std-vendored dependencies as std packages except in 'go get' and 'go mod' In CL 251159, I removed a hard-coded special case changing the rewriting behavior for std dependencies in GOROOT/src/vendor and GOROOT/src/cmd/vendor. Unfortunately, that caused packages in 'std' to be reported as stale when run ...
[ { "path": "src/cmd/go/internal/modcmd/tidy.go", "patch": "@@ -62,10 +62,11 @@ func runTidy(ctx context.Context, cmd *base.Command, args []string) {\n \tmodload.RootMode = modload.NeedRoot\n \n \tmodload.LoadPackages(ctx, modload.PackageOpts{\n-\t\tTags: imports.AnyTags(),\n-\t\tResolveMissi...
2021-03-02T14:52:55
huggingface/transformers
64c05eecd68712f2a67bb9f1fb1292eccf4b5b3d
ef1f54a0a7c3c21eff90cb94d4b58d5b67f79b3e
HIGGS Quantization Support (#34997) * higgs init * working with crunches * per-model workspaces * style * style 2 * tests and style * higgs tests passing * protecting torch import * removed torch.Tensor type annotations * torch.nn.Module inheritance fix maybe * hide inputs inside quantize...
[ { "path": "docker/transformers-quantization-latest-gpu/Dockerfile", "patch": "@@ -69,6 +69,10 @@ RUN python3 -m pip install --no-cache-dir optimum-quanto\n # Add eetq for quantization testing\n RUN python3 -m pip install git+https://github.com/NetEase-FuXi/EETQ.git\n \n+# Add flute-kernel and fast_hadamard_...
2024-12-23T15:54:49
vercel/next.js
1d37afb3513642a3f96f3881b2d325c675bd004f
bc3d8be4ee6e56c936eefbe848df90663b7f7d5c
Disable isNavigatingToNewRootLayout (#41457) Hannes is going to change the approach to be compatible with static. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature...
[ { "path": "packages/next/server/app-render.tsx", "patch": "@@ -7,7 +7,7 @@ import type { FontLoaderManifest } from '../build/webpack/plugins/font-loader-ma\n // @ts-ignore\n import React, { experimental_use as use } from 'react'\n \n-import { ParsedUrlQuery, stringify as stringifyQuery } from 'querystring'\...
2022-10-16T15:41:13
rust-lang/rust
4aab8e88e467589e5cf4274c830fd964e30f4166
e643f59f6da3a84f43e75dea99afaa5b041ea6bf
document panic behavior of Vec::resize and Vec::resize_with
[ { "path": "library/alloc/src/vec/mod.rs", "patch": "@@ -2803,6 +2803,10 @@ impl<T, A: Allocator> Vec<T, A> {\n /// want to use the [`Default`] trait to generate values, you can\n /// pass [`Default::default`] as the second argument.\n ///\n+ /// # Panics\n+ ///\n+ /// Panics if the new ...
2025-04-07T22:00:38
ollama/ollama
5c73c4e2eedeeb847743f43b4d2e85ff4b02be4b
5daf59cc6666dd036af8fab8c5df6b5571a9a9ba
mlxrunner: Simplify KV cache to single-entry prefix matching The KV cache previously used a tree structure which could store multiple divergent sequences, which is good for cache reuse. However, this is typically used in conjunction with paged attention so each node in the tree can store just a chunk of the KV cache a...
[ { "path": "x/mlxrunner/cache.go", "patch": "@@ -3,94 +3,65 @@\n package mlxrunner\n \n import (\n+\t\"fmt\"\n \t\"log/slog\"\n \n+\t\"github.com/ollama/ollama/logutil\"\n \t\"github.com/ollama/ollama/x/mlxrunner/cache\"\n+\t\"github.com/ollama/ollama/x/mlxrunner/mlx\"\n )\n \n+// CacheEntry stores a single ...
2026-02-20T00:50:18
nodejs/node
a6db6404ff200ab37b69a33fad48cb6fa73d8bc8
a892d9a0c1facba70753398a41d9dbd74ba83396
deps: cherry-pick b767cde1e7 from upstream V8 Original commit message: [intl] unbreak build with ICU 57 Remove a call to `icu::toUCharPtr()` that wasn't present in other similar looking call sites either, just reinterpret_cast directly. Fixes https://github.com/nodejs/node/issues/19656. Cq-Incl...
[ { "path": "common.gypi", "patch": "@@ -27,7 +27,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.5',\n+ 'v8_embedder_string': '-node.6',\n \n # Enable disassembler for `--print-code...
2018-03-30T10:47:02
golang/go
c6374f516206c02b905d0d76ee1a66dab6fcd212
97b32a6724ebc3a6029e06b6c4b3acb9c980b15a
dist: generate stub go.mod in workdir ...and run commands from there. This removes the requirement that bootstrap must not run inside a module by ensuring that enclosing modules do not interfere with bootstrap. Fixes #44209. Change-Id: I700a81829226770b8160c8ff04127b855b6e26bf Reviewed-on: https://go-review.googles...
[ { "path": "src/cmd/dist/build.go", "patch": "@@ -111,9 +111,6 @@ func xinit() {\n \t\tfatalf(\"$GOROOT must be set\")\n \t}\n \tgoroot = filepath.Clean(b)\n-\tif modRoot := findModuleRoot(goroot); modRoot != \"\" {\n-\t\tfatalf(\"found go.mod file in %s: $GOROOT must not be inside a module\", modRoot)\n-\t}...
2021-02-25T21:44:46
huggingface/transformers
59178780a6d83a485b54ccb273f0ecb47de4698f
3a4ced9ab4ded142638b7fa10e31b18710286f1a
Fix : VPTQ test (#35394) fix_test
[ { "path": "tests/quantization/vptq_integration/test_vptq.py", "patch": "@@ -44,7 +44,7 @@ def test_to_dict(self):\n quantization_config = VptqConfig()\n vptq_orig_config = quantization_config.to_dict()\n \n- self.assertEqual(quantization_config.quant_config, vptq_orig_config[\"quant_c...
2024-12-23T15:27:46
rust-lang/rust
250b848272d24d79e815994053a4a690d92b7264
ecb170afc878648c3ae355dbd596c8e4b6f7ebdc
Make error message for missing fields with .. and without .. more consistent
[ { "path": "compiler/rustc_hir_typeck/src/expr.rs", "patch": "@@ -2204,8 +2204,12 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {\n let fields = listify(&missing_mandatory_fields, |f| format!(\"`{f}`\")).unwrap();\n self.dcx()\n .struct_span_err(\n- ...
2025-03-27T17:24:06
vercel/next.js
fb30be485d9164f678d32939cb6258cc29f077a2
85f7d4b396d82f41f1ae539a96006d0609e6b8a2
Rename reload to refresh in new router (#41448) Renames `router.reload` to `router.refresh` to better reflect that it refreshes the rendered page instead of being a blank slate. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `con...
[ { "path": "packages/next/client/components/app-router.tsx", "patch": "@@ -16,7 +16,7 @@ import type { FlightRouterState, FlightData } from '../../server/app-render'\n import {\n ACTION_NAVIGATE,\n ACTION_PREFETCH,\n- ACTION_RELOAD,\n+ ACTION_REFRESH,\n ACTION_RESTORE,\n ACTION_SERVER_PATCH,\n re...
2022-10-15T20:29:09
ollama/ollama
5daf59cc6666dd036af8fab8c5df6b5571a9a9ba
0ade9205cce88006245dc54ea8884607822b103b
mlxrunner: Fix memory leaks with pin/sweep lifecycle management The previous approach tracked array lifecycles through reference counting, where each array recorded its inputs and a reference count that was decremented as dependents were freed. This is not really necessary as MLX tracks references internally. It is al...
[ { "path": "x/mlxrunner/cache/cache.go", "patch": "@@ -47,6 +47,7 @@ func (c *KVCache) Update(keys, values *mlx.Array) (*mlx.Array, *mlx.Array) {\n \t\t\tc.values.Set(c.values.Concatenate(2, newValues))\n \t\t} else {\n \t\t\tc.keys, c.values = newKeys, newValues\n+\t\t\tmlx.Pin(c.keys, c.values)\n \t\t}\n \...
2026-02-19T23:05:35
nodejs/node
b34a1e17850761f2edb91e9f588a78f83acd0c1c
9d4ab9011796902a086ca12b0a18088e2fb35cd4
module: fix `e.stack` error when throwing undefined or null Adds a test for module loading when throwing undefined or null. PR-URL: https://github.com/nodejs/node/pull/19282 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@...
[ { "path": "lib/internal/modules/esm/module_job.js", "patch": "@@ -105,7 +105,6 @@ class ModuleJob {\n try {\n module.evaluate(-1, false);\n } catch (e) {\n- e.stack;\n this.hadError = true;\n this.error = e;\n throw e;", "additions": 0, "deletions": 1, "langu...
2018-03-11T10:37:21
huggingface/transformers
3a4ced9ab4ded142638b7fa10e31b18710286f1a
3cd3cd50acaa28ee8127aff2e7de8f5dd64b92aa
Fix typing in docstring for `PaliGemmaProcessor` (#35278) Updated typing for `tokenizer` in the `PaliGemmaProcessor` to be `GemmaTokenizerFast` instead of `LlamaTokenizerFast`
[ { "path": "src/transformers/models/paligemma/processing_paligemma.py", "patch": "@@ -127,13 +127,13 @@ class PaliGemmaProcessor(ProcessorMixin):\n r\"\"\"\n Constructs a PaliGemma processor which wraps a PaliGemma image processor and a PaliGemma tokenizer into a single processor.\n \n- [`PaliGemm...
2024-12-23T15:22:04
golang/go
ebb92dfed96fadb3c563ff11cead85bbb7536793
4c1a7ab49c4c68907bc7f7f7f776edd9116584a5
internal/poll, runtime: handle netpollopen error in poll_runtime_pollOpen When netpollopen in poll_runtime_pollOpen returns an error, the work in runtime_pollUnblock and runtime_pollClose can be avoided since the underlying system call to set up the poller failed. E.g. on linux, this avoids calling netpollclose and t...
[ { "path": "src/internal/poll/fd_poll_runtime.go", "patch": "@@ -39,10 +39,6 @@ func (pd *pollDesc) init(fd *FD) error {\n \tserverInit.Do(runtime_pollServerInit)\n \tctx, errno := runtime_pollOpen(uintptr(fd.Sysfd))\n \tif errno != 0 {\n-\t\tif ctx != 0 {\n-\t\t\truntime_pollUnblock(ctx)\n-\t\t\truntime_pol...
2021-03-01T18:55:22
rust-lang/rust
d6ad9e6191cd70234a9fd20a1e6e4f5e90cd1985
dfa58e39c812348f74624eb8ff9f8a7c6bafeb4b
Remove crash test that do not ICE anymore
[ { "path": "tests/crashes/129372.rs", "patch": "@@ -1,52 +0,0 @@\n-//@ known-bug: #129372\n-//@ compile-flags: -Cdebuginfo=2 -Copt-level=0\n-\n-pub struct Wrapper<T>(T);\n-struct Struct;\n-\n-pub trait TraitA {\n- type AssocA<'t>;\n-}\n-pub trait TraitB {\n- type AssocB;\n-}\n-\n-pub fn helper(v: impl ...
2025-03-31T15:03:39
vercel/next.js
85f7d4b396d82f41f1ae539a96006d0609e6b8a2
482e3fbffa282131f4b718877810a640a08b10e1
perf(#41392): improve cache busting inject performance (#41443) The PR continues from #41392. In #41392 the `dev ? cache-busting : empty` is executed per stylesheet instead of per page rendering. Since rendering link tags would be a hot path at the server, it might have accidentally introduced a performance overhead....
[ { "path": "packages/next/server/app-render.tsx", "patch": "@@ -1165,6 +1165,10 @@ export async function renderToHTMLOrFlight(\n Component: () => {\n let props = {}\n \n+ // Add extra cache busting (DEV only) for https://github.com/vercel/next.js/issues/5860\n+ // See also...
2022-10-15T19:42:48
ollama/ollama
8b4e5a82a8dc3aadfa385eb0ff0641a8c9cbbfad
34452233116171391f770e8079002620d0a9fd7a
mlx: remove noisy error output from dynamic library loading (#14346) The recent change in #14322 added tryLoadByName() which attempts to load libmlxc.dylib via rpath before searching directories. This is an optimization for Homebrew installations where rpath is correctly set. However, when rpath isn't set (which is t...
[ { "path": "x/mlxrunner/mlx/dynamic.c", "patch": "@@ -18,7 +18,9 @@\n \n static int mlx_dynamic_open(mlx_dynamic_handle* handle, const char* path) {\n handle->ctx = (void*) DLOPEN(path);\n- CHECK(handle->ctx != NULL);\n+ if (handle->ctx == NULL) {\n+ return 1;\n+ }\n return 0;\n }\n "...
2026-02-21T07:46:07
nodejs/node
cc6abc6e84b96fd5f1c4123066eba93ddb637e60
b80da63b99dc27fcf9b15b65d7166d427a563b3d
url: fix error type Currently whatwg URLs fail with an incorrect error when null is passed as the base. Adding a check before accessing a symbol for the URL makes the URL error correctly. Add test for it. PR-URL: https://github.com/nodejs/node/pull/19299 Fixes: https://github.com/nodejs/node/issues/19254 Reviewed-By:...
[ { "path": "lib/internal/url.js", "patch": "@@ -319,8 +319,7 @@ class URL {\n constructor(input, base) {\n // toUSVString is not needed.\n input = `${input}`;\n- if (base !== undefined &&\n- (!base[searchParams] || !base[searchParams][searchParams])) {\n+ if (base !== undefined) {\n ...
2018-03-12T13:40:00
huggingface/transformers
5e7aedebebbdee0d7eb0b8b2d771e45783dbf8c7
401aa39d7b36e1b7ad0991f67389a19ad4b54064
make LlamaModel._update_causal_mask torch compilable (#35187) * make LlamaModel._update_causal_mask torch compilable * chore: lint (make fix-copies) * fix-copies --------- Co-authored-by: Arthur Zucker <arthur.zucker@gmail.com>
[ { "path": "src/transformers/models/aria/modeling_aria.py", "patch": "@@ -1012,7 +1012,7 @@ def _update_causal_mask(\n output_attentions: bool,\n ):\n if self.config._attn_implementation == \"flash_attention_2\":\n- if attention_mask is not None and 0.0 in attention_mask:\n+ ...
2024-12-23T12:10:00
golang/go
4c1a7ab49c4c68907bc7f7f7f776edd9116584a5
580636a78a8e2462f4c5cbbac04c6403c81401ff
cmd/go: reject relative paths in GOMODCACHE environment Go already rejects relative paths in a couple environment variables, It should reject relative paths in GOMODCACHE. Fixes #43715 Change-Id: Id1ceff839c7ab21c00cf4ace45ce48324733a526 Reviewed-on: https://go-review.googlesource.com/c/go/+/284432 Run-TryBot: Baoku...
[ { "path": "src/cmd/go/internal/envcmd/env.go", "patch": "@@ -428,7 +428,7 @@ func checkEnvWrite(key, val string) error {\n \t\t\treturn fmt.Errorf(\"GOPATH entry is relative; must be absolute path: %q\", val)\n \t\t}\n \t// Make sure CC and CXX are absolute paths\n-\tcase \"CC\", \"CXX\":\n+\tcase \"CC\", \...
2021-01-18T06:41:20
vercel/next.js
482e3fbffa282131f4b718877810a640a08b10e1
ad1e8dd65d571ac25b9f30b423d0df1edcaba785
Change useSearchParams to URLSearchParams (#40978) Similar to #40872 `useSearchParams` now returns a `URLSearchParams` instance instead of a plain object. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Featu...
[ { "path": "packages/next/client/components/app-router.tsx", "patch": "@@ -147,12 +147,11 @@ function Router({\n typeof window === 'undefined' ? 'http://n' : window.location.href\n )\n \n- // Convert searchParams to a plain object to match server-side.\n- const searchParamsObj: { [key: string...
2022-10-15T19:16:50
huggingface/transformers
05260a1fc1c8571a2b421ce72b680d5f1bc3e5a4
8f38f58f3de5a35f9b8505e9b48985dce5470985
Fix new FA2 if `is_causal` is passed explicitly (#35390) * fix * Update modeling_decision_transformer.py * Update flash_attention.py
[ { "path": "src/transformers/integrations/flash_attention.py", "patch": "@@ -44,6 +44,9 @@ def flash_attention_forward(\n else:\n target_dtype = next(layer for layer in module.modules() if isinstance(layer, torch.nn.Linear)).weight.dtype\n \n+ # FA2 always relies on the value set in th...
2024-12-22T19:00:07
ollama/ollama
97323d1c68f1eb7a860ce7bc4e627a97d9c38835
458dd1b9d98a5981d1ed4134258e07186b219a69
consolidate the tokenizer (#14327) This change adds a new x/tokenizer package which includes: * New BPE and SentencePiece tokenizers * Removing the dependency on the imagegen tokenizers * Fixes to multibyte decoding in the pipeline * Various correctness and benchmark tests Not included in this PR is the WordP...
[ { "path": "x/mlxrunner/model/base/base.go", "patch": "@@ -8,10 +8,10 @@ import (\n \t\"log/slog\"\n \t\"sync\"\n \n-\t\"github.com/ollama/ollama/x/imagegen/tokenizer\"\n \t\"github.com/ollama/ollama/x/mlxrunner/cache\"\n \t\"github.com/ollama/ollama/x/mlxrunner/mlx\"\n \t\"github.com/ollama/ollama/x/mlxrunn...
2026-02-19T23:55:45
nodejs/node
b80da63b99dc27fcf9b15b65d7166d427a563b3d
28e5c462d4f65dca3d0153a5df314f0d4c5c4a84
benchmark: changed millions and thousands to n PR-URL: https://github.com/nodejs/node/pull/18917 Fixes: https://github.com/nodejs/node/issues/18778 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Weijia Wang <starkwang@126.com> Reviewed-By: Andreas Mads...
[ { "path": "benchmark/buffers/buffer-compare-instance-method.js", "patch": "@@ -4,11 +4,10 @@ const common = require('../common.js');\n const bench = common.createBenchmark(main, {\n size: [16, 512, 1024, 4096, 16386],\n args: [1, 2, 3, 4, 5],\n- millions: [1]\n+ n: [1e6]\n });\n \n-function main({ mil...
2018-03-17T15:19:09
golang/go
580636a78a8e2462f4c5cbbac04c6403c81401ff
a6eeb4add46eddb19ceba36bdd448738808e5ce2
all: fix spelling Change-Id: Iad14571c3e19b01740cd744f0b3025b3e2f1cb72 GitHub-Last-Rev: e8064019299f4e593116060ce2bbd14d62830af7 GitHub-Pull-Request: golang/go#44685 Reviewed-on: https://go-review.googlesource.com/c/go/+/297409 Trust: Alberto Donizetti <alb.donizetti@gmail.com> Reviewed-by: Ian Lance Taylor <iant@gola...
[ { "path": "src/cmd/compile/internal/ir/visit.go", "patch": "@@ -25,10 +25,10 @@ package ir\n //\n //\tvar do func(ir.Node) bool\n //\tdo = func(x ir.Node) bool {\n-//\t\t... processing BEFORE visting children ...\n+//\t\t... processing BEFORE visiting children ...\n //\t\tif ... should visit children ... {\...
2021-03-01T09:47:09
rust-lang/rust
fd854a772e12ee51c0028e9dbb9443d831e28327
5c160f511e321a89eef01fcf17c6cc4c0f4e5c00
compiletest: Avoid ignoring empty diagnostics in one more place This catches some silly notes emitted by rustc, which should ideally be fixed
[ { "path": "src/tools/compiletest/src/runtest.rs", "patch": "@@ -810,8 +810,7 @@ impl<'test> TestCx<'test> {\n expect_help: bool,\n expect_note: bool,\n ) -> bool {\n- !actual_error.msg.is_empty()\n- && actual_error.require_annotation\n+ actual_error.require_annot...
2025-04-07T16:13:16
vercel/next.js
1b8478270c0938833018688948195f1c26ae1352
59eefb2abaa04b2ea7e46924ce2c05fbd3630002
Don't show error overlay for not found and redirect (#41438) Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
[ { "path": "packages/next/client/components/layout-router.tsx", "patch": "@@ -278,9 +278,13 @@ interface RedirectBoundaryProps {\n children: React.ReactNode\n }\n \n-function InfinitePromiseComponent() {\n- use(createInfinitePromise())\n- return <></>\n+function HandleRedirect({ redirect }: { redirect: s...
2022-10-15T16:46:36
ollama/ollama
458dd1b9d98a5981d1ed4134258e07186b219a69
9d02d1d767b075221031be19ad9695f1259b3519
mlx: try loading library via rpath before searching directories (#14322) The existing code manually searches directories for libmlxc.* and passes full paths to dlopen, bypassing the binary's rpath. This means MLX libraries installed via package managers (e.g., Homebrew) aren't found even when rpath is correctly set at...
[ { "path": "x/mlxrunner/mlx/dynamic.go", "patch": "@@ -55,6 +55,30 @@ func tryLoadFromDir(dir string) bool {\n \treturn false\n }\n \n+// tryLoadByName attempts to load the library using just its name,\n+// allowing the system to use rpath, LD_LIBRARY_PATH, or standard search paths.\n+// Returns true if the ...
2026-02-19T18:55:02
huggingface/transformers
8f38f58f3de5a35f9b8505e9b48985dce5470985
608e163b527eaee41e650ffb9eb4c422d2679902
owlvit/2 dynamic input resolution (#34764) * owlvit/2 dynamic input resolution. * adapt box grid to patch_dim_h patch_dim_w * fix ci * clarify variable naming * clarify variable naming.. * compute box_bias dynamically inside box_predictor * change style part of code * [run-slow] owlvit, owlv2
[ { "path": "src/transformers/models/owlv2/modeling_owlv2.py", "patch": "@@ -33,6 +33,7 @@\n is_vision_available,\n logging,\n replace_return_docstrings,\n+ torch_int,\n )\n from .configuration_owlv2 import Owlv2Config, Owlv2TextConfig, Owlv2VisionConfig\n \n@@ -274,6 +275,7 @@ def to_tuple(sel...
2024-12-21T08:51:09
nodejs/node
eec659c138f3afcd51a25cd8b197d715a47baa65
ae096ba27cd26479e11a6610873957910da0beb0
build, tools, win: add nasm detection for OpenSSL OpenSSL-1.1.0 requires the nasm assembler for building asm files on Windows. This finds nasm at \Program Files\NASM\nasm.exe or \ProgramFiles(x86)\NASM\nasm.exe in vcbuild.bat for users who did not add its path in their enviroments. Fixes: https://github.com/nodejs/bu...
[ { "path": "BUILDING.md", "patch": "@@ -258,6 +258,9 @@ Prerequisites:\n * Basic Unix tools required for some tests,\n [Git for Windows](http://git-scm.com/download/win) includes Git Bash\n and tools which can be included in the global `PATH`.\n+* **Optional** (for OpenSSL assembler modules): the [NetWid...
2018-03-24T22:56:59
golang/go
a6eeb4add46eddb19ceba36bdd448738808e5ce2
ff5cf4ced3f1681ec972cd954d4b476f87616fe3
go/parser,go/types: hide API changes related to type parameters While the dev.typeparams branch was merged, the type parameter API is slated for go1.18. Hide these changes to the go/parser and go/types API. This was done as follows: + For APIs that will probably not be needed for go1.18, simply unexport them. + ...
[ { "path": "src/cmd/gofmt/gofmt.go", "patch": "@@ -26,13 +26,16 @@ import (\n \n var (\n \t// main operation modes\n-\tlist = flag.Bool(\"l\", false, \"list files whose formatting differs from gofmt's\")\n-\twrite = flag.Bool(\"w\", false, \"write result to (source) file instead of stdou...
2021-02-24T15:31:11
huggingface/transformers
504c4d36929b6bb8a8c2ecfad0f2625f4075f22a
0fc2970363796c36054b5f41ffa6b6aa3906736e
Make `test_generate_with_static_cache` even less flaky (#34995) * fix * fix * fix * fix * fix * fix * fix * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "src/transformers/testing_utils.py", "patch": "@@ -14,6 +14,7 @@\n \n import collections\n import contextlib\n+import copy\n import doctest\n import functools\n import gc\n@@ -1396,6 +1397,53 @@ def assert_screenout(out, what):\n assert match_str != -1, f\"expecting to find {what} in output: f...
2024-12-20T15:03:26
vercel/next.js
8c3366a9f42b2fe29e70c612b14d976b3367a711
ff70562e8deb60d16369ce86c7adb0b57e17ecb6
Fix middleware dynamic route param on query hydration (#41436) Ensures query params aren't included when parsing dynamic route params during query hydration for a middleware matched path. ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have a helpful link at...
[ { "path": "packages/next/shared/lib/router/router.ts", "patch": "@@ -1602,7 +1602,9 @@ export default class Router implements BaseRouter {\n rewriteAs = localeResult.pathname\n }\n const routeRegex = getRouteRegex(pathname)\n- const curRouteMatch = getRouteMatcher(ro...
2022-10-15T01:46:28
ollama/ollama
d07e4a1dd39c6334184c05e1c3b8192865e114c2
8a257ec00a76d3dd90f0106fba1e56215588efae
bugfix: better mlx model scheduling (#14290) This fixes a bug with current MLX based models which don't get loaded/unloaded correctly. The first model currently gets loaded and then subsequent model starts get shunted to the first runner which results in the wrong model being run.
[ { "path": "server/routes_generate_test.go", "patch": "@@ -2371,6 +2371,26 @@ func TestImageGenerateStreamFalse(t *testing.T) {\n \t\treturn nil\n \t}\n \n+\t// Create model manifest with image capability\n+\tn := model.ParseName(\"test-image\")\n+\tcfg := model.ConfigV2{Capabilities: []string{\"image\"}}\n+...
2026-02-17T21:57:05
nodejs/node
ae096ba27cd26479e11a6610873957910da0beb0
970ce14f61a44504520581c5af5dc9c3bddc0f40
doc: fix API descriptions for OpenSSL-1.1.0 Fixes: https://github.com/nodejs/node/issues/4270 PR-URL: https://github.com/nodejs/node/pull/19794 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
[ { "path": "doc/api/crypto.md", "patch": "@@ -2132,16 +2132,20 @@ is a bit field taking one of or a mix of the following flags (defined in\n * `crypto.constants.ENGINE_METHOD_DSA`\n * `crypto.constants.ENGINE_METHOD_DH`\n * `crypto.constants.ENGINE_METHOD_RAND`\n-* `crypto.constants.ENGINE_METHOD_ECDH`\n-* `...
2018-03-14T10:27:57
golang/go
ff5cf4ced3f1681ec972cd954d4b476f87616fe3
700b73975e9a925584773e6df85b175371cf9d95
cmd/link,debug/elf: mips32, add .gnu.attributes and .MIPS.abiflags sections MIPS32 uses .gnu.attributes and .MIPS.abiflags sections to mark FP ABI the object is using, and the kernel will set the correct FP mode for it. Currrently Go doesn't generate these 2 sections. If we link object without these 2 sections togath...
[ { "path": "src/cmd/link/internal/ld/elf.go", "patch": "@@ -519,6 +519,90 @@ func elfwriteinterp(out *OutBuf) int {\n \treturn int(sh.Size)\n }\n \n+// member of .gnu.attributes of MIPS for fpAbi\n+const (\n+\t// No floating point is present in the module (default)\n+\tMIPS_FPABI_NONE = 0\n+\t// FP code i...
2020-06-20T14:04:54
huggingface/transformers
0fc2970363796c36054b5f41ffa6b6aa3906736e
6fae2a84aebe99de035db9faddc88c08696f0705
Use `weights_only=True` with `torch.load` for `transfo_xl` (#35241) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "src/transformers/models/deprecated/transfo_xl/tokenization_transfo_xl.py", "patch": "@@ -222,7 +222,7 @@ def __init__(\n \"from a PyTorch pretrained vocabulary, \"\n \"or activate it with environment variables USE_TORCH=1 and USE_TF=0.\"\n ...
2024-12-20T14:40:55
vercel/next.js
974e8b61c732a2f935f984e0d31fba610410531f
af066d967982cfb4695a7694572db94ad9a59abb
Move root layout validation (#41338) Moves where the validation is made to make sure the error reaches the client. Tests that an error overlay is shown on the client. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contribu...
[ { "path": "packages/next/client/app-index.tsx", "patch": "@@ -8,6 +8,7 @@ import { createFromReadableStream } from 'next/dist/compiled/react-server-dom-we\n \n import measureWebVitals from './performance-relayer'\n import { HeadManagerContext } from '../shared/lib/head-manager-context'\n+import HotReload fr...
2022-10-14T20:55:09
rust-lang/rust
cdac23c86a06003d37ad102edbdc74c8d3d9f933
e8b522d82a12009d80f8c92eb8f1fc7e7460f390
Fix grammar in beginners-guide.md
[ { "path": "beginners-guide.md", "patch": "@@ -25,7 +25,7 @@ SIMD has a few special vocabulary terms you should know:\n \n * **Scalar:** \"Scalar\" in mathematical contexts refers to values that can be represented as a single element, mostly numbers like 6, 3.14, or -2. It can also be used to describe \"scal...
2025-04-07T16:13:32
nodejs/node
970ce14f61a44504520581c5af5dc9c3bddc0f40
2b235830fb8bf387cce0449105877c30f6e5d44f
crypto: remove deperecated methods of TLS version All version-specific methods were deprecated in OpenSSL 1.1.0 and min/max versions explicitly need to be set. This still keeps comptatible with JS and OpenSSL-1.0.2 APIs for now. crypto, constants: add constant of OpenSSL-1.1.0 Several constants for OpenSSL-1.1.0 eng...
[ { "path": "src/node_constants.cc", "patch": "@@ -917,12 +917,8 @@ void DefineOpenSSLConstants(Local<Object> target) {\n NODE_DEFINE_CONSTANT(target, ENGINE_METHOD_RAND);\n # endif\n \n-# ifdef ENGINE_METHOD_ECDH\n- NODE_DEFINE_CONSTANT(target, ENGINE_METHOD_ECDH);\n-# endif\n-\n-# ifdef ENGINE_METHOD...
2018-03-14T05:26:55
golang/go
b98ce3b606b2bb620c9c62482cd73f068157a32c
97bdac03aee805cfa54e7762037a568d85339970
cmd/compile: import empty closure function correctly On import, make sure that an empty closure is represented as a single empty block statement. Otherwise, the closure is dropped. Block statements are not exported explicitly, so must recreate on import. Fixes #44330 Change-Id: I061598f0f859dd71d2d0cbd10c77cdd81525...
[ { "path": "src/cmd/compile/internal/typecheck/iimport.go", "patch": "@@ -992,6 +992,11 @@ func (r *importReader) node() ir.Node {\n \t\tr.funcBody(fn)\n \t\tfn.Dcl = fn.Inl.Dcl\n \t\tfn.Body = fn.Inl.Body\n+\t\tif len(fn.Body) == 0 {\n+\t\t\t// An empty closure must be represented as a single empty\n+\t\t\t...
2021-03-01T17:05:58
huggingface/transformers
40292aa4e95abb827847f77318a32efc1e76d973
05de764e9ccaadd8baf4562f607777f821b48dae
bugfix: torch.export failure caused by `_make_causal_mask` (#35291) * bugfix: torch.export failure caused by `_make_causal_mask` Recent changes in torch dynamo prevent mutations on tensors converted with aten::_to_copy. To address this, we can clone such tensor before performing in-place operation `masked_fill_` only...
[ { "path": "src/transformers/modeling_attn_mask_utils.py", "patch": "@@ -169,6 +169,10 @@ def _make_causal_mask(\n diagonal = past_key_values_length - sliding_window - 1\n \n context_mask = torch.tril(torch.ones_like(mask, dtype=torch.bool), diagonal=diagonal)\n+ # Recent c...
2024-12-20T13:37:04
vercel/next.js
af066d967982cfb4695a7694572db94ad9a59abb
0d376b3684a7133ac4a7f92fc37a5c411d53094f
Add new diagnostics (#41429) ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementa...
[ { "path": "packages/next/build/swc/index.js", "patch": "@@ -207,6 +207,11 @@ async function loadWasm(importPath = '') {\n getTargetTriple() {\n return undefined\n },\n+ diagnostics: {\n+ startDiagnostics: () => {\n+ Log.error('Wasm binding does not suppor...
2022-10-14T20:38:27
rust-lang/rust
42048ea12298da75415ce0c2b25a381bbe81eade
e643f59f6da3a84f43e75dea99afaa5b041ea6bf
compiletest: Cleanup collection of actual errors
[ { "path": "src/tools/compiletest/src/json.rs", "patch": "@@ -142,43 +142,34 @@ pub fn extract_rendered(output: &str) -> String {\n }\n \n pub fn parse_output(file_name: &str, output: &str, proc_res: &ProcRes) -> Vec<Error> {\n- output.lines().flat_map(|line| parse_line(file_name, line, output, proc_res))...
2025-04-07T11:32:56
nodejs/node
2b235830fb8bf387cce0449105877c30f6e5d44f
425c5ca27d25b35091783262ea21baef1f742579
tools: install all header files OpenSSL-1.1.0 After upgrading OpenSSL-1.1.0, header files depends on architectures were changed. This fixes to copy all `deps/openssl/config/*.h' into the install directory. Fixes: https://github.com/nodejs/node/issues/4270 PR-URL: https://github.com/nodejs/node/pull/19794 Reviewed-By:...
[ { "path": "tools/install.py", "patch": "@@ -183,7 +183,7 @@ def headers(action):\n 'false' == variables.get('node_shared_openssl'):\n subdir_files('deps/openssl/openssl/include/openssl', 'include/node/openssl/', action)\n subdir_files('deps/openssl/config/archs', 'include/node/openssl/archs', a...
2018-03-14T02:25:48
golang/go
97bdac03aee805cfa54e7762037a568d85339970
f6a74c656837fcb0ea04e7b605ccdce7d10c45db
cmd: upgrade golang.org/x/mod to relax import path check This incorporates CL 297089, which allows leading dots in import path elements but not module path elements. Also added a test. Fixes #43985 Updates #34992 Change-Id: I2d5faabd8f7b23a7943d3f3ccb6707ab5dc2ce3c Reviewed-on: https://go-review.googlesource.com/c/g...
[ { "path": "src/cmd/go.mod", "patch": "@@ -6,7 +6,7 @@ require (\n \tgithub.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2\n \tgolang.org/x/arch v0.0.0-20201008161808-52c3e6f60cff\n \tgolang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897\n-\tgolang.org/x/mod v0.4.2-0.20210225160341-66bf157bf5bc\n+\tgol...
2021-03-01T15:00:09
huggingface/transformers
05de764e9ccaadd8baf4562f607777f821b48dae
4567ee80572f51859f1454db687cacdf2ec12b13
Aurevoir PyTorch 1 (#35358) * fix * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".github/workflows/self-nightly-past-ci-caller.yml", "patch": "@@ -21,39 +21,6 @@ jobs:\n echo \"$(python3 -c 'print(int(${{ github.run_number }}) % 10)')\"\r\n echo \"run_number=$(python3 -c 'print(int(${{ github.run_number }}) % 10)')\" >> $GITHUB_OUTPUT\r\n \r\n- run_past_c...
2024-12-20T13:36:31
rust-lang/rust
39c6b6c7d2834ee79cc518c42995b54d835544f8
8fb32ab8e563124fe0968a2878b7f5b5d0e8d722
Fix CSS
[ { "path": "src/librustdoc/html/static/css/rustdoc.css", "patch": "@@ -1447,7 +1447,7 @@ so that we can apply CSS-filters to change the arrow color in themes */\n \tcursor: pointer;\n }\n .setting-check input {\n-\tflex-shrink: 0,\n+\tflex-shrink: 0;\n }\n \n .setting-radio input:checked {", "additions":...
2025-04-07T15:28:38