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
99f9f1042f59f60de9a8f0538c1117e4eca38ef9
0fb8d49e8869fe95c7580ae0b12cca41e009fe3f
Fix torchao usage (#37034) * fix load path Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * fix path Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * Fix torchao usage Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * fix tests Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * fix format Signed-...
[ { "path": "src/transformers/utils/quantization_config.py", "patch": "@@ -20,7 +20,7 @@\n import importlib.metadata\n import json\n import os\n-from dataclasses import dataclass\n+from dataclasses import dataclass, is_dataclass\n from enum import Enum\n from inspect import Parameter, signature\n from typing ...
2025-04-07T12:50:48
nodejs/node
24ee745f209f27bda67757cb7398489f430fd80c
0b2ad91ad309c4cc047ac2098452b953342beefa
test: fix args passed to strictEqual The third argument passed to asert.strictEqual() displays the message passed as third argument and does not report the difference between actual and expected if the test is failing. Hence, the third argument has been removed. PR-URL: https://github.com/nodejs/node/pull/21584 Revie...
[ { "path": "test/parallel/test-timers-immediate-queue.js", "patch": "@@ -50,5 +50,5 @@ for (let i = 0; i < QUEUE; i++)\n \n process.on('exit', function() {\n console.log('hit', hit);\n- assert.strictEqual(hit, QUEUE, 'We ticked between the immediate queue');\n+ assert.strictEqual(hit, QUEUE);\n });", ...
2018-06-27T13:51:53
vercel/next.js
5003de7b2dda46836fecdc91be301f2f0b5d64c6
cd02e5cf18beefab8569c767197314dcc3d2cf32
chore: fix issue verifier issues
[ { "path": ".github/actions/issue-validator/src/index.mjs", "patch": "@@ -1,11 +1,14 @@\n // @ts-check\n+// @ts-expect-error\n import * as github from '@actions/github'\n+// @ts-expect-error\n import * as core from '@actions/core'\n import { readFileSync } from 'node:fs'\n import { join } from 'node:path'\n ...
2022-11-30T11:15:35
electron/electron
78ab726ec7b14ecea6240a684002c6910561ef5c
caa5ea03167b64f623f6bb73346f36d110bc8b3b
Fix passing the wrong parameter.
[ { "path": "native_mate/constructor.cc", "patch": "@@ -2,7 +2,7 @@\n // Use of this source code is governed by a BSD-style license that can be\n // found in the LICENSE.chromium file.\n \n-#include \"native_mate/wrappable_class.h\"\n+#include \"native_mate/constructor.h\"\n \n #include \"native_mate/function...
2014-04-15T07:39:13
golang/go
eb71887b99fa656ed627c9c1d41319b9198979c8
c3365ad5f25043d6293f5cec1e71d1526678ac62
cmd/go: prune go.mod and go.sum files from vendored dependencies Fixes #42970 Change-Id: I79246ef7fc16ae05c8e7b40ffb239a61f6415447 Reviewed-on: https://go-review.googlesource.com/c/go/+/315410 Trust: Bryan C. Mills <bcmills@google.com> Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Go Bot <gobot@golan...
[ { "path": "doc/go1.17.html", "patch": "@@ -120,7 +120,7 @@ <h4 id=\"missing-go-directive\"><code>go.mod</code> files missing <code>go</code>\n files.)\n </p>\n \n-<h4 id=\"vendor-go-versions\"><code>go</code> versions in <code>vendor/modules.txt</code></h4>\n+<h4 id=\"vendor\"><code>vendor</code> contents...
2021-04-30T04:34:54
huggingface/transformers
08f36771b33d246986d9338a729fc4ef258b999d
9db31ea58579cf441bc0cf978ecf917a289fdc39
Fix `init empty weights` without accelerate (#37337) * add the integration * Update accelerate.py * Update accelerate.py * add find_tied_params as well * Update accelerate.py * add where copied from * simplify * add error
[ { "path": "src/transformers/integrations/accelerate.py", "patch": "@@ -0,0 +1,196 @@\n+# Copyright 2025 The HuggingFace Team. All rights reserved.\n+#\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance with the License.\n+# You may obtain...
2025-04-07T09:37:29
nodejs/node
f374d6aaf9a2a171c9cd100a4ca2d26a68f72cb8
5f3bdb016a99d102ebafe86424e7761228ef7f70
messaging: fix edge cases with transferring ports Currently, transferring the port on which postMessage is called causes a segmentation fault, and transferring the target port causes a subsequent port.onmessage setting to throw, or a deadlock if onmessage is set before the postMessage. Fix both of these behaviors and ...
[ { "path": "src/node_messaging.cc", "patch": "@@ -144,7 +144,7 @@ void Message::AddMessagePort(std::unique_ptr<MessagePortData>&& data) {\n \n namespace {\n \n-void ThrowDataCloneError(Environment* env, Local<String> message) {\n+void ThrowDataCloneException(Environment* env, Local<String> message) {\n Loc...
2018-06-25T03:10:37
huggingface/transformers
9db31ea58579cf441bc0cf978ecf917a289fdc39
debfe904c94d1104e94c71d2276a0d522f0f5081
Fix deepspeed with quantization (#37324) * Update modeling_utils.py * Update modeling_utils.py
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -3719,19 +3719,14 @@ def float(self, *args):\n \n @classmethod\n def get_init_context(cls, is_quantized: bool, _is_ds_init_called: bool):\n- # With deepspeed, we cannot initialize the model on meta device\n if is_deepspeed_z...
2025-04-07T09:36:44
electron/electron
a20e02ee23631e3a9b9af526087950bd12975d38
6ac926aa3248eb934212e2c2065446f00d765e09
Fix compilation error of function_template.
[ { "path": "native_mate/function_template.h", "patch": "@@ -8,6 +8,7 @@\n #include \"base/callback.h\"\n #include \"base/logging.h\"\n #include \"native_mate/arguments.h\"\n+#include \"native_mate/compat.h\"\n #include \"native_mate/converter.h\"\n #include \"v8/include/v8.h\"\n \n@@ -229,7 +230,8 @@ struct ...
2014-04-15T07:30:30
golang/go
c3365ad5f25043d6293f5cec1e71d1526678ac62
7dedc237c528fa268934a8ed81c01fc65db5f800
cmd/go: annotate versions in vendor/modules.txt In order to prevent edit wars with previous cmd/go releases, the new version annotations are only included if the main module specifies 'go 1.17' or higher. Fixes #36876 Change-Id: Iba15e47dd1ac2c16d754679a9b501db4069fa250 Reviewed-on: https://go-review.googlesource.co...
[ { "path": "doc/go1.17.html", "patch": "@@ -120,6 +120,16 @@ <h4 id=\"missing-go-directive\"><code>go.mod</code> files missing <code>go</code>\n files.)\n </p>\n \n+<h4 id=\"vendor-go-versions\"><code>go</code> versions in <code>vendor/modules.txt</code></h4>\n+\n+<p><!-- golang.org/issue/36876 -->\n+ If ...
2021-04-30T04:04:19
vercel/next.js
00836ad950b51cb6b760d89c0d08bcb1e8d4d638
b304a183626d2fa17b2c66eb3e83ba2aba2bd97e
rsc: bundle legacy head as client component (#43425) Related to the build failure from #41931 We need to bundle `next/head` so that it can appear in the flight-client-manifest, so we changed the behavior to not treat it as non externals. ## Bug - [x] Related issues linked using `fixes #number` - [x] Integ...
[ { "path": "packages/next-swc/crates/core/src/react_server_components.rs", "patch": "@@ -111,7 +111,7 @@ impl<C: Comments> ReactServerComponents<C> {\n return false;\n }\n }\n- ...
2022-11-30T01:09:43
nodejs/node
5f3bdb016a99d102ebafe86424e7761228ef7f70
602da6492f278c1345f7f2d82014d9248254476b
messaging: use actual DOMException for DataCloneError PR-URL: https://github.com/nodejs/node/pull/21540 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "lib/internal/bootstrap/node.js", "patch": "@@ -125,6 +125,10 @@\n setupGlobalURL();\n }\n \n+ if (process.binding('config').experimentalWorker) {\n+ setupDOMException();\n+ }\n+\n // On OpenBSD process.execPath will be relative unless we\n // get the full path before ...
2018-06-25T04:48:48
huggingface/transformers
debfe904c94d1104e94c71d2276a0d522f0f5081
54538ebee3005951e62c16d2e9235cb5dfa19f83
fix llama4 training (#37319)
[ { "path": "src/transformers/models/llama4/modeling_llama4.py", "patch": "@@ -356,7 +356,7 @@ def forward(\n attn_scales = (\n torch.log(torch.floor((cache_position.float() + 1.0) / self.floor_scale) + 1.0) * self.attn_scale + 1.0\n )\n- attn_scales = attn_s...
2025-04-07T07:24:44
electron/electron
b994ae8174837b0accc3bc1d4655283eb461ec9a
6f4aed83f0625a97db19c4257e2aafc5db42348f
mac: Always cancel application termination. OS X's application termination doesn't work very well with C++ message loops. Especially when we return NSTerminateLater for shouldTerminate, it would be impossible for the C++ message loop to quit, because unless we explictly let NSApp terminate the application, the message...
[ { "path": "atom/browser/atom_application_delegate_mac.mm", "patch": "@@ -31,7 +31,7 @@ - (NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication*)sender\n } else {\n // System started termination.\n atom::Browser::Get()->Quit();\n- return NSTerminateLater;\n+ return NSTerminat...
2014-04-14T16:02:33
vercel/next.js
b304a183626d2fa17b2c66eb3e83ba2aba2bd97e
ef20244851e5fdd2e9cebfbabe5fb61d15fb746c
Fix matchers in middleware manifest (#43549) Currently the generated matcher will be `"regexp": "^\(group\)/group$"` for groups which doesn't match the correct route. This is somehow related to #43458, but it only fixes the problem partially. Some other changes need to be made in the build process. ## Bug - [ ] Rela...
[ { "path": "packages/next/build/webpack/plugins/middleware-plugin.ts", "patch": "@@ -28,6 +28,7 @@ import {\n import { Telemetry } from '../../../telemetry/storage'\n import { traceGlobals } from '../../../trace/shared'\n import { EVENT_BUILD_FEATURE_USAGE } from '../../../telemetry/events'\n+import { normal...
2022-11-29T23:55:13
golang/go
7dedc237c528fa268934a8ed81c01fc65db5f800
0e315ad79ae388eedb03dce27101c40b29292e2a
cmd/go: smooth out upgrade paths for lazy loading This change adds two possible upgrade paths for lazy loading: 1. Run 'go mod tidy -go=1.17'. 2. Starting in a module with no existing 'go' directive, run any 'go' command that updates the go.mod file. In the latter case, commands other than 'go mod tidy' may leav...
[ { "path": "doc/go1.17.html", "patch": "@@ -58,6 +58,17 @@ <h4 id=\"lazy-loading\">Lazy module loading</h4>\n <!-- TODO(bcmills): replace the design-doc link with proper documentation. -->\n </p>\n \n+<p><!-- golang.org/issue/45094 --> To facilitate the upgrade to lazy loading,\n+ the <code>go</code> <cod...
2021-04-29T13:27:40
huggingface/transformers
54538ebee3005951e62c16d2e9235cb5dfa19f83
d1b92369ca193da49f9f7ecd01b08ece45c2c9aa
fix flex attn when optional args aren't passed (#37327)
[ { "path": "src/transformers/integrations/flex_attention.py", "patch": "@@ -100,6 +100,11 @@ def make_flex_block_causal_mask(\n Returns:\n BlockMask\n \"\"\"\n+ batch_size, total_seq_len = attention_mask_2d.shape\n+ if not key_length:\n+ key_length = total_seq_len\n+ if not qu...
2025-04-07T07:12:21
nodejs/node
a15ea5d7ca1cf0f48ce1f2be62b1cd446a50b06d
c267639daa0cc0ef55501fcdc8c385292a9ed927
tls: throw error on bad ciphers option PR-URL: https://github.com/nodejs/node/pull/21557 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tiancheng "Timothy" Gu...
[ { "path": "src/node_crypto.cc", "patch": "@@ -904,7 +904,13 @@ void SecureContext::SetCiphers(const FunctionCallbackInfo<Value>& args) {\n THROW_AND_RETURN_IF_NOT_STRING(env, args[0], \"Ciphers\");\n \n const node::Utf8Value ciphers(args.GetIsolate(), args[0]);\n- SSL_CTX_set_cipher_list(sc->ctx_.get()...
2018-06-27T07:08:06
vercel/next.js
ef20244851e5fdd2e9cebfbabe5fb61d15fb746c
cd02e5cf18beefab8569c767197314dcc3d2cf32
chore: add area dropdown to bug report template (#43228) Co-authored-by: Steven <steven@ceriously.com> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
[ { "path": ".github/ISSUE_TEMPLATE/1.bug_report.yml", "patch": "@@ -21,36 +21,53 @@ body:\n description: Please run `next info` in the root directory of your project and paste the results. You might need to use `npx --no-install next info` if next is not in the current PATH.\n validations:\n ...
2022-11-29T18:34:15
golang/go
95c5f4da80960d0e3511d39c9a9db7280099a37e
c55d5c887e8644df1e024573dbcf4e6e819371c2
cmd/compile/internal/types2: list errors by default in TestManual TestManual is used for debugging; in this case we usually want to see error messages reported rather than checked against ERROR comments in the provided files. Make this the default. Use the new -verify flag to verify reported errors against ERROR comme...
[ { "path": "src/cmd/compile/internal/types2/check_test.go", "patch": "@@ -40,9 +40,9 @@ import (\n )\n \n var (\n-\thaltOnError = flag.Bool(\"halt\", false, \"halt on error\")\n-\tlistErrors = flag.Bool(\"errlist\", false, \"list errors\")\n-\tgoVersion = flag.String(\"lang\", \"\", \"Go language version ...
2021-04-30T17:20:38
rust-lang/rust
49ca89dc36be65872e721bde11ac8efd3ebdd7a1
9f497008b0d17cf6b0036eb06eff94fa3850e840
Fix pretty printing of never pattern match arms.
[ { "path": "compiler/rustc_ast_pretty/src/pprust/state/expr.rs", "patch": "@@ -876,6 +876,7 @@ impl<'a> State<'a> {\n }\n }\n } else {\n+ self.end(); // Close the ibox for the pattern.\n self.word(\",\");\n }\n self.end(); // Close en...
2025-04-24T09:21:04
electron/electron
6f4aed83f0625a97db19c4257e2aafc5db42348f
d654afde5fbf0ae075502e7277c28ebdfaf5814b
Fix compiler warning in breakpad when using latest clang.
[ { "path": "common.gypi", "patch": "@@ -115,6 +115,7 @@\n 'xcode_settings': {\n 'WARNING_CFLAGS': [\n '-Wno-deprecated-declarations',\n+ '-Wno-deprecated-register',\n '-Wno-unused-private-field',\n '-Wno-unused-function'...
2014-04-14T15:54:36
nodejs/node
6e16ad7a63ba843aafa1284e51ce220a775e11d8
908518d9e348581c72a6302ed1bf518b57d5ae0b
zlib: fix memory leak for unused zlib instances An oversight in an earlier commit led to a memory leak in the untypical situation that zlib instances are created but never used, because zlib handles no longer started out their life as weak handles. The bug was introduced in bd201102862a194f3f5ce669e0a3c8143eafc900. ...
[ { "path": "src/node_zlib.cc", "patch": "@@ -90,6 +90,7 @@ class ZCtx : public AsyncWrap, public ThreadPoolWork {\n refs_(0),\n gzip_id_bytes_read_(0),\n write_result_(nullptr) {\n+ MakeWeak();\n }\n \n ", "additions": 1, "deletions": 0, "language": "Unknown" }, {...
2018-06-30T12:58:19
vercel/next.js
0d2f92a27ec8817bc4b3a29099e3a42bf6a7770c
79f081994b924a86f4061a5ba9ffbc95e4d82956
chore: fix issue validator
[ { "path": ".github/actions/issue-validator/e741f80fb604c28085a7.mjs", "patch": "@@ -1,84 +0,0 @@\n-// @ts-check\n-import * as github from '@actions/github'\n-import * as core from '@actions/core'\n-import { readFileSync } from 'node:fs'\n-import { join } from 'node:path'\n-import { fileURLToPath } from 'nod...
2022-11-29T18:04:08
golang/go
c55d5c887e8644df1e024573dbcf4e6e819371c2
89bf297b2486adaaff04be154a066ea9f5e63994
cmd/compile/internal/types2: simplify use of TestManual Running the TestManual test (for manual debugging) requires user-provided files as input. Rather than using another flag (-files) to provide these files, just use the (remaining) command line arguments. Change-Id: I9b20d9f1a6a7ce839bbd690c311ce3f0d0a10496 Review...
[ { "path": "src/cmd/compile/internal/types2/check_test.go", "patch": "@@ -42,7 +42,6 @@ import (\n var (\n \thaltOnError = flag.Bool(\"halt\", false, \"halt on error\")\n \tlistErrors = flag.Bool(\"errlist\", false, \"list errors\")\n-\ttestFiles = flag.String(\"files\", \"\", \"comma-separated list of Te...
2021-04-30T16:43:39
huggingface/transformers
25b7f272347a93d6fb73cad126f6f6dc88e8ce89
aa40fda346b497435923ee1ac2120900653f5ab5
Add llama4 (#37307) * remove one of the last deps * update fast image processor after refactor * styling * more quality of life improvements * nit * update * cleanups * some cleanups * vllm updates * update fake image token * [convert] Fix typo * [convert] Strip extraneous bytes from shards * [convert] Min...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -507,6 +507,8 @@\n title: Llama2\n - local: model_doc/llama3\n title: Llama3\n+ - local: model_doc/llama4\n+ title: Llama4\n - local: model_doc/longformer\n title: Longformer\n - local: model_doc/long...
2025-04-05T20:02:22
electron/electron
5c5cf3c66e7fad29f8cf65c7e38b218502d5e5af
84d458687a88eea837c8040d1793ad917a9a866d
Fix a crash when destroying window.
[ { "path": "atom/browser/native_window.cc", "patch": "@@ -57,12 +57,12 @@ NativeWindow::NativeWindow(content::WebContents* web_contents,\n base::DictionaryValue* options)\n : content::WebContentsObserver(web_contents),\n has_frame_(true),\n- inspectable_web_contents_...
2014-04-11T10:43:01
nodejs/node
f85962fe4d3afa55aedcfdab3aa61258c5af3e2a
a27b0a35bde63e8dd03ca591b1cdfbc8cb6ca994
tools: build all.html by combining generated HTML Combine the toc and api contents from the generated doc/api/*.html files. This ensures that the single page version of the documentation exactly matches the individual pages. PR-URL: https://github.com/nodejs/node/pull/21568 Fixes: https://github.com/nodejs/node/issue...
[ { "path": "Makefile", "patch": "@@ -650,12 +650,16 @@ gen-json = tools/doc/generate.js --format=json $< > $@\n gen-html = tools/doc/generate.js --node-version=$(FULLVERSION) --format=html \\\n \t\t\t--analytics=$(DOCS_ANALYTICS) $< > $@\n \n-out/doc/api/%.json: doc/api/%.md\n+out/doc/api/%.json: doc/api/%.m...
2018-06-27T18:14:54
vercel/next.js
f15b5d0af7f3f78a760ef65ac73ca2ce980bf6f8
524f99221dd482d2b906bc0c9854c4d27f49bd3d
chore(examples): fix CLI commands for MobX examples (#43534) Fixes https://github.com/vercel/next.js/issues/43512
[ { "path": "examples/with-mobx-state-tree/README.md", "patch": "@@ -12,24 +12,24 @@ The clock, under `components/Clock.js`, has access to the state using the `injec\n \n ## Deploy your own\n \n-Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example)...
2022-11-29T17:10:33
rust-lang/rust
de082127d8d2e50f0df29e44ce4921d5bd404ec9
cd064e764d576f962a56b80e1a434cf160de060e
Correctly set `infer_args = true` in more places Previously this being incorrect wasn't a problem, it just meant we put an error type that then changed to infer type, so exactly what rustc does at the end. But now there is a diagnostic.
[ { "path": "src/tools/rust-analyzer/crates/hir-ty/src/infer.rs", "patch": "@@ -1675,7 +1675,7 @@ impl<'a> InferenceContext<'a> {\n // `lower_partly_resolved_path()` returns `None` as type namespace unless\n // `remaining_segments` is empty, which is never the case here...
2025-04-24T06:06:04
huggingface/transformers
e94571580ba9d0c71feaf489520383c83e167d40
84aa13dd85ce5ec2023561ca304c5b41343dd347
Fix deepspeed loading (part 2) (#37306) * fix * Update modeling_utils.py * Update modeling_utils.py * oups remove print
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -3723,18 +3723,22 @@ def float(self, *args):\n \n @classmethod\n def get_init_context(cls, is_quantized: bool, _is_ds_init_called: bool):\n- if is_deepspeed_zero3_enabled() and not is_quantized and not _is_ds_init_called:\n- ...
2025-04-05T18:41:42
golang/go
89bf297b2486adaaff04be154a066ea9f5e63994
a893682d83760a9f9bb6f5d543b907ee6467cc6e
cmd/internal/objfile: emit better error for Go object of a different version The Go object file format can change from version to version. Tools like cmd/objdump and cmd/nm only onderstand the current version of the object file. Currently, when it encounters an object built with a different version of the toolchain, i...
[ { "path": "src/cmd/internal/archive/archive.go", "patch": "@@ -106,6 +106,12 @@ var (\n \terrNotObject = errors.New(\"unrecognized object file format\")\n )\n \n+type ErrGoObjOtherVersion struct{ magic []byte }\n+\n+func (e ErrGoObjOtherVersion) Error() string {\n+\treturn fmt.Sprintf(\"go object of ...
2021-04-30T01:49:15
electron/electron
d6079782d18341d3e6eb413fb88aa460dc40c10c
e576d4c014964d5b29e3e15bef93e950126a1287
mac: InspectableWebContents should be destroyed before release NSWindow. Fixes atom/atom#1841.
[ { "path": "atom/browser/native_window.cc", "patch": "@@ -57,12 +57,12 @@ NativeWindow::NativeWindow(content::WebContents* web_contents,\n base::DictionaryValue* options)\n : content::WebContentsObserver(web_contents),\n has_frame_(true),\n+ inspectable_web_contents_...
2014-04-11T04:32:42
nodejs/node
a27b0a35bde63e8dd03ca591b1cdfbc8cb6ca994
2ae45240a21f6b78e5ddbb3a2917d5e4ecdb8361
n-api: fix compiler warning private field 'async_context' is not used [-Wunused-private-field] PR-URL: https://github.com/nodejs/node/pull/21597 Refs: https://github.com/nodejs/node/pull/17887 Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
[ { "path": "src/node_api.cc", "patch": "@@ -3883,7 +3883,6 @@ class TsFn: public node::AsyncResource {\n void* finalize_data;\n napi_finalize finalize_cb;\n bool idle_running;\n- napi_async_context async_context;\n napi_threadsafe_function_call_js call_js_cb;\n bool handles_closing;\n };", "ad...
2018-06-29T23:52:46
vercel/next.js
524f99221dd482d2b906bc0c9854c4d27f49bd3d
e816e45677cb9a3f56388146a2bee99c78862fd5
docs: update known Safari bug (#43513) # Why hey, teams! since Safari `v16` is supported [resolution media query](https://developer.apple.com/documentation/safari-release-notes/safari-16-release-notes), so this before docs the `@media not all and (min-resolution: 0.001dpcm)` media query will not work on Safari...
[ { "path": "docs/api-reference/next/image.md", "patch": "@@ -40,8 +40,8 @@ This `next/image` component uses browser native [lazy loading](https://caniuse.c\n \n ## Known Browser Bugs\n \n-- [Safari 15](https://bugs.webkit.org/show_bug.cgi?id=243601) displays a gray border while loading. Possible solutions:\n...
2022-11-29T16:21:49
rust-lang/rust
cd064e764d576f962a56b80e1a434cf160de060e
c5968743d11eb87d72c311f5c9adb279b79ade05
fix: Fix type argument mismatch incorrectly triggering on inferred trait args
[ { "path": "src/tools/rust-analyzer/crates/hir-ty/src/infer/path.rs", "patch": "@@ -207,7 +207,7 @@ impl InferenceContext<'_> {\n (TypeNs::TraitId(trait_), true) => {\n let self_ty = self.table.new_type_var();\n let trait_ref =\n...
2025-04-24T05:34:04
huggingface/transformers
84aa13dd85ce5ec2023561ca304c5b41343dd347
0ef339ff1b63bb03a388c79bfbebec9085e10564
Fix deepspeed loading (#37281) * Update modeling_utils.py * Update modeling_utils.py * fix and remove all imports * Update modeling_utils.py * Update modeling_utils.py * style * Update modeling_utils.py
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -57,7 +57,7 @@\n from .dynamic_module_utils import custom_object_save\n from .generation import CompileConfig, GenerationConfig, GenerationMixin\n from .integrations import PeftAdapterMixin, deepspeed_config, is_deepspeed_zero3_enabled\n-from .int...
2025-04-05T15:05:45
golang/go
a893682d83760a9f9bb6f5d543b907ee6467cc6e
3366556d1c97a7c7925432e19f2c0bb1ecb69ecd
net/url: add Values.Has Adds a method within Values for detecting whether a query parameter is set. Fixes #45100 Change-Id: I6bb49417e8547e11cc7e8d55c5211d24ee436ec1 GitHub-Last-Rev: 0b27cdab9024b93bad1eab9941aff8928a29fa76 GitHub-Pull-Request: golang/go#45835 Reviewed-on: https://go-review.googlesource.com/c/go/+/3...
[ { "path": "src/net/url/url.go", "patch": "@@ -909,6 +909,12 @@ func (v Values) Del(key string) {\n \tdelete(v, key)\n }\n \n+// Has checks whether a given key is set.\n+func (v Values) Has(key string) bool {\n+\t_, ok := v[key]\n+\treturn ok\n+}\n+\n // ParseQuery parses the URL-encoded query string and ret...
2021-04-29T06:30:44
electron/electron
e576d4c014964d5b29e3e15bef93e950126a1287
a16ea1fbf2106a0d282442da78d24ad6f40f9527
Fix app.exit compatibility.
[ { "path": "atom/browser/api/lib/app.coffee", "patch": "@@ -29,7 +29,8 @@ if process.platform is 'darwin'\n \n # Be compatible with old API.\n app.once 'ready', -> app.emit 'finish-launching'\n-app.terminate = app.exit = app.quit\n+app.terminate = app.quit\n+app.exit = process.exit\n \n # Only one App object...
2014-04-10T09:07:39
nodejs/node
2ae45240a21f6b78e5ddbb3a2917d5e4ecdb8361
4f151228472d80a4583f90aeeaaec1bdc4446fe0
doc: fix some links PR-URL: https://github.com/nodejs/node/pull/21619 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Yuta Hiroto <hello@hiroppy.me> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
[ { "path": "doc/api/deprecations.md", "patch": "@@ -1037,7 +1037,7 @@ The option `produceCachedData` has been deprecated. Use\n [`fs.lchmodSync(path, mode)`]: fs.html#fs_fs_lchmodsync_path_mode\n [`fs.read()`]: fs.html#fs_fs_read_fd_buffer_offset_length_position_callback\n [`fs.readSync()`]: fs.html#fs_fs_re...
2018-07-01T21:38:05
vercel/next.js
e816e45677cb9a3f56388146a2bee99c78862fd5
fdff88bb62fabb825f0cb68cba3101bb572a8888
Fix missing cleanup process in flight plugin globals (#43297) This PR adds proper cleanup step for ~`edgeServerModuleIds`, `serverModuleIds` and~ `flightCSSManifest`, which was previously missing. Otherwise it will grow indefinitely during development. ## Bug - [ ] Related issues linked using `fixes #number` ...
[ { "path": "packages/next/build/webpack/plugins/flight-client-entry-plugin.ts", "patch": "@@ -3,6 +3,8 @@ import type {\n ClientComponentImports,\n NextFlightClientEntryLoaderOptions,\n } from '../loaders/next-flight-client-entry-loader'\n+import type { FlightCSSManifest } from './flight-manifest-plugin'...
2022-11-29T16:03:38
golang/go
cc02d59e84b60b3221e6c079afe04d3b7e59b872
0dfb6fb4907c770269d5530f210567e371eebeaa
cmd/gofmt: always format non-directory arguments again golang.org/cl/284138 introduced a regression: running "gofmt foo" would silently ignore the file due to its lack of a ".go" extension, whereas the tool is documented otherwise: Given a file, it operates on that file; given a directory, it operates on all .go fi...
[ { "path": "src/cmd/go/testdata/script/fmt_load_errors.txt", "patch": "@@ -6,6 +6,17 @@ go fmt -n exclude\n stdout 'exclude[/\\\\]x\\.go'\n stdout 'exclude[/\\\\]x_linux\\.go'\n \n+# Test edge cases with gofmt.\n+# Note that this execs GOROOT/bin/gofmt.\n+\n+! exec gofmt does-not-exist\n+\n+exec gofmt gofmt-...
2021-04-29T21:54:26
huggingface/transformers
46d73910d5922c154967309c26fe8460a505eb3f
579135a2f64be5b0727ceba696e5642ba3612779
Updated T5 model card with standardized format (#37261) * Updated T5 model card with standardized format * Updated T5 model card with standardized format, fixed typo * Update docs/source/en/model_doc/t5.md Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com> * Update docs/source/en/model_doc/t5....
[ { "path": "docs/source/en/model_doc/t5.md", "patch": "@@ -14,349 +14,104 @@ rendered properly in your Markdown viewer.\n \n -->\n \n-# T5\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-<img a...
2025-04-04T22:23:09
electron/electron
f0d9ee4ca9948125f7ffa9f5f4f7a0ead28ad0e1
538bd1116d600af9b836dd97e137a9f9eecd1fbd
Shutdown gracefully, fixes #227.
[ { "path": "atom/browser/browser.cc", "patch": "@@ -8,6 +8,7 @@\n \n #include \"atom/browser/atom_browser_main_parts.h\"\n #include \"atom/browser/window_list.h\"\n+#include \"base/message_loop/message_loop.h\"\n \n namespace atom {\n \n@@ -30,11 +31,16 @@ void Browser::Quit() {\n \n atom::WindowList* wind...
2014-04-10T07:22:17
nodejs/node
4f151228472d80a4583f90aeeaaec1bdc4446fe0
484c6c31b068fb64fa8b4bd46b82bc09a54a6a17
repl: fix tab completion for object properties with special char The old RegExp will pass property names like `"hello world!"` when filtering the results of tab complete. This change is to fix it. Fixes: https://github.com/nodejs/node/issues/21201 PR-URL: https://github.com/nodejs/node/pull/21556 Fixes: https://gith...
[ { "path": "lib/repl.js", "patch": "@@ -47,6 +47,10 @@ const {\n makeRequireFunction,\n addBuiltinLibsToObject\n } = require('internal/modules/cjs/helpers');\n+const {\n+ isIdentifierStart,\n+ isIdentifierChar\n+} = require('internal/deps/acorn/dist/acorn');\n const internalUtil = require('internal/uti...
2018-06-27T04:57:57
golang/go
0dfb6fb4907c770269d5530f210567e371eebeaa
06ac303f6a14b133254f757e54599c48e3c2a4ad
go/ast: print CommentMap contents in source order Sort the comment map entries before printing. Makes it easier to use the output for debugging. For #39753. Change-Id: Ic8e7d27dd2df59173e2c3a04a6b71ae966703885 Reviewed-on: https://go-review.googlesource.com/c/go/+/315370 Trust: Robert Griesemer <gri@golang.org> Revi...
[ { "path": "src/go/ast/commentmap.go", "patch": "@@ -315,9 +315,17 @@ loop:\n }\n \n func (cmap CommentMap) String() string {\n+\t// print map entries in sorted order\n+\tvar nodes []Node\n+\tfor node := range cmap {\n+\t\tnodes = append(nodes, node)\n+\t}\n+\tsort.Sort(byInterval(nodes))\n+\n \tvar buf byte...
2021-04-30T04:38:43
vercel/next.js
b680327280157b4cce830ba9dece890a205aef94
4ebc3894783cbb774ab249a7c671dfaba1df0031
error overlay redesign (vercel/turbo#2831) * refactor exports * tabs + styles + icons
[ { "path": "packages/next-swc/crates/next-core/js/src/overlay/internal/ReactDevOverlay.tsx", "patch": "@@ -126,71 +126,72 @@ type ReactDevOverlayProps = {\n children?: React.ReactNode;\n };\n \n-const ReactDevOverlay: React.FunctionComponent<ReactDevOverlayProps> =\n- function ReactDevOverlay({ children, ...
2022-11-29T13:38:22
huggingface/transformers
579135a2f64be5b0727ceba696e5642ba3612779
8cd57eb73107de0353d1fe94cfe99484b738172a
Updated model card for distilbert (#37157) * Updated model card for distilbert * Updated the distilbert model card * Updated model card for distilbert * Updated the distilbert model card * Addressed code review comments * Addressed review comments * fix pipeline --------- Co-authored-by: Steven Liu <59462357+s...
[ { "path": "docs/source/en/model_doc/distilbert.md", "patch": "@@ -14,199 +14,91 @@ rendered properly in your Markdown viewer.\n \n -->\n \n-# DistilBERT\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=wh...
2025-04-04T22:22:46
electron/electron
b975d4c41f5f5b349f9e37cc3335f80f4a089f94
cca0d8d583ddda52ec644f0492801209ced44c0b
Detect unresponsive window when quitting. Preivously this is disabled because quitting multiple windows could bring up the unresponsive dialog, but since we now have increased the unresponsive time limitto 5s, this is not needed anymore and could cause confusions. Fixes #17.
[ { "path": "atom/browser/native_window.cc", "patch": "@@ -313,8 +313,7 @@ void NativeWindow::CloseWebContents() {\n // not closed in 5000ms, in this way we can quickly show the unresponsive\n // dialog when the window is busy executing some script withouth waiting for\n // the unresponsive timeout.\n- ...
2014-04-08T06:22:22
nodejs/node
484c6c31b068fb64fa8b4bd46b82bc09a54a6a17
6562942461e6307480bb0873447708ecc996e490
doc: fix some typos in N-API docs PR-URL: https://github.com/nodejs/node/pull/21614 Reviewed-By: Weijia Wang <starkwang@126.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Yuta Hiroto <hello@hiroppy.me> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
[ { "path": "doc/api/errors.md", "patch": "@@ -1414,7 +1414,7 @@ value.\n \n On the main thread, values are removed from the queue associated with the\n thread-safe function in an idle loop. This error indicates that an error\n-has occurred when attemping to start the loop.\n+has occurred when attempting to s...
2018-07-01T09:24:22
huggingface/transformers
ebe47ce3e901c0a7213dc89f9ed662ed7be64738
531e4fcf0e6580a9ab80cc72860a4f6b2b5f67c5
Fix: Unexpected Keys, Improve `run_compressed`, Rename Test Folder (#37077)
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -1352,6 +1352,7 @@ def _find_missing_and_unexpected_keys(\n \n if hf_quantizer is not None:\n missing_keys = hf_quantizer.update_missing_keys(model, missing_keys, prefix)\n+ unexpected_keys = hf_quantizer.update_unexpected_keys(...
2025-04-04T19:30:11
golang/go
9c7207891c16951121d8b3f19f49ec72f87da9fe
303b194c6daf319f88e56d8ece56d924044f65a8
cmd/internal/obj/arm64: fix the size of STP series instructions in optab When the class of p.To is C_NAUTO4K, STP series instructions will be translated into add/sub + stp instructions, the total size is 8. Currently this size value in optab is 12, this CL fixes it. Change-Id: Ife1b9e9f8a28edca9b59f62b45a80d83f38993b...
[ { "path": "src/cmd/internal/obj/arm64/asm7.go", "patch": "@@ -720,7 +720,7 @@ var optab = []Optab{\n \t{AFSTPQ, C_PAIR, C_NONE, C_NONE, C_PQAUTO_16, 67, 4, REGSP, 0, C_XPRE},\n \t{AFSTPQ, C_PAIR, C_NONE, C_NONE, C_PQAUTO_16, 67, 4, REGSP, 0, C_XPOST},\n \t{AFSTPQ, C_PAIR, C_NONE, C_NONE, C_UAUTO4K, 76, 8, R...
2021-04-29T06:33:21
vercel/next.js
71a3a34755573ab14af882ff70b5a6c453b679a4
f115322c4f2f544d309ec095f168863fe0e02f11
error overlay redesign (vercel/turbo#2831) * refactor exports * tabs + styles + icons
[ { "path": "crates/next-core/js/src/overlay/internal/ReactDevOverlay.tsx", "patch": "@@ -126,71 +126,72 @@ type ReactDevOverlayProps = {\n children?: React.ReactNode;\n };\n \n-const ReactDevOverlay: React.FunctionComponent<ReactDevOverlayProps> =\n- function ReactDevOverlay({ children, preventDisplay, gl...
2022-11-29T13:38:22
electron/electron
a50d3bde5c491edb8e1da50208828c8a3447ebab
7f496f199484f8a071b2078849b62c6bc38befb2
gtk: Connect to window-state-event, fixes #226.
[ { "path": "atom/browser/native_window_gtk.cc", "patch": "@@ -105,6 +105,8 @@ NativeWindowGtk::NativeWindowGtk(content::WebContents* web_contents,\n G_CALLBACK(OnWindowDeleteEventThunk), this);\n g_signal_connect(window_, \"focus-out-event\",\n G_CALLBACK(OnFocusOutThu...
2014-04-08T01:32:44
rust-lang/rust
1fd928ef89f00994790a7660436db5d05ac762b7
3a14991e77b890c6971e9d02e83d25bc281f2a70
fix doc error
[ { "path": "library/core/src/result.rs", "patch": "@@ -260,8 +260,8 @@\n //! is [`Ok`] or [`Err`], respectively.\n //!\n //! The [`is_ok_and`] and [`is_err_and`] methods apply the provided function\n-//! to the contents of the [`Result`] to produce a boolean value. If the [`Result`]` does not have the expect...
2025-04-24T04:23:53
nodejs/node
6562942461e6307480bb0873447708ecc996e490
7bdc69426772a2915bc348f491aa7eaa44d422df
doc: fix heading level in errors.md PR-URL: https://github.com/nodejs/node/pull/21618 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
[ { "path": "doc/api/errors.md", "patch": "@@ -457,7 +457,7 @@ added properties.\n \n ### Class: SystemError\n \n-### error.info\n+#### error.info\n \n `SystemError` instances may have an additional `info` property whose\n value is an object with additional details about the error conditions.", "additions...
2018-07-01T18:50:49
huggingface/transformers
a4e55fcff8d980eab0c9cf9e51ca13460437e1c7
878562b68d06536b475a61496e3c2a26fdb95af1
Disable delay_optimizer_creation in `Trainer` to support fsdp2 (#37147) * github why you do this * fix * make fixup * disable cpu offload test * fixup * tmp reworks * git branch movement * make fixup * add require_fsdp_v2_version * dep issues * update ruff and fixup
[ { "path": "src/transformers/trainer.py", "patch": "@@ -2313,6 +2313,11 @@ def _inner_training_loop(\n \n delay_optimizer_creation = is_sagemaker_mp_enabled() or self.is_fsdp_xla_enabled or self.is_fsdp_enabled\n \n+ # Can't delay optimizer creation when using FSDP2: https://github.com/hugging...
2025-04-04T18:11:37
golang/go
303b194c6daf319f88e56d8ece56d924044f65a8
3498027329a32c77315754054d1591e06349db59
api: update next.txt There's no reason not to, and it'll help me test an upcoming fix for #43956. The API additions look reasonable to me, and they'll go through a more comprehensive API audit during the freeze. Change-Id: I0daa6e978b199d69568f5100fdfc1b4bcfaeaef2 Reviewed-on: https://go-review.googlesource.com/c/go/...
[ { "path": "api/next.txt", "patch": "@@ -0,0 +1,99 @@\n+pkg compress/lzw, method (*Reader) Close() error\n+pkg compress/lzw, method (*Reader) Read([]uint8) (int, error)\n+pkg compress/lzw, method (*Reader) Reset(io.Reader, Order, int)\n+pkg compress/lzw, method (*Writer) Close() error\n+pkg compress/lzw, met...
2021-04-29T16:32:44
vercel/next.js
fdff88bb62fabb825f0cb68cba3101bb572a8888
9159a6e73777d111dfc0f000abbbd1222685af30
Catch errors when calculating avg font width (#43503) When calculating the avg width it's possible for `fontkit` to throw if it can't get the width of the glyphs for a font file. In that case skip the `size-adjust` property and use the other overrides. https://github.com/vercel/next.js/discussions/41745#discussioncom...
[ { "path": "packages/font/src/utils.ts", "patch": "@@ -13,19 +13,24 @@ const DEFAULT_SERIF_FONT = {\n }\n \n function calcAverageWidth(font: Font): number | undefined {\n- const avgCharacters = 'aaabcdeeeefghiijklmnnoopqrrssttuvwxyz '\n- const hasAllChars = font\n- .glyphsForString(avgCharacters)\n...
2022-11-29T11:15:27
rust-lang/rust
3a14991e77b890c6971e9d02e83d25bc281f2a70
56d5efc68c66c144d41a792a6f55db74a737ad56
fix example
[ { "path": "library/core/src/result.rs", "patch": "@@ -648,7 +648,7 @@ impl<T, E> Result<T, E> {\n /// let x: Result<u32, Error> = Ok(123);\n /// assert_eq!(x.is_err_and(|x| x.kind() == ErrorKind::NotFound), false);\n ///\n- /// let x: Result<u32, &str> = Err(\"ownership\");\n+ /// let x: R...
2025-04-24T02:31:53
electron/electron
395eb067d151af90d7aca648b258f3c082c660c7
98fcc9386206f2724333425b33938722471e78db
mac: Do not destroy window immediately. Fixes atom/atom#1841.
[ { "path": "atom/browser/native_window_mac.mm", "patch": "@@ -199,7 +199,8 @@ - (void)mouseDragged:(NSEvent*)event {\n \n NativeWindowMac::~NativeWindowMac() {\n if (window())\n- [window() release];\n+ // Use autorelease since we may have delegates or observers at this time.\n+ [window() autorelea...
2014-04-07T09:19:27
nodejs/node
7bdc69426772a2915bc348f491aa7eaa44d422df
b87b16456535743db5ecb93478f7b871f0f000a1
errors: fix ERR_MISSING_DYNAMIC_INSTANTIATE_HOOK This restores a broken and erroneously removed error, which was accidentially renamed to ERR_MISSING_DYNAMIC_INTSTANTIATE_HOOK (notice the "INTST" vs "INST") in 921fb84687fb8135075c1f001383e9b0b863f4b5 (PR #16874) and then had documentation and implementation removed un...
[ { "path": "doc/api/errors.md", "patch": "@@ -1330,6 +1330,14 @@ strict compliance with the API specification (which in some cases may accept\n `func(undefined)` and `func()` are treated identically, and the\n [`ERR_INVALID_ARG_TYPE`][] error code may be used instead.\n \n+<a id=\"ERR_MISSING_DYNAMIC_INSTANT...
2018-06-23T23:09:49
huggingface/transformers
878562b68d06536b475a61496e3c2a26fdb95af1
8ebc4352673bab0a83b5f9c24ffffa1ad957cfdd
fix test device spec relative path importing issue (#37190) Signed-off-by: YAO Matrix <matrix.yao@intel.com> Co-authored-by: Yih-Dar <2521628+ydshieh@users.noreply.github.com>
[ { "path": "src/transformers/testing_utils.py", "patch": "@@ -3005,6 +3005,8 @@ def backend_device_count(device: str):\n \n # Try to strip extension for later import – also verifies we are importing a\n # python file.\n+ device_spec_dir, _ = os.path.split(os.path.realpath(device_spec_p...
2025-04-04T16:22:55
golang/go
3498027329a32c77315754054d1591e06349db59
02ab8d1a1dc82ce019969221313bfa28911f54a1
math: increase precision of math.SmallestNonzeroFloat64 The original value was rounded too early, which lead to the surprising behavior that float64(math.SmallestNonzeroFloat64 / 2) wasn't 0. That is, the exact compile-time computation of math.SmallestNonzeroFloat64 / 2 resulted in a value that was rounded up when con...
[ { "path": "api/except.txt", "patch": "@@ -1,4 +1,6 @@\n pkg encoding/json, method (*RawMessage) MarshalJSON() ([]uint8, error)\n+pkg math, const MaxFloat64 = 1.79769e+308 // 1797693134862315708145274237317043567981000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
2021-04-29T22:01:29
vercel/next.js
4ebc3894783cbb774ab249a7c671dfaba1df0031
e489b1effe34243b9ec675eb88750742a09cee4b
Make task stats take less memory by default (vercel/turbo#2765) * Make task stats take less memory by default * Swap order of condition operands * TaskStats -> ExportedTaskStats * Add full stats disclaimers * Clippy * Fix duplicate labels * Move stats type reporting to TurboTasks * Fix turbotrace ...
[ { "path": "packages/next-swc/crates/next-dev/src/devserver_options.rs", "patch": "@@ -73,6 +73,11 @@ pub struct DevServerOptions {\n /// Expand the log details.\n pub log_detail: bool,\n \n+ #[cfg_attr(feature = \"cli\", clap(long))]\n+ #[cfg_attr(feature = \"serializable\", serde(default))]\n...
2022-11-29T10:48:57
rust-lang/rust
92799b6f89d2d9bbfcb9b11d1bac57899d0bc435
4ff55588d33366d0572c1865b43dec8ac00237b1
Separate `Analysis` and `Results`. `Results` contains and `Analysis` and an `EntryStates`. The unfortunate thing about this is that the analysis needs to be mutable everywhere (`&mut Analysis`) which forces the `Results` to be mutable everywhere, even though `EntryStates` is immutable everywhere. To fix this, this co...
[ { "path": "compiler/rustc_borrowck/src/lib.rs", "patch": "@@ -47,7 +47,7 @@ use rustc_mir_dataflow::impls::{\n use rustc_mir_dataflow::move_paths::{\n InitIndex, InitLocation, LookupResult, MoveData, MovePathIndex,\n };\n-use rustc_mir_dataflow::{Analysis, EntryStates, Results, ResultsVisitor, visit_res...
2025-04-18T00:46:20
huggingface/transformers
8ebc4352673bab0a83b5f9c24ffffa1ad957cfdd
ad3d157188f434655fe0919bad625088952a4dcf
Fix llava_onevision tests (#37280) * Fix llava_onevision tests * Trigger tests
[ { "path": "tests/models/llava_onevision/test_processor_llava_onevision.py", "patch": "@@ -39,17 +39,19 @@\n class LlavaOnevisionProcessorTest(ProcessorTesterMixin, unittest.TestCase):\n processor_class = LlavaOnevisionProcessor\n \n- def setUp(self):\n- self.tmpdirname = tempfile.mkdtemp()\n+ ...
2025-04-04T14:03:38
golang/go
a9705e157beb51574233e23cc2e2a412d4681a15
e99dfb0e5cd964c94d946cabeca9856634416737
cmd/compile/internal/types2: slice-to-array-pointer conversion requires go1.17 Add missing version check. Even though this is a new types2 error we separate between the compiler and the types2 error message: we have the compiler error message to match the compiler style, and we have a types2-specific error message to ...
[ { "path": "src/cmd/compile/internal/types2/conversions.go", "patch": "@@ -38,8 +38,10 @@ func (check *Checker) conversion(x *operand, T Type) {\n \t}\n \n \tif !ok {\n-\t\tcheck.errorf(x, \"cannot convert %s to %s\", x, T)\n-\t\tx.mode = invalid\n+\t\tif x.mode != invalid {\n+\t\t\tcheck.errorf(x, \"cannot ...
2021-04-29T17:02:01
vercel/next.js
f115322c4f2f544d309ec095f168863fe0e02f11
bdaaf769d0b594146b9e607055ac3e8055ba228d
Make task stats take less memory by default (vercel/turbo#2765) * Make task stats take less memory by default * Swap order of condition operands * TaskStats -> ExportedTaskStats * Add full stats disclaimers * Clippy * Fix duplicate labels * Move stats type reporting to TurboTasks * Fix turbotrace ...
[ { "path": "crates/next-dev/src/devserver_options.rs", "patch": "@@ -73,6 +73,11 @@ pub struct DevServerOptions {\n /// Expand the log details.\n pub log_detail: bool,\n \n+ #[cfg_attr(feature = \"cli\", clap(long))]\n+ #[cfg_attr(feature = \"serializable\", serde(default))]\n+ /// Whether t...
2022-11-29T10:48:57
huggingface/transformers
ad3d157188f434655fe0919bad625088952a4dcf
3d40bda30ee58dc0fc2c8e4585774e73e193e4ff
[RoPE] abstract dynamic RoPE update under a decorator ✨ (#37249) * dynamic rope decorator * longrope; shorter fwd pass * propper docstring * make fixup
[ { "path": "docs/source/en/internal/modeling_utils.md", "patch": "@@ -25,6 +25,10 @@ Most of those are only useful if you are studying the code of the models in the\n [[autodoc]] AttentionInterface\n - register\n \n+## Rotary Position Embedding Functions\n+\n+[[autodoc]] dynamic_rope_update\n+\n ## Pytor...
2025-04-04T13:27:28
nodejs/node
deff8dbf4968974d1dab50122216bb7eb6c6aeb5
1bf42f4777bfc7ce61873dbd17660b9e265357e9
test: fix ESM test The previously landed commit was broken and it’s too late to force-push. Fixing up the test seems to work. Refs: https://github.com/nodejs/node/pull/21352 PR-URL: https://github.com/nodejs/node/pull/21605 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.co...
[ { "path": "test/es-module/test-esm-loader-invalid-format.mjs", "patch": "@@ -4,8 +4,8 @@ import assert from 'assert';\n \n import('../fixtures/es-modules/test-esm-ok.mjs')\n .then(assert.fail, expectsError({\n- code: 'ERR_INVALID_RETURN_PROPERTY',\n- message: 'Expected string to be returned for the \"url\...
2018-06-30T11:51:35
golang/go
fd095936673dcb53b96b825d95c1e83adde3ce15
7b32830f58b7f33b51af0370cfd42ba561c3ca9e
cmd/compile: minor doc enhancements Add a little more detail to the ssa README relating to GOSSAFUNC. Update the -d=ssa help section to give a little more detail on what to expect with applying the /debug=X qualifier to a phase. Change-Id: I7027735f1f2955dbb5b9be36d9a648e8dc655048 Reviewed-on: https://go-review.goog...
[ { "path": "src/cmd/compile/internal/ssa/README.md", "patch": "@@ -184,6 +184,19 @@ compile passes, making it easy to see what each pass does to a particular\n program. You can also click on values and blocks to highlight them, to help\n follow the control flow and values.\n \n+The value specified in GOSSAFU...
2021-04-29T18:52:24
electron/electron
b21e5a63008bce9bf44daff9ceea853abac39131
ac11c95da6ccb36a95c7f1aeb7e5e83916930348
Fix capturePage under accelerated mode, fixes #223.
[ { "path": "atom/browser/native_window.cc", "patch": "@@ -271,12 +271,28 @@ base::ProcessHandle NativeWindow::GetRenderProcessHandle() {\n \n void NativeWindow::CapturePage(const gfx::Rect& rect,\n const CapturePageCallback& callback) {\n+ content::RenderViewHost* render_view_...
2014-04-07T07:43:15
vercel/next.js
e489b1effe34243b9ec675eb88750742a09cee4b
1f38dcdf39b17846627e6e2412e23c24431638e2
fix and improve hanging detection (vercel/turbo#2827) Commit 1: It took me hours to figure out this unsafe problem... Commit 2: updates tokio Commit 3: improves hanging detection to allow to attach notes to event listeners
[ { "path": "packages/next-swc/crates/next-binding/README.md", "patch": "@@ -1,3 +1,3 @@\n ### next-binding\n \n-This is an internal package, does not provide any public interface or stability guarantees. Do not use it directly.\n\\ No newline at end of file\n+This is an internal package, does not provide any...
2022-11-29T02:03:35
huggingface/transformers
4ba0989eabe29109c96f5dd3599a898194d1c449
352ec8ef226673e0766822f934f92b4a1961e9e4
Clarify error message to ensure min 28x28 image supplied for Qwen 2.5 VL (#37264) fix: clarify error message for min 28x28 images Co-authored-by: Pavel Iakubovskii <qubvel@gmail.com>
[ { "path": "src/transformers/models/qwen2_vl/image_processing_qwen2_vl.py", "patch": "@@ -66,7 +66,7 @@ def smart_resize(\n \n \"\"\"\n if height < factor or width < factor:\n- raise ValueError(f\"height:{height} or width:{width} must be larger than factor:{factor}\")\n+ raise ValueErro...
2025-04-04T11:53:38
nodejs/node
1bf42f4777bfc7ce61873dbd17660b9e265357e9
81f06ba7e49d9c077c209ab9c9de63bad08aa801
esm: loader hook URL validation and error messages PR-URL: https://github.com/nodejs/node/pull/21352 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
[ { "path": "doc/api/errors.md", "patch": "@@ -1209,10 +1209,23 @@ An invalid `options.protocol` was passed.\n Both `breakEvalOnSigint` and `eval` options were set in the REPL config, which\n is not supported.\n \n+<a id=\"ERR_INVALID_RETURN_PROPERTY\"></a>\n+### ERR_INVALID_RETURN_PROPERTY\n+\n+Thrown in cas...
2018-06-18T11:59:22
golang/go
7b32830f58b7f33b51af0370cfd42ba561c3ca9e
87e4dcd446df2ab1985ef61ce15da329493248a1
crypto/elliptic: store P-256 precomputed basepoint table in source Store the precomputed P-256 basepoint table in source rather than computing it at runtime, saving ~88kB from the heap. The flip side is that this increases binary sizes by ~77kB. Fixes #44992 Change-Id: Ia5421eae87b41522b0d8cecba051cba1d2ed73db Revie...
[ { "path": "src/crypto/elliptic/p256_asm.go", "patch": "@@ -17,7 +17,6 @@ package elliptic\n \n import (\n \t\"math/big\"\n-\t\"sync\"\n )\n \n type (\n@@ -31,9 +30,7 @@ type (\n )\n \n var (\n-\tp256 p256Curve\n-\tp256Precomputed *[43][32 * 8]uint64\n-\tprecomputeOnce sync.Once\n+\tp256 p256Curv...
2021-04-29T17:11:56
electron/electron
ac11c95da6ccb36a95c7f1aeb7e5e83916930348
5bbf7496930ac17a9cf81c5e0a3dfec5a3cbd91e
Increase the closing time limit to 5s. Fixes https://github.com/atom/atom/issues/1838.
[ { "path": "atom/browser/native_window.cc", "patch": "@@ -295,12 +295,12 @@ void NativeWindow::CloseWebContents() {\n content::WebContents* web_contents(GetWebContents());\n \n // Assume the window is not responding if it doesn't cancel the close and is\n- // not closed in 2000ms, in this way we can qui...
2014-04-06T05:14:59
rust-lang/rust
c9deaf6aaa8e389e11e39abb9aca77e6340d176e
b8005bff3248cfc6e327faf4fa631ac49bb49ba9
fix for issue 135412
[ { "path": "compiler/rustc_hir_typeck/src/cast.rs", "patch": "@@ -501,12 +501,25 @@ impl<'a, 'tcx> CastCheck<'tcx> {\n .must_apply_modulo_regions()\n {\n label = false;\n- err.span_suggestion(\n- ...
2025-04-23T10:58:50
huggingface/transformers
352ec8ef226673e0766822f934f92b4a1961e9e4
edd345b52e54003bb5b0baf85f4f8f4e98089365
pin specific `natten` version in docker file (#37274) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "docker/transformers-all-latest-gpu/Dockerfile", "patch": "@@ -57,7 +57,8 @@ RUN python3 -m pip uninstall -y ninja\n \n # For `dinat` model\n # The `XXX` part in `torchXXX` needs to match `PYTORCH` (to some extent)\n-RUN python3 -m pip install --no-cache-dir natten==0.15.1+torch220$CUDA -f https:/...
2025-04-04T11:47:16
golang/go
87e4dcd446df2ab1985ef61ce15da329493248a1
6d95e5a4ff9f2ffa12ca225974d0ce45fd2504d4
archive/zip: only return directory once via io/fs.FS While we're here fix the ModTime value for directories. Fixes #43872 Fixes #45345 Change-Id: I155e6517713ef6a9482b9431f1167a44337c6ad2 Reviewed-on: https://go-review.googlesource.com/c/go/+/311530 Trust: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Tay...
[ { "path": "src/archive/zip/reader.go", "patch": "@@ -628,10 +628,11 @@ func (b *readBuf) sub(n int) readBuf {\n }\n \n // A fileListEntry is a File and its ename.\n-// If file == nil, the fileListEntry describes a directory, without metadata.\n+// If file == nil, the fileListEntry describes a directory with...
2021-04-19T20:51:53
vercel/next.js
bdaaf769d0b594146b9e607055ac3e8055ba228d
68bc9f8b9ce2132435964ee54e10736838d6280c
fix and improve hanging detection (vercel/turbo#2827) Commit 1: It took me hours to figure out this unsafe problem... Commit 2: updates tokio Commit 3: improves hanging detection to allow to attach notes to event listeners
[ { "path": "crates/next-binding/README.md", "patch": "@@ -1,3 +1,3 @@\n ### next-binding\n \n-This is an internal package, does not provide any public interface or stability guarantees. Do not use it directly.\n\\ No newline at end of file\n+This is an internal package, does not provide any public interface ...
2022-11-29T02:03:35
electron/electron
5bbf7496930ac17a9cf81c5e0a3dfec5a3cbd91e
3d518c210515519f6f67d53f732cd4ddf940fff1
gtk: Handle accelerators after renderer handled them. The key-press signal captured the key events before renderer handles, which violated the behavior on OS X and Windows. Fixes #221.
[ { "path": "atom/browser/native_window_gtk.cc", "patch": "@@ -13,6 +13,7 @@\n #include \"base/nix/xdg_util.h\"\n #include \"base/values.h\"\n #include \"chrome/browser/ui/gtk/gtk_window_util.h\"\n+#include \"content/public/browser/native_web_keyboard_event.h\"\n #include \"content/public/browser/web_contents...
2014-04-05T11:21:18
rust-lang/rust
5b5f55bc44075a0e08b253fad140e325ee6c3c93
553600e0f5f5a7d492de6d95ccb2f057005f5651
Update wasm-component-ld to 0.5.13 This commit updates the vendored `wasm-component-ld` binary to 0.5.13 which includes some various bug fixes and new feature updates for upcoming component model features coming down the pike. Not expected to break any existing workflows, just a normal update.
[ { "path": "Cargo.lock", "patch": "@@ -4956,15 +4956,6 @@ dependencies = [\n \"color-eyre\",\n ]\n \n-[[package]]\n-name = \"spdx\"\n-version = \"0.10.8\"\n-source = \"registry+https://github.com/rust-lang/crates.io-index\"\n-checksum = \"58b69356da67e2fc1f542c71ea7e654a361a79c938e4424392ecf4fa065d2193\"\n-...
2025-04-23T21:37:17
nodejs/node
81f06ba7e49d9c077c209ab9c9de63bad08aa801
1c303439846de80aaec75285ec5ce087e85b31a6
n-api: add API for asynchronous functions Bundle a `uv_async_t`, a `uv_idle_t`, a `uv_mutex_t`, a `uv_cond_t`, and a `v8::Persistent<v8::Function>` to make it possible to call into JS from another thread. The API accepts a void data pointer and a callback which will be invoked on the loop thread and which will receive...
[ { "path": "doc/api/errors.md", "patch": "@@ -1376,6 +1376,31 @@ multiple of the element size.\n While calling `napi_create_typedarray()`, `(length * size_of_element) +\n byte_offset` was larger than the length of given `buffer`.\n \n+<a id=\"ERR_NAPI_TSFN_CALL_JS\"></a>\n+### ERR_NAPI_TSFN_CALL_JS\n+\n+An e...
2018-06-17T15:52:49
huggingface/transformers
edd345b52e54003bb5b0baf85f4f8f4e98089365
b016de1ae4ace1c418e694625a44dadc065abbe0
Fix deprecated PT functions (#37237) * Fix deprecated PT functions Signed-off-by: cyy <cyyever@outlook.com> * Revert some changes Signed-off-by: cyy <cyyever@outlook.com> --------- Signed-off-by: cyy <cyyever@outlook.com>
[ { "path": "tests/generation/test_utils.py", "patch": "@@ -2724,7 +2724,7 @@ def test_cache_dependant_input_preparation_exporting(self):\n # Case 1\n input_ids = torch.randint(0, 16, (2, 8), dtype=torch.int64)[:, :0]\n inputs_embeds = torch.rand((2, 8), dtype=torch.float32)\n- ...
2025-04-04T11:31:11
vercel/next.js
e2880a14c2fb35abfc1bee7dcba7e6a8ea1b05c1
c0b3e0a1c1352e09d7b0f507123f71a8a1fa57f6
Sample many modules in benchmarks + reliability fixes (vercel/turbo#2750) * Sample many modules in benchmarks + reliability fixes * Fix depth sampling to be uniform * Fix Webpack benchmark * Only use detector component for RSC * Clippy * Clippy
[ { "path": "packages/next-swc/crates/next-dev/Cargo.toml", "patch": "@@ -61,6 +61,7 @@ fs_extra = \"1.2.0\"\n lazy_static = \"1.4.0\"\n once_cell = \"1.13.0\"\n parking_lot = \"0.12.1\"\n+rand = \"0.8.5\"\n regex = \"1.6.0\"\n tempfile = \"3.3.0\"\n test-generator = \"0.3.0\"", "additions": 1, "delet...
2022-11-28T15:42:32
electron/electron
ff88535cd5ff877025b5b356df74295410034301
7a38307d1f8b65b3199b71a577f719360cb361da
:lipstick: Fix cpplint warning build/include_what_you_use.
[ { "path": "atom/browser/native_window.h", "patch": "@@ -5,6 +5,7 @@\n #ifndef ATOM_BROWSER_NATIVE_WINDOW_H_\n #define ATOM_BROWSER_NATIVE_WINDOW_H_\n \n+#include <map>\n #include <string>\n #include <vector>\n ", "additions": 1, "deletions": 0, "language": "C/C++ Header" } ]
2014-04-05T03:00:35
huggingface/transformers
b016de1ae4ace1c418e694625a44dadc065abbe0
f74d7da836ba9e78e98f3bd735ad84cd2cd48cf3
Fix `utils/check_bad_commit.py` (#37272) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "utils/check_bad_commit.py", "patch": "@@ -47,6 +47,9 @@ def create_script(target_test):\n \n if len(result.stderr) > 0:\n if \"ERROR: file or directory not found: \" in result.stderr:\n+ print(\"test file or directory not found in this commit\")\n+ exit(0)\n+ elif \"ERROR: no...
2025-04-04T10:18:20
nodejs/node
1c303439846de80aaec75285ec5ce087e85b31a6
71e1602fb8542700c53b068f2120977b9f868753
lib: fix segfault with --without-intl Node.js segfaults when build with `--without-intl` due to an oversight in d13cdd9. This fixes the issue. PR-URL: https://github.com/nodejs/node/pull/21589 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Benjamin Gruenbaum <benjaming...
[ { "path": "lib/internal/per_context.js", "patch": "@@ -4,7 +4,7 @@\n \n (function(global) {\n // https://github.com/nodejs/node/issues/14909\n- delete global.Intl.v8BreakIterator;\n+ if (global.Intl) delete global.Intl.v8BreakIterator;\n \n // https://github.com/nodejs/node/issues/21219\n // Adds At...
2018-06-29T17:02:02
golang/go
6d95e5a4ff9f2ffa12ca225974d0ce45fd2504d4
2c05ba4ae08317c6d0ad7418d5ecb0f971275d69
encoding/csv: add FieldPos method This enables a consumer of a CSV to find out the position of a CSV field without implementing an intermediate buffer. This is useful to produce good higher level error messages when the CSV syntax is OK but the field values don't match expectations. This also changes the existing sem...
[ { "path": "src/encoding/csv/reader.go", "patch": "@@ -66,7 +66,7 @@ import (\n type ParseError struct {\n \tStartLine int // Line where the record starts\n \tLine int // Line where the error occurred\n-\tColumn int // Column (rune index) where the error occurred\n+\tColumn int // Column (...
2021-02-11T13:54:45
electron/electron
663ab8e0bff6d413feb73e19a7e761a1b96e3dd5
d2162bf9f4022d844780d14787076ff0cb4e77fd
:lipstick: Fix cpplint warning.
[ { "path": "atom/browser/native_window_gtk.h", "patch": "@@ -125,9 +125,9 @@ class NativeWindowGtk : public NativeWindow,\n // bar or window border. This is to work around a compiz bug.\n bool suppress_window_raise_;\n \n- // True if the window has been visible for once, on Linux the window frame would...
2014-04-02T06:23:38
vercel/next.js
f3eaa861febe33a8ac87bc9c48be6fb6ed081e0c
ab15b949eb39b7e6970b85b11e5f4819b3283e5c
Sample many modules in benchmarks + reliability fixes (vercel/turbo#2750) * Sample many modules in benchmarks + reliability fixes * Fix depth sampling to be uniform * Fix Webpack benchmark * Only use detector component for RSC * Clippy * Clippy
[ { "path": "crates/next-dev/Cargo.toml", "patch": "@@ -61,6 +61,7 @@ fs_extra = \"1.2.0\"\n lazy_static = \"1.4.0\"\n once_cell = \"1.13.0\"\n parking_lot = \"0.12.1\"\n+rand = \"0.8.5\"\n regex = \"1.6.0\"\n tempfile = \"3.3.0\"\n test-generator = \"0.3.0\"", "additions": 1, "deletions": 0, "lan...
2022-11-28T15:42:32
rust-lang/rust
35363245657ee53a3735f1cef0df9a45e9ed44b9
553600e0f5f5a7d492de6d95ccb2f057005f5651
Fix detection of `main` function if there are expressions around it
[ { "path": "src/librustdoc/doctest/make.rs", "patch": "@@ -407,15 +407,19 @@ fn parse_source(source: &str, crate_name: &Option<&str>) -> Result<ParseSourceIn\n push_to_s(&mut info.crate_attrs, source, attr.span, &mut prev_span_hi);\n }\n }\n+ let mut...
2025-04-23T20:09:11
nodejs/node
d6397afbac475316d50b1b147c89879f5f4dbd72
42185730954dd2aaef9f7149b1bae03b3115e505
doc: fix typo in fs.md Fixes simple typo of `excludiing` to `excluding`. PR-URL: https://github.com/nodejs/node/pull/21579 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
[ { "path": "doc/api/fs.md", "patch": "@@ -4026,7 +4026,7 @@ added: v10.0.0\n * Returns: {Promise}\n \n Reads the contents of a directory then resolves the `Promise` with an array\n-of the names of the files in the directory excludiing `'.'` and `'..'`.\n+of the names of the files in the directory excluding `...
2018-06-28T17:48:59
golang/go
2c05ba4ae08317c6d0ad7418d5ecb0f971275d69
32dbaac572f9aed4fbaa6aa359bdc821fa02e9d4
runtime: top align tinyallocs in race mode Top align allocations in tinyalloc buckets when in race mode. This will make checkptr checks more reliable, because any code that modifies a pointer past the end of the object will trigger a checkptr error. No test, because we need -race for this to actually kick in. We cou...
[ { "path": "src/runtime/export_test.go", "patch": "@@ -1267,3 +1267,5 @@ func GCTestIsReachable(ptrs ...unsafe.Pointer) (mask uint64) {\n func GCTestPointerClass(p unsafe.Pointer) string {\n \treturn gcTestPointerClass(p)\n }\n+\n+const Raceenabled = raceenabled", "additions": 2, "deletions": 0, ...
2021-04-29T06:07:38
huggingface/transformers
f74d7da836ba9e78e98f3bd735ad84cd2cd48cf3
d130cd0e167d654b38cd21b4e9ee357a2cc4e97a
Introduce modular files for speech models (#35902) * WAV_2_VEC_2 to WAV2VEC2 * added modular files for hubert, wavlm, wav2vec2_bert, data2vec_audio * remove unnessary definitions in modulars * added modular files for UniSpeech, UniSpeechSat, Wav2Vec2Conformer * docstring fix for UniSpeechForCTC * removed unnecces...
[ { "path": "setup.py", "patch": "@@ -307,7 +307,12 @@ def run(self):\n extras[\"integrations\"] = extras[\"hub-kernels\"] + extras[\"optuna\"] + extras[\"ray\"] + extras[\"sigopt\"]\n \n extras[\"serving\"] = deps_list(\"pydantic\", \"uvicorn\", \"fastapi\", \"starlette\")\n-extras[\"audio\"] = deps_list(\"l...
2025-04-04T09:46:27
electron/electron
84307dd3294677edd3b07e043b16d48893ab76f8
c814803c940f21797c4ba9b348fa775ad89cb906
gtk: Fix crash when calling GetSize() for hidden window.
[ { "path": "atom/browser/native_window_gtk.cc", "patch": "@@ -58,6 +58,9 @@ NativeWindowGtk::NativeWindowGtk(content::WebContents* web_contents,\n gtk_widget_show_all(vbox_);\n gtk_widget_size_allocate(GTK_WIDGET(window_), &size);\n \n+ // Create the underlying gdk window.\n+ gtk_widget_realize(GTK_WID...
2014-03-29T06:08:25
vercel/next.js
cd8a1a4be5ef1050d789efc1cd1080d8c7b622e0
b418a88757f5a27e258dc5b6b9d84993c5a9239b
Remove stack trace from full reload warning (#43453) Adds a new error link with possible ways to fix the cause of the full reload. Removes the stack trace and adds the file causing the error to the message. Before ![image](https://user-images.githubusercontent.com/25056922/204278894-dd773e6d-9d79-459a-abc4-243c1b22b2...
[ { "path": "errors/fast-refresh-reload.md", "patch": "@@ -0,0 +1,17 @@\n+# Fast Refresh had to perform full reload\n+\n+#### Why This Error Occurred\n+\n+Fast Refresh had to perform a full reload when you edited a file. It may be because:\n+\n+- The file you're editing might have other exports in addition to...
2022-11-28T13:18:26
huggingface/transformers
d130cd0e167d654b38cd21b4e9ee357a2cc4e97a
41b9b92b52215bed472c9a534a06abbc3a9a95cd
update error msg (#37207)
[ { "path": "src/transformers/convert_slow_tokenizer.py", "patch": "@@ -1730,7 +1730,7 @@ def convert_slow_tokenizer(transformer_tokenizer, from_tiktoken=False) -> Tokeni\n ).converted()\n except Exception:\n raise ValueError(\n- f\"Converting from Tiktoken faile...
2025-04-04T08:21:30