repo
stringclasses
15 values
fix_commit
stringlengths
40
40
buggy_commit
stringlengths
40
40
message
stringlengths
3
64.3k
files
listlengths
1
300
timestamp
timestamp[s]date
2013-03-13 20:45:00
2026-04-11 07:48:46
huggingface/transformers
47e5432805611145f41908946838eb474903db76
2b8a15cc3f1a0c94cf817a8fd8c87bca28737e09
Deprecate #36741 and map Causal to Conditional (#36917) * deprecate the prev fix * reword warning and update docs * reword warning * tests * dont bloat `get_text_config()`
[ { "path": "docs/source/en/model_doc/gemma3.md", "patch": "@@ -204,7 +204,7 @@ visualizer(\"<img>What is shown in this image?\")\n + do_pan_and_scan=True,\n ).to(\"cuda\")\n ```\n-- For text-only inputs, use [`AutoModelForCausalLM`] instead to skip loading the vision components and save res...
2025-03-25T08:13:56
vercel/next.js
71a8c73d5d9e8940552742cbb7a4d58c54b42666
e6a7d7879e5bfb7c22d70feb2c76410f1c549574
feat(jest): respect `transpilePackages` in tests (#42987) fixes #42964 ## 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 fea...
[ { "path": "packages/next/build/jest/jest.ts", "patch": "@@ -95,6 +95,9 @@ export default function nextJest(options: { dir?: string } = {}) {\n await lockfilePatchPromise.cur\n }\n \n+ const transpiled = (\n+ nextConfig?.experimental?.transpilePackages ?? []\n+ ).join('|')\n ...
2022-11-16T19:55:06
golang/go
ecfce58965da6017e02f5fc5c03eda52fc41c8d6
b6ff3c69d5fdf933f5265f95ae4bb12eaecc792f
runtime: skip work recheck for non-spinning Ms When an M transitions from spinning to non-spinning state, it must recheck most sources of work to avoid missing work submitted between its initial check and decrementing sched.nmspinning (see "delicate dance" comment). Ever since the scheduler rewrite in Go 1.1 (golang....
[ { "path": "src/runtime/proc.go", "patch": "@@ -2841,44 +2841,46 @@ top:\n \t\tif int32(atomic.Xadd(&sched.nmspinning, -1)) < 0 {\n \t\t\tthrow(\"findrunnable: negative nmspinning\")\n \t\t}\n-\t}\n \n-\t// Check all runqueues once again.\n-\t_p_ = checkRunqsNoP(allpSnapshot, idlepMaskSnapshot)\n-\tif _p_ !=...
2021-04-07T16:01:44
rust-lang/rust
7db3d21a8a67fab94e3c5ece32b6a338077ce052
d1108a7305841deb443ed3711b1f2b36e95e13b1
When changing the config, do not emit an error if a field is missing
[ { "path": "src/tools/rust-analyzer/crates/rust-analyzer/src/config.rs", "patch": "@@ -921,10 +921,10 @@ impl Config {\n tracing::info!(\"updating config from JSON: {:#}\", json);\n \n if !(json.is_null() || json.as_object().is_some_and(|it| it.is_empty())) {\n- let mut...
2025-04-20T19:45:25
electron/electron
e8de51a8dd6e6c8f89dfba8c5f4f80fc63f3e5b2
c4935acbb1d236066f17cfba867cdd49d8e3f202
Destroy ResourceContext on the IO thread This matches content_shell and fixes a debug assertion (and maybe even a crash).
[ { "path": "brightray/browser/browser_context.cc", "patch": "@@ -89,6 +89,9 @@ void BrowserContext::Initialize() {\n }\n \n BrowserContext::~BrowserContext() {\n+ content::BrowserThread::DeleteSoon(content::BrowserThread::IO,\n+ FROM_HERE,\n+ ...
2014-01-30T14:03:00
nodejs/node
06cab45b2c2121af527b7e305f0176114da741d1
0fb290a3472c92bff5635405e65432643bcca30e
2018-06-12, Version 10.4.1 (Current) Notable changes: * **Fixes memory exhaustion DoS** (CVE-2018-7164): Fixes a bug introduced in 9.7.0 that increases the memory consumed when reading from the network into JavaScript using the net.Socket object directly as a stream. * **http2** * (CVE-2018-7161): Fixes Den...
[ { "path": "CHANGELOG.md", "patch": "@@ -33,7 +33,8 @@ release.\n </tr>\n <tr>\n <td valign=\"top\">\n-<b><a href=\"doc/changelogs/CHANGELOG_V10.md#10.4.0\">10.4.0</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V10.md#10.4.1\">10.4.1</a></b><br/>\n+<a href=\"doc/changelogs/CHANGELOG_V10.md#10.4.0\"...
2018-06-12T10:30:54
huggingface/transformers
91455c182542f3d57adde70bfac9a24fe7a0dc0e
48385aa4f4ccb6983d3c2beabca45e54a4c514d2
Fix processor kwargs qwen2 vl (#36890) * Fix qwen2_vl and qwen2_5_vl processors cutom images kwargs * change version warning
[ { "path": "src/transformers/models/auto/image_processing_auto.py", "patch": "@@ -493,15 +493,15 @@ def from_pretrained(cls, pretrained_model_name_or_path, *inputs, **kwargs):\n image_processor_auto_map = config.auto_map[\"AutoImageProcessor\"]\n \n image_processor_class = None\n- ...
2025-03-24T17:19:26
vercel/next.js
16e27669da1f1e66ad2af1cf0061cac178a15e38
3c8bf5cb332dfeae2cfdfb128477745d67427956
fix HMR for RSC benchmarking (vercel/turbo#2698) measure hmr_to_commit with detector component add Next.js 13 to benchmarks with RSC and RCC measurements this tests RSC HMR make HMR warmup faster make browser launch lazy test benchmarks for other bundlers on CI too # Conflicts: # .github/workflows/t...
[ { "path": "packages/next-swc/crates/next-dev/benches/bundlers/mod.rs", "patch": "@@ -16,6 +16,20 @@ mod turbopack;\n mod vite;\n mod webpack;\n \n+#[derive(Debug, Clone, Copy)]\n+pub enum RenderType {\n+ /// App is completely rendered on client side, the initial HTML is empty.\n+ ClientSideRendered,\n...
2022-11-16T17:59:09
rust-lang/rust
cf13785636c924ba13ce3f2ae51f5ffe5057b007
4e8eea696d8a1777b2f0eed7c58323c478b91b39
ci: Fix release-plz configuration
[ { "path": "library/compiler-builtins/.release-plz.toml", "patch": "@@ -1,10 +1,12 @@\n-[[package]]\n-name = \"compiler_builtins\"\n-semver_check = false\n+[workspace]\n # As part of the release process, we delete `libm/Cargo.toml`. Since\n # this is only run in CI, we shouldn't need to worry about it.\n all...
2025-04-20T18:39:53
golang/go
9c1b769d5fdd419bbaf416bc51981f0ba2af0831
537cde0b4b411f1dc3016cac430b9494cf91caf0
cmd/go: add a source file in the multiple-paths module in TestScript/mod_tidy_replace This situation is analogous to CL 309334: the test expects 'go mod tidy' to fail due to a module used for more than one path in the build list, but doesn't actually contain any packages or imports — so no module is necessarily used a...
[ { "path": "src/cmd/go/testdata/script/mod_tidy_replace.txt", "patch": "@@ -136,3 +136,10 @@ require (\n )\n \n replace not-rsc.io/quote/v3 => rsc.io/quote/v3 v3.0.0\n+-- multiple-paths/use.go --\n+package quoter\n+\n+import (\n+\t_ \"not-rsc.io/quote/v3\"\n+\t_ \"rsc.io/quote/v3\"\n+)", "additions": 7, ...
2021-04-16T21:06:02
electron/electron
c4935acbb1d236066f17cfba867cdd49d8e3f202
dcaaeacfe385b3fce0c7a37413b19cc98feea5ab
Fix debug assertions about transport_security_state This code was added to content_shell in https://chromiumcodereview.appspot.com/16501002 and we never picked it up.
[ { "path": "brightray/browser/url_request_context_getter.cc", "patch": "@@ -98,6 +98,7 @@ net::URLRequestContext* URLRequestContextGetter::GetURLRequestContext() {\n url_request_context_->network_delegate()));\n \n storage_->set_cert_verifier(net::CertVerifier::CreateDefault());\n+ storage...
2014-01-30T14:01:23
nodejs/node
0fb290a3472c92bff5635405e65432643bcca30e
4913bd41f126abbae887b8ea06a82abee332faea
2018-06-12, Version 9.11.2 (Maintenance) Notable changes: * **Fixes memory exhaustion DoS** (CVE-2018-7164): Fixes a bug introduced in 9.7.0 that increases the memory consumed when reading from the network into JavaScript using the net.Socket object directly as a stream. * **buffer** (CVE-2018-7167): Fixes De...
[ { "path": "CHANGELOG.md", "patch": "@@ -41,7 +41,8 @@ release.\n <a href=\"doc/changelogs/CHANGELOG_V10.md#10.0.0\">10.0.0</a><br/>\n </td>\n <td valign=\"top\">\n-<b><a href=\"doc/changelogs/CHANGELOG_V9.md#9.11.1\">9.11.1</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V9.md#9.11.2\">9.11.2</...
2018-06-12T01:16:37
huggingface/transformers
48385aa4f4ccb6983d3c2beabca45e54a4c514d2
5932606d8e3ae4529f0c59ac00a3a0bcf46a6bcb
Added support for seed in `DataCollatorForWholeWordMask` (#36903) * Added support for seed in `DataCollatorForWholeWordMask`, and also wrote tests. Also fixed bugs where the code hardcoded values for mask replacement probability and random replacement probability, instead of using the values passed by the user. * fo...
[ { "path": "src/transformers/data/data_collator.py", "patch": "@@ -1193,6 +1193,11 @@ class DataCollatorForWholeWordMask(DataCollatorForLanguageModeling):\n </Tip>\"\"\"\n \n def torch_call(self, examples: List[Union[List[int], Any, Dict[str, Any]]]) -> Dict[str, Any]:\n+ if self.seed and self...
2025-03-24T16:57:17
vercel/next.js
da2e6d76acd2c481a6f78b6ef9f7eb8f8df21dc6
ee9dd312e08c07a33c4d6993398aa89d35eaa242
fix HMR for RSC benchmarking (vercel/turbo#2698) measure hmr_to_commit with detector component add Next.js 13 to benchmarks with RSC and RCC measurements this tests RSC HMR make HMR warmup faster make browser launch lazy test benchmarks for other bundlers on CI too # Conflicts: # .github/workflows/t...
[ { "path": "crates/next-dev/benches/bundlers/mod.rs", "patch": "@@ -16,6 +16,20 @@ mod turbopack;\n mod vite;\n mod webpack;\n \n+#[derive(Debug, Clone, Copy)]\n+pub enum RenderType {\n+ /// App is completely rendered on client side, the initial HTML is empty.\n+ ClientSideRendered,\n+ /// App is in...
2022-11-16T17:59:09
golang/go
537cde0b4b411f1dc3016cac430b9494cf91caf0
d4aa72002e76c09f81a8fd82f37781f5126c9cbe
cmd/compile, runtime: add metadata for argument printing in traceback Currently, when the runtime printing a stack track (at panic, or when runtime.Stack is called), it prints the function arguments as words in memory. With a register-based calling convention, the layout of argument area of the memory changes, so the ...
[ { "path": "src/cmd/compile/internal/gc/obj.go", "patch": "@@ -257,6 +257,11 @@ func addGCLocals() {\n \t\tif x := fn.OpenCodedDeferInfo; x != nil {\n \t\t\tobjw.Global(x, int32(len(x.P)), obj.RODATA|obj.DUPOK)\n \t\t}\n+\t\tif x := fn.ArgInfo; x != nil {\n+\t\t\tobjw.Global(x, int32(len(x.P)), obj.RODATA|ob...
2021-01-15T22:58:41
electron/electron
dcaaeacfe385b3fce0c7a37413b19cc98feea5ab
37679214d193f94423f8f1231924210f3e12c24f
Fix assertions in Debug builds about using NetworkDelegate on the wrong thread We have to create it on the IO thread.
[ { "path": "brightray/browser/browser_context.cc", "patch": "@@ -106,7 +106,7 @@ net::URLRequestContextGetter* BrowserContext::CreateRequestContext(\n GetPath(),\n io_loop,\n file_loop,\n- CreateNetworkDelegate().Pass(),\n+ base::Bind(&BrowserContext::CreateNetworkDelegate, base::...
2013-08-23T12:19:37
nodejs/node
4913bd41f126abbae887b8ea06a82abee332faea
fbc68a5ceafb2f6fdb591dfbad6f7cad7cc55e0a
2018-06-12, Version 8.11.3 (LTS) Notable changes: * **buffer** (CVE-2018-7167): Fixes Denial of Service vulnerability where calling Buffer.fill() could hang * **http2** * (CVE-2018-7161): Fixes Denial of Service vulnerability by updating the http2 implementation to not crash under certain circumstan...
[ { "path": "CHANGELOG.md", "patch": "@@ -60,7 +60,8 @@ release.\n <a href=\"doc/changelogs/CHANGELOG_V9.md#9.0.0\">9.0.0</a><br/>\n </td>\n <td valign=\"top\">\n-<b><a href=\"doc/changelogs/CHANGELOG_V8.md#8.11.2\">8.11.2</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V8.md#8.11.3\">8.11.3</a><...
2018-06-11T13:40:21
huggingface/transformers
5932606d8e3ae4529f0c59ac00a3a0bcf46a6bcb
2be298446207e7b08b679d007bbbc8ea1057f3b4
More precise comment (#36935) * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".github/workflows/change_pr_to_draft.yml", "patch": "@@ -22,4 +22,4 @@ jobs:\n run: |\n echo $PR_NUMBER\n gh pr ready $PR_NUMBER --repo $REPO --undo\n- gh pr comment $PR_NUMBER --repo $REPO --body \"Hi 👋, thank you for opening this pull request! The pull requ...
2025-03-24T16:03:09
rust-lang/rust
3f0d07565340a162ad581b7b55d7d432d4d49fe0
b2974ac9c17cec22c3f4ac93c7ab4218c9cf10c0
doc: Fix dead manual links
[ { "path": "src/tools/rust-analyzer/.github/ISSUE_TEMPLATE/bug_report.md", "patch": "@@ -8,7 +8,7 @@ assignees: ''\n ---\n \n <!--\n-Troubleshooting guide: https://rust-analyzer.github.io/manual.html#troubleshooting\n+Troubleshooting guide: https://rust-analyzer.github.io/book/troubleshooting.html\n Forum fo...
2025-04-20T16:45:44
vercel/next.js
7e2173c092e4fde45030f1d57c8ee679005e5afe
6225f75a065d5c7c8df39b29e0390d767386b44f
use iterations feature from criterion (vercel/turbo#2708) * use iterations feature from criterion move startup, warmup and teardown out of the iteration loop to avoid tracking this time as elapsed time this allows criterion to use the measurement time correctly for the measured task prefer slope over mean when ...
[ { "path": "packages/next-swc/crates/next-dev/Cargo.toml", "patch": "@@ -60,6 +60,7 @@ criterion = { version = \"0.3.5\", features = [\"async_tokio\"] }\n fs_extra = \"1.2.0\"\n lazy_static = \"1.4.0\"\n once_cell = \"1.13.0\"\n+parking_lot = \"0.12.1\"\n regex = \"1.6.0\"\n tempfile = \"3.3.0\"\n test-gener...
2022-11-16T14:45:11
golang/go
d4aa72002e76c09f81a8fd82f37781f5126c9cbe
e8666abd9884f6743f78229ed210bf12a35e7368
cmd/asm: fix RLDCR const1,reg,const2,reg on ppc64 The extended opcode field (XO) is generated incorrectly. OPVCC assumes an X-form like layout for the XO field. MD-form insns also have an XO field, but it is both smaller and in a different bit position. This hasn't been noticed since const1 == 0 matches as a register...
[ { "path": "src/cmd/asm/internal/asm/testdata/ppc64.s", "patch": "@@ -318,6 +318,8 @@ TEXT asmtest(SB),DUPOK|NOSPLIT,$0\n \tRLDICCC $0, R4, $15, R6 // 788603c9\n \tCLRLSLWI $16, R5, $8, R4 // 54a4422e\n \tCLRLSLDI $24, R4, $2, R3 // 78831588\n+\tRLDCR\t$1, R1, $-16, R1 // 78210ee...
2021-04-16T20:15:17
electron/electron
d63de1ae15a1d5918a75432f7566377e05583395
5250871e69e6acca568ccfae893d538a7c32eb9b
Wrap callbacks with v8::Locker. In browser process, because of the use of v8::Locker in ProxyResolverV8, creating HandleScope requires entering locker first, so in browser process we should just use v8::Locker whenever we need to use V8 in a callback called from non-V8 places (like dialog's callback, work pushed to Me...
[ { "path": "browser/api/atom_api_dialog.cc", "patch": "@@ -19,7 +19,9 @@ namespace {\n \n template<typename T>\n void CallV8Function(const RefCountedV8Function& callback, T arg) {\n+ v8::Locker locker(node_isolate);\n v8::HandleScope handle_scope(node_isolate);\n+\n v8::Handle<v8::Value> value = ToV8Val...
2014-01-27T07:14:11
huggingface/transformers
2be298446207e7b08b679d007bbbc8ea1057f3b4
00d077267a7add6a068b1ed9393b31b9e46e4ed3
Fix pytorch defomr attn path (#36923) * Fix pytorch path for DeformableAttention * Apply for GroundingDino
[ { "path": "src/transformers/models/deformable_detr/modeling_deformable_detr.py", "patch": "@@ -70,10 +70,10 @@ def forward(\n ):\n batch_size, _, num_heads, hidden_dim = value.shape\n _, num_queries, num_heads, num_levels, num_points, _ = sampling_locations.shape\n- value_list = v...
2025-03-24T15:58:51
nodejs/node
fbc68a5ceafb2f6fdb591dfbad6f7cad7cc55e0a
31d5bdea70e44802918d6f4aa7c378bc1992be54
2018-06-12, Version 6.14.3 (LTS) Notable changes: * **buffer** (CVE-2018-7167): Fixes Denial of Service vulnerability where calling Buffer.fill() could hang PR-URL: https://github.com/nodejs-private/node-private/pull/134
[ { "path": "CHANGELOG.md", "patch": "@@ -86,7 +86,8 @@ release.\n <a href=\"doc/changelogs/CHANGELOG_V8.md#8.0.0\">8.0.0</a><br/>\n </td>\n <td valign=\"top\">\n-<b><a href=\"doc/changelogs/CHANGELOG_V6.md#6.14.2\">6.14.2</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V6.md#6.14.3\">6.14.3</a></b...
2018-06-11T23:35:05
vercel/next.js
192e3dbdafd9285cf682122b900dab0c6f749a64
caed824b661809560fc55bf859e90bbd58c6c5f0
use iterations feature from criterion (vercel/turbo#2708) * use iterations feature from criterion move startup, warmup and teardown out of the iteration loop to avoid tracking this time as elapsed time this allows criterion to use the measurement time correctly for the measured task prefer slope over mean when ...
[ { "path": "crates/next-dev/Cargo.toml", "patch": "@@ -60,6 +60,7 @@ criterion = { version = \"0.3.5\", features = [\"async_tokio\"] }\n fs_extra = \"1.2.0\"\n lazy_static = \"1.4.0\"\n once_cell = \"1.13.0\"\n+parking_lot = \"0.12.1\"\n regex = \"1.6.0\"\n tempfile = \"3.3.0\"\n test-generator = \"0.3.0\"",...
2022-11-16T14:45:11
golang/go
e8666abd9884f6743f78229ed210bf12a35e7368
d3853fb4e6ee2b9f873ab2e41adc0e62a82e73e4
cmd/compile: keep call's args in elim dead auto pass If the address of an auto is used in a Call, we need to keep it, as we keep the Call itself. Fixes #45693. Change-Id: Ie548d6dffc95bf916868a8885d4ab4cf9e86355a Reviewed-on: https://go-review.googlesource.com/c/go/+/312670 Trust: Cherry Zhang <cherryyz@google.com> ...
[ { "path": "src/cmd/compile/internal/ssa/deadstore.go", "patch": "@@ -201,8 +201,9 @@ func elimDeadAutosGeneric(f *Func) {\n \t\t\tpanic(\"unhandled op with sym effect\")\n \t\t}\n \n-\t\tif v.Uses == 0 && v.Op != OpNilCheck || len(args) == 0 {\n+\t\tif v.Uses == 0 && v.Op != OpNilCheck && !v.Op.IsCall() && ...
2021-04-22T15:36:29
electron/electron
d4e362ec890b7a8acd77032415d789558551d780
df399f7c8c6350ae91eb0055d37b90eaebea0353
Add error and update-not-available events for auto updater.
[ { "path": "browser/api/atom_api_auto_updater.cc", "patch": "@@ -24,6 +24,16 @@ AutoUpdater::~AutoUpdater() {\n auto_updater::AutoUpdater::SetDelegate(NULL);\n }\n \n+void AutoUpdater::OnError(const std::string& error) {\n+ base::ListValue args;\n+ args.AppendString(error);\n+ Emit(\"error\", &args);\n+...
2014-01-21T14:50:46
nodejs/node
31d5bdea70e44802918d6f4aa7c378bc1992be54
b766af9ab97141bd2aa16a8b74e36c9526494a3d
doc: fix reference to workerData in worker_threads This was previously incorrect. PR-URL: https://github.com/nodejs/node/pull/21180 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Minwoo Jung <minwoo@nodesource.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Colin Ihrig <cjihrig...
[ { "path": "doc/api/worker_threads.md", "patch": "@@ -312,7 +312,7 @@ if (isMainThread) {\n * `options` {Object}\n * `eval` {boolean} If true, interpret the first argument to the constructor\n as a script that is executed once the worker is online.\n- * `data` {any} Any JavaScript value that will be c...
2018-06-06T21:42:02
huggingface/transformers
cbf924b76c03828101a34069a96d209314114fd5
340500b1a9380c685b7a9c5721befcd7da5dbfd6
Fix typos (#36910) * fix typos * fix typos * fix typos * fix typos
[ { "path": "docs/source/de/quicktour.md", "patch": "@@ -156,7 +156,7 @@ Die [`pipeline`] kann jedes Modell aus dem [Model Hub](https://huggingface.co/mo\n \n <frameworkcontent>\n <pt>\n-Use the [`AutoModelForSequenceClassification`] and [`AutoTokenizer`] to load the pretrained model and it's associated token...
2025-03-24T14:08:29
rust-lang/rust
71a0f6180b75730ec83ab562a6b11612da762122
824d33dc7c8de13eb929fd855be9de46871acbc7
doc: Rework generated configuration to have anchors Also first line of default code blocks being used as the language instead of json and fixes a missing `json` language in a doc comment code block.
[ { "path": "src/tools/rust-analyzer/crates/rust-analyzer/src/config.rs", "patch": "@@ -426,7 +426,7 @@ config_data! {\n ///\n /// Similarly, the JSON representation of `DiscoverArgument::Buildfile` is:\n ///\n- /// ```\n+ /// ```json\n /// {\n /// \"b...
2025-04-20T14:22:50
golang/go
d5b2d809b09b5a7404ad334a5e56b2210a06254c
b2a032add8e46ca03af0b2c1c72052b75e056101
cmd/link: emit LC_BUILD_VERSION on Mach-O LC_VERSION_MIN_MACOSX seems deprecated. Emit LC_BUILD_VERSION instead. Also emit it on darwin/arm64, where it was not emitted before. Fixes #45091. Change-Id: I18fb80d571f681da3bd258e53beb520e68f354bd Reviewed-on: https://go-review.googlesource.com/c/go/+/312550 Trust: Cherr...
[ { "path": "src/cmd/link/internal/ld/macho.go", "patch": "@@ -472,24 +472,20 @@ func (ctxt *Link) domacho() {\n \t\tif buildcfg.GOOS == \"ios\" {\n \t\t\tmachoPlatform = PLATFORM_IOS\n \t\t}\n-\t\tswitch ctxt.Arch.Family {\n-\t\tdefault:\n-\t\t\tif ctxt.LinkMode == LinkInternal {\n-\t\t\t\t// For lldb, must ...
2021-04-21T23:12:38
huggingface/transformers
340500b1a9380c685b7a9c5721befcd7da5dbfd6
9e125d9a2e696967b4d401dbfea24a4d40058017
Use another repo. for Mistral3 processor testing (#36925) * fix * fix * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/mistral3/test_modeling_mistral3.py", "patch": "@@ -25,6 +25,7 @@\n from transformers.testing_utils import (\n cleanup,\n require_bitsandbytes,\n+ require_read_token,\n require_torch,\n require_torch_gpu,\n slow,\n@@ -315,6 +316,7 @@ def setUp(self):\n def t...
2025-03-24T13:36:05
nodejs/node
43fd1d793af09aea3789f0e2af88d7f189d696a1
cea10baa221e7ed3c5408d526dcec4fb7a6e99fa
src: reset TTY mode before cleaning up resources Otherwise, closing all handles associated with the main event loop would also mean that `uv_tty_reset_mode()` can’t function properly because the corresponding FDs have already been closed. Fixes: https://github.com/nodejs/node/issues/21020 PR-URL: https://github.com/n...
[ { "path": "src/node.cc", "patch": "@@ -4180,6 +4180,7 @@ inline int Start(Isolate* isolate, IsolateData* isolate_data,\n \n env.set_can_call_into_js(false);\n env.stop_sub_worker_contexts();\n+ uv_tty_reset_mode();\n env.RunCleanup();\n RunAtExit(&env);\n ", "additions": 1, "deletions": 0, ...
2018-05-30T09:18:43
vercel/next.js
5e11f527eb44e4d8ae72c55d3314b1d9626d9f1a
0f724a67feb3e80a5cbacbe152d170f73db432fe
test(integration): update test fixture (#42966) <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change that you're making: --> **I'm not sure ...
[ { "path": "test/integration/typescript-app-type-declarations/next-env.d.ts", "patch": "@@ -1,5 +1,4 @@\n /// <reference types=\"next\" />\n-/// <reference types=\"next/types/global\" />\n /// <reference types=\"next/image-types/global\" />\n \n // NOTE: This file should not be edited", "additions": 0, ...
2022-11-16T00:05:55
huggingface/transformers
9e125d9a2e696967b4d401dbfea24a4d40058017
57f551c78d681a5441d0f1f04e9a69d4984e8990
Fix Compressed tensors to_dict_diff (#36922) fix
[ { "path": "src/transformers/utils/quantization_config.py", "patch": "@@ -1360,7 +1360,7 @@ def to_diff_dict(self) -> Dict[str, Any]:\n \n # only serialize values that differ from the default config\n for key, value in config_dict.items():\n- if value != default_config_dict[key]:\n...
2025-03-24T12:06:33
golang/go
a4f3ff22056646a563fbde663ff56fce33b7773f
14a18b7d2538232c6cd6937297c421d5f6b7d92f
cmd/go: update TestScript/mod_convert Fixes #45659 Change-Id: Ie7e07c9acfc500222c244464fbebfcc8e5b14c64 Reviewed-on: https://go-review.googlesource.com/c/go/+/312629 Reviewed-by: Bryan C. Mills <bcmills@google.com> Run-TryBot: Bryan C. Mills <bcmills@google.com> Trust: Dmitri Shuralyov <dmitshur@golang.org>
[ { "path": "src/cmd/go/testdata/script/mod_convert.txt", "patch": "@@ -1,4 +1,6 @@\n [short] skip\n+[!net] skip\n+[!exec:git] skip\n \n env GO111MODULE=on\n env GOPROXY=", "additions": 2, "deletions": 0, "language": "Plain Text" } ]
2021-04-22T07:26:20
nodejs/node
7169181a0dfed8794047f6089e696adb31b1a65a
083139d440f9e06e7d1f0eff331886117b5165a8
src: fix http2 typos PR-URL: https://github.com/nodejs/node/pull/21194 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
[ { "path": "src/node_http2.cc", "patch": "@@ -521,7 +521,7 @@ void Http2Stream::EmitStatistics() {\n Http2StreamPerformanceEntry* entry =\n new Http2StreamPerformanceEntry(env(), id_, statistics_);\n env()->SetImmediate([](Environment* env, void* data) {\n- // This takes ownership, the entr is des...
2018-06-06T13:12:39
vercel/next.js
0f724a67feb3e80a5cbacbe152d170f73db432fe
47c101966672eb3bbbd41c36e4403650a99dce51
Update deployment used for e2e test (#42969) This deployment is no longer available so this replaces it with a fresh one. Fixes: https://github.com/vercel/next.js/actions/runs/3473226521/jobs/5807106060 Fixes: https://github.com/vercel/next.js/actions/runs/3473226521/jobs/5807102445
[ { "path": "test/e2e/app-dir/app/app/very-large-data-fetch/page.js", "patch": "@@ -1,6 +1,6 @@\n export default async function Home() {\n const res = await fetch(\n- `https://data-api-endpoint-nmw78dd69-ijjk-testing.vercel.app/api/data?amount=128000`\n+ `https://next-data-api-endpoint.vercel.app/api/...
2022-11-15T23:04:58
huggingface/transformers
57f551c78d681a5441d0f1f04e9a69d4984e8990
a41e08aa19b43d4b20ed71747b074b28b547562c
[chameleon] fix num image token check (#36918) * [chameleon] fix num image token check * embed after merging image token * skip this also * mistral require_read_token
[ { "path": "src/transformers/models/chameleon/modeling_chameleon.py", "patch": "@@ -1289,13 +1289,10 @@ def forward(\n \"You cannot specify both pixel_values and inputs_embeds at the same time, and must specify either one\"\n )\n \n- if inputs_embeds is None:\n- ...
2025-03-24T11:36:08
electron/electron
71fd147c47924d6b6ba5090b359618f798f617ed
c271d8967747c8201d8be9adec58bb80e6c5e101
Fix gyp error on CI.
[ { "path": "common.gypi", "patch": "@@ -207,5 +207,14 @@\n },\n },\n }], # OS==\"win\"\n+ # The breakdpad on Mac assumes Release_Base configuration.\n+ ['OS==\"mac\"', {\n+ 'target_defaults': {\n+ 'configurations': {\n+ 'Release_Base': {\n+ },\n+ ...
2014-01-21T12:34:35
nodejs/node
083139d440f9e06e7d1f0eff331886117b5165a8
f86a181d471099417828ffd787aa6b3e0356ac36
http2: safer Http2Session destructor It's hypothetically (and with certain V8 flags) possible for the session to be garbage collected before all the streams are. In that case, trying to remove the stream from the session will lead to a segfault due to attempting to access no longer valid memory. Fix this by unsetting ...
[ { "path": "src/node_http2.cc", "patch": "@@ -499,6 +499,8 @@ Http2Session::Http2Session(Environment* env,\n Http2Session::~Http2Session() {\n CHECK_EQ(flags_ & SESSION_STATE_HAS_SCOPE, 0);\n Debug(this, \"freeing nghttp2 session\");\n+ for (const auto& stream : streams_)\n+ stream.second->session_ =...
2018-06-06T00:34:47
vercel/next.js
9a3386454b9ee10c887b19c9b5fa90762d45b899
91ef3303c3c4aa487a5fc1cb0e95876329108f48
Fix build-wasm-dev docs skip (#42961) Fixes: https://github.com/vercel/next.js/actions/runs/3473074412/jobs/5804720931
[ { "path": ".github/workflows/build_test_deploy.yml", "patch": "@@ -1031,6 +1031,7 @@ jobs:\n turbo-${{ github.job }}-canary-${{ steps.get-week.outputs.WEEK }}-\n \n - name: normalize versions\n+ if: ${{ steps.docs-change.outputs.DOCS_CHANGE == 'nope' }}\n run: node scripts/n...
2022-11-15T18:41:49
huggingface/transformers
a41e08aa19b43d4b20ed71747b074b28b547562c
e28be7a6923bc471e3b1cd5f3e664d8f4ea37d9a
tests: fix asyncio.wait() usage for python>=3.11 (#36898) tests: fix asyncio.wait() usage for python>=3.7 Passing coroutings directly to `asyncio.wait()` is deprecated since python 3.8 and removed starting from python 3.11. Instead, it's required to explicitly wrap coroutine in the task with `asyncio.create_task()` w...
[ { "path": "src/transformers/testing_utils.py", "patch": "@@ -2367,8 +2367,8 @@ def tee(line, sink, pipe, label=\"\"):\n # XXX: the timeout doesn't seem to make any difference here\n await asyncio.wait(\n [\n- _read_stream(p.stdout, lambda l: tee(l, out, sys.stdout, label=\"stdout:...
2025-03-24T10:53:59
golang/go
a71528ad317bdeeac515dcd3d35d7adad5ebc7c3
ece59353645d250162e47c792da77cbb44a84f01
cmd/compile/internal/types2: review fixedbugs tests These tests match the corresponding tests for go/types which have been reviewed. This CL simply removes the UNREVIEWED disclaimer. Change-Id: I4dfe2aedc1341ebb9ba206aac1a072f32cbe1f78 Reviewed-on: https://go-review.googlesource.com/c/go/+/312569 Trust: Robert Griese...
[ { "path": "src/cmd/compile/internal/types2/fixedbugs/issue39634.go2", "patch": "@@ -1,4 +1,3 @@\n-// UNREVIEWED\n // Copyright 2020 The Go Authors. All rights reserved.\n // Use of this source code is governed by a BSD-style\n // license that can be found in the LICENSE file.", "additions": 0, "dele...
2021-04-22T00:26:25
nodejs/node
f86a181d471099417828ffd787aa6b3e0356ac36
4d91d0164d9eff466b4d3b63ecbd50944b5cedfa
test: add crypto check to test-http2-debug This commit adds a crypto check to test-http2-debug.js as it currently will error if configured --without-ssl. The issue here is that the while the test spawns a child process that runs test-http2-ping.js, which does have a crypto check, it will just print '1..0 # Skipped: m...
[ { "path": "test/parallel/test-http2-debug.js", "patch": "@@ -1,5 +1,7 @@\n 'use strict';\n-require('../common');\n+const common = require('../common');\n+if (!common.hasCrypto)\n+ common.skip('missing crypto');\n const assert = require('assert');\n const child_process = require('child_process');\n const pa...
2018-06-08T05:13:55
vercel/next.js
91ef3303c3c4aa487a5fc1cb0e95876329108f48
fbf6bfa04f46f521a833279814caba9446678436
Fix cache collision for swc darwin (#42960) Ensures we have the actual target passed into turbo for all builds so it's considered for the cache key. Fixes: https://github.com/vercel/next.js/actions/runs/3472341903/jobs/5803170296
[ { "path": ".github/workflows/build_test_deploy.yml", "patch": "@@ -1156,12 +1156,12 @@ jobs:\n target: 'x86_64-apple-darwin'\n build: |\n npm i -g \"@napi-rs/cli@${NAPI_CLI_VERSION}\" \"turbo@${TURBO_VERSION}\" && if [ ! -f $(dirname $(which yarn))/pnpm ]; then ln -s $(...
2022-11-15T18:33:03
huggingface/transformers
e28be7a6923bc471e3b1cd5f3e664d8f4ea37d9a
48da44be244e248700802fe7a252cc5b046339b9
[Fix] Add `original_max_position_embeddings` to YARN rope_scaling optional keys (#36877) [fix] Update optional keys in _validate_yarn_parameters to include original_max_position_embeddings
[ { "path": "src/transformers/modeling_rope_utils.py", "patch": "@@ -425,7 +425,7 @@ def _validate_yarn_parameters(config: PretrainedConfig, ignore_keys: Optional[se\n rope_scaling = config.rope_scaling\n rope_type = rope_scaling.get(\"rope_type\", rope_scaling.get(\"type\", None)) # BC: \"rope_type\...
2025-03-24T10:05:19
electron/electron
c271d8967747c8201d8be9adec58bb80e6c5e101
1d7445c5aa97511002c6a8e956acf1be6d5e2ff1
Fix cpplint warnings.
[ { "path": "script/cpplint.py", "patch": "@@ -10,9 +10,9 @@\n 'browser/atom_application_mac.h',\n 'browser/atom_application_delegate_mac.h',\n 'browser/native_window_mac.h',\n- 'browser/ui/atom_event_processing_window.h',\n- 'browser/ui/atom_menu_controller_mac.h',\n- 'browser/ui/nsalert_synchronous...
2014-01-21T12:25:01
golang/go
ece59353645d250162e47c792da77cbb44a84f01
48b368b01fa1f4f9a4380722f03b35d449a09871
cmd/compile/internal/types2: better errors for invalid short var decls - rewrite Checker.shortVarDecl core loop for clarity - match compiler error messages (#43087) - don't allow multiple identical redeclarations (#45652) For #43087. For #45652. Change-Id: I8c3329a553aa104d7853fbaea8b88049bc9b3b88 Reviewed-on: https...
[ { "path": "src/cmd/compile/internal/types2/assignments.go", "patch": "@@ -330,58 +330,78 @@ func (check *Checker) shortVarDecl(pos syntax.Pos, lhs, rhs []syntax.Expr) {\n \tscope := check.scope\n \n \t// collect lhs variables\n-\tvar newVars []*Var\n-\tvar lhsVars = make([]*Var, len(lhs))\n+\tseen := make(m...
2021-04-20T23:18:59
huggingface/transformers
48da44be244e248700802fe7a252cc5b046339b9
fe4ca2f4a7c6715f78cf081244bac0a291c38254
Fix torch version guard at import (#36907) fix
[ { "path": "src/transformers/cache_utils.py", "patch": "@@ -585,7 +585,7 @@ def _flatten_dynamic_cache_for_fx(cache, spec):\n return torch.utils._pytree.tree_flatten(dictionary)[0]\n \n \n-if is_torch_greater_or_equal(\"2.2\"):\n+if is_torch_greater_or_equal(\"2.3\"):\n torch.utils._pytree.register_p...
2025-03-24T09:33:33
vercel/next.js
a0e51781e81ec51bd86623e623041eaa3947366a
0f8b3d6c8b9a996d812245e6a901940b916444d5
fix: Error: NEXT_REDIRECT crashing server in prod (#42793) Fixes: #42587 ## 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 requ...
[ { "path": "packages/next/server/app-render.tsx", "patch": "@@ -59,6 +59,24 @@ function preloadComponent(Component: any, props: any) {\n }\n try {\n let result = Component(props)\n+ if (result && result.then) {\n+ result = result\n+ .then((res: any) => {\n+ return { success: r...
2022-11-15T13:46:55
nodejs/node
4d91d0164d9eff466b4d3b63ecbd50944b5cedfa
928805bb22bb46ebf41c7c1890a6d7bda65ba7db
http: remove a pair of outdated comments Fixes: https://github.com/nodejs/node/issues/21202 PR-URL: https://github.com/nodejs/node/pull/21214 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Anna Henning...
[ { "path": "lib/_http_common.js", "patch": "@@ -109,8 +109,6 @@ function parserOnHeadersComplete(versionMajor, versionMinor, headers, method,\n return parser.onIncoming(incoming, shouldKeepAlive);\n }\n \n-// XXX This is a mess.\n-// TODO: http.Parser should be a Writable emits request/response events.\n f...
2018-06-08T14:49:26
electron/electron
7cf040e7ca6e628d188bc76f89e1aaf8ab080734
a6c92f20c8ef08b187dcf1b40cf0389966dbbeb3
I don't think `fix_framework_link_command` is needed anymore. tool -L says Squirrel (and its dependencies) already use @rpath ``` @rpath/Squirrel.framework/Squirrel (compatibility version 1.0.0, current version 1.0.0) @rpath/ReactiveCocoa.framework/ReactiveCocoa (compatibility version 1.0.0, current version 1.0.0) @r...
[ { "path": "atom.gyp", "patch": "@@ -198,14 +198,6 @@\n ],\n }], # OS==\"win\"\n ],\n- 'fix_framework_link_command': [\n- # TODO: I have no idea if this is needed for Squirrel\n- # 'install_name_tool',\n- # '-change',\n- # '@loader_path/../Frameworks/Sparkle.framewor...
2014-01-21T00:29:34
golang/go
48b368b01fa1f4f9a4380722f03b35d449a09871
617a83ec68b7657b0185a6b190f04460de30f31e
cmd/compile/internal/types2: avoid follow-on errors for invalid [...] array Fixes #42987. Change-Id: Iaaa46e1f79525cd1e418c1a81a6414d11f8120b5 Reviewed-on: https://go-review.googlesource.com/c/go/+/311889 Trust: Robert Griesemer <gri@golang.org> Reviewed-by: Robert Findley <rfindley@google.com>
[ { "path": "src/cmd/compile/internal/types2/api_test.go", "patch": "@@ -326,7 +326,7 @@ func TestTypesInfo(t *testing.T) {\n \t\t{brokenPkg + `x2; func _() { var a, b string; type x struct {f string}; z := &x{f: a, f: b,}}`, `b`, `string`},\n \t\t{brokenPkg + `x3; var x = panic(\"\");`, `panic`, `func(interf...
2021-04-20T17:55:59
huggingface/transformers
fe4ca2f4a7c6715f78cf081244bac0a291c38254
c9d1e5238a752813ba91a8751a638a09b5efbb73
fix Gemma3 Config (#36893) * fix Gemma3 Config * fix config in modular gemm3
[ { "path": "src/transformers/models/gemma3/configuration_gemma3.py", "patch": "@@ -19,7 +19,7 @@\n # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n # See the License for the specific language governing permissions and\n # limitations under the License.\n-from typing import Optiona...
2025-03-24T09:05:44
vercel/next.js
0e8f2412ae35ab50902ae13350e897e9a6123d4d
f2c2343ca89995b0ba60a95ab27fb5c956d552b3
feat(next/swc): allow to run custom turbopack binary (#42656) <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change that you're making: --> T...
[ { "path": "packages/next/build/swc/index.d.ts", "patch": "@@ -9,3 +9,5 @@ export function initCustomTraceSubscriber(traceFileName?: string): void\n export function teardownTraceSubscriber(): void\n export function teardownCrashReporter(): void\n export function loadBindings(): Promise<void>\n+\n+export func...
2022-11-15T05:24:31
nodejs/node
928805bb22bb46ebf41c7c1890a6d7bda65ba7db
ceaf7b30362682c2c10dd10e7dce3fe7a41fc607
test: remove string literals from assert.strictEqual() calls In test/parallel/test-intl.js, five calls to assert.strictEqual() use a third, string-literal parameter, which specifies a message to display when the assertion fails. The problem is that if the assertion fails, the error message will show the string literal...
[ { "path": "test/parallel/test-intl.js", "patch": "@@ -105,14 +105,14 @@ if (!common.hasIntl) {\n const collOpts = { sensitivity: 'base', ignorePunctuation: true };\n const coll = new Intl.Collator(['en'], collOpts);\n \n- assert.strictEqual(coll.compare('blackbird', 'black-bird'), 0,\n- ...
2018-06-08T13:13:09
electron/electron
1d7445c5aa97511002c6a8e956acf1be6d5e2ff1
4a1f8cf1c9e5267d557e784d8954a51f47d4dadd
Fix uv loop hack on child_process.
[ { "path": "common/lib/init.coffee", "patch": "@@ -19,10 +19,3 @@ wrapWithActivateUvLoop = (func) ->\n process.nextTick = wrapWithActivateUvLoop process.nextTick\n global.setImmediate = wrapWithActivateUvLoop timers.setImmediate\n global.clearImmediate = timers.clearImmediate\n-\n-# The child_process module ...
2014-01-18T09:01:30
rust-lang/rust
fbca453d7dcf55cd57baf1a01dd45e3c21086dd5
40058519bae2c4921e5a1cf5db42c0e9861b156f
Fix compiletest and doc comment
[ { "path": "src/build_helper/src/git.rs", "patch": "@@ -57,7 +57,7 @@ pub enum PathFreshness {\n /// whose modifications would invalidate the artifact.\n /// Each pathspec can also be a negative match, i.e. `:!foo`. This matches changes outside\n /// the `foo` directory.\n-/// See https://git-scm.com/docs/gi...
2025-04-17T07:57:09
huggingface/transformers
d253de6d584a24731a8ebd33bd69382110ca01e1
beb9b5b02246b9b7ee81ddf938f93f44cfeaad19
[docs] Model docs (#36469) * initial * fix * fix * update * fix * fixes * quantization * attention mask visualizer * multimodal * small changes * fix code samples
[ { "path": "docs/source/en/model_doc/bert.md", "patch": "@@ -14,159 +14,85 @@ rendered properly in your Markdown viewer.\n \n -->\n \n-# BERT\n-\n-<div class=\"flex flex-wrap space-x-1\">\n-<img alt=\"PyTorch\" src=\"https://img.shields.io/badge/PyTorch-DE3412?style=flat&logo=pytorch&logoColor=white\">\n-<im...
2025-03-21T22:35:22
golang/go
5daefc5363080acd631ae97a84faf651a70d9888
0636d88f6d79827e0acdc8e53b8f249652061d2d
cmd/internal/obj/arm64: fix the wrong ROR operator of some instructions Instructions such as ADD, SUB, CMP do not support ROR shift operations, but we have not checked this at present. This CL adds this check. Change-Id: Icac461f61ad6ddb60886a59ba34dddd29df1cc0f Reviewed-on: https://go-review.googlesource.com/c/go/+/...
[ { "path": "src/cmd/asm/internal/asm/testdata/arm64error.s", "patch": "@@ -32,6 +32,24 @@ TEXT errors(SB),$0\n \tANDS\t$0x22220000, R2, RSP // ERROR \"illegal combination\"\n \tADD\tR1, R2, R3, R4 // ERROR \"illegal combination\"\n \tBICW\tR7@>33,...
2021-04-15T03:27:55
vercel/next.js
f2c2343ca89995b0ba60a95ab27fb5c956d552b3
8b4d9e652e435c1cf8864ebde587c60f615b83e1
Ensure query is provided correctly with middleware rewrites (#42818) x-ref: [slack thread](https://vercel.slack.com/archives/C035J346QQL/p1668195556550659) Fixes: https://github.com/vercel/next.js/issues/42463 ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors...
[ { "path": "packages/next/shared/lib/router/router.ts", "patch": "@@ -1415,6 +1415,16 @@ export default class Router implements BaseRouter {\n ? removeTrailingSlash(removeBasePath(pathname))\n : pathname\n \n+ let route = removeTrailingSlash(pathname)\n+ const parsedAsPathname = as.startsWi...
2022-11-15T04:30:23
nodejs/node
045472528cfd340f20e8ea6b973eaaaf9b2dc40d
ff16545f609bf7833cd5c6cf10dd3993d1a849f0
deps,npm: float node-gyp patch on npm This small change makes addon test build successfully with LLVM 10.0.0 and above. This will be fixed in npm source when node-gyp is updated to 3.6.3 or above. PR-URL: https://github.com/nodejs/node/pull/21239 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Minwoo Ju...
[ { "path": "deps/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", "patch": "@@ -1262,7 +1262,7 @@ def XcodeVersion():\n except:\n version = CLTVersion()\n if version:\n- version = re.match(r'(\\d\\.\\d\\.?\\d*)', version).groups()[0]\n+ version = re.match(r'(\\d+\\.\\d+\\.?\\d...
2018-06-10T00:11:06
electron/electron
4a1f8cf1c9e5267d557e784d8954a51f47d4dadd
a2bf1b39074309684656bdef95ee1bb903ff8132
Activate uv loop when uv loop's watcher queue changes, fixes #159.
[ { "path": "common/node_bindings_mac.cc", "patch": "@@ -26,6 +26,23 @@ NodeBindingsMac::NodeBindingsMac(bool is_browser)\n NodeBindingsMac::~NodeBindingsMac() {\n }\n \n+void NodeBindingsMac::RunMessageLoop() {\n+ // Get notified when libuv's watcher queue changes.\n+ uv_loop_->data = this;\n+ uv_loop_->o...
2014-01-18T08:56:46
rust-lang/rust
d50c76974f7ff75afe4c4a84cee2934c3074b61a
59c5ed0ba84d9007d8957dc1056f46bed381c100
make abi_unsupported_vector_types a hard error
[ { "path": "example/std_example.rs", "patch": "@@ -8,9 +8,6 @@\n unboxed_closures\n )]\n #![allow(internal_features)]\n-// FIXME once abi_unsupported_vector_types is a hard error disable the foo test when the respective\n-// target feature is not enabled.\n-#![allow(abi_unsupported_vector_types)]\n \n #[...
2025-04-03T08:59:49
huggingface/transformers
beb9b5b02246b9b7ee81ddf938f93f44cfeaad19
dd3933dd658b2c2e18ad316662a3dff09dcf98cb
Fix Pan and Scan on batched images Gemma3 (#36864) * process flattened images in fast image proc * process flattened images in low proc and add tests * remove print * add unbalanced batch test pas image proc * fix integration tests
[ { "path": "src/transformers/models/gemma3/image_processing_gemma3.py", "patch": "@@ -35,7 +35,7 @@\n get_image_size,\n infer_channel_dimension_format,\n is_scaled_image,\n- make_nested_list_of_images,\n+ make_flat_list_of_images,\n to_numpy_array,\n valid_images,\n validate_pre...
2025-03-21T17:56:00
golang/go
02a8e836616cb8eb6d776514c6239095b1328fd2
7bedd477980175aecda5feb782e88041e86c2756
runtime: don't run TestCrashDumpsAllThreads in parallel It sometimes seems to time out on slow systems, perhaps due to being run at the same time as a lot of other work. Also move the code to testdata/testprog, so that we don't have to build it separately. I hope that this Fixes #35356 Change-Id: I875b858fa23836513...
[ { "path": "src/runtime/crash_unix_test.go", "patch": "@@ -13,7 +13,6 @@ import (\n \t\"io\"\n \t\"os\"\n \t\"os/exec\"\n-\t\"path/filepath\"\n \t\"runtime\"\n \t\"strings\"\n \t\"sync\"\n@@ -78,27 +77,14 @@ func TestCrashDumpsAllThreads(t *testing.T) {\n \t\tt.Skip(\"skipping; SIGQUIT is blocked, see golang...
2021-04-21T23:44:59
vercel/next.js
caed824b661809560fc55bf859e90bbd58c6c5f0
03f51a0dd323983fb8e69eb4556f364d94d79aba
fix: /__turbo_tasks__ error when execute @hpcc-js/wasm (vercel/turbo#2689) Co-authored-by: Justin Ridgewell <justin@ridgewell.name>
[ { "path": "crates/turbo-tasks-memory/src/viz/graph.rs", "patch": "@@ -10,7 +10,7 @@ pub fn wrap_html(graph: &str) -> String {\n <title>turbo-tasks graph</title>\n </head>\n <body>\n- <script src=\"https://cdn.jsdelivr.net/npm/@hpcc-js/wasm/dist/index.min.js\"></script><script src=\"https://cdn.jsdelivr.net...
2022-11-14T23:13:03
nodejs/node
ff16545f609bf7833cd5c6cf10dd3993d1a849f0
9788da962e4860b848bcfe1bcd15b76b0f7eedd8
test: check gc does not resurrect the loop PR-URL: https://github.com/nodejs/node/pull/21093 Fixes: https://github.com/nodejs/node/issues/18190 Refs: https://github.com/nodejs/node/pull/18307 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ben N...
[ { "path": "test/sequential/test-async-wrap-getasyncid.js", "patch": "@@ -1,4 +1,5 @@\n 'use strict';\n+// Flags: --expose-gc\n \n const common = require('../common');\n const assert = require('assert');\n@@ -22,6 +23,11 @@ common.crashOnUnhandledRejection();\n },\n }).enable();\n process.on('beforeE...
2018-06-06T20:06:51
electron/electron
42dc9c1ec6ac0e987773f6c17c8641224b66a7e5
2f798c51169d3a56993c0923829e77c9e3849684
Add dummy implementation of crash reporter.
[ { "path": "atom.gyp", "patch": "@@ -151,6 +151,8 @@\n 'common/api/object_life_monitor.h',\n 'common/crash_reporter/crash_reporter.cc',\n 'common/crash_reporter/crash_reporter.h',\n+ 'common/crash_reporter/crash_reporter_linux.cc',\n+ 'common/crash_reporter/crash_reporter_linux.h'...
2014-01-15T12:01:03
rust-lang/rust
b5f5f62a8b5890be2fde163ba3f2284f023126ad
49e5e4e3a5610c240a717cb99003a5d5d3356679
make abi_unsupported_vector_types a hard error
[ { "path": "compiler/rustc_codegen_cranelift/example/std_example.rs", "patch": "@@ -8,9 +8,6 @@\n unboxed_closures\n )]\n #![allow(internal_features)]\n-// FIXME once abi_unsupported_vector_types is a hard error disable the foo test when the respective\n-// target feature is not enabled.\n-#![allow(abi_u...
2025-04-03T08:59:49
huggingface/transformers
dd3933dd658b2c2e18ad316662a3dff09dcf98cb
90e2df5d5544e3624ce711a28717204b7779c2d7
Simplify keep_in_fp32_modules logic (#36722) * better regex everywhere * fix * Update test_modeling_instructblip.py * BC with explanations this time otherwise it makes no sense at all * Update test_modeling_instructblip.py * style * CIs * update _keep_in_fp32_modules in blip2 * Update modeling_utils.py * Upda...
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -716,7 +716,7 @@ def _infer_parameter_dtype(\n model: \"PreTrainedModel\",\n param_name: str,\n empty_param: torch.Tensor,\n- keep_in_fp32_modules: Optional[List[str]] = None,\n+ keep_in_fp32_regex: Optional[re.Pattern] = None,\n...
2025-03-21T15:12:59
golang/go
7bedd477980175aecda5feb782e88041e86c2756
6639bb894d8770290f1860a4cad8f8726079b870
go/types: combine all type inference in a single function This is a port of CL 306170 to go/types, adjusted for the different positioning API. Some of the error positions in tests had to be adjusted, but I think the new locations are better. Change-Id: Ib157fbb47d7483e3c6302bd57f5070bd74602a36 Reviewed-on: https://g...
[ { "path": "src/cmd/compile/internal/types2/fixedbugs/issue40056.go2", "patch": "@@ -13,4 +13,4 @@ type S struct {}\n \n func NewS[T any]() *S\n \n-func (_ *S /* ERROR S is not a generic type */ [T]) M()\n\\ No newline at end of file\n+func (_ *S /* ERROR S is not a generic type */ [T]) M()", "additions"...
2021-04-21T02:59:59
vercel/next.js
8b4d9e652e435c1cf8864ebde587c60f615b83e1
71fa80b66586e655374215f64807c3976e58673e
Add more details to invalid-next-config doc (#42917) This adds some more clarity to the error doc and we can also iterate on the warnings to show suggestions as well in follow-ups. x-ref: [slack thread](https://vercel.slack.com/archives/CHZGRCJSD/p1668430036939189?thread_ts=1668394104.483679&cid=CHZGRCJSD) ## ...
[ { "path": "errors/invalid-next-config.md", "patch": "@@ -2,7 +2,7 @@\n \n #### Why This Error Occurred\n \n-In your `next.config.js` file you passed invalid options that either are the incorrect type or an unknown field.\n+In your `next.config.js` file you passed invalid options that either are the incorrec...
2022-11-14T21:59:59
rust-lang/rust
4e8eea696d8a1777b2f0eed7c58323c478b91b39
66be06a1a7968eaf7d201734eb5fc0e6a6a0d753
Add panic-handler to the workspace This crate does not interact with features so there isn't any reason it can't become part of the workspace.
[ { "path": "library/compiler-builtins/Cargo.toml", "patch": "@@ -5,6 +5,7 @@ members = [\n \"compiler-builtins\",\n \"crates/libm-macros\",\n \"crates/musl-math-sys\",\n+ \"crates/panic-handler\",\n \"crates/util\",\n \"libm\",\n \"libm-test\",", "additions": 1, "deletions"...
2025-04-20T08:54:11
electron/electron
8655dec00e63f309ffbbde29d40b0e6a232aeeff
71fd147c47924d6b6ba5090b359618f798f617ed
Crash when there is fatal error in V8.
[ { "path": "common/api/atom_bindings.cc", "patch": "@@ -53,6 +53,13 @@ void UvOnCallback(uv_async_t* handle, int status) {\n g_v8_callback->NewHandle()->Call(global, 0, NULL);\n }\n \n+// Called when there is a fatal error in V8, we just crash the process here so\n+// we can get the stack trace.\n+void Fat...
2014-01-23T12:30:44
huggingface/transformers
90e2df5d5544e3624ce711a28717204b7779c2d7
4542b8fb271be54d9235ac7a899c6aab2101612f
fix: loss computation after embeddings resize - mllama (#36840) * move loss to generation class Signed-off-by: Sukriti-Sharma4 <sukriti.sharma4@ibm.com> * code cleanup Signed-off-by: Sukriti-Sharma4 <sukriti.sharma4@ibm.com> * test for resize and loss computation Signed-off-by: Sukriti-Sharma4 <sukriti.sharma4@ib...
[ { "path": "src/transformers/models/mllama/modeling_mllama.py", "patch": "@@ -2056,6 +2056,7 @@ def forward(\n return_dict: Optional[bool] = None,\n cache_position: Optional[torch.LongTensor] = None,\n logits_to_keep: Union[int, torch.Tensor] = 0,\n+ **loss_kwargs,\n ) -> U...
2025-03-21T13:47:59
nodejs/node
9788da962e4860b848bcfe1bcd15b76b0f7eedd8
d6bdfacf6cad907067dd3b6dd59f849cfc9d2b24
src: do not persist fs_poll handle in stat_watcher Instead of relying on garbage collection to close the handle, manage its state more explicitly. PR-URL: https://github.com/nodejs/node/pull/21093 Fixes: https://github.com/nodejs/node/issues/18190 Refs: https://github.com/nodejs/node/pull/18307 Reviewed-By: Jeremiah ...
[ { "path": "src/node_stat_watcher.cc", "patch": "@@ -77,19 +77,15 @@ void StatWatcher::Initialize(Environment* env, Local<Object> target) {\n \n StatWatcher::StatWatcher(Environment* env, Local<Object> wrap, bool use_bigint)\n : AsyncWrap(env, wrap, AsyncWrap::PROVIDER_STATWATCHER),\n- watcher_(new ...
2018-06-06T20:32:51
golang/go
7e97e4e8ccdba9677f31ab9380802cd7613f62c5
54af9fd9e69d5cc33b16b9a32d9f7dc71eef0d18
syscall: syscall.AllThreadsSyscall signal handling fixes The runtime support for syscall.AllThreadsSyscall() functions had some corner case deadlock issues when signal handling was in use. This was observed in at least 3 build test failures on ppc64 and amd64 architecture CGO_ENABLED=0 builds over the last few months....
[ { "path": "src/os/signal/signal_test.go", "patch": "@@ -16,6 +16,7 @@ import (\n \t\"os\"\n \t\"os/exec\"\n \t\"runtime\"\n+\t\"runtime/trace\"\n \t\"strconv\"\n \t\"sync\"\n \t\"syscall\"\n@@ -854,3 +855,44 @@ func TestNotifyContextStringer(t *testing.T) {\n \t\tt.Errorf(\"c.String() = %q, want %q\", got, ...
2021-03-27T02:27:22
vercel/next.js
71fa80b66586e655374215f64807c3976e58673e
3b4594f6d796349c08e189f57884386682ccb6f0
Make cover image full width (#42916) <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change that you're making: --> ## Bug - [ ] Related is...
[ { "path": "examples/blog-starter/components/cover-image.tsx", "patch": "@@ -13,7 +13,7 @@ const CoverImage = ({ title, src, slug }: Props) => {\n <Image\n src={src}\n alt={`Cover Image for ${title}`}\n- className={cn('shadow-sm', {\n+ className={cn('shadow-sm w-full', {\n '...
2022-11-14T20:48:48
rust-lang/rust
13bf5f5bb4115cebe30c8b18935ad017c7fa3de1
ee431374eb639598c93753f94125d87b47ed20ae
ci: Use lowercase for bash locals, fix shellcheck
[ { "path": "library/compiler-builtins/ci/miri.sh", "patch": "@@ -1,16 +1,18 @@\n #!/bin/bash\n-set -ex\n+set -eux\n \n # We need Tree Borrows as some of our raw pointer patterns are not\n # compatible with Stacked Borrows.\n export MIRIFLAGS=\"-Zmiri-tree-borrows\"\n \n # One target that sets `mem-unaligned`...
2025-04-20T08:34:47
huggingface/transformers
523f6e743c74ecea90d0c37a172c9819b5691a19
3f9ff19b4ec7dcf4112225079f26ea756aafd211
Fix: dtype cannot be str (#36262) * fix * this wan't supposed to be here, revert * refine tests a bit more
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -1252,13 +1252,13 @@ def _get_torch_dtype(\n for key, curr_dtype in torch_dtype.items():\n if hasattr(config, key):\n value = getattr(config, key)\n+ curr_dtype = curr_dtype if not...
2025-03-21T12:27:47
nodejs/node
d6bdfacf6cad907067dd3b6dd59f849cfc9d2b24
641d4a4159aaa96eece8356e03ec6c7248ae3e73
src: do not persist timer handle in cares_wrap Instead of relying on garbage collection to close the timer handle, manage its state more explicitly. PR-URL: https://github.com/nodejs/node/pull/21093 Fixes: https://github.com/nodejs/node/issues/18190 Refs: https://github.com/nodejs/node/pull/18307 Reviewed-By: Jeremia...
[ { "path": "src/cares_wrap.cc", "patch": "@@ -151,7 +151,8 @@ class ChannelWrap : public AsyncWrap {\n \n void Setup();\n void EnsureServers();\n- void CleanupTimer();\n+ void StartTimer();\n+ void CloseTimer();\n \n void ModifyActivityQueryCount(int count);\n \n@@ -313,13 +314,7 @@ void ares_sockst...
2018-06-06T20:29:30
electron/electron
249366c90a5678e7a1165a1311c2c42b935e47cc
931182b677e81c4bf6922193478af861193d952c
Restart renderer process for all navigations and reloads, fixes #157.
[ { "path": "browser/atom_browser_client.cc", "patch": "@@ -50,8 +50,8 @@ bool AtomBrowserClient::ShouldSwapProcessesForNavigation(\n content::SiteInstance* site_instance,\n const GURL& current_url,\n const GURL& new_url) {\n- // Restart renderer process if navigating to the same url.\n- return ...
2014-01-14T08:03:01
rust-lang/rust
d02b25fd6e6c8da41f0248333df93a03dc53fec1
0d0d3172424cfc4386976d35fc1ce7710a07d1eb
Fix the libm-test logfile path This was broken since the crate's location relative to the target directory had changed.
[ { "path": "library/compiler-builtins/libm-test/src/lib.rs", "patch": "@@ -71,12 +71,7 @@ pub fn test_log(s: &str) {\n return None;\n };\n \n- PathBuf::from(x)\n- .parent()\n- .unwrap()\n- .parent()\n-...
2025-04-20T04:48:51
golang/go
255056395e5da17c0f660bba289725bd12c1f024
35806efda21242df2c56ca276a842481acf6fea0
test: add a field tracking test Now that we can set experiments at build time instead of make.bash time, we can actually write a test for field tracking! Update #20014 This CL contains a test for the functionality fixed in CL 312069. Change-Id: I7569a7057bbc7c88ae25ae7bf974b0c8a4e35be8 Reviewed-on: https://go-revie...
[ { "path": "test/fixedbugs/issue20014.dir/a/a.go", "patch": "@@ -0,0 +1,21 @@\n+// Copyright 2021 The Go Authors. All rights reserved.\n+// Use of this source code is governed by a BSD-style\n+// license that can be found in the LICENSE file.\n+\n+package a\n+\n+type T struct {\n+\tX int `go:\"track\"`\n+\tY...
2021-04-21T17:54:13
vercel/next.js
3b4594f6d796349c08e189f57884386682ccb6f0
9c2c8587be77c176216470a7789f9865e8c326b8
types(#42003): better typing for `next/link` (#42117) <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change that you're making: --> The PR cl...
[ { "path": "packages/next/client/link.tsx", "patch": "@@ -83,21 +83,18 @@ type InternalLinkProps = {\n * @see https://github.com/vercel/next.js/commit/489e65ed98544e69b0afd7e0cfc3f9f6c2b803b7\n */\n legacyBehavior?: boolean\n- // e: any because as it would otherwise overlap with existing types\n /...
2022-11-14T20:37:41
huggingface/transformers
3f9ff19b4ec7dcf4112225079f26ea756aafd211
f94b0c59f20447c0e6bdb6d381ea014fa47ecac8
Minor Gemma 3 fixes (#36884) fix attention mask dtype + outputs type
[ { "path": "src/transformers/models/gemma3/modeling_gemma3.py", "patch": "@@ -361,13 +361,15 @@ def forward(\n )\n else:\n attention_interface = ALL_ATTENTION_FUNCTIONS[self.config._attn_implementation]\n-\n+ if attention_mask is not None:\n+ # ba...
2025-03-21T12:15:22
nodejs/node
641d4a4159aaa96eece8356e03ec6c7248ae3e73
00e479fed465c0dfb4844d5c8c511307db311c03
build: fix configure script for double-digits Compare versions using tuples instead of strings so that it is future-proofed against versions that contain a number that is more than one digit. PR-URL: https://github.com/nodejs/node/pull/21183 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Rich Trott <rtrott...
[ { "path": "configure", "patch": "@@ -612,8 +612,8 @@ def try_check_compiler(cc, lang):\n \n values = (proc.communicate()[0].split() + ['0'] * 7)[0:7]\n is_clang = values[0] == '1'\n- gcc_version = '%s.%s.%s' % tuple(values[1:1+3])\n- clang_version = '%s.%s.%s' % tuple(values[4:4+3])\n+ gcc_version = ...
2018-06-06T19:28:42
electron/electron
931182b677e81c4bf6922193478af861193d952c
2a129f892fb9dbce43a98ca6c39e076dad7a729a
Fix crash when calling dialog's callback.
[ { "path": "browser/api/atom_api_dialog.cc", "patch": "@@ -19,6 +19,7 @@ namespace {\n \n template<typename T>\n void CallV8Function(const RefCountedV8Function& callback, T arg) {\n+ v8::HandleScope handle_scope(node_isolate);\n v8::Handle<v8::Value> value = ToV8Value(arg);\n callback->NewHandle(node_is...
2014-01-14T06:18:32
rust-lang/rust
957b5488a5fb3875006c06577d9049177ed971bc
883f9f72e87ccb6838d528d8158ea6323baacc65
transmutability: remove NFA intermediate representation Prior to this commit, the transmutability analysis used an intermediate NFA representation of type layout. We then determinized this representation into a DFA, upon which we ran the core transmutability analysis. Unfortunately, determinizing NFAs is expensive. In...
[ { "path": "compiler/rustc_transmute/src/layout/dfa.rs", "patch": "@@ -1,19 +1,18 @@\n use std::fmt;\n use std::sync::atomic::{AtomicU32, Ordering};\n \n-use tracing::instrument;\n-\n-use super::{Byte, Nfa, Ref, nfa};\n+use super::{Byte, Ref, Tree, Uninhabited};\n use crate::Map;\n \n-#[derive(PartialEq, Clo...
2025-04-17T17:58:34
huggingface/transformers
b8aadc31d56e49d8b9075e73e5c433f7c5b4e04b
6321876b5bac106d7e7c84b53418ea31fe1d9754
:red_circle: :red_circle: :red_circle: supersede paligemma forward to shift pos id indexing (#36859) * supersede paligemma forward to shift pos id indexing * fix prepare_inputs_ as well * fix modular error --------- Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>
[ { "path": "src/transformers/models/gemma3/modeling_gemma3.py", "patch": "@@ -1313,9 +1313,6 @@ def forward(\n past_seen_tokens, past_seen_tokens + inputs_embeds.shape[1], device=inputs_embeds.device\n )\n \n- if position_ids is None:\n- position_ids = cache_posi...
2025-03-21T11:36:27
golang/go
35806efda21242df2c56ca276a842481acf6fea0
b8a359d984b9b16a405fa66011078a477c6e2da4
io/fs: document that caller can modify slice returned by ReadFile Also add a test to testing/fstest. Fixes #45186 Change-Id: I00e5f46ccd5269dbc266a8f2ebc9a62ebb1297b8 Reviewed-on: https://go-review.googlesource.com/c/go/+/311649 Trust: Ian Lance Taylor <iant@golang.org> Reviewed-by: Russ Cox <rsc@golang.org>
[ { "path": "src/io/fs/readfile.go", "patch": "@@ -15,6 +15,9 @@ type ReadFileFS interface {\n \t// A successful call returns a nil error, not io.EOF.\n \t// (Because ReadFile reads the whole file, the expected EOF\n \t// from the final Read is not treated as an error to be reported.)\n+\t//\n+\t// The caller...
2021-04-19T23:05:01
vercel/next.js
4ca30fe433f04d9bebb7d62f0b015c2b1c850f85
c3993c828fa2cc62cac6db14b1abc514fb36a3b5
Use window.location directly instead of parsing into URL (#42888) Fixes https://github.com/vercel/next.js/pull/42735#discussion_r1019116319. <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist secti...
[ { "path": "packages/next/client/components/app-router.tsx", "patch": "@@ -136,7 +136,8 @@ function Router({\n // location.href is read as the initial value for canonicalUrl in the browser\n // This is safe to do as canonicalUrl can't be rendered, it's only used to control the history updates...
2022-11-14T20:23:15
nodejs/node
00e479fed465c0dfb4844d5c8c511307db311c03
2237a8e45d5043e89cc126f7a7546f3a62f30e59
doc: fix type in stream doc Extend return type of `read()` method with `any` which is a valid return type for readable streams in object mode. PR-URL: https://github.com/nodejs/node/pull/21178 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
[ { "path": "doc/api/stream.md", "patch": "@@ -954,7 +954,7 @@ added: v0.9.4\n -->\n \n * `size` {number} Optional argument to specify how much data to read.\n-* Returns: {string|Buffer|null}\n+* Returns: {string|Buffer|null|any}\n \n The `readable.read()` method pulls some data out of the internal buffer and...
2018-06-07T20:45:35
electron/electron
57a27876ec3890e109458a04509256abcb354d54
fc2e069efe6b29a38ee7f36823ee9a486954853f
Fix warnings of node_lib.
[ { "path": "common.gypi", "patch": "@@ -49,6 +49,7 @@\n 4204, # non-constant aggregate initializer\n 4214, # bit field types other than int\n 4232, # address of dllimport 'free' is not static, identity not guaranteed\n+ 4291, # no matching operator delete found\n ...
2014-01-13T10:43:09
rust-lang/rust
a48de6950ce784299dd06fc71c015ed48c09a95f
c35cccd6764838330fb12320a33740e15ec8bb35
Move builtins-test-intrinsics out of the workspace This crate doesn't need to be a default member since it requires the opposite settings from everything else. Exclude it from the workspace and run it only when explicitly requested. This also makes `cargo t --no-default-features` work without additional qualifiers. `...
[ { "path": "library/compiler-builtins/Cargo.toml", "patch": "@@ -1,11 +1,7 @@\n [workspace]\n resolver = \"3\"\n members = [\n- # Note that builtins-test-intrinsics cannot be a default member because it\n- # needs the `mangled-names` feature disabled, while `builtins-test` needs\n- # it enabled.\n ...
2025-04-20T01:18:08
huggingface/transformers
62116c967f3ef07e905a1f3ef0555be022abccb8
26c83490d2fef4b6622bd69c80beae14f2626cbf
Make ViTPooler configurable (#36517) * Make ViT Pooler configurable, so that it is possible to pick the activation function and the number of channels in the output * Add documentation and allow functions as activations (instead of just string) * formatting change * Use ACT2FN * Formatting change * Formatting cha...
[ { "path": "src/transformers/modeling_flax_utils.py", "patch": "@@ -79,6 +79,7 @@ def quick_gelu(x):\n \"gelu_new\": partial(nn.gelu, approximate=True),\n \"quick_gelu\": quick_gelu,\n \"gelu_pytorch_tanh\": partial(nn.gelu, approximate=True),\n+ \"tanh\": nn.tanh,\n }\n \n ", "additions":...
2025-03-21T10:01:07
golang/go
b8a359d984b9b16a405fa66011078a477c6e2da4
f9e2dbbfc92fdc19c4e9412b318beb5294d91bff
cmd/compile/internal/types2: fix incorrect result type of Checker.index While at it, add missing "invalid argument: " prefix to a couple of local error messages, for consistency. For #45667. Change-Id: I814800b2f3f3750583e335c98a3f8e27030a9daa Reviewed-on: https://go-review.googlesource.com/c/go/+/312309 Trust: Robe...
[ { "path": "src/cmd/compile/internal/types2/index.go", "patch": "@@ -349,15 +349,15 @@ func (check *Checker) index(index syntax.Expr, max int64) (typ Type, val int64)\n \tv, valid := constant.Int64Val(constant.ToInt(x.val))\n \tif !valid || max >= 0 && v >= max {\n \t\tif check.conf.CompilerErrorMessages {\n...
2021-04-21T16:04:00
vercel/next.js
c3993c828fa2cc62cac6db14b1abc514fb36a3b5
0d2a3de336824bbe0c1c427540dd1a17bb2a8f86
Update to latest version of turbo CLI (#42803) Continuation of https://github.com/vercel/next.js/pull/42711 fixing latest turbo usage in musl environment ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` #...
[ { "path": ".github/workflows/build_test_deploy.yml", "patch": "@@ -8,7 +8,7 @@ name: Build, test, and deploy\n \n env:\n NAPI_CLI_VERSION: 2.12.0\n- TURBO_VERSION: 1.3.2-canary.1\n+ TURBO_VERSION: 1.6.3\n RUST_TOOLCHAIN: nightly-2022-11-04\n PNPM_VERSION: 7.3.0\n \n@@ -1182,6 +1182,7 @@ jobs:\n ...
2022-11-14T19:52:12