repo
stringclasses
15 values
fix_commit
stringlengths
40
40
buggy_commit
stringlengths
40
40
message
stringlengths
3
64.3k
files
listlengths
1
300
timestamp
timestamp[s]date
2013-03-13 20:45:00
2026-04-11 07:48:46
rust-lang/rust
b1774b8d7382325d2bb5cc518e463ae9d6de5898
b4079c62bd6b8ca5321ac8b75e336d772985dfeb
Fix tests
[ { "path": "tests/crashes/133199.rs", "patch": "@@ -1,11 +0,0 @@\n-//@ known-bug: #133199\n-//@ aux-build: aux133199.rs\n-\n-extern crate aux133199;\n-\n-use aux133199::FixedBitSet;\n-\n-fn main() {\n- FixedBitSet::<7>::new();\n- //~^ ERROR\n-}", "additions": 0, "deletions": 11, "language":...
2025-05-01T14:46:33
vercel/next.js
b954bbe6760fe84eef0295339aefee5df006e0cc
2b18d5d6b3b654fcc20c7186e9bee7b445864e86
fix: codemod `next/image` within monorepo (#46047) Fix for running the `next/image` codemod within a monorepo Related to https://twitter.com/codercatdev/status/1625972398448078848 --------- Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
[ { "path": "packages/next-codemod/transforms/__testfixtures__/next-image-experimental-loader/many-keys/input/next.config.js", "patch": "@@ -0,0 +1,21 @@\n+/**\n+ * @type {import('next').NextConfig}\n+ */\n+module.exports = {\n+ reactStrictMode: true,\n+\n+ images: {\n+ loader: \"cloudinary\",\n+ path...
2023-02-18T02:35:41
golang/go
4158e88f64f34d1d0bab1d54be6be72a598ca41f
647bef6c59e201792688d88cdc50ea0c6a68990b
cmd/compile/internal/syntax: fix position of type parameter field Change-Id: I8bca01b935301e7bd4efa55ed21921dbf31a75b9 Reviewed-on: https://go-review.googlesource.com/c/go/+/344575 Trust: Robert Griesemer <gri@golang.org> Run-TryBot: Robert Griesemer <gri@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-b...
[ { "path": "src/cmd/compile/internal/syntax/parser.go", "patch": "@@ -1840,7 +1840,11 @@ func (p *parser) paramDeclOrNil(name *Name) *Field {\n \t}\n \n \tf := new(Field)\n-\tf.pos = p.pos()\n+\tif name != nil {\n+\t\tf.pos = name.pos\n+\t} else {\n+\t\tf.pos = p.pos()\n+\t}\n \n \tif p.tok == _Name || name ...
2021-08-24T19:23:28
nodejs/node
809be432c07fbc87d2673888d6c4ccb9d9d20480
bde8eb5f82837bd035a681e1bd05be8df259e108
build: fix Travis non-PR builds Don't return non-zero if TRAVIS_PULL_REQUEST == "false". PR-URL: https://github.com/nodejs/node/pull/24093 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
[ { "path": ".travis.yml", "patch": "@@ -11,7 +11,9 @@ matrix:\n script:\n - make lint\n # Lint the first commit in the PR.\n- - \\[ \"${TRAVIS_PULL_REQUEST}\" != \"false\" \\] && bash tools/lint-pr-commit-message.sh ${TRAVIS_PULL_REQUEST}\n+ - if [ \"${TRAVIS_PULL_REQUEST}...
2018-11-05T00:50:21
huggingface/transformers
bc161d5d06ba3b40eaca99ce42734b4f1fecfaa2
c6ee0b1da8ff57102548430e18480fa78a106022
Delete deprecated stuff (#38838) * delete deprecated stuff * fix copies * remove unused tests * fix modernbert and fuyu * Update src/transformers/cache_utils.py Co-authored-by: Joao Gante <joaofranciscocardosogante@gmail.com> * bye bye `seen_tokens` * address comments * update typings * ecnoder decoder models...
[ { "path": "docs/source/en/cache_explanation.md", "patch": "@@ -99,8 +99,6 @@ self.value_cache[layer_idx] = torch.cat([self.value_cache[layer_idx], value_stat\n \n 2. The cache grows dynamically as more tokens are processed. The sequence length dimension (`seq_len`) increases with each new token.\n \n-3. The...
2025-07-10T05:18:44
vercel/next.js
4acdd3485d64561c7158dfdf8abc484a8609e3f2
ce1e5de2581b90853c86dbebdb7ecab90dd77514
Revert part of #45971 (#46071) It turns out that our module resolution is pretty complicated, and if a package can't be resolved with a certain configuration, doesn't 100% mean it can't be bundled. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a help...
[ { "path": "packages/next/src/build/webpack-config.ts", "patch": "@@ -2,7 +2,6 @@ import React from 'react'\n import ReactRefreshWebpackPlugin from 'next/dist/compiled/@next/react-refresh-utils/dist/ReactRefreshWebpackPlugin'\n import chalk from 'next/dist/compiled/chalk'\n import crypto from 'crypto'\n-impo...
2023-02-18T01:41:59
nodejs/node
c6d29ccf5a1aa079d624b23854640225d6eadb55
1c67e741a12b7791adbc7bb5821650f5d1da30cf
buffer: do proper error propagation in addon methods - Always fulfill the `MaybeLocal<>` contract by scheduling an exception when returning an empty value. This was previously inconsistent, with no way to know whether an exception was be scheduled or not in case of failure. - Make sure that memory is released ex...
[ { "path": "src/node_buffer.cc", "patch": "@@ -243,8 +243,10 @@ MaybeLocal<Object> New(Isolate* isolate,\n if (length > 0) {\n data = static_cast<char*>(BufferMalloc(length));\n \n- if (data == nullptr)\n+ if (data == nullptr) {\n+ THROW_ERR_MEMORY_ALLOCATION_FAILED(isolate);\n return ...
2018-10-28T15:22:44
golang/go
6cf1d5d0fa1049e2910d048ce2b6b5a97fe6edc4
5baf60d47245c792c50a349cd6b8586d23204895
cmd/compile: generic SSA rules for simplifying 2 and 3 operand integer arithmetic expressions This applies the following generic integer addition/subtraction transformations: x - (x + y) = -y (x - y) - x = -y y + (x - y) = x y + (z + (x - y) = x + z There's over 40 unique functions matching in Go. Hits 2 funcs in th...
[ { "path": "src/cmd/compile/internal/ssa/gen/generic.rules", "patch": "@@ -590,6 +590,10 @@\n // simplifications often used for lengths. e.g. len(s[i:i+5])==5\n (Sub(64|32|16|8) (Add(64|32|16|8) x y) x) => y\n (Sub(64|32|16|8) (Add(64|32|16|8) x y) y) => x\n+(Sub(64|32|16|8) (Sub(64|32|16|8) x y) x) => (Neg...
2021-08-25T10:36:17
huggingface/transformers
c6ee0b1da8ff57102548430e18480fa78a106022
aff7df8436dde04762170d3d0fbe906c7216d6f2
Fix broken SAM after #39120 (#39289) fix
[ { "path": "src/transformers/models/sam/modeling_sam.py", "patch": "@@ -364,7 +364,7 @@ def forward(\n keys = keys + attn_out\n \n keys = self.layer_norm4(keys)\n- return query, keys, attn_out\n+ return queries, keys, attn_out\n \n \n class SamTwoWayTransformer(nn.Module):", ...
2025-07-09T21:46:22
electron/electron
175f39717334dbd461e8c3229f7b350843a9113e
fb00c280264ab9beac7032ff3a2b7ae14b00536c
shell: fix regression for moveItemToTrash on mac
[ { "path": "atom/common/platform_util_mac.mm", "patch": "@@ -131,7 +131,7 @@ bool MoveItemToTrash(const base::FilePath& full_path) {\n NSString* path_string = base::SysUTF8ToNSString(full_path.value());\n NSArray* file_array =\n [NSArray arrayWithObject:[path_string lastPathComponent]];\n- int sta...
2015-04-08T14:01:46
rust-lang/rust
8acb1b5f0b3955f114677ee1725d39024202f16b
2147783b79641e76a7e5edde92d01ab2b7b1c929
internal: fix `integrated_benchmarks` to make actual edits
[ { "path": "src/tools/rust-analyzer/crates/rust-analyzer/src/integrated_benchmarks.rs", "patch": "@@ -147,7 +147,7 @@ fn integrated_completion_benchmark() {\n let _it = stdx::timeit(\"change\");\n let mut text = host.analysis().file_text(file_id).unwrap().to_string();\n let completion...
2025-05-21T13:47:29
vercel/next.js
061a6472e901b3ed03030482f66e94247c2a68a9
4487abd73f45fc08edcc99d7ddfcc75428325d53
Fix cache built files step (#46075) x-ref: https://github.com/vercel/next.js/actions/runs/4207348694/jobs/7303897663 x-ref: https://github.com/vercel/next.js/actions/runs/4207892633/jobs/7304098168 x-ref: https://github.com/vercel/next.js/actions/runs/4208156556/jobs/7303845860
[ { "path": ".github/workflows/build_test_deploy.yml", "patch": "@@ -944,6 +944,9 @@ jobs:\n turbo run build-native --cache-dir=\".turbo\" -- --target x86_64-unknown-linux-gnu &&\n strip packages/next-swc/native/next-swc.*.node\n \n+ - run: sudo chown -R $USER:$GROUP ./packages/ne...
2023-02-18T00:38:12
nodejs/node
bb254578a65b2c9ab7274d373603327f71da7dcc
472a3d890bcd1c6799658d72bb813626a16d0adc
doc: fix socket.connecting description In particular, this value is `true` and not `false` between calling `connect()` and the operation finishing. PR-URL: https://github.com/nodejs/node/pull/24066 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott ...
[ { "path": "doc/api/net.md", "patch": "@@ -658,9 +658,9 @@ called with `{port: port, host: host}` as `options`.\n added: v6.1.0\n -->\n \n-If `true` -\n+If `true`,\n [`socket.connect(options[, connectListener])`][`socket.connect(options)`]\n-was called and haven't yet finished. Will be set to `false` before ...
2018-11-03T18:51:54
golang/go
5baf60d47245c792c50a349cd6b8586d23204895
3d667671ad767d66bf792c5a8d623cb829f6366a
bytes, strings: optimize Trim for single byte cutsets Using the latest version of all modules known by the module proxy, we determine that for all Trim usages (and related functionality): * 76.6% have cutsets of len=1, and * 13.4% have cutsets of len=2. Given that a vast majority of usages only have a cutset of len=1...
[ { "path": "src/bytes/bytes.go", "patch": "@@ -888,11 +888,6 @@ func (as *asciiSet) contains(c byte) bool {\n }\n \n func makeCutsetFunc(cutset string) func(r rune) bool {\n-\tif len(cutset) == 1 && cutset[0] < utf8.RuneSelf {\n-\t\treturn func(r rune) bool {\n-\t\t\treturn r == rune(cutset[0])\n-\t\t}\n-\t}...
2021-05-30T02:11:37
huggingface/transformers
aff7df8436dde04762170d3d0fbe906c7216d6f2
2ef59646b8466a6e47cbf42754637a9f4a82484f
enable static cache on TP model (#39164) * enable static cache on TP model Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * check tp size before init kv cache Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * fix docstring Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * add tp tests Signed-off-by: j...
[ { "path": "src/transformers/cache_utils.py", "patch": "@@ -1098,6 +1098,10 @@ class StaticCache(Cache):\n Mapping between the layers and its device. This is required when you are manually initializing the cache\n and the model is split between different gpus. You can know which layer...
2025-07-09T21:14:45
electron/electron
7255962bd36edb06cfeaa7b3e484367a69568f39
b413acddb826c838a7e36238f60d263a5253f30a
Fix uploading index.json under OS X
[ { "path": "script/upload-checksums.py", "patch": "@@ -45,7 +45,7 @@ def get_files_list(version):\n \n \n def download_files(url, files):\n- directory = tempfile.mkdtemp(prefix='atom-shell-tmp')\n+ directory = tempfile.mkdtemp(prefix='electron-tmp')\n return directory, [\n download(f, url + f, os.pat...
2015-04-12T14:23:50
nodejs/node
9c7d19104d1f03f70658a6834a7d0baac7d38724
d8fb81fab3042b0229e11e82f88ed062b171036a
buffer: throw exception when creating from non-Node.js Context Throw an exception instead of crashing when attempting to create `Buffer` objects from a Context that is not associated with a Node.js `Environment`. Possible alternatives for the future might be just returning a plain `Uint8Array`, or working on providin...
[ { "path": "doc/api/errors.md", "patch": "@@ -613,6 +613,19 @@ An attempt was made to register something that is not a function as an\n The type of an asynchronous resource was invalid. Note that users are also able\n to define their own types if using the public embedder API.\n \n+<a id=\"ERR_BUFFER_CONTEXT...
2018-10-28T14:59:20
vercel/next.js
866dfec256d41bd04dd8a489526d2cc68d497e69
7400b3ba2b7ff1474a23633b509277f1a43294e3
make error overlay message scrollable (vercel/turbo#3861) Before long messages would just be hidden: ![](https://uploads.linear.app/099ed59a-06c6-472f-9977-4798721bda90/6ea99100-27be-4192-adea-46ff2ed78cc8/860978fd-9ea5-456e-8c5a-48cecacf3e95)
[ { "path": "packages/next-swc/crates/next-core/js/src/overlay/internal/components/Terminal/styles.tsx", "patch": "@@ -2,19 +2,25 @@ import { noop as css } from \"../../helpers/noop-template\";\n \n const styles = css`\n .terminal {\n+ display: flex;\n+ overflow-y: hidden;\n+\n border-radius: var(...
2023-02-17T16:23:45
golang/go
3d667671ad767d66bf792c5a8d623cb829f6366a
4f2ebfe34be7453ab144d82558cc4e735a55d644
cmd/compile: fix function contains no TParam in generic function Fixes #47948 Change-Id: I446a9548265d195ae4d88aff6b1361474d1b6214 Reviewed-on: https://go-review.googlesource.com/c/go/+/344910 Trust: Alexander Rakoczy <alex@golang.org> Trust: Dan Scales <danscales@google.com> Run-TryBot: Alexander Rakoczy <alex@golan...
[ { "path": "src/cmd/compile/internal/typecheck/subr.go", "patch": "@@ -1051,7 +1051,8 @@ func (ts *Tsubster) typ1(t *types.Type) *types.Type {\n \tvar targsChanged bool\n \tvar forw *types.Type\n \n-\tif t.Sym() != nil {\n+\tif t.Sym() != nil && t.HasTParam() {\n+\t\t// Need to test for t.HasTParam() again b...
2021-08-25T08:01:49
huggingface/transformers
2ef59646b8466a6e47cbf42754637a9f4a82484f
2d600a4363b401f155fe6336994b50b2047982e8
Fix `max_length_q` and `max_length_k` types to `flash_attn_varlen_func` (#37206) Also add notes asking users to set `TORCHDYNAMO_CAPTURE_SCALAR_OUTPUTS=1` or call `torch._dynamo.config.capture_scalar_outputs = True`, as currently this will cause a graph break. Signed-off-by: Hollow Man <hollowman@opensuse.org>
[ { "path": "src/transformers/modeling_flash_attention_utils.py", "patch": "@@ -208,6 +208,8 @@ def _get_unpad_data(attention_mask: torch.Tensor) -> tuple[torch.Tensor, torch.T\n \"\"\"\n seqlens_in_batch = attention_mask.sum(dim=-1, dtype=torch.int32)\n indices = torch.nonzero(attention_mask.flat...
2025-07-09T21:12:39
electron/electron
b413acddb826c838a7e36238f60d263a5253f30a
6ba57dcfa3066ac5e4b2f5f133deccb82c675220
Update tmp dir prefix
[ { "path": "script/update-external-binaries.py", "patch": "@@ -54,7 +54,7 @@ def download_and_unzip(framework):\n def download_framework(framework):\n filename = framework + '.zip'\n url = FRAMEWORKS_URL + '/' + filename\n- download_dir = tempdir(prefix='atom-shell-')\n+ download_dir = tempdir(prefix='...
2015-04-12T14:10:46
nodejs/node
d8fb81fab3042b0229e11e82f88ed062b171036a
213c7d2d6465de7c8ac416da678b8b2d7445e614
deps: float 99540ec from openssl (CVE-2018-0735) Low severity timing vulnerability in ECDSA signature generation Publicly disclosed but unreleased, pending OpenSSL 1.1.0j Also includes trivial syntax fix from https://github.com/openssl/openssl/pull/7516 Ref: https://www.openssl.org/news/secadv/20181029.txt Ref: htt...
[ { "path": "deps/openssl/openssl/crypto/ec/ec_mult.c", "patch": "@@ -177,8 +177,8 @@ static int ec_mul_consttime(const EC_GROUP *group, EC_POINT *r,\n */\n cardinality_bits = BN_num_bits(cardinality);\n group_top = bn_get_top(cardinality);\n- if ((bn_wexpand(k, group_top + 1) == NULL)\n- ...
2018-10-29T09:26:00
vercel/next.js
ff3b7ec27b0621f32247bac6fa3de644eada1064
4c8e8da0e0ac45cd528efd59778939a2c6339d26
make error overlay message scrollable (vercel/turbo#3861) Before long messages would just be hidden: ![](https://uploads.linear.app/099ed59a-06c6-472f-9977-4798721bda90/6ea99100-27be-4192-adea-46ff2ed78cc8/860978fd-9ea5-456e-8c5a-48cecacf3e95)
[ { "path": "crates/next-core/js/src/overlay/internal/components/Terminal/styles.tsx", "patch": "@@ -2,19 +2,25 @@ import { noop as css } from \"../../helpers/noop-template\";\n \n const styles = css`\n .terminal {\n+ display: flex;\n+ overflow-y: hidden;\n+\n border-radius: var(--size-gap-half);\...
2023-02-17T16:23:45
huggingface/transformers
2d600a4363b401f155fe6336994b50b2047982e8
5111c8ea2f3eb918fc090f7dd4393d4204940e10
Granite speech speedups (#39197) * ensure the query is updated during training avoid unused parameters that DDP does not like * avoid a crash when `kwargs` contain `padding=True` trainers often pass this argument automatically * minor * Remove mel_spec lazy init, and rename to mel_filters. this ensures save_pretr...
[ { "path": "src/transformers/models/granite_speech/feature_extraction_granite_speech.py", "patch": "@@ -117,8 +117,6 @@ def _extract_mel_spectrograms(self, audio: \"torch.Tensor\", device=\"cpu\"):\n # stacking and skipping by 2\n audio = logmel.reshape(bsz, -1, 2 * logmel.shape[-1])\...
2025-07-09T21:09:50
golang/go
4f2ebfe34be7453ab144d82558cc4e735a55d644
d2f002cb39bebdfac560282a43f3199c5d0903d7
cmd/compile: allow embed into any byte slice type Fixes #47735 Change-Id: Ia21ea9a67f36a3edfef1b299ae4f3b00c306cd68 Reviewed-on: https://go-review.googlesource.com/c/go/+/342851 Reviewed-by: Matthew Dempsky <mdempsky@google.com> Run-TryBot: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Go Bot <gobot@golang.org...
[ { "path": "src/cmd/compile/internal/staticdata/embed.go", "patch": "@@ -73,7 +73,7 @@ func embedKind(typ *types.Type) int {\n \tif typ.Kind() == types.TSTRING {\n \t\treturn embedString\n \t}\n-\tif typ.Sym() == nil && typ.IsSlice() && typ.Elem().Kind() == types.TUINT8 {\n+\tif typ.IsSlice() && typ.Elem().K...
2021-08-17T11:34:40
electron/electron
1027fe99919679f42171603dec16ec2f4aa99061
f979847e06393401e0d0d6e8903c81393db2230b
linux: Fix wrong off_t type under 32bit arch
[ { "path": "vendor/brightray", "patch": "@@ -1 +1 @@\n-Subproject commit 45ffaf463554f489e890c24a35abd3ca2d48f36b\n+Subproject commit ec0a660b0b70e6ea5a4ee760a753b8fac31a5de2", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2015-04-12T08:16:17
huggingface/transformers
5111c8ea2f3eb918fc090f7dd4393d4204940e10
2781ad092dad77ff554cb70ec130b97e44cfba78
Fix typo: langauge -> language (#39317)
[ { "path": "docs/source/en/model_doc/t5gemma.md", "patch": "@@ -24,7 +24,7 @@ rendered properly in your Markdown viewer.\n \n # T5Gemma\n \n-T5Gemma (aka encoder-decoder Gemma) was proposed in a [research paper](https://arxiv.org/abs/2504.06225) by Google. It is a family of encoder-decoder large langauge mod...
2025-07-09T19:06:46
nodejs/node
e2260e901d30042bd2c2afb74f7d49b67cb6c318
c1e670338ba105faaf6df3e8ab7086bede04ad6f
deps: float 415c3356 from openssl (DSA vulnerability) Low severity timing vulnerability in the DSA signature algorithm Publicly disclosed but unreleased, pending OpenSSL 1.1.0j, not deemed severe enough to be assigned a CVE #. Ref: https://github.com/openssl/openssl/pull/7487 PR-URL: https://github.com/nodejs/node/p...
[ { "path": "deps/openssl/openssl/crypto/dsa/dsa_ossl.c", "patch": "@@ -25,6 +25,8 @@ static int dsa_do_verify(const unsigned char *dgst, int dgst_len,\n DSA_SIG *sig, DSA *dsa);\n static int dsa_init(DSA *dsa);\n static int dsa_finish(DSA *dsa);\n+static BIGNUM *dsa_mod_inverse_ferma...
2018-10-30T02:17:43
vercel/next.js
bac00ba7d7ebd41074281943ec8766408a3d4584
ae3442c37a79e815718b322984b8c1d914f026aa
@next/font migration warning (#46036) Print warning with migration instructions if `@next/font` is in deps. Fixes NEXT-483 ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/next...
[ { "path": "errors/built-in-next-font.md", "patch": "@@ -0,0 +1,18 @@\n+# Built-in `next/font`\n+\n+#### Why This Error Occurred\n+\n+Starting with Next.js 13.2, `next/font` is built-in to Next.js and no longer needs to be installed. The `@next/font` package will be removed in Next.js 14.\n+\n+#### Possible ...
2023-02-17T15:39:26
rust-lang/rust
f57a64ae5af9907d108532ff437dc05020445397
c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3
ci: improve citool job db errors
[ { "path": "src/ci/citool/src/jobs.rs", "patch": "@@ -85,14 +85,20 @@ impl JobDatabase {\n }\n \n pub fn load_job_db(db: &str) -> anyhow::Result<JobDatabase> {\n- let mut db: Value = serde_yaml::from_str(db)?;\n+ let mut db: Value = serde_yaml::from_str(db).context(\"failed to parse YAML content\")?;\n...
2025-05-21T16:50:01
golang/go
de23549a3967ade982d848a5b6ae3cb3fa0dba45
3b523caf4145c2d915c5ead69440f9b890634587
[dev.cmdgo] cmd/go: fix calls to modFileGoVersion to pass in modFile Before this change, we were arbitrarily picking a module to get the Go version from in calls to modFileGoVersion. We now pass in the modFile to modFileGoVersion when we have the file. Most of the calls were to get the goVersion argument for commitReq...
[ { "path": "src/cmd/go/internal/modload/buildlist.go", "patch": "@@ -461,7 +461,7 @@ func LoadModGraph(ctx context.Context, goVersion string) *ModuleGraph {\n \t\tbase.Fatalf(\"go: %v\", err)\n \t}\n \n-\tcommitRequirements(ctx, modFileGoVersion(), rs)\n+\tcommitRequirements(ctx, rs)\n \treturn mg\n }\n \n@@...
2021-08-24T16:37:15
electron/electron
f979847e06393401e0d0d6e8903c81393db2230b
26ac617692930c7ee5047ffb87219e30b1c96868
linux: Upgrade brightray to fix linking problem
[ { "path": "vendor/brightray", "patch": "@@ -1 +1 @@\n-Subproject commit 80a002c4a239f347cc4e0eea7378054977520726\n+Subproject commit 45ffaf463554f489e890c24a35abd3ca2d48f36b", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2015-04-12T07:56:22
huggingface/transformers
2781ad092dad77ff554cb70ec130b97e44cfba78
16dd7f48d00fbb2c1991ad90634b14856133f2d3
docs: update LLaVA-NeXT model card (#38894) * docs: update LLaVA-NeXT model card * Update docs/source/en/model_doc/llava_next.md Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com> * Update docs/source/en/model_doc/llava_next.md Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github...
[ { "path": "docs/source/en/model_doc/llava_next.md", "patch": "@@ -14,287 +14,178 @@ rendered properly in your Markdown viewer.\n \n -->\n \n-# LLaVA-NeXT\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=w...
2025-07-09T18:32:40
nodejs/node
ab2778d76368c240764c931404fa3c7f25aaa309
5833fa989d8c724ad76a912bc402c6843f177328
win: add prompt to tools installation script Fixes: https://github.com/nodejs/Release/issues/369 PR-URL: https://github.com/nodejs/node/pull/23987 Reviewed-By: John-David Dalton <john.david.dalton@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
[ { "path": "tools/msvs/install_tools/install_tools.bat", "patch": "@@ -1,5 +1,7 @@\n @echo off\n \n+setlocal\n+\n cls\n echo ====================================================\n echo Tools for Node.js Native Modules Installation Script\n@@ -61,9 +63,14 @@ echo.\n echo Sometimes the scripts may install all ...
2018-10-31T00:52:35
golang/go
08d4cc20cad0e95b4e368c2f38268199f9c68548
099b819085e12ca45ac184cab5afb82538bec472
cmd/compile: fix stencil call expression. Fixes: #47878 Change-Id: I369350813726fd518b4eab2b98f43bf031a6dee6 Reviewed-on: https://go-review.googlesource.com/c/go/+/344210 Reviewed-by: Dan Scales <danscales@google.com> Trust: Dan Scales <danscales@google.com> Trust: Keith Randall <khr@golang.org> Run-TryBot: Dan Scale...
[ { "path": "src/cmd/compile/internal/noder/stencil.go", "patch": "@@ -1048,6 +1048,13 @@ func (subst *subster) node(n ir.Node) ir.Node {\n \t\t\tcase ir.OCLOSURE:\n \t\t\t\ttransformCall(call)\n \n+\t\t\tcase ir.ODEREF, ir.OINDEX, ir.OINDEXMAP, ir.ORECV:\n+\t\t\t\t// Transform a call that was delayed because...
2021-08-22T16:48:10
vercel/next.js
ae3442c37a79e815718b322984b8c1d914f026aa
465f9846a05720facfb2014f821cab3bb2e7672c
Fix RSC navigation when overriding headers in middleware (#46049) Fixes NEXT-583 Ran into this when looking into adding an integration test for the RSC normalizing PR. Middleware has the ability to override `headers` which causes client-side navigation to break as it'll remove the `rsc` header which causes Ne...
[ { "path": "packages/next/src/server/web/adapter.ts", "patch": "@@ -75,10 +75,16 @@ export async function adapter(params: {\n }\n \n const requestHeaders = fromNodeHeaders(params.request.headers)\n+ const flightHeaders = new Map()\n // Parameters should only be stripped for middleware\n if (!isEdgeR...
2023-02-17T15:34:35
electron/electron
847ae5abe4b4403e9905f4232bd25267928c340b
252ac465c5b6ccc95a58c0976235ab7798840b3a
webContents: fix dereferencing null in getURL
[ { "path": "atom/browser/api/atom_api_web_contents.cc", "patch": "@@ -360,6 +360,8 @@ void WebContents::LoadURL(const GURL& url, const mate::Dictionary& options) {\n \n GURL WebContents::GetURL() const {\n auto entry = web_contents()->GetController().GetLastCommittedEntry();\n+ if (!entry)\n+ return GU...
2015-04-12T05:21:05
huggingface/transformers
16dd7f48d00fbb2c1991ad90634b14856133f2d3
d61c0d087cedbfdbbee8c75b210d5837c35addb8
skip files in `src/` for doctest (for now) (#39316) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "utils/split_doctest_jobs.py", "patch": "@@ -59,6 +59,13 @@\n \n for file in all_doctest_files:\n file_dir = \"/\".join(Path(file).parents[0].parts)\n+\n+ # not to run files in `src/` for now as it is completely broken at this moment. See issues/39159 and\n+ # https://git...
2025-07-09T17:36:48
rust-lang/rust
68ea46179b912e58ef9511559ba7b30ea569def0
e3ec0d2de6b6f764d49fe9150335c9cda7ee5600
Add TODO for const stability MSRV checking Also, update error marker for consistency.
[ { "path": "clippy_lints/src/incompatible_msrv.rs", "patch": "@@ -168,6 +168,7 @@ impl IncompatibleMsrv {\n \n impl<'tcx> LateLintPass<'tcx> for IncompatibleMsrv {\n fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'tcx>) {\n+ // TODO: check for const stability when in const conte...
2025-03-18T19:51:24
nodejs/node
5833fa989d8c724ad76a912bc402c6843f177328
315b1c656cee39c989015cc2b17fe8c864dbc3dd
win: clarify Boxstarter behavior on install tools Clarify the behavior of what Boxstarter may do when it runs on a box to install all the necessary tools so that there are no surprises to the end user when the script is run. Currently there is no interface that warns the user that Boxstarter will reboot the machine p...
[ { "path": "tools/msvs/install_tools/install_tools.bat", "patch": "@@ -47,7 +47,23 @@ echo script is at your own risk. Please read the Chocolatey's legal terms of use\n echo and the Boxstarter project license as well as how the community repository\n echo for Chocolatey.org is maintained.\n echo.\n-echo You ...
2018-10-31T14:41:10
vercel/next.js
465f9846a05720facfb2014f821cab3bb2e7672c
c16e28715f1b0234d7786f6e64ff02bfd9ec9c6a
Fix normalization of .rsc extension (#46043) Fixes #45883 Fixes NEXT-541 The reason the url after normalization in middleware ended up being `/somethingabc=def` instead of `/something?abc=def` is that the regex matches `?` so the `?` will be removed. Since it's in a capture group the only change needed was appl...
[ { "path": "packages/next/src/shared/lib/router/utils/app-paths.test.ts", "patch": "@@ -0,0 +1,22 @@\n+import { normalizeRscPath } from './app-paths'\n+\n+describe('normalizeRscPath', () => {\n+ describe('enabled', () => {\n+ it('should normalize url with .rsc', () => {\n+ expect(normalizeRscPath('/...
2023-02-17T15:32:13
electron/electron
d19a1063d571f3265584c6fe93c0aef20f719bba
a724d6d684c12ff01759bbb0ecce8273940a9bb6
Fix pylint warnings
[ { "path": "script/bootstrap.py", "patch": "@@ -82,7 +82,9 @@ def bootstrap_brightray(is_dev, url, target_arch):\n execute_stdout([sys.executable, bootstrap] + args)\n \n \n-def update_node_modules(dirname, env=os.environ):\n+def update_node_modules(dirname, env=None):\n+ if env is None:\n+ env = os.en...
2015-04-12T05:15:11
rust-lang/rust
46a5c91591a0d7a6fd8f8994810a3fc6c7ea444d
a69bc17fb8026bdc0d24bb1896ff95f0eba1da4e
std: fix doctest and explain for as_slices and as_mut_slices in VecDeque Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
[ { "path": "library/alloc/src/collections/vec_deque/mod.rs", "patch": "@@ -1312,6 +1312,8 @@ impl<T, A: Allocator> VecDeque<T, A> {\n ///\n /// If [`make_contiguous`] was previously called, all elements of the\n /// deque will be in the first slice and the second slice will be empty.\n+ /// Ot...
2025-05-18T15:50:19
nodejs/node
315b1c656cee39c989015cc2b17fe8c864dbc3dd
22f5c0892b2e78ccd5173df603e54cdca3b27eec
n-api: add missing handle scopes Currently when building with --debug test/addons-napi/test_threadsafe_function will error: $ out/Debug/node test/addons-napi/test_threadsafe_function/test.js FATAL ERROR: v8::HandleScope::CreateHandle() Cannot create a handle without a HandleScope 1: 0x10004e287 node::DumpBacktrac...
[ { "path": "src/node_api.cc", "patch": "@@ -1084,6 +1084,7 @@ class ThreadSafeFunction : public node::AsyncResource {\n }\n \n void CloseHandlesAndMaybeDelete(bool set_closing = false) {\n+ v8::HandleScope scope(env->isolate);\n if (set_closing) {\n node::Mutex::ScopedLock lock(this->mutex);...
2018-10-31T14:41:32
vercel/next.js
c16e28715f1b0234d7786f6e64ff02bfd9ec9c6a
752acfe7d4a3256cd36bb5608d0920e2834c17fb
feat: show version staleness in error overlay (#44234)Co-authored-by: Sukka <isukkaw@gmail.com> Co-authored-by: Steven <steven@ceriously.com> Co-authored-by: Hannes Bornö <hannes.borno@vercel.com> Co-authored-by: Hannes Bornö <borno.hannes@gmail.com> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.g...
[ { "path": "errors/manifest.json", "patch": "@@ -793,6 +793,10 @@\n {\n \"title\": \"app-static-to-dynamic-error\",\n \"path\": \"/errors/app-static-to-dynamic-error.md\"\n+ },\n+ {\n+ \"title\": \"version-staleness\",\n+ \"path\": \"/errors/version...
2023-02-17T15:18:28
electron/electron
b9b7928e7dc1c6ef6ebb5a9e9a0832555f4a8051
6b1dd0d413505a9b5d03341b7215d0255898fd33
Move version info to atom.gyp and discard apm dependency Fixes #1408. Closes #1359.
[ { "path": "atom.gyp", "patch": "@@ -2,6 +2,7 @@\n 'variables': {\n 'project_name%': 'atom',\n 'product_name%': 'Atom',\n+ 'version%': '0.22.3',\n \n 'atom_source_root': '<!([\"python\", \"tools/atom_source_root.py\"])',\n },", "additions": 1, "deletions": 0, "language": "Unkno...
2015-04-12T04:45:18
rust-lang/rust
5d9141c6c8640e98856fbe703b9f73204d85ba43
bbd3a5ada41e0d4678de15d10404a4733dba4087
fix better_any breakage by making the solver more unsound
[ { "path": "compiler/rustc_next_trait_solver/src/solve/trait_goals.rs", "patch": "@@ -9,15 +9,15 @@ use rustc_type_ir::{\n self as ty, Interner, Movability, TraitPredicate, TypeVisitableExt as _, TypingMode,\n Upcast as _, elaborate,\n };\n-use tracing::{instrument, trace};\n+use tracing::{debug, ins...
2025-05-21T13:54:19
nodejs/node
bcc7b7a58c13b92f6427184f3fe4583a7728f57c
616fac9169840c76512920e66b6428971df3d289
fs: handle result of access binding directly in fs.existsSync Instead of throwing errors in fs.accessSync and then catching it, handle the result from the binding directly in fs.existsSync. Note that the argument validation errors still needs to be caught until we properly deprecate the don't-thrown-on-invalid-argume...
[ { "path": "lib/fs.js", "patch": "@@ -228,11 +228,14 @@ Object.defineProperty(exists, internalUtil.promisify.custom, {\n // TODO(joyeecheung): deprecate the never-throw-on-invalid-arguments behavior\n function existsSync(path) {\n try {\n- fs.accessSync(path, F_OK);\n- return true;\n+ path = toPat...
2018-11-01T10:04:57
vercel/next.js
752acfe7d4a3256cd36bb5608d0920e2834c17fb
be5a9f53a8ffb1735089a4fb10b6db61622ffee8
Improve generic namings (#46046) Improves the naming of some generics to be more explicit. This feedback was reported by some community members on Twitter. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see [`contributing.md`]...
[ { "path": "packages/next/src/shared/lib/utils.ts", "patch": "@@ -9,16 +9,16 @@ import type { PreviewData } from 'next/types'\n import { COMPILER_NAMES } from './constants'\n \n export type NextComponentType<\n- C extends BaseContext = NextPageContext,\n- IP = {},\n- P = {}\n-> = ComponentType<P> & {\n+ ...
2023-02-17T15:00:29
golang/go
099b819085e12ca45ac184cab5afb82538bec472
e1fcf8857e1b3e076cc3a6fad1860afe0d6c2ca6
cmd/compile: fix CheckSize() calculation for -G=3 and stencils Because the Align/Width of pointer types are always set when created, CalcSize() never descends past a pointer. Therefore, we need to do CheckSize() at every level when creating type. We need to do this for types creates by types2-to-types1 conversion and ...
[ { "path": "src/cmd/compile/internal/noder/types.go", "patch": "@@ -30,21 +30,11 @@ func (g *irgen) pkg(pkg *types2.Package) *types.Pkg {\n // typ converts a types2.Type to a types.Type, including caching of previously\n // translated types.\n func (g *irgen) typ(typ types2.Type) *types.Type {\n+\t// Defer t...
2021-08-24T22:34:52
electron/electron
03bdd8814ed7035df07596f4ce26d85e18c2f0c1
b5450801d075cb3da87414fb651a28dea5cf9ce9
Fix typo
[ { "path": "spec/api-crash-reporter-spec.coffee", "patch": "@@ -18,7 +18,7 @@ describe 'crash-reporter module', ->\n afterEach -> w.destroy()\n \n # It is not working on 64bit Windows.\n- return if process.platform is 'win32' and process.arch is 'x64\n+ return if process.platform is 'win32' and process...
2015-04-11T15:03:54
nodejs/node
2ea70eae732682851ae6f9403daad7a966c11f5f
eada8c7ca20092858790b522299e80d8f4fdd497
src: fix compiler warning for debug build This commit updates the check of the offset argument passed to CallJSOnreadMethod to avoid doing a cast as this currently generates the following compiler warning when doing a debug build: ./src/stream_base.cc:295:3: warning: comparison of integers of different signs: 'int32_...
[ { "path": "src/stream_base.cc", "patch": "@@ -292,7 +292,7 @@ void StreamBase::CallJSOnreadMethod(ssize_t nread,\n \n #ifdef DEBUG\n CHECK_EQ(static_cast<int32_t>(nread), nread);\n- CHECK_EQ(static_cast<int32_t>(offset), offset);\n+ CHECK_LE(offset, INT32_MAX);\n \n if (ab.IsEmpty()) {\n CHECK_EQ(...
2018-10-31T06:48:59
vercel/next.js
fa5db9baebb1df4f89ec9cfae3a5a7178c4b5caf
22e28ff9c6620268567f4420bdb6c40c14255757
Remove stray console.log line (fixes #46027) (#46025)Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> Simply removing a debugging `console.log` line that was left over from a recent change. Fixes #46027 ## Bug - [x] Related issues linked using `fixes #number` - [ ] Integration...
[ { "path": "packages/next/src/lib/metadata/resolve-metadata.ts", "patch": "@@ -95,7 +95,6 @@ function merge(\n break\n }\n case 'openGraph': {\n- if (target.openGraph) console.log('override')\n target.openGraph = resolveOpenGraph(source.openGraph, metadataBase)\n if...
2023-02-17T09:55:37
huggingface/transformers
d61c0d087cedbfdbbee8c75b210d5837c35addb8
161cf3415ed5b0caee38ce42d8805744d13c1b50
Updated the Model docs - for the MARIAN model (#39138) * Update marian.md This update improves the Marian model card to follow the Hugging Face standardized model card format. The changes include: - Added a clear description of MarianMT, its architecture, and how it differs from other models. - Provided usage exa...
[ { "path": "docs/source/en/model_doc/marian.md", "patch": "@@ -14,159 +14,138 @@ rendered properly in your Markdown viewer.\n \n -->\n \n-# MarianMT\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\"...
2025-07-09T17:23:03
golang/go
e1fcf8857e1b3e076cc3a6fad1860afe0d6c2ca6
d37b8dedf7f96d88c7280f6afadb09b100380f93
test: add test that caused gofrontend compiler crash Updates https://gcc.gnu.org/PR101994 Change-Id: I50dcb90e315792efd7d83b496034ad33b5f199e9 Reviewed-on: https://go-review.googlesource.com/c/go/+/343874 Trust: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Go Bot <g...
[ { "path": "test/fixedbugs/gcc101994.go", "patch": "@@ -0,0 +1,16 @@\n+// compile\n+\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+// https://gcc.gnu.org/PR101994\n+// gccgo compiler cr...
2021-08-20T18:35:31
electron/electron
9e7c2a6fe493143ff195acfe55ec9809570052e2
aa07d5e55725018b62b716953d0c94dd4d28ccd7
spec: Suppress crash-reporter test on 64bit Windows
[ { "path": "spec/api-crash-reporter-spec.coffee", "patch": "@@ -17,6 +17,9 @@ describe 'crash-reporter module', ->\n beforeEach -> w = new BrowserWindow(show: false)\n afterEach -> w.destroy()\n \n+ # It is not working on 64bit Windows.\n+ return if process.platform is 'win32' and process.arch is 'x64\...
2015-04-11T12:15:31
nodejs/node
eada8c7ca20092858790b522299e80d8f4fdd497
d24756bf790c4d00fffe2366defa910b5ef760c3
test: increase --stack_size test-async-wrap-pop Currently, when building with --debug test-async-wrap-pop-id-during-load fails on macosx with the following error: $ out/Debug/node test/parallel/test-async-wrap-pop-id-during-load.js assert.js:86 throw new AssertionError(obj); ^ AssertionError [ERR_ASSERTION]: EXI...
[ { "path": "test/parallel/test-async-wrap-pop-id-during-load.js", "patch": "@@ -16,7 +16,7 @@ const { spawnSync } = require('child_process');\n \n const ret = spawnSync(\n process.execPath,\n- ['--stack_size=75', __filename, 'async']\n+ ['--stack_size=150', __filename, 'async']\n );\n assert.strictEqual(...
2018-10-31T11:09:18
huggingface/transformers
3be10c6d19fafc55d96d52e8bf30715058373543
4652677c89ecb664ee06bf141d1b7b648798e122
Fix consistency and a few docstrings warnings (#39314) * Update modeling_deepseek_v2.py * fix docstrings * fix * fix
[ { "path": "src/transformers/models/d_fine/modeling_d_fine.py", "patch": "@@ -1674,7 +1674,9 @@ def forward(\n return_dict: Optional[bool] = None,\n **kwargs,\n ) -> Union[tuple[torch.FloatTensor], DFineObjectDetectionOutput]:\n- \"\"\"\n+ r\"\"\"\n+ Example:\n+\n ...
2025-07-09T16:40:37
vercel/next.js
22e28ff9c6620268567f4420bdb6c40c14255757
ebcde0364846c7a52057bfadeeef4976349ee6d8
Make shebangs portable used in the repo portable (#46028) Not all systems have `/bin/bash` (for example NixOS). `/usr/bin/env bash` reads the location of bash from `PATH` <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that...
[ { "path": ".github/actions/next-stats-action/entrypoint.sh", "patch": "@@ -1,4 +1,4 @@\n-#!/bin/bash\n+#!/usr/bin/env bash\n set -eu # stop on error\n \n export HOME=/root", "additions": 1, "deletions": 1, "language": "Shell Script" }, { "path": "scripts/check-examples.sh", "patch": ...
2023-02-17T09:45:42
electron/electron
aa07d5e55725018b62b716953d0c94dd4d28ccd7
f32cd5a35e88302de8dda280ba88ead8ff87c45e
win: Fix linking problem on x64
[ { "path": "common.gypi", "patch": "@@ -107,27 +107,50 @@\n 'OTHER_LDFLAGS': [ '-Wl,-all_load' ],\n },\n }],\n- ['OS==\"win\" and libchromiumcontent_component==0', {\n+ ['OS==\"win\"', {\n 'libraries': [ '-lwinmm.lib' ],\n- 'msvs_se...
2015-04-11T11:51:11
golang/go
de1c934b9709728b15cc821a055155ee13e1d0ab
54cdef1f101a7a15fa6412fbedf8b009a1f725a1
cmd/compile: fix checkptr false positive for (*[Big]T)(ptr)[:n:n] pattern The checkptr instrumentation is currently inserted before slice operation has validated that n <= Big. So instead of panic, checkptr have false positive throws. To fix this, just insert the checkptr instrumentation after the bound checking duri...
[ { "path": "src/cmd/compile/internal/ir/expr.go", "patch": "@@ -570,10 +570,11 @@ func (*SelectorExpr) CanBeNtype() {}\n // A SliceExpr is a slice expression X[Low:High] or X[Low:High:Max].\n type SliceExpr struct {\n \tminiExpr\n-\tX Node\n-\tLow Node\n-\tHigh Node\n-\tMax Node\n+\tX Node\n+...
2021-08-20T04:38:54
nodejs/node
c51d47d5df22234c34968ade0ae470ceb9343d48
71815317427cc9ff2f1de7785341bf09eaf85f43
doc: fix dublication in net.createServer() docs PR-URL: https://github.com/nodejs/node/pull/24026 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "doc/api/net.md", "patch": "@@ -886,6 +886,7 @@ added: v0.7.0\n -->\n * `options` {Object}\n * `connectListener` {Function}\n+\n Alias to\n [`net.createConnection(options[, connectListener])`][`net.createConnection(options)`].\n \n@@ -1028,10 +1029,6 @@ then returns the `net.Socket` that starts th...
2018-11-01T21:15:48
huggingface/transformers
4652677c89ecb664ee06bf141d1b7b648798e122
c98090420431e49d5cab8f41b1cb5426a8b87e5a
🌐 [i18n-KO] Translated quark.md to Korean (#39268) * initial translation * removed english parts * maintain consistency * Update docs/source/ko/quantization/quark.md Co-authored-by: YONGSANG <71686691+4N3MONE@users.noreply.github.com> * Update docs/source/ko/quantization/quark.md Co-authored-by: YONGSANG <71686...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -157,6 +157,8 @@\n title: (번역중) VPTQ\n - local: quantization/quanto\n title: Quanto\n+ - local: quantization/quark\n+ title: Quark\n - local: quantization/eetq\n title: EETQ\n - local: in_translation", "additions": 2, "delet...
2025-07-09T16:29:51
vercel/next.js
5023e7fb7e00b88154bc7c188ca56c55ccdad0d1
8163284e87805f8f80a19f8db5346a7842a00c6d
Fixing nextjs-recoil example (#46024)
[ { "path": "examples/with-recoil/lib/recoil-atoms.js", "patch": "@@ -7,10 +7,12 @@ export const countState = atom({\n \n export const incrementCount = selector({\n key: 'incrementCount',\n+ get: ({ get }) => get(countState),\n set: ({ set }) => set(countState, (currCount) => currCount + 1),\n })\n \n ex...
2023-02-17T08:19:56
golang/go
54cdef1f101a7a15fa6412fbedf8b009a1f725a1
5d863f89fed8f0580294ada88f92f72f361c598f
reflect: add MapIter.SetKey and MapIter.SetValue These augment the existing MapIter.Key and MapIter.Value methods. The existing methods return new Values. Constructing these new Values often requires allocating. These methods allow the caller to bring their own storage. The naming is somewhat unfortunate, in that the...
[ { "path": "src/reflect/all_test.go", "patch": "@@ -336,6 +336,47 @@ func TestSetValue(t *testing.T) {\n \t}\n }\n \n+func TestMapIterSet(t *testing.T) {\n+\tm := make(map[string]interface{}, len(valueTests))\n+\tfor _, tt := range valueTests {\n+\t\tm[tt.s] = tt.i\n+\t}\n+\tv := ValueOf(m)\n+\n+\tk := New(v...
2021-05-17T19:31:11
nodejs/node
74ba48294b115364b92bbd5c87c8025cd109e303
1d5007b5c0c7c12dfbbdcfd7261d8b3d2c9e382c
2018-11-02, Version 11.1.0 (Current) Notable changes: * deps * Updated ICU to 63.1. https://github.com/nodejs/node/pull/23715 * repl * Top-level for-await-of is now supported in the REPL. https://github.com/nodejs/node/pull/23841 * timers * Fixed an issue that could cause timers to enter an infinite loop. ...
[ { "path": "CHANGELOG.md", "patch": "@@ -27,7 +27,8 @@ release.\n </tr>\n <tr>\n <td valign=\"top\">\n-<b><a href=\"doc/changelogs/CHANGELOG_V11.md#11.0.0\">11.0.0</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V11.md#11.1.0\">11.1.0</a></b><br/>\n+<a href=\"doc/changelogs/CHANGELOG_V11.md#11.0.0\"...
2018-10-27T09:09:54
electron/electron
4defde0b6130585355543125292e6a5d515355f7
ab94c3f49e8b9387fc7e331e5db7739947c3204a
Fix spelling and grammar errors. Particularly in the spelling of the bootstrap and build script names. That threw me off a bit.
[ { "path": "docs/development/build-system-overview.md", "patch": "@@ -17,30 +17,30 @@ Following `gyp` files contain the main rules of building Atom Shell:\n \n ## Component build\n \n-Since Chromium is a quite large project, the final linking stage would take\n+Since Chromium is quite a large project, the fi...
2015-04-11T04:46:13
vercel/next.js
8163284e87805f8f80a19f8db5346a7842a00c6d
7f41e4e8a13a952517636cc608ac1a196eaf9b8d
fix: next-image-experimental codemod (#45970) This PR fixes `next/image` codemods and makes sure that the tests are properly testing the codemods using the `tsx` parser. This is accomplished by make sure each codemod declares the `tsx` parser instead of the CLI. Related to: https://twitter.com/styfle/status/162599243...
[ { "path": "packages/next-codemod/bin/cli.ts", "patch": "@@ -78,7 +78,6 @@ export function runTransform({ files, flags, transformer }) {\n args.push('--ignore-pattern=**/.next/**')\n \n args.push('--extensions=tsx,ts,jsx,js')\n- args.push('--parser=tsx')\n \n args = args.concat(['--transform', transfo...
2023-02-17T01:36:09
golang/go
c2f96e686fe9383711d23aea95a34a280fdd0e49
5b64381155a779d5392f015e08111906c6e35738
cmd/compile: mark ODYNAMICDOTTYPE as an expression that can panic Fixes #47924 Change-Id: I4325b3c4ed9d369d9ea778478285436e1b2ab08a Reviewed-on: https://go-review.googlesource.com/c/go/+/344571 Trust: Keith Randall <khr@golang.org> Trust: Dan Scales <danscales@google.com> Run-TryBot: Keith Randall <khr@golang.org> Tr...
[ { "path": "src/cmd/compile/internal/walk/walk.go", "patch": "@@ -312,7 +312,7 @@ func mayCall(n ir.Node) bool {\n \t\t\treturn true\n \n \t\tcase ir.OINDEX, ir.OSLICE, ir.OSLICEARR, ir.OSLICE3, ir.OSLICE3ARR, ir.OSLICESTR,\n-\t\t\tir.ODEREF, ir.ODOTPTR, ir.ODOTTYPE, ir.ODIV, ir.OMOD, ir.OSLICE2ARRPTR:\n+\t\...
2021-08-24T17:21:16
nodejs/node
1d5007b5c0c7c12dfbbdcfd7261d8b3d2c9e382c
9e31a7286107cdfa24277cb781b893eb24ebfa9c
src: fix CreatePlatform header param mismatch PR-URL: https://github.com/nodejs/node/pull/23947 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ali Ijaz Sheikh <ofr...
[ { "path": "src/node.h", "patch": "@@ -100,15 +100,16 @@\n // Forward-declare libuv loop\n struct uv_loop_s;\n \n-// Forward-declare TracingController, used by CreatePlatform.\n-namespace v8 {\n-class TracingController;\n-}\n-\n // Forward-declare these functions now to stop MSVS from becoming\n // terminall...
2018-10-29T00:51:10
huggingface/transformers
c98090420431e49d5cab8f41b1cb5426a8b87e5a
accbd8e0fe7e535321fa6fa8de82c4260b500ddf
Add DeepSeek V2 Model into Transformers (#36400) * add initial structure * doc fixes, add model base logic * update init files * some fixes to config and modular * some improvements for attention * format * remove unused attn * some fixes for moe layer and for decoder * adapt _compute_yarn_parameters for deeps...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -709,6 +709,8 @@\n title: D-FINE\n - local: model_doc/dab-detr\n title: DAB-DETR\n+ - local: model_doc/deepseek_v2\n+ title: DeepSeek-V2\n - local: model_doc/deformable_detr\n title: Deformable DETR\n ...
2025-07-09T15:04:28
vercel/next.js
15aa25f27adfab8d22327d47c19f83b906ed229e
e6c9f514a7a523c72e1d2557fc1ba3d0e49570c9
Refactor freezing metadata while resolving and fix title merging (#45965) Addressing @gnoff 's comments from #45923 * Only freezing for the parentMetadata `argument` * Group dev specific code in one place for less branches and better DEC * Concurrently run the metadata resolving promises Fix title merging: sho...
[ { "path": "packages/next/src/build/webpack/loaders/next-app-loader.ts", "patch": "@@ -60,7 +60,7 @@ async function createAppRouteCode({\n \n return `\n import 'next/dist/server/node-polyfill-headers'\n- \n+\n export * as handlers from ${JSON.stringify(resolvedPagePath)}\n export const resol...
2023-02-17T01:02:39
electron/electron
a1b682cd50b42f70f4e9c72505487a2bf518cb77
48c9f4a0a6a37140251d06af7bc9cd49fc000abc
Debug_Base and Release_Base configs are abstract
[ { "path": "brightray/brightray.gypi", "patch": "@@ -168,6 +168,7 @@\n ],\n }, # Common_Base\n 'Debug_Base': {\n+ 'abstract': 1,\n 'defines': [\n # Use this instead of \"NDEBUG\" to determine whether we are in\n # Debug build, because \"NDEBUG\" is alre...
2015-04-11T04:06:33
golang/go
5b64381155a779d5392f015e08111906c6e35738
4a9f0cec2918c855a23d5581c0b1da95eb11dd17
cmd/compile: fix naming of types inside instantiations Issues 47713 and 47877 were both due to problems with the names used for instantiated functions/methods, which must be in sync with the names used by types2. - Switched to using NameString() for writing out type arguments in instantiation names. This ensures ...
[ { "path": "src/cmd/compile/internal/noder/stencil.go", "patch": "@@ -590,7 +590,7 @@ func (g *irgen) getInstantiation(nameNode *ir.Name, shapes []*types.Type, isMeth\n \t\tshapes = s1\n \t}\n \n-\tsym := typecheck.MakeInstName(nameNode.Sym(), shapes, isMeth)\n+\tsym := typecheck.MakeFuncInstSym(nameNode.Sym...
2021-08-22T15:58:24
nodejs/node
db2ac1dbd94cd8a7628ddd609c5238aa2ad3d52e
878f587783e4b79ac6fd76524e1fd431e8c11e7c
doc: fix headings for CHANGELOG_v10.md The LTS bit flip did not include the new title heading for LTS in the changelog. This commit fixes that. PR-URL: https://github.com/nodejs/node/pull/23973 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Richard Lau <riclau...
[ { "path": "doc/changelogs/CHANGELOG_V10.md", "patch": "@@ -5,11 +5,14 @@\n \n <table>\n <tr>\n-<th>Current</th>\n+<th>LTS 'Dubnium'</th>\n+<th title=\"Previously called 'Stable'\">Current</th>\n </tr>\n <tr>\n-<td>\n+<td valign=\"top\">\n <a href=\"#10.13.0\">10.13.0</a><br/>\n+</td>\n+<td valign=\"top\">\n...
2018-10-30T15:49:50
huggingface/transformers
1cefb5d788f5e1a5b59fd57394ed93cbe71f0d86
4798c05c64ddcca574fdce962a72466bdcb55a9e
[modular] Allow method with the same name in case of @property decorator (#39308) * fix * add example * fix * Update modular_model_converter.py
[ { "path": "examples/modular-transformers/configuration_duplicated_method.py", "patch": "@@ -0,0 +1,216 @@\n+# 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨\n+# This file was automatically generated from examples/modular-transformers...
2025-07-09T13:46:53
electron/electron
1f66006c9318c90e028b2092897cfb63b9c3c41d
3a5bb588e5efe216356bed5b4ba61bd30b5524a6
win: Fix link errors caused by libicu
[ { "path": "atom/common/node_bindings.cc", "patch": "@@ -52,6 +52,14 @@ REFERENCE_MODULE(atom_renderer_ipc);\n REFERENCE_MODULE(atom_renderer_web_frame);\n #undef REFERENCE_MODULE\n \n+// The \"v8::Function::kLineOffsetNotFound\" is exported in node.dll, but the\n+// linker can not find it, could be a bug of...
2015-04-10T07:35:25
vercel/next.js
b1f45ce8962de902c80b02034406cba5f633ead3
e50dbc7d3c363f9d6ba5b3a278d8f280055074f5
Remove `swcMinifyDebugOptions` from the config (#45976) x-ref: https://vercel.slack.com/archives/C02HY34AKME/p1676511557291209
[ { "path": "docs/advanced-features/compiler.md", "patch": "@@ -441,28 +441,6 @@ import lodash from 'lodash'\n \n ## Experimental Features\n \n-### Minifier debug options\n-\n-While the minifier is experimental, we are making the following options available for debugging purposes. They will not be available o...
2023-02-17T00:18:35
golang/go
4a9f0cec2918c855a23d5581c0b1da95eb11dd17
daa55b21d1e7707ed251336c851841bb0eca3021
cmd/compile: change irgen to generate exprs/stmts after decls processed This CL changes irgen to wait until all top-level declarations have been processed before constructing any expressions or statements that reference them. This is the same approach that typecheck used. Mechanically, it splits varDecl and funcDecl ...
[ { "path": "src/cmd/compile/internal/noder/decl.go", "patch": "@@ -18,26 +18,24 @@ import (\n // TODO(mdempsky): Skip blank declarations? Probably only safe\n // for declarations without pragmas.\n \n-func (g *irgen) decls(decls []syntax.Decl) []ir.Node {\n-\tvar res ir.Nodes\n+func (g *irgen) decls(res *ir....
2021-08-24T07:32:30
nodejs/node
878f587783e4b79ac6fd76524e1fd431e8c11e7c
4f5be97e8dc40f005b18fc67209cd61abb7bcd71
test: assert that invalidcmd throws error code Update invalidcmd test case in test-child-process-spawn-typeerror to assert on specific expected error code. PR-URL: https://github.com/nodejs/node/pull/23942 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James...
[ { "path": "test/parallel/test-child-process-spawn-typeerror.js", "patch": "@@ -33,12 +33,11 @@ const invalidArgValueError =\n common.expectsError({ code: 'ERR_INVALID_ARG_VALUE', type: TypeError }, 14);\n \n const invalidArgTypeError =\n- common.expectsError({ code: 'ERR_INVALID_ARG_TYPE', type: TypeErro...
2018-10-28T17:55:59
huggingface/transformers
4798c05c64ddcca574fdce962a72466bdcb55a9e
fe5f3c85d292e34bed52e02a53edd5fa2acfc010
skip `test_torchscript_*` for now until the majority of the community ask for it (#39307) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/test_modeling_common.py", "patch": "@@ -21,6 +21,7 @@\n import random\n import re\n import tempfile\n+import unittest\n import warnings\n from collections import defaultdict\n from contextlib import contextmanager\n@@ -1344,17 +1345,20 @@ def test_attention_outputs(self):\n ...
2025-07-09T13:35:48
vercel/next.js
2f466eb40ce0ac37942700a0478e60e15ced4e24
81542ff7593e08a1657e90e20a2f74110c66e99e
strip UNC prefix on windows paths (vercel/turbo#3847)
[ { "path": "packages/next-swc/crates/next-dev/Cargo.toml", "patch": "@@ -42,6 +42,7 @@ rustls-tls = [\"next-core/rustls-tls\"]\n anyhow = { version = \"1.0.47\", features = [\"backtrace\"] }\n clap = { version = \"4.0.18\", features = [\"derive\", \"env\"], optional = true }\n console-subscriber = { version ...
2023-02-17T00:01:52
electron/electron
8894cfab5023872a5f79f08fdea7de31eda5be8c
8500a53c238229476479302bb2d86f64d6a40380
mac: Fix libicu symbols not included
[ { "path": "common.gypi", "patch": "@@ -101,8 +101,13 @@\n ['_target_name==\"node\"', {\n 'include_dirs': [ '<(libchromiumcontent_src_dir)/v8/include' ],\n 'conditions': [\n+ ['OS==\"mac\" and libchromiumcontent_component==0', {\n+ 'xcode_settings': {\n+ ...
2015-04-10T05:24:58
golang/go
daa55b21d1e7707ed251336c851841bb0eca3021
e6798795ff523b9b5df2514bffd8d5ce743c312e
cmd/link: guarantee "section .debug_gdb_scripts" is always "$GOROOT/src/runtime/runtime-gdb.py". to guarantee the "section .debug_gdb_scripts" is always "$GOROOT/src/runtime/runtime-gdb.py" , a check for package name is needed when search "runtime/proc.go". Fixes #47881 Change-Id: Ib471314ca1a6777f625b488e5ae379045...
[ { "path": "src/cmd/link/internal/ld/dwarf.go", "patch": "@@ -1190,7 +1190,7 @@ func (d *dwctxt) writeDirFileTables(unit *sym.CompilationUnit, lsu *loader.Symbo\n \t\t// We can't use something that may be dead-code\n \t\t// eliminated from a binary here. proc.go contains\n \t\t// main and the scheduler, so i...
2021-08-22T09:26:20
rust-lang/rust
e36dc78edd4f166953afc0530500d589894ac412
bbd3a5ada41e0d4678de15d10404a4733dba4087
Add some track_caller info to precondition panics
[ { "path": "library/core/src/alloc/layout.rs", "patch": "@@ -126,6 +126,7 @@ impl Layout {\n #[rustc_const_stable(feature = \"const_alloc_layout_unchecked\", since = \"1.36.0\")]\n #[must_use]\n #[inline]\n+ #[track_caller]\n pub const unsafe fn from_size_align_unchecked(size: usize, align...
2024-08-27T15:05:45
huggingface/transformers
fe5f3c85d292e34bed52e02a53edd5fa2acfc010
0687d481e2c71544501ef9cb3eef795a6e79b1de
fix `aria` tests (#39277) * fix * fix * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "src/transformers/models/aria/modeling_aria.py", "patch": "@@ -633,6 +633,10 @@ class AriaTextPreTrainedModel(PreTrainedModel):\n _supports_sdpa = True\n _supports_cache_class = True\n _supports_attention_backend = True\n+ _can_record_outputs = {\n+ \"hidden_states\": AriaTex...
2025-07-09T11:49:33
nodejs/node
4f5be97e8dc40f005b18fc67209cd61abb7bcd71
a6e836a657d6fd159868a3c05e22562afdbe0c9d
test: fix strictEqual arguments order PR-URL: https://github.com/nodejs/node/pull/23956 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Franziska Hinkelmann <...
[ { "path": "test/parallel/test-http2-write-empty-string.js", "patch": "@@ -25,15 +25,15 @@ server.listen(0, common.mustCall(function() {\n let res = '';\n \n req.on('response', common.mustCall(function(headers) {\n- assert.strictEqual(200, headers[':status']);\n+ assert.strictEqual(headers[':status...
2018-10-29T14:22:43
electron/electron
5f2fe27b65686a8a69071f0639ce86b00876a4b3
a400bb59973cc9c606c53c83c2699783667d438a
linux: Fix linking with node and v8
[ { "path": "atom.gyp", "patch": "@@ -121,14 +121,12 @@\n 'conditions': [\n ['libchromiumcontent_component', {\n 'copied_libraries': [\n- '<(PRODUCT_DIR)/node.dll'\n '<@(libchromiumcontent_shared_libraries)',\n ...
2015-04-10T04:07:53
vercel/next.js
cc6d137dc254570e3382f256bb219ffa7a5c82bc
f1a3e8c98166177d18b6b3b90d3aba7c511d3ec9
strip UNC prefix on windows paths (vercel/turbo#3847)
[ { "path": "crates/next-dev/Cargo.toml", "patch": "@@ -42,6 +42,7 @@ rustls-tls = [\"next-core/rustls-tls\"]\n anyhow = { version = \"1.0.47\", features = [\"backtrace\"] }\n clap = { version = \"4.0.18\", features = [\"derive\", \"env\"], optional = true }\n console-subscriber = { version = \"0.1.8\", optio...
2023-02-17T00:01:52
golang/go
d70c69d830f873473851e37b47ac4f35b5200273
f98b6111eb8edda63a785db5678418b9eecbc5e9
embed: document the maximum file size supported Fixes #47627 Change-Id: Ia1edfb6249863ab055fab68a35666bc2bdf21dcb Reviewed-on: https://go-review.googlesource.com/c/go/+/341689 Reviewed-by: Jay Conrod <jayconrod@google.com> Trust: Michael Matloob <matloob@golang.org>
[ { "path": "src/cmd/compile/internal/staticdata/data.go", "patch": "@@ -92,6 +92,10 @@ func StringSym(pos src.XPos, s string) (data *obj.LSym) {\n \treturn symdata\n }\n \n+// maxFileSize is the maximum file size permitted by the linker\n+// (see issue #9862).\n+const maxFileSize = int64(2e9)\n+\n // fileStr...
2021-08-12T15:39:29
nodejs/node
a6e836a657d6fd159868a3c05e22562afdbe0c9d
0d9d32ad1598e07816c204ad566e723b3cc83406
test: add property for RangeError in test-buffer-copy PR-URL: https://github.com/nodejs/node/pull/23968 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
[ { "path": "test/parallel/test-buffer-copy.js", "patch": "@@ -1,10 +1,17 @@\n 'use strict';\n \n-require('../common');\n+const common = require('../common');\n const assert = require('assert');\n \n const b = Buffer.allocUnsafe(1024);\n const c = Buffer.allocUnsafe(512);\n+\n+const errorProperty = {\n+ code...
2018-10-30T07:29:02
electron/electron
10122304edbe8a31c14cbd9bb2501204dd2b407e
b85b08ef8c8fc10fd7ac92b64326df9baf7511b4
Fix including icu libraries
[ { "path": "brightray/vendor/libchromiumcontent", "patch": "@@ -1 +1 @@\n-Subproject commit fdfaa8d1e4f1a9a54bf679bbfdb5bf0a3af49399\n+Subproject commit 44cb29a12cf2b93064ce77a1be94528a535016f4", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2015-04-10T04:06:55
vercel/next.js
e50dbc7d3c363f9d6ba5b3a278d8f280055074f5
9b91fd5a082de1f1c04446e61d9ba926e406b908
docs: fix contributing guideline (#46005) This PR fixes the json object example in the docs contributing guidelines ## Documentation / Examples - [x] Make sure the linting passes by running `pnpm build && pnpm lint` - [x] The "examples guidelines" are followed from [our contributing doc](https://github.com/ve...
[ { "path": "contributing/docs/adding-documentation.md", "patch": "@@ -23,17 +23,17 @@ After:\n \n ```json\n [\n- {\n- \"path\": \"/docs/original\",\n- \"redirect\": {\n- \"permanent\": false,\n- \"destination\": \"/new\"\n- }\n- }\n- {\n- \"path\": \"/docs/new.md\",\...
2023-02-16T23:48:16
huggingface/transformers
0687d481e2c71544501ef9cb3eef795a6e79b1de
25343aafee10da8a13b217a39f3825f88c6d8dbe
[flash attn 3] bring back flags (#39294) * flash attn 3 flag * fix copies
[ { "path": "src/transformers/models/aimv2/modeling_aimv2.py", "patch": "@@ -445,6 +445,7 @@ class Aimv2PreTrainedModel(PreTrainedModel):\n ]\n _supports_sdpa = True\n _supports_flash_attn_2 = True\n+ _supports_flash_attn_3 = True\n _supports_flex_attn = True\n \n def _init_weights(self...
2025-07-09T07:45:01
golang/go
8eeb1bff1d7107828b41af08e599c78fc36bab30
be1a6934776a3c7f636932918e756b44b6510214
cmd/compile: reuse same node for global dictionaries Change stencil.go:getDictionaryValue() and reflect.go:getDictionary() to reuse any existing name node that has been created for the needed global dictionary. Otherwise, these functions may set the Def on a specific dictionary sym to two different name nodes, which m...
[ { "path": "src/cmd/compile/internal/noder/stencil.go", "patch": "@@ -1579,12 +1579,17 @@ func (g *irgen) finalizeSyms() {\n func (g *irgen) getDictionaryValue(gf *ir.Name, targs []*types.Type, isMeth bool) ir.Node {\n \tsym := g.getDictionarySym(gf, targs, isMeth)\n \n-\t// Make a node referencing the dicti...
2021-08-23T22:45:10
nodejs/node
0d9d32ad1598e07816c204ad566e723b3cc83406
22f7d0a4bdf4e33cfb85be1f341b1f8cadf1b668
child_process: handle undefined/null for fork() args PR-URL: https://github.com/nodejs/node/pull/22416 Fixes: https://github.com/nodejs/node/issues/20749 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Denys Otrishko <shishugi@gmail.com> Reviewed-By: Matheus Marchini <mat@mmarchini.me>
[ { "path": "lib/child_process.js", "patch": "@@ -69,6 +69,11 @@ exports.fork = function fork(modulePath /* , args, options */) {\n args = arguments[pos++];\n }\n \n+ if (pos < arguments.length &&\n+ (arguments[pos] === undefined || arguments[pos] === null)) {\n+ pos++;\n+ }\n+\n if (pos < a...
2018-08-20T16:02:31
vercel/next.js
9b91fd5a082de1f1c04446e61d9ba926e406b908
ee0cbeceb7a8dc59f7a74782fc31be27d27e1119
test(integration): emits successful test output for continue on error (#46008) <!-- 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(s) that you'...
[ { "path": "run-tests.js", "patch": "@@ -420,26 +420,11 @@ async function main() {\n }\n }\n }\n+\n if (!passed) {\n console.error(`${test} failed to pass within ${numRetries} retries`)\n children.forEach((child) => child.kill())\n \n- if (isTestJob) {\n- ...
2023-02-16T23:44:38
huggingface/transformers
25343aafee10da8a13b217a39f3825f88c6d8dbe
0e1c2817455602d182bd8ebf5fba212e14fb187e
Fix SDPA attention precision issue in Qwen2.5-VL (#37363) * solve conflicts and remove redundant attention_mask in qwenvit * update decoded text check * remove trailing whitespace
[ { "path": "src/transformers/models/glm4v/modeling_glm4v.py", "patch": "@@ -296,7 +296,6 @@ def forward(\n cu_seqlens: torch.Tensor,\n rotary_pos_emb: Optional[torch.Tensor] = None,\n position_embeddings: Optional[tuple[torch.Tensor, torch.Tensor]] = None,\n- attention_mask: Op...
2025-07-09T05:03:44
golang/go
be1a6934776a3c7f636932918e756b44b6510214
8157960d7f4a89807c71b3427a0363a23fd43ca9
cmd/compile: fixes for non-constant Sizeof/Alignof/Offsetof Includes Robert's suggested fix in validate.go to not fail on non-constant alignof/offsetof/sizeof calls. Further changes to wait on transforming these calls until stenciling time, when we can call EvalConst() to evaluate them once all the relevant types are ...
[ { "path": "src/cmd/compile/internal/noder/helpers.go", "patch": "@@ -138,10 +138,18 @@ func Call(pos src.XPos, typ *types.Type, fun ir.Node, args []ir.Node, dots bool)\n \t\t// until arg type known\n \t\t// OAPPEND: transformAppend requires that the arg is a slice\n \t\t// ODELETE: transformDelete requir...
2021-08-22T18:50:58
rust-lang/rust
7c38b6fd28b1972659b662683866c359f198a6f7
59372f2c81ba74554d9a71b12a4ed7f29adb33a2
Async drop fix for 'broken mir in AsyncDropGlue, place has deref as a later projection' (#140975)
[ { "path": "compiler/rustc_mir_transform/src/elaborate_drop.rs", "patch": "@@ -318,15 +318,20 @@ where\n bug!();\n };\n let obj_ptr_ty = Ty::new_mut_ptr(tcx, drop_ty);\n- let obj_ptr_place = Place::from(self.new_temp(obj_ptr_ty));\n let unwrap_ty...
2025-05-20T15:36:03