repo
stringclasses
15 values
fix_commit
stringlengths
40
40
buggy_commit
stringlengths
40
40
message
stringlengths
3
64.3k
files
listlengths
1
300
timestamp
timestamp[s]date
2013-03-13 20:45:00
2026-04-11 07:48:46
nodejs/node
b8f8ca570243bb58337e547f7bf10515cfab0ea5
9cd4a23b796617e6920072bae5771f1bbdf22197
benchmark: refactor deepequal-typedarrays This is a minor refactor of benchmark/assert/deepequal-typedarrays.js to reduce exceptions that need to be made for lint compliance. PR-URL: https://github.com/nodejs/node/pull/21030 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail....
[ { "path": "benchmark/assert/deepequal-typedarrays.js", "patch": "@@ -25,15 +25,16 @@ const bench = common.createBenchmark(main, {\n });\n \n function main({ type, n, len, method }) {\n+ if (!method)\n+ method = 'deepEqual';\n const clazz = global[type];\n const actual = new clazz(len);\n const exp...
2018-05-30T03:53:11
huggingface/transformers
7426d02ea8396aef6206fdbcdd7ae92f96a468b4
19b9d8ae13c99554e5c857c8534f87b7951bf821
Fixing typo in gemma3 image_processor_fast and adding a small test (#36776) Co-authored-by: zebz13 <zeb@fedora> Co-authored-by: Yih-Dar <2521628+ydshieh@users.noreply.github.com>
[ { "path": "src/transformers/models/gemma3/image_processing_gemma3_fast.py", "patch": "@@ -277,17 +277,17 @@ def _preprocess(\n processed_images = []\n batch_num_crops = []\n \n- for image_list in images:\n+ for images_list in images:\n if do_pan_and_scan:\n ...
2025-03-18T10:35:06
electron/electron
d53915c6ab7753adf1efb737481b07facb483900
409a431892dc44a82d1435d82dd54ff731087c2e
Fix recursive calling of handle().
[ { "path": "browser/api/atom_api_event_emitter.h", "patch": "@@ -29,11 +29,6 @@ class EventEmitter : public node::ObjectWrap {\n bool Emit(const std::string& name);\n bool Emit(const std::string& name, base::ListValue* args);\n \n- // The handle() of ObjectWrap doesn't provide the const version.\n- inl...
2013-12-11T15:57:37
golang/go
c8fb0ec5a005289e9dd890b746e543b38bbd9528
699a7c0fe9c1b75340f2ef05949529ec4b43dc4e
cmd/compile: fix ANDI/SRWI merge on ppc64 The shift amount should be masked to avoid rotation values beyond the numer of bits. In this case, if the shift amount is 0, it should rotate 0, not 32. Fixes #45589 Change-Id: I1e764497a39d0ec128e29af42352b70c70b2ecc5 Reviewed-on: https://go-review.googlesource.com/c/go/+/3...
[ { "path": "src/cmd/compile/internal/ssa/rewrite.go", "patch": "@@ -1492,7 +1492,7 @@ func mergePPC64AndSrwi(m, s int64) int64 {\n \tif !isPPC64WordRotateMask(mask) {\n \t\treturn 0\n \t}\n-\treturn encodePPC64RotateMask(32-s, mask, 32)\n+\treturn encodePPC64RotateMask((32-s)&31, mask, 32)\n }\n \n // Test i...
2021-04-15T18:41:01
vercel/next.js
fa916e4e676f26534a236dc8b92c3729c1fd9225
0cf3e4cc7c376ab8a53d37dd5f401ec72a42ea4a
chore: encourage adding reproductions to issues (#42667) Issues being reported without a reproduction take longer to triage/resolve. To make the process faster, we should encourage people always to add one. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors ha...
[ { "path": ".github/ISSUE_TEMPLATE/1.bug_report.yml", "patch": "@@ -43,7 +43,7 @@ body:\n required: true\n - type: input\n attributes:\n- label: Link to reproduction\n+ label: Link to reproduction - Issues with a link to complete (but minimal) reproduction code will be addressed faster\...
2022-11-09T01:44:25
huggingface/transformers
19b9d8ae13c99554e5c857c8534f87b7951bf821
7f5077e53682ca855afc826162b204ebf809f1f9
chore: fix typos in tests directory (#36785) * chore: fix typos in tests directory * chore: fix typos in tests directory * chore: fix typos in tests directory * chore: fix typos in tests directory * chore: fix typos in tests directory * chore: fix typos in tests directory * chore: fix typos in tests directory
[ { "path": "tests/generation/test_beam_constraints.py", "patch": "@@ -43,7 +43,7 @@ def test_input_types(self):\n DisjunctiveConstraint([torch.LongTensor([1, 2, 4]), torch.LongTensor([1, 2, 3, 4, 5])])\n \n def test_check_illegal_input(self):\n- # We can't have constraints that are com...
2025-03-18T09:31:13
nodejs/node
9cd4a23b796617e6920072bae5771f1bbdf22197
30650a62d9b883e3ef05aac7e87e202065afee88
benchmark: refactor deepequal-set This is a minor refactor of benchmark/assert/deepequal-set.js to reduce exceptions that need to be made for lint compliance. PR-URL: https://github.com/nodejs/node/pull/21030 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By...
[ { "path": "benchmark/assert/deepequal-set.js", "patch": "@@ -1,9 +1,8 @@\n 'use strict';\n \n-/* eslint-disable no-restricted-properties */\n-\n const common = require('../common.js');\n-const assert = require('assert');\n+const { deepEqual, deepStrictEqual, notDeepEqual, notDeepStrictEqual } =\n+ require(...
2018-05-30T03:50:31
golang/go
699a7c0fe9c1b75340f2ef05949529ec4b43dc4e
7ed6d1f2fb2e092f59ec56e0d16b1f9da33992a4
cmd/go/internal/modconv: involve GOPROXY in ConvertLegacyConfig Fixes #33767 Change-Id: Ia2d6dd32bcb0e142f59346232b3b1aa3babb034a Reviewed-on: https://go-review.googlesource.com/c/go/+/306809 Trust: Jay Conrod <jayconrod@google.com> Trust: Bryan C. Mills <bcmills@google.com> Run-TryBot: Jay Conrod <jayconrod@google.c...
[ { "path": "src/cmd/go/internal/modconv/convert.go", "patch": "@@ -12,7 +12,6 @@ import (\n \t\"strings\"\n \n \t\"cmd/go/internal/base\"\n-\t\"cmd/go/internal/modfetch\"\n \n \t\"golang.org/x/mod/modfile\"\n \t\"golang.org/x/mod/module\"\n@@ -21,7 +20,7 @@ import (\n \n // ConvertLegacyConfig converts legac...
2021-04-02T06:45:26
huggingface/transformers
7f5077e53682ca855afc826162b204ebf809f1f9
cbfb8d7b27b4724f60c4085842f5150dbd3b41f3
fix typos in the tests directory (#36717)
[ { "path": "scripts/benchmark/trainer-benchmark.py", "patch": "@@ -18,7 +18,7 @@\n #\n # --variations allows you to compare variations in multiple dimensions.\n #\n-# as the first dimention has 2 options and the second 3 in our example, this will run the trainer 6\n+# as the first dimension has 2 options and...
2025-03-17T17:45:57
vercel/next.js
0cf3e4cc7c376ab8a53d37dd5f401ec72a42ea4a
1f6c0d0f572ad99040279c4dbda082d33c61580e
Add missing matcher support (#42660) This adds support for a `missing` field which is complimentary to `has` to only match when `query`, `header`, or `cookie` values are not present. The `missing` field can be applied for middleware matchers as well to prevent running middleware when these fields are present. x-...
[ { "path": "packages/next/build/analysis/get-page-static-info.ts", "patch": "@@ -25,6 +25,7 @@ export interface MiddlewareMatcher {\n regexp: string\n locale?: false\n has?: RouteHas[]\n+ missing?: RouteHas[]\n }\n \n export interface PageStaticInfo {", "additions": 1, "deletions": 0, "lan...
2022-11-09T00:48:27
rust-lang/rust
17b7d63fd787699dac3fffbf9930dc799291a5f2
0d56e3eed1c5f3edea5cae6171e7a706ad792463
rtprintpanic: clarify that the error is aborting the process
[ { "path": "library/std/src/rt.rs", "patch": "@@ -46,7 +46,7 @@ macro_rules! rtprintpanic {\n macro_rules! rtabort {\n ($($t:tt)*) => {\n {\n- rtprintpanic!(\"fatal runtime error: {}\\n\", format_args!($($t)*));\n+ rtprintpanic!(\"fatal runtime error: {}, aborting\\n\", form...
2025-04-18T13:02:22
nodejs/node
30650a62d9b883e3ef05aac7e87e202065afee88
7bfc00d848c584444e6da99a07b06b07ee868ca5
benchmark: refactor prims-and-objs-big-loop This is a minor refactor of benchmark/assert/deepequal-prims-and-objs-big-loop.js to reduce exceptions that need to be made for lint compliance. PR-URL: https://github.com/nodejs/node/pull/21030 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <...
[ { "path": "benchmark/assert/deepequal-prims-and-objs-big-loop.js", "patch": "@@ -25,13 +25,14 @@ const bench = common.createBenchmark(main, {\n });\n \n function main({ n, primitive, method }) {\n+ if (!method)\n+ method = 'deepEqual';\n const prim = primValues[primitive];\n const actual = prim;\n ...
2018-05-30T03:47:41
electron/electron
409a431892dc44a82d1435d82dd54ff731087c2e
d82cfc023f7ebc91550d458c9fa4bcf0f59a2ccd
Huge commit to use new V8 and Content APIs. Still got a lots of linking errors!
[ { "path": "app/atom_main_delegate.cc", "patch": "@@ -43,7 +43,6 @@ void AtomMainDelegate::PreSandboxStartup() {\n #if defined(OS_MACOSX)\n OverrideChildProcessPath();\n OverrideFrameworkBundlePath();\n- SetProcessName();\n #endif\n InitializeResourceBundle();\n ", "additions": 0, "deletions":...
2013-12-11T07:48:19
huggingface/transformers
cbfb8d7b27b4724f60c4085842f5150dbd3b41f3
ac1a1b66b99be5b2fbec055b794259e75e19565d
doc: Clarify `is_decoder` usage in PretrainedConfig documentation (#36724) * fix: clarify decoder usage in PretrainedConfig documentation * Apply suggestions from code review updated doc Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com> --------- Co-authored-by: Steven Liu <59462357+stevhl...
[ { "path": "src/transformers/configuration_utils.py", "patch": "@@ -109,7 +109,7 @@ class PretrainedConfig(PushToHubMixin):\n is_encoder_decoder (`bool`, *optional*, defaults to `False`):\n Whether the model is used as an encoder/decoder or not.\n is_decoder (`bool`, *optional*, d...
2025-03-17T16:40:25
golang/go
a63ff398d541a1b3a3658e38693adebf370aadbb
ddd8d7c0a6859114f1f9bfbb3c56fb63f870badc
cmd/compile/internal/syntax: fix error message for ... without type Only complain about missing type; leave it to type-checking to decide whether "..." is permitted in the first place. Fixes #43674. Change-Id: Icbc8f084e364fe3ac16076406a134354219c08d0 Reviewed-on: https://go-review.googlesource.com/c/go/+/310209 Tru...
[ { "path": "src/cmd/compile/internal/syntax/parser.go", "patch": "@@ -1836,7 +1836,7 @@ func (p *parser) paramDeclOrNil(name *Name) *Field {\n \t\tt.Elem = p.typeOrNil()\n \t\tif t.Elem == nil {\n \t\t\tt.Elem = p.badExpr()\n-\t\t\tp.syntaxError(\"final argument in variadic function missing type\")\n+\t\t\tp...
2021-04-14T20:10:34
rust-lang/rust
0d56e3eed1c5f3edea5cae6171e7a706ad792463
1f76d219c906f0112bb1872f33aa977164c53fa6
LocalKey<T>: document that the dtor should not panic
[ { "path": "library/std/src/thread/local.rs", "patch": "@@ -22,12 +22,16 @@ use crate::fmt;\n ///\n /// Initialization is dynamically performed on the first call to a setter (e.g.\n /// [`with`]) within a thread, and values that implement [`Drop`] get\n-/// destructed when a thread exits. Some caveats apply,...
2025-04-18T10:29:51
vercel/next.js
1f6c0d0f572ad99040279c4dbda082d33c61580e
069692079b438e979075067da079da702d6c5bf2
chore: update scripts to work on windows (#42632) Update `package.json` for Windows users. 1. `concurrently` isn't working with single quotes 🤷🏻 2. `--watch` isn't actually passed, because of that `tailwind` compiles only once and exits. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration te...
[ { "path": "examples/with-turbopack/package.json", "patch": "@@ -2,7 +2,7 @@\n \"private\": true,\n \"scripts\": {\n \"dev\": \"next dev --turbo\",\n- \"dev:tailwind\": \"concurrently 'next dev --turbo' 'npm run tailwind --watch'\",\n+ \"dev:tailwind\": \"concurrently \\\"next dev --turbo\\\" \...
2022-11-08T19:43:45
nodejs/node
7bfc00d848c584444e6da99a07b06b07ee868ca5
07d3c55ecac5fd84d16b272bb233771336f35177
benchmark: refactor prims-and-objs-big-array-set This is a minor refactor of benchmark/assert/deepequal-prims-and-objs-big-array-set.js to reduce exceptions that need to be made for lint compliance. PR-URL: https://github.com/nodejs/node/pull/21030 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James...
[ { "path": "benchmark/assert/deepequal-prims-and-objs-big-array-set.js", "patch": "@@ -1,7 +1,8 @@\n 'use strict';\n \n const common = require('../common.js');\n-const assert = require('assert');\n+const { deepEqual, deepStrictEqual, notDeepEqual, notDeepStrictEqual } =\n+ require('assert');\n \n const prim...
2018-05-30T03:45:24
electron/electron
7a5415a3b781ae1314c769b4040a7373012fb8dd
a8c59110942c3d48c33a6f77e56380fc2146ca9a
Fix IsDevToolsOpened when devtools is attched to pane on Linux.
[ { "path": "brightray/browser/linux/inspectable_web_contents_view_linux.cc", "patch": "@@ -167,7 +167,10 @@ void InspectableWebContentsViewLinux::CloseDevTools() {\n }\n \n bool InspectableWebContentsViewLinux::IsDevToolsOpened() {\n- return devtools_window_ && IsWidgetAncestryVisible(devtools_window_);\n+ ...
2013-12-09T13:27:22
huggingface/transformers
e3af4fec91bdac3381e07f6e60fb8b74c3957c11
c8a2b25f915a7745d57c92635415e2517b739bc8
[MINOR:TYPO] Update hubert.md (#36733) * [MINOR:TYPO] Update hubert.md - typo fix (wave2vec instead of hubert) - make code snippet copiable and runnable * Run tests
[ { "path": "docs/source/en/model_doc/hubert.md", "patch": "@@ -71,9 +71,10 @@ pip install -U flash-attn --no-build-isolation\n Below is an expected speedup diagram comparing the pure inference time between the native implementation in transformers of `facebook/hubert-large-ls960-ft`, the flash-attention-2 an...
2025-03-17T16:07:51
rust-lang/rust
1b393025718ca9c75d67e82b55a390e3506e536c
1f76d219c906f0112bb1872f33aa977164c53fa6
Disable has_thread_local on i686-win7-windows-msvc On Windows 7 32-bit, the alignment characteristic of the TLS Directory don't appear to be respected by the PE Loader, leading to crashes. As a result, let's disable has_thread_local to make sure TLS goes through the emulation layer.
[ { "path": "compiler/rustc_target/src/spec/targets/i686_win7_windows_msvc.rs", "patch": "@@ -7,6 +7,12 @@ pub(crate) fn target() -> Target {\n base.cpu = \"pentium4\".into();\n base.max_atomic_width = Some(64);\n base.supported_sanitizers = SanitizerSet::ADDRESS;\n+ // On Windows 7 32-bit, the...
2025-04-18T11:30:26
golang/go
ddd8d7c0a6859114f1f9bfbb3c56fb63f870badc
8009a81f7a44235001ce373fbc39391a894c86df
cmd/internal/obj: consolidate AMOVW and AMOVWZ optab entries This requires consolidating the register move operations into a single case entry in asmout. These moves are also used to sign/zero-extend register values. Combine the three asmout cases for register moves. This allows AMOVWZ and AMOVW to be handled with ...
[ { "path": "src/cmd/asm/internal/asm/testdata/ppc64.s", "patch": "@@ -77,6 +77,15 @@ TEXT asmtest(SB),DUPOK|NOSPLIT,$0\n \tMOVBU R4, 1(R3) // 9c830001\n \tMOVBU R5, (R3)(R4) // 7ca419ee\n \n+\tMOVB $0, R4\t\t\t// 38800000\n+\tMOVBZ $0, R4\t\t\t// 38800000\n+\tMOVH $0, R4\t\t\t// ...
2021-03-09T22:55:11
vercel/next.js
069692079b438e979075067da079da702d6c5bf2
85b200a82d8b64232ad98525d9ec457c7bbb8b0b
@next/font/google fetch error dev (#42637) If `@next/font/google` fails to fetch the font in DEV, return the fallback font instead of throwing so you still can run the app. In build it still throws. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a hel...
[ { "path": "packages/font/src/google/loader.ts", "patch": "@@ -34,7 +34,9 @@ const downloadGoogleFonts: FontLoader = async ({\n data,\n config,\n emitFontFile,\n+ isDev,\n isServer,\n+ loaderContext,\n }) => {\n const subsets = config?.subsets || []\n \n@@ -69,80 +71,7 @@ const downloadGoogleFont...
2022-11-08T19:05:54
nodejs/node
07d3c55ecac5fd84d16b272bb233771336f35177
1000c785bd613475a93854ec09e9d110af923fbf
benchmark: refactor deepequal-object This is a minor refactor of benchmark/assert/deepequal-object.js to reduce exceptions that need to be made for lint compliance. PR-URL: https://github.com/nodejs/node/pull/21030 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Revie...
[ { "path": "benchmark/assert/deepequal-object.js", "patch": "@@ -29,13 +29,15 @@ function main({ size, n, method }) {\n // TODO: Fix this \"hack\". `n` should not be manipulated.\n n = n / size;\n \n+ if (!method)\n+ method = 'deepEqual';\n+\n const source = Array.apply(null, Array(size));\n cons...
2018-05-30T03:41:57
electron/electron
597e17b540560f73d79601a820432a1b1236f036
9ac059138681b0ecaacf59dc3dd81b0c97328b39
Fix template related compilation errors of VC++.
[ { "path": "common/swap_or_assign.h", "patch": "@@ -5,8 +5,37 @@\n #ifndef ATOM_COMMON_SWAP_OR_ASSIGN_H_\n #define ATOM_COMMON_SWAP_OR_ASSIGN_H_\n \n+#include \"base/compiler_specific.h\"\n+\n namespace internal {\n \n+#if defined(OS_WIN)\n+template<typename T> inline\n+void SwapOrAssign(T& v1, const T& v2) ...
2013-12-09T08:34:10
huggingface/transformers
c8a2b25f915a7745d57c92635415e2517b739bc8
8e67230860b347081894f5de53b0fdf74da65b68
Fix `TrainingArguments.torch_empty_cache_steps` post_init check (#36734) Mistaken use of De Morgan's law. Fixed "not (X or Y)" to correct "not (X and Y)" check to raise a ValueError. Added corresponding test to check "positive int or None" condition. Co-authored-by: Yih-Dar <2521628+ydshieh@users.noreply.github.com>
[ { "path": "src/transformers/training_args.py", "patch": "@@ -1641,7 +1641,7 @@ def __post_init__(self):\n self.do_eval = True\n \n if self.torch_empty_cache_steps is not None:\n- if not (isinstance(self.torch_empty_cache_steps, int) or self.torch_empty_cache_steps > 0):\n+ ...
2025-03-17T15:09:46
rust-lang/rust
399cf1f37e9090f670116a34239de4f18753626d
9e2e6d71b3eae0c7e85140c61541519f4eaf0981
fix(docs): add newlines between prefix/suffix chapters add newlines between prefix/suffix chapters in SUMMARY.md to ensure correct extraction by mdbook-i18n-helpers.
[ { "path": "src/doc/rustc-dev-guide/src/SUMMARY.md", "patch": "@@ -1,6 +1,7 @@\n # Summary\n \n [Getting Started](./getting-started.md)\n+\n [About this guide](./about-this-guide.md)\n \n ---\n@@ -230,9 +231,13 @@\n ---\n \n [Appendix A: Background topics](./appendix/background.md)\n+\n [Appendix B: Glossary...
2025-04-18T10:49:34
golang/go
31e12b953a2a8fa5f3c849da18ded575c5737532
7ad496b6f5300131d6f1fbafe44ac882897889e4
cmd/link: issue error if elf header overruns This is probably unlikely in practice, but when debugging alignment related issues on ppc64 using very small text section splits, the elf header could grow beyond the preallocated space and quietly stomp on the first few text sections. Change-Id: Ided58aa0b1e60f9da4b3cb277...
[ { "path": "src/cmd/link/internal/ld/elf.go", "patch": "@@ -2194,6 +2194,12 @@ elfobj:\n \tif a > elfreserve {\n \t\tErrorf(nil, \"ELFRESERVE too small: %d > %d with %d text sections\", a, elfreserve, numtext)\n \t}\n+\n+\t// Verify the amount of space allocated for the elf header is sufficient. The file of...
2021-04-05T18:36:13
vercel/next.js
85b200a82d8b64232ad98525d9ec457c7bbb8b0b
677c04f0888e808e51b6de23b959c90019fc6f1e
Ensure skip normalize is handled correctly (#42642) x-ref: [slack thread](https://vercel.slack.com/archives/C01224Q5M99/p1667927545637489?thread_ts=1664536480.045539&cid=C01224Q5M99) x-ref: https://github.com/vercel/vercel/pull/8873 ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration te...
[ { "path": "packages/next/build/index.ts", "patch": "@@ -761,6 +761,7 @@ export default async function build(\n header: typeof RSC\n varyHeader: typeof RSC_VARY_HEADER\n }\n+ skipMiddlewareUrlNormalize?: boolean\n } = nextBuildSpan.traceChild('generate-routes-manifest...
2022-11-08T18:40:22
nodejs/node
1000c785bd613475a93854ec09e9d110af923fbf
206b19cc3f67ae93f0468b2033d50f5a7b0175b6
benchmark: refactor deepequal-map This is a minor refactor of benchmark/assert/deepequal-map.js to reduce exceptions that need to be made for lint compliance. PR-URL: https://github.com/nodejs/node/pull/21030 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By...
[ { "path": "benchmark/assert/deepequal-map.js", "patch": "@@ -1,9 +1,8 @@\n 'use strict';\n \n-/* eslint-disable no-restricted-properties */\n-\n const common = require('../common.js');\n-const assert = require('assert');\n+const { deepEqual, deepStrictEqual, notDeepEqual, notDeepStrictEqual } =\n+ require(...
2018-05-30T03:38:35
huggingface/transformers
8e67230860b347081894f5de53b0fdf74da65b68
27361bd218e5d1ecffc68b9317c49d3a764dfbba
Fix test isolation for clear_import_cache utility (#36345) * test fixup * test fixup * fixing tests for unused imports * style fixes * fix * style fixes * styke fix * remove isolated module cache * rm custom subprocess defination * run using exsiting fn * style fixup * make fixup * remove redundant comment...
[ { "path": "tests/utils/test_import_utils.py", "patch": "@@ -1,23 +1,26 @@\n import sys\n \n+from transformers.testing_utils import run_test_using_subprocess\n from transformers.utils.import_utils import clear_import_cache\n \n \n+@run_test_using_subprocess\n def test_clear_import_cache():\n- # Import som...
2025-03-17T15:09:09
electron/electron
b431e96f9de095e05712ef4260c1d89c7ffb0633
36445f8d8bff20503ad31815169ccb5229d1c305
Update node: Add fs.lstatSyncNoException, closes #138.
[ { "path": "vendor/node", "patch": "@@ -1 +1 @@\n-Subproject commit 74b959982f328dae90468d2dd8bd129655b51fc3\n+Subproject commit 44483b45881e0757af30c092a562b8d0ff6cceeb", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2013-12-06T13:51:47
rust-lang/rust
b18e37305304780530224736ad55145063c7e8a6
65ce38a4c96da2f950fb6b181b2b83b0320d103d
Reduce duplicated test prefixes in nested subdirectories `assembly/asm` contained a test named `asm/aarch64-el2vmsa.rs`, while it should have been only `arch64-el2vmsa.rs`.
[ { "path": "src/ci/citool/src/test_dashboard.rs", "patch": "@@ -64,9 +64,10 @@ fn gather_test_suites(job_metrics: &HashMap<JobName, JobMetrics>) -> TestSuites\n Some((name, variant)) => (name.to_string(), variant.to_string()),\n None => (test_name, \"\".to_string()),\n...
2025-04-18T10:44:39
golang/go
7ad496b6f5300131d6f1fbafe44ac882897889e4
dba2eab8267599f5f59f1f586b47f31b6552938c
runtime: unify C->Go ABI transitions The previous CL introduced macros for transitions from the Windows ABI to the Go ABI. This CL does the same for SysV and uses them in almost all places where we transition from the C ABI to the Go ABI. Compared to Windows, this transition is much simpler and I didn't find any plac...
[ { "path": "src/runtime/asm_amd64.s", "patch": "@@ -6,6 +6,7 @@\n #include \"go_tls.h\"\n #include \"funcdata.h\"\n #include \"textflag.h\"\n+#include \"cgo/abi_amd64.h\"\n \n // _rt0_amd64 is common startup code for most amd64 systems when using\n // internal linking. This is the entry point for the program...
2021-04-14T03:30:19
nodejs/node
206b19cc3f67ae93f0468b2033d50f5a7b0175b6
6168959546f84449f6c12efbc65189c9b45a4130
benchmark: refactor deepequal-buffer This is a minor refactor of benchmark/assert/deepequal-buffer.js to reduce exceptions that need to be made for lint compliance. PR-URL: https://github.com/nodejs/node/pull/21030 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Revie...
[ { "path": "benchmark/assert/deepequal-buffer.js", "patch": "@@ -14,6 +14,8 @@ const bench = common.createBenchmark(main, {\n });\n \n function main({ len, n, method }) {\n+ if (!method)\n+ method = 'deepEqual';\n const data = Buffer.allocUnsafe(len + 1);\n const actual = Buffer.alloc(len);\n const...
2018-05-30T03:32:42
huggingface/transformers
27361bd218e5d1ecffc68b9317c49d3a764dfbba
da7d64f4ff307f2acad3bd3f9989088d614f828f
fix xpu tests (#36656) * fix awq xpu tests Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * update Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * fix llava next video bnb tests Signed-off-by: jiqing-feng <jiqing.feng@intel.com> --------- Signed-off-by: jiqing-feng <jiqing.feng@intel.com> Co-authored-b...
[ { "path": "src/transformers/utils/quantization_config.py", "patch": "@@ -902,6 +902,9 @@ def post_init(self):\n )\n \n if self.backend == AwqBackendPackingMethod.LLMAWQ:\n+ # Only cuda device can run this function\n+ if not torch.cuda.is_available():\n+ ...
2025-03-17T14:57:49
electron/electron
844fccc177791dc206e247bacc14604e2a1a415c
0a63395b0f2a9c1c448d8069f5830d233f84b992
Use random number as id in CallbacksRegistry. It's very possible that the callbacks got GCed before the render view is closed (like page getting refreshed), so we should not let browser call the wrong callback, instead we should throw error whenever a callback is not found.
[ { "path": "common/api/lib/callbacks-registry.coffee", "patch": "@@ -1,15 +1,19 @@\n module.exports =\n class CallbacksRegistry\n constructor: ->\n- @nextId = 0\n+ @emptyFunc = -> throw new Error \"Browser trying to call a non-exist callback\n+ in renderer, this usually happens when renderer cod...
2013-12-06T07:04:51
vercel/next.js
677c04f0888e808e51b6de23b959c90019fc6f1e
bccf1861456d9f11b74dffe9cabe2c5ba0796a04
update react builtin deps for next channel (#42639) Updates builtin react to latest release on next channel ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing featu...
[ { "path": "package.json", "patch": "@@ -179,11 +179,11 @@\n \"random-seed\": \"0.3.0\",\n \"react\": \"18.2.0\",\n \"react-17\": \"npm:react@17.0.2\",\n- \"react-builtin\": \"npm:react@18.3.0-next-28a574ea8-20221027\",\n+ \"react-builtin\": \"npm:react@18.3.0-next-4bd245e9e-20221104\",\n ...
2022-11-08T18:35:17
golang/go
61a08fc6ce996ec403601f30c402ecfa3d588bda
0184b445c04a0f30e34ce624298547f12630f3aa
strconv: Implement Ryū algorithm for ftoa shortest mode This patch implements the algorithm from Ulf Adams, "Ryū: Fast Float-to-String Conversion" (doi:10.1145/3192366.3192369) for formatting floating-point numbers with a fixed number of decimal digits. It is not a direct translation of the reference C implementation...
[ { "path": "src/strconv/ftoa.go", "patch": "@@ -113,15 +113,11 @@ func genericFtoa(dst []byte, val float64, fmt byte, prec, bitSize int) []byte {\n \t// Negative precision means \"only as much as needed to be exact.\"\n \tshortest := prec < 0\n \tif shortest {\n-\t\t// Try Grisu3 algorithm.\n-\t\tf := new(ex...
2019-03-27T05:55:52
huggingface/transformers
2256875a77df7819499d1cf1076e44af048f1439
9e94801146ceeb3b215bbdb9492be74d7d7b7210
fix can_generate (#36570) * fix can_generate Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * fix can generate for speecht5 and blip Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * fix speecht5 tests Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * fix Signed-off-by: jiqing-feng <jiqing.feng@intel....
[ { "path": "src/transformers/models/blip/modeling_blip.py", "patch": "@@ -1233,7 +1233,7 @@ def generate(\n \"\"\",\n BLIP_START_DOCSTRING,\n )\n-class BlipForQuestionAnswering(BlipPreTrainedModel):\n+class BlipForQuestionAnswering(BlipPreTrainedModel, GenerationMixin):\n config_class = BlipConfi...
2025-03-17T13:56:18
rust-lang/rust
49bfa1aaf5f7e68079e6ed9b0d23dacebf38bac9
c8c87421a5ef753edc27066a571fd0afcc066a6d
Fix simd_insert_dyn and simd_extract_dyn intrinsics with non-pointer sized indices
[ { "path": "src/value_and_place.rs", "patch": "@@ -309,6 +309,7 @@ impl<'tcx> CValue<'tcx> {\n match self.0 {\n CValueInner::ByVal(_) | CValueInner::ByValPair(_, _) => unreachable!(),\n CValueInner::ByRef(ptr, None) => {\n+ let lane_idx = clif_intcast(fx, lane_i...
2025-04-18T10:30:37
electron/electron
e9e90b481a3395bafd99de278346348887a4fd78
4a1ee39156f1eabdd9da8bdc8e38d63fe914b2e6
:lipstick: Fix cpplint warnings.
[ { "path": "script/cpplint.py", "patch": "@@ -16,6 +16,7 @@\n 'common/api/api_messages.cc',\n 'common/api/api_messages.h',\n 'common/atom_version.h',\n+ 'common/swap_or_assign.h',\n ]\n \n SOURCE_ROOT = os.path.dirname(os.path.dirname(__file__))", "additions": 1, "deletions": 0, "language"...
2013-12-05T15:54:57
nodejs/node
923f6ac08f68ba7c28b9e2bd82228104c038e49a
c524576a6fed0ac112ac162d220e7d86f218aaec
benchmark: fix "comparisons"' typo PR-URL: https://github.com/nodejs/node/pull/21085 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Lance Ball <lball@redhat.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
[ { "path": "benchmark/compare.R", "patch": "@@ -107,8 +107,8 @@ options(width = 200);\n print(statistics);\n cat(\"\\n\")\n cat(sprintf(\n-\"Be aware that when doing many comparisions the risk of a false-positive\n-result increases. In this case there are %d comparisions, you can thus\n+\"Be aware that when ...
2018-06-01T15:30:17
golang/go
0184b445c04a0f30e34ce624298547f12630f3aa
8f4c5068e07a03e16998b6d8d38a0482433fc7fe
strconv: implement Ryū-like algorithm for fixed precision ftoa This patch implements a simplified version of Ulf Adams, "Ryū: Fast Float-to-String Conversion" (doi:10.1145/3192366.3192369) for formatting floating-point numbers with a fixed number of decimal digits. It uses the same principles but does not need to han...
[ { "path": "src/strconv/ftoa.go", "patch": "@@ -143,12 +143,15 @@ func genericFtoa(dst []byte, val float64, fmt byte, prec, bitSize int) []byte {\n \t\t\t}\n \t\t\tdigits = prec\n \t\t}\n-\t\tif digits <= 15 {\n-\t\t\t// try fast algorithm when the number of digits is reasonable.\n-\t\t\tvar buf [24]byte\n+\...
2019-03-24T22:21:38
vercel/next.js
bccf1861456d9f11b74dffe9cabe2c5ba0796a04
25d5d8c2e9085adbcfd8d1b3c2bd5d88df3fa0c1
feat: add --no-mangling to next build + fix --profile option (#42633) This PR adds a `--no-mangling` option to `next build` and fixes the `--profile` option so that you can use the React profiling build on production. The advantage of disabling only mangling versus disabling minification altogether is that we still r...
[ { "path": "packages/next/build/index.ts", "patch": "@@ -254,7 +254,8 @@ export default async function build(\n conf = null,\n reactProductionProfiling = false,\n debugOutput = false,\n- runLint = true\n+ runLint = true,\n+ noMangling = false\n ): Promise<void> {\n try {\n const nextBuildSpan ...
2022-11-08T17:53:29
huggingface/transformers
9e94801146ceeb3b215bbdb9492be74d7d7b7210
c53d53da89c0617f7dd5a69a2a08e6b1232b35fd
enable/disable compile for quants methods (#36519) * disable compile for most quants methods * fix * Update src/transformers/generation/configuration_utils.py Co-authored-by: Matthew Douglas <38992547+matthewdouglas@users.noreply.github.com> * Update tests/quantization/bnb/test_mixed_int8.py Co-authored-by: Matth...
[ { "path": "src/transformers/generation/configuration_utils.py", "patch": "@@ -379,8 +379,7 @@ class GenerationConfig(PushToHubMixin):\n If using a static cache, this controls how `generate` will `compile` the forward pass for performance\n gains.\n \n- disable_compile (`bool`,...
2025-03-17T10:38:21
nodejs/node
7afe6c728e824021dd3f4863e2d8b867d5b12c7f
69528b0e8652499f01f762b20283be1c442475ea
doc: fix typos on `e.g.` abbreviations `eg.` was used in two places where `e.g.` was intended. Replace one instance with `e.g.` and rewrite the other instance to not require the abbreviation at all. PR-URL: https://github.com/nodejs/node/pull/21045 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Vse Moz...
[ { "path": "doc/api/dns.md", "patch": "@@ -508,7 +508,7 @@ will be present on the object:\n | `'PTR'` | `value` |\n | `'SOA'` | Refer to [`dns.resolveSoa()`][] |\n | `'SRV'` | Refer to [`dns.resolveSrv()`][] |\n-| `'TXT'` | This type of record contains an array property called `entries` which refers to [`dns...
2018-05-30T13:24:19
huggingface/transformers
c53d53da89c0617f7dd5a69a2a08e6b1232b35fd
fc8764c9a618add64c33e83720f974750bcd0978
🚨🚨🚨 Fix sdpa in SAM and refactor relative position embeddings (#36422) * fall back to eager if output_attentions * improve relative position embeddings * run modular on got_ocr2 * run-slow: sam * fix run-length encoding * fix tf processor errors * update tf_sam * fix compile error * re-run tests
[ { "path": "src/transformers/models/got_ocr2/modeling_got_ocr2.py", "patch": "@@ -114,9 +114,8 @@ def get_rel_pos(self, q_size: int, k_size: int, rel_pos: torch.Tensor) -> torch.\n \n return rel_pos_resized[relative_coords.long()]\n \n- def add_decomposed_rel_pos(\n+ def get_decomposed_rel_pos(...
2025-03-17T09:39:52
golang/go
48b7432e3f5318a026842fc4f39fb690e13f79f8
566a87c16b055872cb469d46cbccc2404dba9bb7
cmd/internal/obj/arm64: fix the wrong sp dst register of ADDS/SUBS instructions According the armv8-a specification, the destination register of the ADDS/ADDSW/ SUBS/SUBSW instructions can not be RSP, the current implementation does not check this and encodes this wrong instruction format as a CMN instruction. This CL...
[ { "path": "src/cmd/asm/internal/asm/testdata/arm64error.s", "patch": "@@ -8,6 +8,26 @@ TEXT errors(SB),$0\n \tADDSW\tR7->32, R14, R13 // ERROR \"shift amount out of range 0 to 31\"\n \tADD\tR1.UXTB<<5, R2, R3 // ERROR \"shift amount out of range ...
2021-04-13T02:48:32
vercel/next.js
25d5d8c2e9085adbcfd8d1b3c2bd5d88df3fa0c1
81890c8cfbdecfcf230b29341f508d2b6bbc29ef
Also create head when creating root layout (#42571) When creating a root layout automatically in dev - also create a default head file. This PR also makes sure more cases are covered when creating root layouts by trying to find an available dir as close to ` app/` as possible that won't affect other layouts. ##...
[ { "path": "packages/next/lib/verifyRootLayout.ts", "patch": "@@ -26,7 +26,7 @@ function getRootLayout(isTs: boolean) {\n }) {\n return (\n <html>\n- <head></head>\n+ <head />\n <body>{children}</body>\n </html>\n )\n@@ -37,14 +37,27 @@ function getRootLayout(isTs: boolean) {\n ...
2022-11-08T17:14:14
huggingface/transformers
6f3e0b68e0030051d9181fb1f494e539adeb069c
2c2495cc7b0e3e2942a9310f61548f40a2bc8425
Fix grad accum arbitrary value (#36691)
[ { "path": "src/transformers/utils/import_utils.py", "patch": "@@ -813,7 +813,7 @@ def is_torch_hpu_available():\n \n def patched_masked_fill_(self, mask, value):\n if self.dtype == torch.int64:\n- logger.warning(\n+ logger.warning_once(\n ...
2025-03-14T21:03:01
electron/electron
8d271a665593c254e1dffc7c8626ba97306a102a
65b3435156afc38925a4bc431f7bfc4c4843e9d5
Update node: Fixed a handle leak in fs.statNoException().
[ { "path": "vendor/node", "patch": "@@ -1 +1 @@\n-Subproject commit 24c11bdc794c2b7b79163cb4737046f8de42446d\n+Subproject commit 74b959982f328dae90468d2dd8bd129655b51fc3", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2013-12-05T13:33:47
golang/go
bf634c76b28a4a857c9d2a039c53982ffbdcceb7
567a9322ad1980d22896efc3b642eedf997eb6d9
cmd/compile: look for function in instantiations in all global assignments Add in some missing global assignment ops to the list of globals ops that should be traversed to look for generic function instantiations. The most common other one for global assigments (and the relevant one for this bug) is OAS2FUNC, but also...
[ { "path": "src/cmd/compile/internal/ir/expr.go", "patch": "@@ -748,13 +748,6 @@ func IsAddressable(n Node) bool {\n \tcase ODEREF, ODOTPTR:\n \t\treturn true\n \n-\tcase OXDOT:\n-\t\t// TODO(danscales): remove this case as we remove calls to the old\n-\t\t// typechecker in (*irgen).funcBody().\n-\t\tif base...
2021-04-14T21:54:14
rust-lang/rust
c8c87421a5ef753edc27066a571fd0afcc066a6d
1afce7c3548ff31174cb060f3217b1994d982bed
Nicer formatting for verifier errors during define_function
[ { "path": "src/base.rs", "patch": "@@ -228,6 +228,18 @@ pub(crate) fn compile_fn(\n name = codegened_func.symbol_name\n ));\n }\n+ Err(ModuleError::Compilation(CodegenError::Verifier(err))) => {\n+ let early_dcx = rustc_session::Early...
2025-04-15T14:42:32
vercel/next.js
81890c8cfbdecfcf230b29341f508d2b6bbc29ef
90ddc248a543d8ed1b9ef425ffc06ef7e2b10bfe
Add telemetry for @next/font (#42579) ## 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 i...
[ { "path": "packages/next/build/webpack/plugins/telemetry-plugin.ts", "patch": "@@ -24,6 +24,8 @@ export type Feature =\n | 'next/legacy/image'\n | 'next/script'\n | 'next/dynamic'\n+ | '@next/font/google'\n+ | '@next/font/local'\n | 'swcLoader'\n | 'swcMinify'\n | 'swcRelay'\n@@ -64,6 +66,10 @...
2022-11-08T17:02:26
huggingface/transformers
2c2495cc7b0e3e2942a9310f61548f40a2bc8425
25992b493c88058948910e7a6ca3eb3ce4c9f4f1
Fix post_init() code duplication (#36727) * Update modeling_utils.py * CIs
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -1917,9 +1917,6 @@ def post_init(self):\n for name, module in self.named_children():\n if plan := getattr(module, \"_tp_plan\", None):\n self._tp_plan.update({f\"{name}.{k}\": v for k, v in plan.item...
2025-03-14T16:36:02
rust-lang/rust
8da1290f04eec03298b4a905091a4ad4f7b1c4eb
2db05de8fdf0d8b92df083a088ebde412bf6d75c
Ensure all public functions are marked `no_panic` Fixes: https://github.com/rust-lang/libm/issues/201
[ { "path": "library/compiler-builtins/libm/src/math/frexpf.rs", "patch": "@@ -1,3 +1,4 @@\n+#[cfg_attr(all(test, assert_no_panic), no_panic::no_panic)]\n pub fn frexpf(x: f32) -> (f32, i32) {\n let mut y = x.to_bits();\n let ee: i32 = ((y >> 23) & 0xff) as i32;", "additions": 1, "deletions": ...
2025-04-18T07:05:13
electron/electron
0a1f756ca65c63071b1860cbe377b08b2ff1e6d8
cf08bb098fda0af379f2d16464f4450ba02b2945
Use "ProxyResolverV8" instead of "SystemProxyResolver" as proxy service. SystemProxyResolver is untested and could cause random crashes.
[ { "path": "brightray/browser/browser_main_parts.cc", "patch": "@@ -6,6 +6,7 @@\n \n #include \"browser/browser_context.h\"\n #include \"browser/web_ui_controller_factory.h\"\n+#include \"net/proxy/proxy_resolver_v8.h\"\n \n namespace brightray {\n \n@@ -29,6 +30,15 @@ void BrowserMainParts::PostMainMessageL...
2013-12-05T10:56:28
nodejs/node
c903a9e0c0926921b660c542f921057acd7b3587
de8ef3f954622422ddb41775c06b278f0c8361a5
test: avoid empty fixture in module test Refactor test-module-loading to use tmpdir for its empty directory rather than using a not-actually-empty directory called "empty" in fixtures. PR-URL: https://github.com/nodejs/node/pull/21044 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Trivikram Kamat ...
[ { "path": "test/sequential/test-module-loading.js", "patch": "@@ -21,9 +21,11 @@\n \n 'use strict';\n const common = require('../common');\n+const tmpdir = require('../common/tmpdir');\n+\n const assert = require('assert');\n-const path = require('path');\n const fs = require('fs');\n+const path = require('...
2018-05-30T13:19:33
golang/go
567a9322ad1980d22896efc3b642eedf997eb6d9
d27bb8ba2ecf18b2d69d4eb72080a17ebff09f64
mime: add mime type for avif image file format Fixes #44602 Change-Id: I28b6df5e2523fc2ece6fd8251fcabc83c7c38d89 Reviewed-on: https://go-review.googlesource.com/c/go/+/256478 Trust: Ian Lance Taylor <iant@golang.org> Trust: Michael Knyszek <mknyszek@google.com> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Re...
[ { "path": "src/mime/type.go", "patch": "@@ -72,6 +72,7 @@ var builtinTypesLower = map[string]string{\n \t\".svg\": \"image/svg+xml\",\n \t\".wasm\": \"application/wasm\",\n \t\".webp\": \"image/webp\",\n+\t\".avif\": \"image/avif\",\n \t\".xml\": \"text/xml; charset=utf-8\",\n }\n ", "additions": 1, ...
2020-09-22T13:22:06
vercel/next.js
3d690b277801f19d36106192b02a7a4e5d63c7da
b893baacf89d019e658e2eb740e193fc1bb42ced
order routes by specificity (vercel/turbo#2614) * bugfix source maps in app dir * add specificity static assets are preferred over dynamic matches
[ { "path": "packages/next-swc/crates/next-core/src/app_source.rs", "patch": "@@ -25,6 +25,7 @@ use turbopack_dev_server::{\n html::DevHtmlAssetVc,\n source::{\n combined::{CombinedContentSource, CombinedContentSourceVc},\n+ specificity::SpecificityVc,\n ContentSourceData, Conte...
2022-11-08T16:44:57
huggingface/transformers
9215cc62d4366072aacafa4e44028c1ca187167b
691d1b52c33b0bda5187dc5afad8a30633003bb2
Try working around the processor registration bugs (#36184) * Try working around the processor registration bugs * oops * Update error message * Clarify error * Docstring docstring docstring * The extra content is indexed by config class, so let's grab some values out of there * Commit my confusion as a TODO * ...
[ { "path": "src/transformers/models/auto/processing_auto.py", "patch": "@@ -382,6 +382,6 @@ def register(config_class, processor_class, exist_ok=False):\n Args:\n config_class ([`PretrainedConfig`]):\n The configuration corresponding to the model to register.\n- ...
2025-03-14T13:56:21
rust-lang/rust
a0e5a7a6360f78826757f7bb5e48350fbb3ff353
cad0d6f1875031a3f8c53815c38d3042b20f2f74
ci: Require `ci: allow-many-extensive` if a threshold is exceeded Error out when too many extensive tests would be run unless `ci: allow-many-extensive` is in the PR description. This allows us to set a much higher CI timeout with less risk that a 4+ hour job gets started by accident.
[ { "path": "library/compiler-builtins/libm/ci/ci-util.py", "patch": "@@ -54,6 +54,11 @@\n REGRESSION_DIRECTIVE = \"ci: allow-regressions\"\n # Place this in a PR body to skip extensive tests\n SKIP_EXTENSIVE_DIRECTIVE = \"ci: skip-extensive\"\n+# Place this in a PR body to allow running a large number of ext...
2025-04-18T02:20:21
nodejs/node
de8ef3f954622422ddb41775c06b278f0c8361a5
42dbb608191961252d09375bc095a0a57f2fc9ed
test: avoid empty fixture in fs test Refactor test-fs-error-messages to use tmpdir for its empty directory rather than using a not-actually-empty directory called "empty" in fixtures. PR-URL: https://github.com/nodejs/node/pull/21044 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Trivikram Kamat <...
[ { "path": "test/parallel/test-fs-error-messages.js", "patch": "@@ -22,13 +22,17 @@\n 'use strict';\n const common = require('../common');\n const fixtures = require('../common/fixtures');\n+const tmpdir = require('../common/tmpdir');\n const assert = require('assert');\n const fs = require('fs');\n+\n+tmpdi...
2018-05-30T13:15:25
golang/go
c3931ab1b7bceddc56479d7ddbd7517d244bfe17
cbf9caaf22da04805f1e07277860324c7d9052b6
net/http/httptest: panic on non-3 digit (XXX) status code in Recorder.WriteHeader This change conforms Recorder with net/http servers, to panic when a handler writes a non-3 digit XXX status code. Fixes #45353 Change-Id: Id5ed4af652e8c150ae86bf50402b800d935e2203 Reviewed-on: https://go-review.googlesource.com/c/go/+...
[ { "path": "src/net/http/httptest/recorder.go", "patch": "@@ -122,11 +122,30 @@ func (rw *ResponseRecorder) WriteString(str string) (int, error) {\n \treturn len(str), nil\n }\n \n+func checkWriteHeaderCode(code int) {\n+\t// Issue 22880: require valid WriteHeader status codes.\n+\t// For now we only enforce...
2021-04-10T07:41:13
vercel/next.js
8b0de58b8f5d62357cc5f40d98f0b54acf502bfc
712c4ff6f2fb5b41cc900198c581ee9171abe4d5
order routes by specificity (vercel/turbo#2614) * bugfix source maps in app dir * add specificity static assets are preferred over dynamic matches
[ { "path": "crates/next-core/src/app_source.rs", "patch": "@@ -25,6 +25,7 @@ use turbopack_dev_server::{\n html::DevHtmlAssetVc,\n source::{\n combined::{CombinedContentSource, CombinedContentSourceVc},\n+ specificity::SpecificityVc,\n ContentSourceData, ContentSourceVc, NoCont...
2022-11-08T16:44:57
huggingface/transformers
691d1b52c33b0bda5187dc5afad8a30633003bb2
3bd1a0ddf12bb62293613323db18fbf579b1815b
Fix/best model checkpoint fix (#35885) * Set best_model_checkpoint only when ckpt exists. Rather than set it explicitly without checking if the checkpoint directory even exists as before, now we moved the setting logic inside of _save_checkpoint and are only setting it if it exists. * Added best_global_step to Train...
[ { "path": "src/transformers/testing_utils.py", "patch": "@@ -38,7 +38,7 @@\n from functools import wraps\n from io import StringIO\n from pathlib import Path\n-from typing import Callable, Dict, Iterable, Iterator, List, Optional, Union\n+from typing import Callable, Dict, Generator, Iterable, Iterator, Lis...
2025-03-14T13:24:53
rust-lang/rust
e7ac9c7468393890b24a1d1063a13666390cc300
c7f35adaafad6e93e395fc2327ff8b06477642e5
Fix a panic when a trait method in an impl declares a lifetime parameter not in the trait declaration Shuffle the code a bit.
[ { "path": "src/tools/rust-analyzer/crates/hir/src/lib.rs", "patch": "@@ -3773,17 +3773,23 @@ impl GenericSubstitution {\n TypeOrConstParamData::ConstParamData(_) => None,\n });\n // The `Substitution` is first self then container, we want the reverse order.\n- let self_par...
2025-04-16T22:34:08
nodejs/node
7dca3297bce9c19a0451be1b130c8fcab564fe04
df16d20f7569f6538eb6558ea63c614e3b139abc
doc: remove vestigial onboarding section The onboarding-extras doc includes a section with a single bullet point instructing the new Collaborator to write good pull request descriptions. This material is likely superfluous and is in the wrong document if it is not. (It more properly belongs in pull-requests.md as it i...
[ { "path": "doc/onboarding-extras.md", "patch": "@@ -93,7 +93,3 @@ to update from nodejs/node:\n * `git checkout master`\n * `git remote update -p` OR `git fetch --all`\n * `git merge --ff-only upstream/master` (or `REMOTENAME/BRANCH`)\n-\n-## Best practices\n-\n-* When making PRs, spend time writing a thoro...
2018-05-30T02:59:28
electron/electron
bfe8928ab14b3152f7e705c04dcc78939721c8b3
d6d1604623b997634d5e0fe90db99892c1b831a2
Do not use flags to mark whether the window is unresponsive. It's error prone.
[ { "path": "browser/native_window.cc", "patch": "@@ -44,7 +44,6 @@ NativeWindow::NativeWindow(content::WebContents* web_contents,\n : content::WebContentsObserver(web_contents),\n has_frame_(true),\n is_closed_(false),\n- not_responding_(false),\n weak_factory_(this),\n inspe...
2013-12-04T09:10:59
golang/go
cbf9caaf22da04805f1e07277860324c7d9052b6
23f8c203f026814ddc4ba4538f900d8151eb6840
cmd/go: add a Go source file in TestScript/mod_sumdb This test expects 'go mod tidy' to fail if the existing module graph has a bad checksum. However, there is no intrinsic reason why 'go mod tidy' should fail in that case: the module contains no packages, and thus no imports, so 'go mod tidy' can justifiably remove a...
[ { "path": "src/cmd/go/testdata/script/mod_sumdb.txt", "patch": "@@ -37,3 +37,9 @@ go get -d rsc.io/fortune\n \n -- go.mod.orig --\n module m\n+\n+go 1.16\n+-- m.go --\n+package m\n+\n+import _ \"rsc.io/quote\"", "additions": 6, "deletions": 0, "language": "Plain Text" } ]
2021-04-12T14:41:56
vercel/next.js
90ddc248a543d8ed1b9ef425ffc06ef7e2b10bfe
5af7af5fa05acd4490707e1e150f150f69809ad5
(with-supertokens example): Fixes infinite redirect issue for unauthorised error during SSR (#42634) If there is an unauthorised error during `getServerSideProps`, then we return the same response as the try refresh token error so that all cookies are cleared from the frontend due to refreshing failure. If we did...
[ { "path": "examples/with-supertokens/pages/index.tsx", "patch": "@@ -20,10 +20,11 @@ export async function getServerSideProps(context) {\n } catch (err) {\n if (err.type === Session.Error.TRY_REFRESH_TOKEN) {\n return { props: { fromSupertokens: 'needs-refresh' } }\n- } else if (\n- err....
2022-11-08T15:58:04
huggingface/transformers
53742b11f51eb03277550dd5f1730c17c0870507
69bc848480d5f19a537a70ce14f09816b00cd80f
Gemma3 processor typo (#36710) * fix typo when is on * tiny * add test and remove 'text_crops' * lint
[ { "path": "src/transformers/models/gemma3/image_processing_gemma3.py", "patch": "@@ -384,7 +384,7 @@ def preprocess(\n images_list = [images for images, _ in images_list_and_num_crops]\n num_crops = [num_crops for _, num_crops in images_list_and_num_crops]\n else:\n- ...
2025-03-14T12:07:55
nodejs/node
df16d20f7569f6538eb6558ea63c614e3b139abc
529b173cf30b7caaf3b53295d4f6a6219e84c1f7
doc: add guides on writing tests involving promises Mention `common.crashOnUnhandledRejection()` and wrapping the handlers in `common.mustCall()` or `common.mustNotCall()`. PR-URL: https://github.com/nodejs/node/pull/20988 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Daniel Bevenius <daniel.beven...
[ { "path": "doc/guides/writing-tests.md", "patch": "@@ -223,6 +223,37 @@ countdown.dec();\n countdown.dec(); // The countdown callback will be invoked now.\n ```\n \n+#### Testing promises\n+\n+When writing tests involving promises, either make sure that the\n+`onFulfilled` or the `onRejected` handler is wra...
2018-05-27T16:59:28
electron/electron
02d14ed23b782db1b9302a33791c8395cce06898
a0a5b20ef18a26857c67feb6dc51d456e6455035
Fix returning the chosen option for synchronous dialogs.
[ { "path": "browser/api/atom_api_dialog.cc", "patch": "@@ -59,9 +59,8 @@ v8::Handle<v8::Value> ShowMessageBox(const v8::Arguments &args) {\n return node::ThrowTypeError(\"Bad argument\");\n \n NativeWindow* native_window = FromV8Value(args[5]);\n- v8::Persistent<v8::Function> callback = FromV8Value(ar...
2013-11-29T07:19:00
golang/go
1a8f0a79619bee4b0040888a5703e38f8117d682
a89ace106f820a4f3b129c81ba0bcf0c48b5b7cd
runtime: fix data race in abi finalizer test Fix a buglet in TestFinalizerRegisterABI that was causing problems when run with GOEXPERIMENT=regabi. Updates #40724. Change-Id: I950c4aa3df69eada23e600f01e6804eb136ce806 Reviewed-on: https://go-review.googlesource.com/c/go/+/310077 Trust: Than McIntosh <thanm@google.com>...
[ { "path": "src/runtime/abi_test.go", "patch": "@@ -17,21 +17,36 @@ import (\n \t\"os/exec\"\n \t\"runtime\"\n \t\"strings\"\n+\t\"sync\"\n \t\"testing\"\n \t\"time\"\n )\n \n-var regConfirmRun int\n+var regConfirmRunIface int\n+var regConfirmRunPtr int\n+var regConfirmMU sync.Mutex\n+\n+func guardedRead(p *...
2021-04-14T19:40:01
huggingface/transformers
69bc848480d5f19a537a70ce14f09816b00cd80f
48ef468c74df242919b9fa5c7fe27bae946db732
Add support for fast image processors in add-new-model-like CLI (#36313) * add support for fast image processors in add-new-model-like * fix header not found add-fast-image-processor-cli * Encourage adding fast image processor * nit * start improve doc * update docs * make requested modifs
[ { "path": "docs/source/en/add_new_model.md", "patch": "@@ -476,7 +476,7 @@ When both implementations produce the same output, verify the outputs are within\n torch.allclose(original_output, output, atol=1e-3)\n ```\n \n-This is typically the most difficult part of the process. Congratulations if you've made...
2025-03-13T18:16:37
vercel/next.js
601e964e16aac007db5115d305500165558c7bb4
f975e3f7ff80e675d1a7266755f7f750abce06f8
Colocate styles with special entries (#42506) This PR ensures that in app dir, styles imported in loading.js, error.js, not-found.js, and template.js are properly handled and rendered together with these components. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] ...
[ { "path": "packages/next/build/utils.ts", "patch": "@@ -1095,7 +1095,9 @@ export const collectGenerateParams = async (\n ): Promise<GenerateParams> => {\n if (!Array.isArray(segment)) return generateParams\n const isLayout = !!segment[2]?.layout\n- const mod = await (isLayout ? segment[2]?.layout?.() :...
2022-11-08T13:49:13
huggingface/transformers
48ef468c74df242919b9fa5c7fe27bae946db732
b070025aa64763287d57351775705398c7c8c8ec
Final CI cleanup (#36703) * make fixup * make fixup * Correct skip decorator * Add TODOs * add is_flaky() parentheses
[ { "path": "tests/models/auto/test_tokenization_auto.py", "patch": "@@ -49,6 +49,7 @@\n DUMMY_UNKNOWN_IDENTIFIER,\n SMALL_MODEL_IDENTIFIER,\n RequestCounter,\n+ is_flaky,\n require_tokenizers,\n slow,\n )\n@@ -147,6 +148,7 @@ def test_tokenizer_identifier_with_correct_config(self):\n ...
2025-03-13T17:26:09
electron/electron
94569f7f8cd7236232653399e010bad36be0b96f
fdfff631196e31dacdcef9a3d1961cd39c0738cc
Fix executing python script in gyp.
[ { "path": "atom.gyp", "patch": "@@ -418,6 +418,7 @@\n '<(PRODUCT_DIR)/Atom-Shell.breakpad.syms',\n ],\n 'action': [\n+ 'python',\n 'tools/mac/generate_breakpad_symbols.py',\n '--build-dir=<(PRODUCT_DIR)',\n ...
2013-11-28T12:11:06
golang/go
a89ace106f820a4f3b129c81ba0bcf0c48b5b7cd
de7a87ef066d726eddcc47a018a2bc8fbd3793af
runtime: update debug call protocol for register ABI The debug call tests currently assume that the target Go function is ABI0; this is clearly no longer true when we switch to the new ABI, so make the tests set up argument register state in the debug call handler and copy back results returned in registers. A small ...
[ { "path": "src/cmd/internal/objabi/funcid.go", "patch": "@@ -28,7 +28,7 @@ const (\n \tFuncID_asmcgocall\n \tFuncID_asyncPreempt\n \tFuncID_cgocallback\n-\tFuncID_debugCallV1\n+\tFuncID_debugCallV2\n \tFuncID_gcBgMarkWorker\n \tFuncID_goexit\n \tFuncID_gogo\n@@ -53,7 +53,7 @@ var funcIDs = map[string]FuncID...
2021-04-10T00:05:07
nodejs/node
529b173cf30b7caaf3b53295d4f6a6219e84c1f7
e1df6881c5f97071d86446874019975d4aacdf7d
doc: remove invalid `vm.Script` arguments PR-URL: https://github.com/nodejs/node/pull/20984 Fixes: https://github.com/nodejs/node/issues/20982 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Trivikram Kamat <tri...
[ { "path": "doc/api/vm.md", "patch": "@@ -421,12 +421,6 @@ changes:\n in stack traces produced by this script.\n * `columnOffset` {number} Specifies the column number offset that is displayed\n in stack traces produced by this script.\n- * `displayErrors` {boolean} When `true`, if an [`Error`][] e...
2018-05-26T22:05:45
vercel/next.js
bc4dd732cefda32230515ccb941518bf8eaab05b
13126d464c0d6d3f23cc02e27c3d62ce8180c9e1
Include @prisma/client in default external packages (#42624) As per https://twitter.com/shadcn/status/1589667660505427968. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Implements an...
[ { "path": "packages/next/lib/server-external-packages.ts", "patch": "@@ -1,5 +1,6 @@\n // A list of popular packages that cannot be bundled on the server.\n export const EXTERNAL_PACKAGES = [\n+ '@prisma/client',\n '@sentry/nextjs',\n '@sentry/node',\n 'autoprefixer',", "additions": 1, "delet...
2022-11-08T12:06:39
huggingface/transformers
b070025aa64763287d57351775705398c7c8c8ec
4a60bae8e236140a4e711f773c975707b8acd032
Add GGUF support to T5-Encoder (#36700) * add gguf support to t5encoder Signed-off-by: Isotr0py <2037008807@qq.com> * fix Signed-off-by: Isotr0py <2037008807@qq.com> * remove gguf from model_kwargs Signed-off-by: Isotr0py <2037008807@qq.com> --------- Signed-off-by: Isotr0py <2037008807@qq.com>
[ { "path": "src/transformers/modeling_gguf_pytorch_utils.py", "patch": "@@ -369,6 +369,7 @@ def load_gguf_checkpoint(gguf_checkpoint_path, return_tensors=False, model_to_lo\n architecture = read_field(reader, \"general.architecture\")[0]\n model_name = read_field(reader, \"general.name\")\n \n+ up...
2025-03-13T16:57:33
electron/electron
fdfff631196e31dacdcef9a3d1961cd39c0738cc
da03784610aba44bfca28691adef4d9cd0056623
:lipstick: Wrong IP for default crash reporter server.
[ { "path": "common/api/lib/crash-reporter.coffee", "patch": "@@ -7,7 +7,7 @@ class CrashReporter\n \n productName ?= 'Atom-Shell'\n companyName ?= 'GitHub, Inc'\n- submitUrl ?= 'http://54.249.141.25:1127/post'\n+ submitUrl ?= 'http://54.249.141.255:1127/post'\n autoSubmit ?= true\n igno...
2013-11-28T04:38:33
golang/go
283f9fdbd340a5f3c1b27fd10730986b35e57c89
bcbde83c200a7abb2b23666b59992265f3cf3621
cmd/dist: add tests using the typeparams build tag Now that go/ast changes have been guarded behind the typeparams build tag, we no longer have coverage for tests involving generic code. Add a new testing step to cmd/dist to run go/... and cmd/gofmt tests using -tags=typeparams. Comment out parser object resolution ...
[ { "path": "src/cmd/dist/test.go", "patch": "@@ -475,6 +475,19 @@ func (t *tester) registerTests() {\n \t\t})\n \t}\n \n+\t// Test go/... cmd/gofmt with type parameters enabled.\n+\tif !t.compileOnly {\n+\t\tt.tests = append(t.tests, distTest{\n+\t\t\tname: \"tyepparams\",\n+\t\t\theading: \"go/... and cm...
2021-04-14T14:52:30
nodejs/node
e1df6881c5f97071d86446874019975d4aacdf7d
b23f8ee6776c78e969ccd591dac2f3c413600c94
src: do not cache `NumberOfHeapSpaces()` globally While `NumberOfHeapSpaces()` currently returns a constant value, that is not strictly guaranteed by the V8 API as far as I can tell. Therefore, caching it globally does not seem appropriate. (The motivation here is that this squelches warnings which are produced by co...
[ { "path": "src/node_v8.cc", "patch": "@@ -71,9 +71,6 @@ static const size_t kHeapSpaceStatisticsPropertiesCount =\n HEAP_SPACE_STATISTICS_PROPERTIES(V);\n #undef V\n \n-// Will be populated in InitializeV8Bindings.\n-static size_t number_of_heap_spaces = 0;\n-\n \n void CachedDataVersionTag(const Functi...
2018-05-25T22:34:38
huggingface/transformers
4a60bae8e236140a4e711f773c975707b8acd032
09a309d27364204eb118d352f22483bdd9652a46
Handling an exception related to HQQ quantization in modeling (#36702) * adding exception * style * add types
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -709,9 +709,19 @@ def _find_identical(tensors: List[Set[str]], state_dict: Dict[str, torch.Tensor]\n \n \n def _infer_parameter_dtype(\n- model: \"PreTrainedModel\", param_name: str, empty_param, keep_in_fp32_modules=None\n+ model: \"PreTrai...
2025-03-13T16:53:36
vercel/next.js
712c4ff6f2fb5b41cc900198c581ee9171abe4d5
942d94fbafbd870637deaa66f8daa1173e6ba055
fix leftover nitpicks (vercel/turbo#2581) Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
[ { "path": "crates/turbopack-dev-server/src/source/mod.rs", "patch": "@@ -269,8 +269,8 @@ pub trait ContentSource {\n /// Gets content by `path` and request `data` from the source. `data` is\n /// empty by default and will only be filled when returning `NeedData`.\n /// This is useful as this met...
2022-11-08T09:16:42
golang/go
bcbde83c200a7abb2b23666b59992265f3cf3621
492faaeda8d1d673c4b5d7f3983f3fcd072608de
go/ast: fix broken build with typeparams build constraint My rebase of https://golang.org/cl/300649 before submitting broke the build (and tests) when using the typeparams build constraint. In a subsequent CL I add test coverage back to cmd/dist. This time, I've tested by running: - go test -tags=typeparams go/... ...
[ { "path": "src/go/ast/walk.go", "patch": "@@ -112,7 +112,11 @@ func Walk(v Visitor, node Node) {\n \n \tcase *IndexExpr:\n \t\tWalk(v, n.X)\n-\t\tWalk(v, n.Index)\n+\t\t// n.Index may be nil for invalid type instantiation expressions, e.g.\n+\t\t// var x T[].\n+\t\tif n.Index != nil {\n+\t\t\tWalk(v, n.Inde...
2021-04-14T13:34:28
nodejs/node
b23f8ee6776c78e969ccd591dac2f3c413600c94
f49bd39cdefce968793c8891774df7a02f67b5ac
test: removed message from strictEqual By removing the message from strictEqual, it will now print out the actual values of a and b, which will be more helpful in debugging. The old message has been added as a comment above the test. PR-URL: https://github.com/nodejs/node/pull/20983 Reviewed-By: Ruben Bridgewater <ru...
[ { "path": "test/parallel/test-require-dot.js", "patch": "@@ -8,7 +8,8 @@ const a = require(fixtures.path('module-require', 'relative', 'dot.js'));\n const b = require(fixtures.path('module-require', 'relative', 'dot-slash.js'));\n \n assert.strictEqual(a.value, 42);\n-assert.strictEqual(a, b, 'require(\".\"...
2018-05-26T18:50:48
huggingface/transformers
09a309d27364204eb118d352f22483bdd9652a46
2a004f9ff1a8f118318f0f82f64b74a2655d26d0
fix: fsdp sharded state dict wont work for save_only_model knob (#36627) Signed-off-by: Mehant Kammakomati <mehant.kammakomati2@ibm.com> Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.com>
[ { "path": "src/transformers/trainer.py", "patch": "@@ -5175,6 +5175,12 @@ def create_accelerator_and_postprocess(self):\n raise ValueError(\n \"`auto_find_batch_size` isn't supported yet with DeepSpeed Zero-3. Please consider using Zero-2, Zero-1, or FSDP\"\n )\n+ ...
2025-03-13T16:17:35
vercel/next.js
aa7d2776cc5d0f8c48049b0fd8d0acf78cc46d7f
2e3e56d911cf7772deea1c2266718b9364d6451d
Ensure build trace ignores apply correctly when nested (#42606) x-ref: [slack thread](https://vercel.slack.com/archives/C03S8ED1DKM/p1667821787658109?thread_ts=1667480066.387989&cid=C03S8ED1DKM) ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have a helpful ...
[ { "path": "packages/next/build/index.ts", "patch": "@@ -1809,28 +1809,30 @@ export default async function build(\n showAll: config.experimental.turbotrace.logAll,\n })\n } else {\n+ const ignores = [\n+ '**/next/dist/pages/**/*',\n+ ...
2022-11-08T01:43:58
golang/go
4df3d0e4df734283911cf3c428d9638c9dc5af4e
4480c822ba37ea3795fa4dbb56d13578d7961d88
cmd/compile: rescue stmt boundaries from OpArgXXXReg and OpSelectN. Fixes this failure: go test cmd/compile/internal/ssa -run TestStmtLines -v === RUN TestStmtLines stmtlines_test.go:115: Saw too many (amd64, > 1%) lines without statement marks, total=88263, nostmt=1930 ('-run TestStmtLines -v' lists fai...
[ { "path": "src/cmd/compile/internal/dwarfgen/scope_test.go", "patch": "@@ -181,17 +181,17 @@ var testfile = []testline{\n \t{line: \"\t\tfi(p)\", scopes: []int{1}},\n \t{line: \"\t}\"},\n \t{line: \"}\"},\n-\t{line: \"func TestCaptureVar(flag bool) func() int {\"},\n-\t{line: \"\ta := 1\", vars: []string{\"...
2021-04-13T00:53:03
nodejs/node
f49bd39cdefce968793c8891774df7a02f67b5ac
cf723015458031fc80398971a0cfa0cbc9440004
test: improve path tests Replaced deepStrictEqual with strictEqual when asserting that the path is equal to the win32 or posix equivalent, since it is a more strict check than deepStrictCheck. Also removed third argument in the check so that if there is an assertion error the properties that are different will be disp...
[ { "path": "test/parallel/test-path.js", "patch": "@@ -68,6 +68,6 @@ assert.strictEqual(path.win32.delimiter, ';');\n assert.strictEqual(path.posix.delimiter, ':');\n \n if (common.isWindows)\n- assert.deepStrictEqual(path, path.win32, 'should be win32 path module');\n+ assert.strictEqual(path, path.win32)...
2018-05-25T18:12:36
huggingface/transformers
2a004f9ff1a8f118318f0f82f64b74a2655d26d0
a3201cea1432172febfa94b60ccfa44cc764d5b8
Add loading speed test (#36671) * Update test_modeling_utils.py * Update test_modeling_utils.py * Update test_modeling_utils.py * Update test_modeling_utils.py * Update test_modeling_utils.py * Update test_modeling_utils.py * trigger CIs * Update test_modeling_utils.py * Update test_modeling_utils.py * Update...
[ { "path": "tests/utils/test_modeling_utils.py", "patch": "@@ -17,8 +17,10 @@\n import json\n import os\n import os.path\n+import subprocess\n import sys\n import tempfile\n+import textwrap\n import threading\n import unittest\n import unittest.mock as mock\n@@ -28,6 +30,7 @@\n \n import requests\n from hugg...
2025-03-13T16:07:30
vercel/next.js
2358e9c2966e2ff2838472a85aee7aeae49efb88
c5bccf4d1bb0b4be25f6398ec2d735e5c3efdea0
Rename RSC and Router headers (#42482) Removes the `_` prefix from the RSC and Router headers as nginx strips `_` prefixed headers by default. Fixes #42164 <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow t...
[ { "path": "packages/next/build/index.ts", "patch": "@@ -123,6 +123,7 @@ import { RemotePattern } from '../shared/lib/image-config'\n import { eventSwcPlugins } from '../telemetry/events/swc-plugins'\n import { normalizeAppPath } from '../shared/lib/router/utils/app-paths'\n import { AppBuildManifest } from ...
2022-11-08T00:35:32
golang/go
ef36e4fd0eec3283a43d03bc6bff7da4e5e03c06
ad44dfb0fda522df08e133d1f909bfe535c4b4be
reflect: keep pointer register results alive in callMethod When callMethod calls the underlying method, after reflectcall it gets the result registers in "Ints" slots but not in "Ptrs" slots. If the GC runs at this point, it may lose track of those pointers and free the memory they point to. To make sure the GC sees ...
[ { "path": "src/reflect/abi.go", "patch": "@@ -366,6 +366,22 @@ func (a *abiDesc) dump() {\n \tprintln(\"stackCallArgsSize\", a.stackCallArgsSize)\n \tprintln(\"retOffset\", a.retOffset)\n \tprintln(\"spill\", a.spill)\n+\tprint(\"inRegPtrs:\")\n+\tdumpPtrBitMap(a.inRegPtrs)\n+\tprintln()\n+\tprint(\"outRegP...
2021-04-14T03:41:45
huggingface/transformers
d84569387fb1f88c86fb8d82a41f20c9e207d09e
32c95bd847a0064cc20fadfe4e5dbdd8b0266cea
chore: fix typos in utils module (#36668) * chore: fix typos in utils module * chore: fix typos in utils module * chore: fix typos in utils module * chore: fix typos in utils module * chore: fix typos in utils module * chore: fix typos in utils module
[ { "path": "utils/check_config_attributes.py", "patch": "@@ -33,7 +33,7 @@\n \n SPECIAL_CASES_TO_ALLOW = {\n # 'max_position_embeddings' is not used in modeling file, but needed for eval frameworks like Huggingface's lighteval (https://github.com/huggingface/lighteval/blob/af24080ea4f16eaf1683e353042a2df...
2025-03-13T15:12:44
nodejs/node
38c938aa90a4346f0fc4e2ec77ebf180386f9ee5
8055bdbbc9badb2042e44a8e843e364f2b3f6284
doc: fix inconsistent documentation (host vs hostname) Update reference to read `hostname` instead of `host` for consistency. Also update function signature to use `hostname` rather than `host` PR-URL: https://github.com/nodejs/node/pull/20933 Refs: https://github.com/nodejs/node/issues/20892 Reviewed-By: Tobias Nie...
[ { "path": "doc/api/deprecations.md", "patch": "@@ -1061,7 +1061,7 @@ deprecated and support will be removed in the future.\n [`tls.SecureContext`]: tls.html#tls_tls_createsecurecontext_options\n [`tls.SecurePair`]: tls.html#tls_class_securepair\n [`tls.TLSSocket`]: tls.html#tls_class_tls_tlssocket\n-[`tls.c...
2018-05-24T11:14:27