repo stringclasses 15
values | fix_commit stringlengths 40 40 | buggy_commit stringlengths 40 40 | message stringlengths 3 64.3k | files listlengths 1 300 | timestamp timestamp[s]date 2013-03-13 20:45:00 2026-04-11 07:48:46 |
|---|---|---|---|---|---|
nodejs/node | 904a81d2357ada1aa6eb8fff36a72623d9014379 | 36c212e25e524d4bd7d88c28cd72bc8259406391 | lib: do not catch user errors
The API caught errors from inside of the users passed through callback.
This never caused any issues, since this API is only used internally.
Otherwise it would have potentially hidden bugs in user code.
Refs: https://github.com/nodejs/node/pull/31133
PR-URL: https://github.com/nodejs/n... | [
{
"path": "lib/internal/util/inspector.js",
"patch": "@@ -10,15 +10,11 @@ function sendInspectorCommand(cb, onError) {\n if (!hasInspector) return onError();\n const inspector = require('inspector');\n if (session === undefined) session = new inspector.Session();\n+ session.connect();\n try {\n- ... | 2020-01-01T15:42:17 |
huggingface/transformers | 66958ae60e221e39356576031d6eb893d4228c2c | 8213e0d920d52cb00dcade16b6d1f6e952ac0a8c | Fix tests for `janus` model (#44739)
* fix `padding_side` bug for janus model
Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com>
* fix bug for `_prepare_config_headdim`
Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com>
* update
Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com>
* update code
Signed-off-by: ... | [
{
"path": "src/transformers/models/janus/processing_janus.py",
"patch": "@@ -45,7 +45,7 @@ class JanusTextKwargs(TextKwargs, total=False):\n class JanusProcessorKwargs(ProcessingKwargs, total=False):\n text_kwargs: JanusTextKwargs\n _defaults = {\n- \"text_kwargs\": {\"padding\": False, \"gen... | 2026-03-31T06:46:00 |
vercel/next.js | f2f582c17fed58a791c72f292a026192078331f2 | f89caca5301becfb3b126208ed727caf55cc9009 | Fix network URL logging in `start-server` (#55260)
### What?
Follow-up of #54926.
While that PR's main fix is no longer necessary due to the removal of render workers, I figure that some changes are nice-to-have and have isolated them into this PR. This includes fixing `appUrl` and `networkUrl` in `start-server`, fixi... | [
{
"path": "docs/02-app/02-api-reference/05-next-config-js/output.mdx",
"patch": "@@ -39,8 +39,8 @@ Additionally, a minimal `server.js` file is also output which can be used instea\n \n > **Good to know**:\n >\n+> - If your project needs to listen to a specific port or hostname, you can define `PORT` or `HOS... | 2023-09-14T02:01:26 |
nodejs/node | 493faf606d65d4891d024163a08e6f9ee3422f5c | d845915d46d21b01d5fdc46ab67402a25a4e6021 | n-api: keep napi_env alive while it has finalizers
Manage the napi_env refcount from Finalizer instances, as the
finalizer may refer to the napi_env until it is deleted.
Fixes: https://github.com/nodejs/node/issues/31134
Fixes: https://github.com/node-ffi-napi/node-ffi-napi/issues/48
PR-URL: https://github.com/nodejs... | [
{
"path": "src/js_native_api_v8.h",
"patch": "@@ -186,26 +186,43 @@ inline v8::Local<v8::Value> V8LocalValueFromJsValue(napi_value v) {\n \n // Adapter for napi_finalize callbacks.\n class Finalizer {\n+ public:\n+ // Some Finalizers are run during shutdown when the napi_env is destroyed,\n+ // and some n... | 2019-12-30T20:26:35 |
huggingface/transformers | 8213e0d920d52cb00dcade16b6d1f6e952ac0a8c | a9c6700a5078e8a9276656a0d0b82b32958624b7 | CB improvements for serving (#45063)
* merge
* update
* fix
* style
* simpler
* style
* review !
* style
* batch output
* style
* type | [
{
"path": "src/transformers/generation/continuous_batching/continuous_api.py",
"patch": "@@ -12,11 +12,12 @@\n # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n # See the License for the specific language governing permissions and\n # limitations under the License.\n+import asynci... | 2026-03-30T18:34:18 |
vercel/next.js | 2ea729082423a1890a5d43c1e3ab795d57566aee | 800fdc11aed6b4502c28e4c75328ecab826b3ce7 | Fix next swc windows bug (#55294)
### What?
Updated regex to support Windows paths in `is_layout_or_page`, resolving inconsistent behavior between OSes.
Previously, the regex was tailored for Linux paths, causing certain checks to fail on Windows such as:
- Server entry can't export `generateMetadata` and `metadata` ... | [
{
"path": "packages/next-swc/crates/core/src/react_server_components.rs",
"patch": "@@ -384,7 +384,7 @@ impl<C: Comments> ReactServerComponents<C> {\n }\n \n fn assert_server_filename(&self, module: &Module) {\n- let is_error_file = Regex::new(r\"/error\\.(ts|js)x?$\")\n+ let is_error_... | 2023-09-13T23:22:09 |
huggingface/transformers | a9c6700a5078e8a9276656a0d0b82b32958624b7 | b7074b1e069dab83d5892f596bf47997692b795d | Add Music Flamingo (#43538)
* Music flamingo
* Fix pos embeddings
* Method arg docstrings
* Add tests & docs
* Fix AF3 dtype bug
* Fix the MF performance issue
* Fix pos embeddings
* Fix embeddings & format
* Remove external deps
* Update processor token names
* Cleanup
* Simplify RotaryEmbedding to lang-on... | [
{
"path": "docs/source/en/_toctree.yml",
"patch": "@@ -1256,6 +1256,8 @@\n title: mllama\n - local: model_doc/mm-grounding-dino\n title: MM Grounding DINO\n+ - local: model_doc/musicflamingo\n+ title: MusicFlamingo\n - local: model_doc/nougat\n title: Nougat\n... | 2026-03-30T18:04:21 |
nodejs/node | fa946983cc56d8263b583d40cfa094771573421a | f64842adebe5cc89039488d2e54a6dfc89cd56d3 | https: prevent options object from being mutated
Previously, when passing options object to the agent.createConnection
method, the same options object got modified within the method. Now,
any modification will happen on only a copy of the object.
Fixes: https://github.com/nodejs/node/issues/31119
PR-URL: https://git... | [
{
"path": "lib/https.js",
"patch": "@@ -95,9 +95,11 @@ function createConnection(port, host, options) {\n if (port !== null && typeof port === 'object') {\n options = port;\n } else if (host !== null && typeof host === 'object') {\n- options = host;\n+ options = { ...host };\n } else if (opt... | 2020-01-02T03:12:19 |
golang/go | d5ae7a64876630ab40f7bd04fdb5ad6a3733dae7 | 7ce38641564e5c0183bb09df8c523caf5e0ab8e1 | go/types, types2: remove redundant calls to Named.resolve
The resolved status of a Named type should be owned by its API, and
callers should access resolved data via methods. Remove several
instances where Named.resolve is explicitly invoked, only to be followed
by a method that also resolves.
Also make two minor cle... | [
{
"path": "src/cmd/compile/internal/types2/decl.go",
"patch": "@@ -508,7 +508,7 @@ func (check *Checker) typeDecl(obj *TypeName, tdecl *syntax.TypeDecl, def *Named\n \t}\n \n \t// type definition or generic type declaration\n-\tnamed := check.newNamed(obj, nil, nil, nil, nil)\n+\tnamed := check.newNamed(obj... | 2022-05-07T19:50:05 |
vercel/next.js | 2d354ac3a5d74c4aa84ef114e7c0a57127873157 | 14e94e69c5b748c428fc992a99904ba9c7a8e927 | Revert react-server-dom require change (#55345)
Reverts a piece of https://github.com/vercel/next.js/pull/55287 which seems to break edge-functions. We'll need to investigate an alternative and add a test case to ensure it fixes the case as expected.
```sh
Error: The Edge Function "hello/world/dashboard/another-edge... | [
{
"path": "packages/next/src/server/app-render/use-flight-response.tsx",
"patch": "@@ -20,11 +20,9 @@ export function useFlightResponse(\n if (flightResponseRef.current !== null) {\n return flightResponseRef.current\n }\n- // react-server-dom-webpack/client.edge must not be hoisted for require cach... | 2023-09-13T22:42:29 |
nodejs/node | a25a6284523ed4db84a33f71ba00eef4ee3f1b99 | 4bec6d13f9e9068fba778d0c806a2ca1335c8180 | esm: better error message for unsupported URL
The default ESM loader supports only file and data URLs.
This PR adds better error message for it.
PR-URL: https://github.com/nodejs/node/pull/31129
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Reviewed-By: James M Snell <jasnell@g... | [
{
"path": "doc/api/errors.md",
"patch": "@@ -1957,6 +1957,11 @@ An attempt was made to load a module with an unknown or unsupported format.\n An invalid or unknown process signal was passed to an API expecting a valid\n signal (such as [`subprocess.kill()`][]).\n \n+<a id=\"ERR_UNSUPPORTED_ESM_URL_SCHEME\">... | 2019-12-29T12:56:43 |
golang/go | 7ce38641564e5c0183bb09df8c523caf5e0ab8e1 | 70668a4144c27a2100995dbbdbd97b4924cf5e35 | cmd/go/internal/modfetch: wrap errors from HTTP response bodies
The Read method on the Body returned from a net/http.Transport does
not wrap errors returned by the underlying io.Reader and returns a
bare io.ErrUnexpectedEOF if the body is shorter than the declared
Content-Length.
Since we can't feasibly add detail on... | [
{
"path": "src/cmd/go/internal/modfetch/proxy.go",
"patch": "@@ -247,10 +247,17 @@ func (p *proxyRepo) getBytes(path string) ([]byte, error) {\n \t\treturn nil, err\n \t}\n \tdefer body.Close()\n-\treturn io.ReadAll(body)\n+\n+\tb, err := io.ReadAll(body)\n+\tif err != nil {\n+\t\t// net/http doesn't add co... | 2022-05-16T19:25:28 |
electron/electron | 4a8dcec63a76af18393b0cc3a23693235fc9fb2d | 30c6ca6751d6e79f5042c82b23e7369dc2ebf20f | Wait for crash report to become available | [
{
"path": "spec/api-crash-reporter-spec.js",
"patch": "@@ -61,10 +61,12 @@ describe('crashReporter module', function () {\n \n const reportId = 'abc-123-def-456-abc-789-abc-123-abcd'\n res.end(reportId, () => {\n- assert.equal(crashReporter.getLastCrashReport().id, reportId)\n- ... | 2016-10-06T16:45:58 |
nodejs/node | b8d2ba67a666aca8e61421b8dc69517afd2b6d71 | 9cdda60081ebd8582c708dfb17d9cd3de1321e28 | tools: remove prefer-common-expectserror lint rule
This custom ESLint rule is unused since
https://github.com/nodejs/node/pull/31092. This commit
removes it.
PR-URL: https://github.com/nodejs/node/pull/31147
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed... | [
{
"path": "tools/eslint-rules/prefer-common-expectserror.js",
"patch": "@@ -1,21 +0,0 @@\n-'use strict';\n-\n-//------------------------------------------------------------------------------\n-// Rule Definition\n-//------------------------------------------------------------------------------\n-\n-const ms... | 2019-12-31T15:43:06 |
vercel/next.js | 14e94e69c5b748c428fc992a99904ba9c7a8e927 | 4a6a2ca2580a9e7dc23a8380a1cf2d906d30a84e | fix duplicated error logging when start server (#55328)
There're few places calling `loadConfig` to access nextjs config for different purpose, and every of them will do validation of next config scheme and could log the warnings potentially to cause duplicated warnings. To address that issue this PR limit the places ... | [
{
"path": "packages/next-swc/crates/next-core/js/src/entry/router.ts",
"patch": "@@ -58,13 +58,7 @@ async function getResolveRoute(\n dir: string,\n serverInfo: ServerInfo\n ): Promise<Resolver> {\n- const nextConfig = await loadConfig(\n- PHASE_DEVELOPMENT_SERVER,\n- process.cwd(),\n- undefin... | 2023-09-13T22:25:41 |
golang/go | 70668a4144c27a2100995dbbdbd97b4924cf5e35 | eb3ac1f5a471c07a84353ae693024a251db9845f | go/types, types2: don't panic with invalid recursive generic type
Add cycle detection to hasVarType to avoid infinite recursions
caused by invalid cyclic types. This catches cases where the
validType check has not yet run or has checked differently
instantiated types.
As an alternative, validType could mark invalid *... | [
{
"path": "src/cmd/compile/internal/types2/builtins.go",
"patch": "@@ -623,7 +623,7 @@ func (check *Checker) builtin(x *operand, call *syntax.CallExpr, id builtinId) (\n \t\t\treturn\n \t\t}\n \n-\t\tif hasVarSize(x.typ) {\n+\t\tif hasVarSize(x.typ, nil) {\n \t\t\tx.mode = value\n \t\t\tif check.Types != ni... | 2022-05-21T00:42:40 |
electron/electron | 84b7bb29f03367b29dfc594219ae7021babe4243 | 9d1d1f21e94a42b5be09d5898a5aa46271cf5eed | Fix Windows compiler errors | [
{
"path": "atom/common/crash_reporter/crash_reporter.cc",
"patch": "@@ -11,6 +11,7 @@\n #include \"base/strings/string_number_conversions.h\"\n #include \"base/strings/string_split.h\"\n #include \"content/public/common/content_switches.h\"\n+#include \"base/strings/utf_string_conversions.h\"\n \n namespace... | 2016-10-05T23:55:13 |
nodejs/node | 9cdda60081ebd8582c708dfb17d9cd3de1321e28 | 7babffbe6054754b733098c52786a23df4049a74 | errors: support prepareSourceMap with source-maps
Adds support for Error.prepareStackTrace override, when
--enable-source-maps is set.
PR-URL: https://github.com/nodejs/node/pull/31143
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Sne... | [
{
"path": "lib/internal/errors.js",
"patch": "@@ -43,6 +43,7 @@ const { kMaxLength } = internalBinding('buffer');\n const MainContextError = Error;\n const ErrorToString = Error.prototype.toString;\n const overrideStackTrace = new WeakMap();\n+const kNoOverride = Symbol('kNoOverride');\n const prepareStackT... | 2019-12-31T17:24:43 |
golang/go | eb3ac1f5a471c07a84353ae693024a251db9845f | 62e130226767a088ace196da90a774c9a9d14689 | cmd/compile/internal/types2: mention go.mod file when using undeclared any
Use the existing versionErrorf mechanism to report use of undeclared
any and comparable.
Also, port versionErrorf mechanism to go/types and use it in this
case as well.
Adjust tests as needed.
For #52880.
Change-Id: I6a646f16a849692ee0cb57e... | [
{
"path": "src/cmd/compile/internal/types2/testdata/fixedbugs/issue46090.go",
"patch": "@@ -8,4 +8,4 @@\n \n package p\n \n-type _ comparable // ERROR undeclared\n+type _ comparable // ERROR predeclared comparable",
"additions": 1,
"deletions": 1,
"language": "Go"
},
{
"path": "src/cmd/c... | 2022-05-24T00:26:24 |
vercel/next.js | f94d4f93e4802f951063cfa3351dd5a2325724b3 | 3561baa5d425c846a028c4ccb783489a1d4caff2 | fix: upgrade listr2 from 5.0.5 to 5.0.8 (#55223)
upgrade listr2 from 5.0.5 to 5.0.8.
Co-authored-by: Snyk bot <19733683+snyk-bot@users.noreply.github.com>
Co-authored-by: JJ Kasper <22380829+ijjk@users.noreply.github.com> | [
{
"path": "bench/vercel/package.json",
"patch": "@@ -15,7 +15,7 @@\n \"commander\": \"2.20.0\",\n \"dotenv\": \"10.0.0\",\n \"downsample-lttb\": \"0.0.1\",\n- \"listr2\": \"5.0.5\",\n+ \"listr2\": \"5.0.8\",\n \"p-queue\": \"7.3.0\",\n \"term-size\": \"3.0.2\",\n \"webpack-bund... | 2023-09-13T21:02:14 |
huggingface/transformers | 813c7c6b2e84b963a1f14bd28a36ee68986ef2d9 | 62a8e1287c24e01581a03f0cf05a4c02322fbcb6 | Fix few issues in Qwen_3_Omni_Moe (#44848)
* Fix Qwen3OmniMoeConfig has no attribute initializer_range
* Fix passing of args
* Fix no_split_modules
* fix
* fix and improve
* format
* fix modular
* fix modular
* comment
---------
Co-authored-by: Anton Vlasjuk <73884904+vasqu@users.noreply.github.com>
Co-autho... | [
{
"path": "src/transformers/generation/utils.py",
"patch": "@@ -688,7 +688,14 @@ def _maybe_initialize_input_ids_for_generation(\n break\n \n if \"inputs_embeds\" in model_kwargs:\n- return torch.ones((batch_size, 0), dtype=torch.long, device=self.device)\n+ ret... | 2026-03-30T16:42:59 |
electron/electron | 9d1d1f21e94a42b5be09d5898a5aa46271cf5eed | 883c4b63d05bbcd1f7612752b299368a43148b8b | Use FilePath for crash reporter temp directory | [
{
"path": "atom/common/crash_reporter/crash_reporter.cc",
"patch": "@@ -25,19 +25,19 @@ CrashReporter::~CrashReporter() {\n void CrashReporter::Start(const std::string& product_name,\n const std::string& company_name,\n const std::string& submit_url,\n- ... | 2016-10-05T23:40:19 |
huggingface/transformers | 62a8e1287c24e01581a03f0cf05a4c02322fbcb6 | 02063e683595e4a3e7f4e5be2fee17cab129e4bb | Fix PP test_ocr_queries (#45123)
test_ocr_queries value fix | [
{
"path": "tests/models/pp_chart2table/test_processing_pp_chart2table.py",
"patch": "@@ -40,7 +40,7 @@ def test_ocr_queries(self):\n add_generation_prompt=True,\n )\n inputs = processor(images=image_input, text=inputs, return_tensors=\"pt\")\n- self.assertEqual(inputs[\"in... | 2026-03-30T16:10:24 |
vercel/next.js | d64bc4c619fc5361d465a83cef6fd7110a279cb5 | fe797c1074f6b2639d89f601fba7f2ea8bbba629 | fix `react-server-dom-webpack` cache invalidation (#55287)
### What?
Webpack wrapped the external import in a new module, making `require.cache` invalidation impossible.
This also adds a basic fallback manifest for turbopack.
Closes WEB-1522 | [
{
"path": ".github/CODEOWNERS",
"patch": "@@ -28,10 +28,11 @@\n \n # Tooling & Telemetry\n \n-/packages/next/src/build/ @timneutkens @ijjk @shuding @huozhi @vercel/web-tooling\n-/packages/next/src/telemetry/ @timneutkens @ijjk @shuding @padmaia\n-/packages/next-swc/ ... | 2023-09-13T17:20:48 |
golang/go | 62e130226767a088ace196da90a774c9a9d14689 | 61fc5df6897544d8ecf8efd5b39648a6bd121ec8 | misc/cgo/testsanitizers: use buffered channel in tsan12.go
os/signal.Notify requires that "the caller must ensure that c has
sufficient buffer space to keep up with the expected signal rate"
as it does a nonblocking send when it receives a signal. The test
currently using a unbuffered channel, which means it may miss ... | [
{
"path": "misc/cgo/testsanitizers/testdata/tsan12.go",
"patch": "@@ -22,7 +22,7 @@ import (\n import \"C\"\n \n func main() {\n-\tch := make(chan os.Signal)\n+\tch := make(chan os.Signal, 1)\n \tsignal.Notify(ch, syscall.SIGUSR1)\n \n \tif err := exec.Command(\"true\").Run(); err != nil {",
"additions"... | 2022-05-24T00:20:07 |
nodejs/node | 7babffbe6054754b733098c52786a23df4049a74 | 4bd0d8c22ca65ba2bd02c671048a99e414f049b8 | util: improve prototype inspection using `inspect()` and `showHidden`
The fast path for the prototype inspection had a bug that caused some
prototype properties to be skipped that should in fact be inspected.
PR-URL: https://github.com/nodejs/node/pull/31113
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By:... | [
{
"path": "lib/internal/util/inspect.js",
"patch": "@@ -470,10 +470,10 @@ function getConstructorName(obj, ctx, recurseTimes, protoProps) {\n typeof descriptor.value === 'function' &&\n descriptor.value.name !== '') {\n if (protoProps !== undefined &&\n- !builtInObjects.has(de... | 2019-12-26T19:57:53 |
electron/electron | 0380d3ae50c9290c396523a35c6e16cef859d853 | 2fbb98a97c3184b500fa65e597c9684b12a9929c | Pass crashes directory to crash service process | [
{
"path": "atom/common/api/atom_api_crash_reporter.cc",
"patch": "@@ -6,6 +6,7 @@\n #include <string>\n \n #include \"atom/common/crash_reporter/crash_reporter.h\"\n+#include \"atom/common/native_mate_converters/file_path_converter.h\"\n #include \"base/bind.h\"\n #include \"native_mate/dictionary.h\"\n \n@... | 2016-10-05T23:15:49 |
vercel/next.js | 083f49c247b7ca80563758521e102327626c2236 | b784d819d827a295442736f786b517bbc737b2bd | Logging improvements (#55298)
## Logging Improvements
* Delay server start logging
Post start logging after request handler is created, so when error
occurred like missing "app" or "pages" directory it won't log start
server message, instead it will only show error message.
* Fix jsconfig hmr case
Previously... | [
{
"path": "packages/next/src/build/output/store.ts",
"patch": "@@ -144,7 +144,7 @@ store.subscribe((state) => {\n clearTimeout(loadingLogTimer)\n loadingLogTimer = null\n }\n- Log.event(`compiled ${trigger}${timeMessage}${modulesMessage}`)\n+ Log.event(`Compiled ${trigger}${timeMessage... | 2023-09-13T13:27:02 |
golang/go | a2bca290e7bc8ab0cdd6c26038f15ac1bb9f8628 | 2138124143e27f72e1ad8fdcee0405d8e8647c76 | cmd/compile: fix loong64 constant folding in division rules
The divisor must be non-zero for the rule to be triggered.
Fixes #53018
Change-Id: Id56b8d986945bbb66e13131d11264ee438de5cb2
Reviewed-on: https://go-review.googlesource.com/c/go/+/407655
Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Reviewed-by: Ian... | [
{
"path": "src/cmd/compile/internal/ssa/gen/LOONG64.rules",
"patch": "@@ -617,10 +617,10 @@\n (SRLVconst [c] (MOVVconst [d])) => (MOVVconst [int64(uint64(d)>>uint64(c))])\n (SRAVconst [c] (MOVVconst [d])) => (MOVVconst [d>>uint64(c)])\n (Select1 (MULVU (MOVVconst [c]) (MOVVconst [d]))) => (MOVVconst [c*d]... | 2022-05-21T12:00:18 |
nodejs/node | 4bd0d8c22ca65ba2bd02c671048a99e414f049b8 | c7f328f0dfa961399b40d874cc8053841dcdc20a | build: don't use -latomic on macOS
Fixes build when using open-source clang.
Builds using Apple clang from Xcode v7 and later were already working,
due to the fact that node's build system misidentifies their
llvm_version as "0.0" and thus the flag wasn't being added.
PR-URL: https://github.com/nodejs/node/pull/3009... | [
{
"path": "node.gyp",
"patch": "@@ -298,7 +298,7 @@\n '-Wl,-bnoerrmsg',\n ],\n }],\n- ['OS in (\"linux\", \"mac\") and llvm_version != \"0.0\"', {\n+ ['OS == \"linux\" and llvm_version != \"0.0\"', {\n 'libraries': ['-latomic'],\n }],\n ],",
"additions... | 2019-10-23T21:31:55 |
huggingface/transformers | 02063e683595e4a3e7f4e5be2fee17cab129e4bb | 2da00a3cec88fac160d481406e7961cf59472894 | Fix TypeError in rope validation when ignore_keys is a list (#45069)
`_check_received_keys` performs `received_keys -= ignore_keys` where
`received_keys` is a `set`. When model configs are loaded from JSON
(e.g. via huggingface_hub dataclass validation), sets get deserialized
as lists since JSON has no set type, causi... | [
{
"path": "src/transformers/modeling_rope_utils.py",
"patch": "@@ -916,7 +916,7 @@ def _check_received_keys(\n \n # Some models need to store model-specific keys, and we don't want to throw warning at them\n if ignore_keys is not None:\n- received_keys -= ignore_keys\n+ ... | 2026-03-30T11:26:37 |
electron/electron | 43702e0f8e26eed97cc8c9950de409f9401e4373 | 56d9ce34e4acf831262e05c9f102248147a3fddd | Support calling getUploadedReports on unstarted crash reporter | [
{
"path": "lib/common/api/crash-reporter.js",
"patch": "@@ -2,6 +2,7 @@\n \n const {spawn} = require('child_process')\n const electron = require('electron')\n+const {app} = process.type === 'browser' ? electron : electron.remote\n const binding = process.atomBinding('crash_reporter')\n \n class CrashReporte... | 2016-10-05T22:39:47 |
golang/go | 2138124143e27f72e1ad8fdcee0405d8e8647c76 | 3fa5ab0d83e1a27628dd997f3883eadd399679e1 | go/types, types2: detect dupl. map keys in comp. literals with generic key type
For map composite literals where the key type is a suitably constrained
type parameter, the existing key duplicate detection mechanism doesn't
work when the keys are numeric values of different types but equal value.
For instance, given
... | [
{
"path": "src/cmd/compile/internal/types2/expr.go",
"patch": "@@ -1741,30 +1741,44 @@ Error:\n \treturn statement // avoid follow-up errors\n }\n \n+// keyVal maps a complex, float, integer, string or boolean constant value\n+// to the corresponding complex128, float64, int64, uint64, string, or bool\n+// ... | 2022-05-17T00:43:38 |
nodejs/node | 9b0cbcf50e749e646a1b6ad121a1f53e1017ea73 | 22a8afcf4cbc7b5f91d6ae809ea7df7f1597c0b5 | deps: V8: bump v8_embedder_string for 0e21c1e637bf
0e21c1e637bf6d844473d09dca3508f2bf547b89 has landed without a proper
v8_embedder_string bump, this is a follow-up fix.
PR-URL: https://github.com/nodejs/node/pull/31096
Refs: https://github.com/nodejs/node/commit/0e21c1e637bf6d844473d09dca3508f2bf547b89
Refs: https:/... | [
{
"path": "common.gypi",
"patch": "@@ -39,7 +39,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.25',\n+ 'v8_embedder_string': '-node.26',\n \n ##### V8 defaults for Node.js #####\n... | 2019-12-26T02:28:35 |
vercel/next.js | b784d819d827a295442736f786b517bbc737b2bd | 83e2c67a69dd7ec761c2b67909da155db0658c31 | server: switch pages to react dom edge renderer (#55318)
This PR fixes the warnings that have started to appear because of #54813
```
Warning: Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported.
at PathnameContextProviderAdapter (/Users/feedthejim/Projects/... | [
{
"path": "packages/next/src/server/import-overrides.ts",
"patch": "@@ -32,7 +32,8 @@ export const baseOverrides = {\n 'react-dom/package.json': 'next/dist/compiled/react-dom/package.json',\n 'react-dom/client': 'next/dist/compiled/react-dom/client',\n 'react-dom/server': 'next/dist/compiled/react-dom... | 2023-09-13T12:41:04 |
rust-lang/rust | b481c5b8ba322612fb3bc167e323f7a548a2390c | c5d7021cddd97a4ec8dd64f878711ec983986fcd | std_detect testing improvements
* Fix riscv testing. Previously the mod tests; would be looking for
src/detect/os/tests.rs.
* Replace a test with an unnamed const item. It is testing that no
warnings are emitted. It doesn't contain any checks that need to run
at runtime. Replacing the test allows removing the ti... | [
{
"path": "library/std_detect/src/detect/macros.rs",
"patch": "@@ -131,14 +131,13 @@ macro_rules! features {\n };\n }\n \n- #[test] //tidy:skip\n #[deny(unexpected_cfgs)]\n #[deny(unfulfilled_lint_expectations)]\n- fn unexpected_cfgs() {\n+ const _: (... | 2025-07-24T13:01:08 |
huggingface/transformers | 2da00a3cec88fac160d481406e7961cf59472894 | 2dbee5af1c91acf55cf81ce68417875279ab0675 | [Bugfix] Remove incorrect torchvision requirement from PIL backend image processors (#45045)
* [Bugfix] Remove incorrect torchvision requirement from PIL backend image processors
PR #45029 added @requires(backends=("vision", "torch", "torchvision")) to 67
PIL backend image_processing_pil_*.py files. This causes PIL b... | [
{
"path": "src/transformers/image_processing_backends.py",
"patch": "@@ -529,7 +529,7 @@ def resize(\n self,\n image: np.ndarray,\n size: SizeDict,\n- resample: Union[\"PILImageResampling\", \"tvF.InterpolationMode\", int] | None = None,\n+ resample: \"PILImageResamplin... | 2026-03-30T07:25:49 |
electron/electron | 69a7025c96bfb53bdc7773c1153fc3f45b2d9cf7 | 773bfea38695575ad3be5958791087702f2fc53f | Fix Linux compiler errors | [
{
"path": "atom/common/crash_reporter/crash_reporter_linux.cc",
"patch": "@@ -79,13 +79,13 @@ void CrashReporterLinux::SetUploadParameters() {\n \n void CrashReporterLinux::EnableCrashDumping(const std::string& product_name) {\n base::FilePath dumps_path;\n- if (!GetCrashesDirectory(&dumps_path))\n+ if ... | 2016-10-05T21:19:22 |
golang/go | 3fa5ab0d83e1a27628dd997f3883eadd399679e1 | e6b5949a75acbbac54c120520d9720b830cb114e | runtime: fix the vDSO symbol version on loong64
The current value is appropriate for an early in-house version of
Linux/LoongArch, but for the upstream version it is very likely
"LINUX_5.10" instead, per the latest upstream submission [1].
[1]: https://lore.kernel.org/all/20220518095709.1313120-3-chenhuacai@loongson.... | [
{
"path": "src/runtime/vdso_linux_loong64.go",
"patch": "@@ -12,11 +12,11 @@ const (\n \tvdsoArrayMax = 1<<50 - 1\n )\n \n-// see man 7 vdso : loong64\n-var vdsoLinuxVersion = vdsoVersionKey{\"LINUX_2.6\", 0x3ae75f6}\n+// not currently described in manpages as of May 2022, but will eventually\n+// appear\n+... | 2022-05-23T03:02:57 |
rust-lang/rust | 43c3e1bb97186d598dc7066706bd66cf5a383cfb | 5c4abe9ca022cff5fa8d334423a34a8cdc356f05 | Enable tests that were skipped on PowerPC
Most of these were skipped because of a bug with the platform
implementation, or some kind of crash unwinding. Since the upgrade to
Ubuntu 25.04, these all seem to be resolved with the exception of a bug
in the host `__floatundisf` [1].
[1] https://github.com/rust-lang/compil... | [
{
"path": "library/compiler-builtins/builtins-test-intrinsics/src/main.rs",
"patch": "@@ -40,11 +40,7 @@ mod intrinsics {\n x as f64\n }\n \n- #[cfg(all(\n- f16_enabled,\n- f128_enabled,\n- not(any(target_arch = \"powerpc\", target_arch = \"powerpc64\"))\n- ))]\n+ #... | 2025-07-24T06:18:46 |
nodejs/node | e33f773d4f3fe24eb1210dfb09117b607c6c5d6f | a1d307fc327076e4fdbf8f61596ea9334b61ff53 | assert: implement `assert.match()` and `assert.doesNotMatch()`
This adds a new functionality to the assertion module: a dedicated
check for regular expressions. So far it's possible to use
`assert.ok(regexp.test(string))`. This is not ideal though when it
comes to the error message, since it's not possible to know how... | [
{
"path": "doc/api/assert.md",
"patch": "@@ -430,6 +430,42 @@ parameter is undefined, a default error message is assigned. If the `message`\n parameter is an instance of an [`Error`][] then it will be thrown instead of the\n `AssertionError`.\n \n+## `assert.doesNotMatch(string, regexp[, message])`\n+<!-- Y... | 2019-12-12T21:51:43 |
vercel/next.js | 926b2073068a5b30a60c3a3d74d46eb8b81beb5c | 94ae5098bdd1baf4e8afc9f87c9aaba7f2c307a3 | remove `--experimental-turbo` from supported next-dev args (#55300)
Follow-up to https://github.com/vercel/next.js/pull/55063 so that we give a proper error when using the wrong `--turbo` flag.
[slack x-ref](https://vercel.slack.com/archives/C04KC8A53T7/p1694561343223349) | [
{
"path": "packages/next/src/cli/next-dev-args.ts",
"patch": "@@ -6,7 +6,6 @@ export const validArgs: arg.Spec = {\n '--port': Number,\n '--hostname': String,\n '--turbo': Boolean,\n- '--experimental-turbo': Boolean,\n '--experimental-https': Boolean,\n '--experimental-https-key': String,\n '--... | 2023-09-13T00:20:52 |
huggingface/transformers | ecdf95c66c88e08f5e2aaadeb7a7c03739565aa8 | 12b6b57cac0397db0afda56f3ab0101729bc5f0f | fix: add identity reverse_op to dequantize ops for save_pretrained (#44983)
fix: add identity reverse_op to dequantize operations for save_pretrained
Dequantize operations (Mxfp4Dequantize, Fp8Dequantize, MetalDequantize)
raise NotImplementedError on reverse_op, causing save_pretrained to fail
for models loaded with ... | [
{
"path": "src/transformers/core_model_loading.py",
"patch": "@@ -101,6 +101,17 @@ def reverse_op(self) -> ConversionOps:\n raise NotImplementedError\n \n \n+class _IdentityOp(ConversionOps):\n+ \"\"\"Pass-through reverse op for dequantize operations.\n+\n+ Dequantized weights are already in t... | 2026-03-27T17:09:03 |
electron/electron | eafc694bba35fd2147539de84621ae2838fc337b | 81733a523ecd0f678e99d90aa062a618c9bef2cb | Mention crash report locations | [
{
"path": "docs/api/crash-reporter.md",
"patch": "@@ -22,6 +22,12 @@ following projects:\n * [socorro](https://github.com/mozilla/socorro)\n * [mini-breakpad-server](https://github.com/electron/mini-breakpad-server)\n \n+Crash reports are saved locally in an application-specific temp directory folder.\n+For... | 2016-10-05T21:10:45 |
huggingface/transformers | 12b6b57cac0397db0afda56f3ab0101729bc5f0f | d65c2b138a3d27a3321f7bbced0efc9bfb5a9688 | Fix when RoPE params are in kwargs (#45049)
* fix
* convert only if non-empty key | [
{
"path": "src/transformers/configuration_utils.py",
"patch": "@@ -263,6 +263,12 @@ def __post_init__(self, **kwargs):\n # BC for rotary embeddings. We will pop out legacy keys from kwargs and rename to new format\n if hasattr(self, \"rope_parameters\"):\n kwargs = self.convert_r... | 2026-03-27T16:15:27 |
rust-lang/rust | 5c4abe9ca022cff5fa8d334423a34a8cdc356f05 | 83aea652e444bd246600bb1b7a39b92482366bd2 | ci: Upgrade ubuntu:25.04 for the PowerPC64LE test
Update the last remaining image.
For this to work, the `QEMU_CPU=POWER8` configuration needed to be
dropped to avoid a new SIGILL. Doing some debugging locally, the crash
comes from an `extswsli` (per `powerpc:common64` in gdb-multiarch) in
the `ld64.so` available wit... | [
{
"path": "library/compiler-builtins/ci/docker/powerpc64le-unknown-linux-gnu/Dockerfile",
"patch": "@@ -1,5 +1,4 @@\n-# FIXME(ppc): We want 25.04 but get SIGILLs\n-ARG IMAGE=ubuntu:24.04\n+ARG IMAGE=ubuntu:25.04\n FROM $IMAGE\n \n RUN apt-get update && \\\n@@ -13,6 +12,5 @@ ENV CARGO_TARGET_POWERPC64LE_UNKN... | 2025-07-24T09:49:46 |
nodejs/node | 3abe3f2d1a10579fbb03245d1a56f9ea32677fab | e038d6a1cdb2ffbf666d360553c31786acaf70b2 | tools: allow the travis commit message job to fail
Travis often fails due to a commit message that does not adhere to
the commit guidelines. We are able to fix the commit message while
landing and it often confuses new contributors that travis fails.
Keeping the check in place but allowing a test failure to report
suc... | [
{
"path": ".travis.yml",
"patch": "@@ -85,3 +85,4 @@ jobs:\n - flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n allow_failures: # TODO (cclauss): remove this when dependencies are clean\n - name: \"Find syntax errors in our Python dependencies\"\n+ - name: \"First commi... | 2019-12-27T17:12:19 |
golang/go | e6b5949a75acbbac54c120520d9720b830cb114e | 715ba65563f9d2a6ecd349944b726a64f9aabeca | cmd/internal/obj/arm64: fix encoding of ADR/ADRP instruction
The referenced address is p.From, not p.To.
Separate from CL 403980, as this is a bug fix. Also, ADR is used
in CL 387336. This is needed to make it work correctly.
Change-Id: Ie0baaeb359b9a7f233458d2becf25dc6a1f8ecbf
Reviewed-on: https://go-review.googles... | [
{
"path": "src/cmd/asm/internal/arch/arm64.go",
"patch": "@@ -47,6 +47,11 @@ var arm64Jump = map[string]bool{\n \t\"JMP\": true,\n \t\"TBNZ\": true,\n \t\"TBZ\": true,\n+\n+\t// ADR isn't really a jump, but it takes a PC or label reference,\n+\t// which needs to patched like a jump.\n+\t\"ADR\": true,... | 2022-05-23T19:15:32 |
vercel/next.js | 49a876d456ed19cb14838c634558df9d816b5dce | 546bd28c000b1c8a27be0022f4f487bcb2dc5e67 | Update route-segment-config.mdx for fix broken link (#55212)
Fixed link to `Node.js Runtime` in the revalidate section, as the link
was broken by the leading `/`.
Co-authored-by: Steven <steven@ceriously.com> | [
{
"path": "docs/02-app/02-api-reference/02-file-conventions/route-segment-config.mdx",
"patch": "@@ -118,7 +118,7 @@ export const revalidate = false\n - **`0`**: Ensure a layout or page is always [dynamically rendered](/docs/app/building-your-application/rendering/server-components#dynamic-rendering) even i... | 2023-09-12T19:43:19 |
electron/electron | 1afe501a36ff5ef9797a4c65a697b19373c5dde5 | f282b51c98a9a3170f6a6fd38603b14ed0cce0cc | Add tests for crash reports in custom temp directory | [
{
"path": "spec/api-crash-reporter-spec.js",
"patch": "@@ -1,7 +1,10 @@\n const assert = require('assert')\n+const fs = require('fs')\n const http = require('http')\n const multiparty = require('multiparty')\n const path = require('path')\n+const rimraf = require('rimraf')\n+const temp = require('temp').tra... | 2016-10-05T20:53:13 |
huggingface/transformers | d65c2b138a3d27a3321f7bbced0efc9bfb5a9688 | ca6acc78492f93bdd588f178fdcc22cfe678497e | chore: update update_metdata.yml (#45054)
fix(security): remediate workflow vulnerability in .github/workflows/update_metdata.yml
Co-authored-by: hf-security-analysis[bot] <265538906+hf-security-analysis[bot]@users.noreply.github.com> | [
{
"path": ".github/workflows/update_metdata.yml",
"patch": "@@ -23,5 +23,7 @@ jobs:\n pip install .[torch]\n \n - name: Update metadata\n+ env:\n+ HF_TOKEN: ${{ secrets.LYSANDRE_HF_TOKEN }}\n run: |\n- python utils/update_metadata.py --token ${{ secrets.LYSAN... | 2026-03-27T15:51:05 |
golang/go | 74f0ccb68b60a07a8730e16043f18d3749c15648 | c1d197a96e3b3ed6ce585a5e6115586c85de0363 | reflect: store receiver in pointer slot for reflect call
The code comment says that the receiver doesn't need to go into
the pointer slot as it will be kept alive in this frame. But it
doesn't. There is no direct reference of rcvr or v (the receiver)
after storing the arguments. Also, it is clearer to explicitly
keep ... | [
{
"path": "src/reflect/value.go",
"patch": "@@ -499,11 +499,10 @@ func (v Value) call(op string, in []Value) []Value {\n \t\tswitch st := abid.call.steps[0]; st.kind {\n \t\tcase abiStepStack:\n \t\t\tstoreRcvr(rcvr, stackArgs)\n-\t\tcase abiStepIntReg, abiStepPointer:\n-\t\t\t// Even pointers can go into t... | 2022-05-20T23:35:44 |
vercel/next.js | 546bd28c000b1c8a27be0022f4f487bcb2dc5e67 | c2f587640ab97f4cd1e18c7b1b1ecd0405ab6c56 | fix: upgrade react-native-web from 0.11.7 to 0.19.7 (#55221)
upgrade react-native-web from 0.11.7 to 0.19.7.
Co-authored-by: Snyk bot <19733683+snyk-bot@users.noreply.github.com> | [
{
"path": "examples/with-expo/package.json",
"patch": "@@ -16,7 +16,7 @@\n \"react\": \"^18.2.0\",\n \"react-dom\": \"^18.2.0\",\n \"react-native\": \"https://github.com/expo/react-native/archive/sdk-37.0.1.tar.gz\",\n- \"react-native-web\": \"~0.11.7\"\n+ \"react-native-web\": \"~0.19.7\"... | 2023-09-12T19:36:33 |
huggingface/transformers | ca6acc78492f93bdd588f178fdcc22cfe678497e | b0bba2d832f3cfd94b339a407f2b3e5b90ce3499 | [`FA`] Fix BC support for a few versions + add deprecation cycle (#45061)
* fix
* style
* move to init as well | [
{
"path": "src/transformers/utils/__init__.py",
"patch": "@@ -134,6 +134,7 @@\n is_flash_attn_3_available,\n is_flash_attn_4_available,\n is_flash_attn_greater_or_equal,\n+ is_flash_attn_greater_or_equal_2_10,\n is_flute_available,\n is_fouroversix_available,\n is_fp_quant_availab... | 2026-03-27T15:30:33 |
electron/electron | ac0658bbf18a5cbcb292f582366515f98812887f | 79a5de3fd8de46cd8c74692d052b307a8b0d633b | Use PathService for temp dir path for crashes | [
{
"path": "atom/common/crash_reporter/crash_reporter.cc",
"patch": "@@ -8,6 +8,7 @@\n #include \"atom/common/atom_version.h\"\n #include \"base/command_line.h\"\n #include \"base/files/file_util.h\"\n+#include \"base/path_service.h\"\n #include \"base/strings/string_number_conversions.h\"\n #include \"base/... | 2016-10-05T20:31:16 |
golang/go | c1d197a96e3b3ed6ce585a5e6115586c85de0363 | 3f571d1dea775417a171c17632ac3c1fbc84b0fd | cmd/compile: support libFuzzer value profiling mode for integer compares
libFuzzer provides a special mode known as “value profiling” in which it
tracks the bit-wise progress made by the fuzzer in satisfying tracked
comparisons. Furthermore, libFuzzer uses the value of the return address
in its hooks to distinguish th... | [
{
"path": "src/cmd/compile/internal/typecheck/builtin.go",
"patch": "@@ -376,10 +376,10 @@ func runtimeTypes() []*types.Type {\n \ttyps[142] = newSig(params(typs[7], typs[1], typs[5]), nil)\n \ttyps[143] = types.NewSlice(typs[7])\n \ttyps[144] = newSig(params(typs[7], typs[143]), nil)\n-\ttyps[145] = newSig... | 2022-05-23T15:04:25 |
nodejs/node | e038d6a1cdb2ffbf666d360553c31786acaf70b2 | e66c4deda8c63ca6c1557eed7c09ba01c6284e57 | test: refactor common.expectsError
This completely refactors the `expectsError` behavior: so far it's
almost identical to `assert.throws(fn, object)` in case it was used
with a function as first argument. It had a magical property check
that allowed to verify a functions `type` in case `type` was passed
used in the va... | [
{
"path": "test/.eslintrc.yaml",
"patch": "@@ -14,7 +14,6 @@ rules:\n # Custom rules in tools/eslint-rules\n node-core/prefer-assert-iferror: error\n node-core/prefer-assert-methods: error\n- node-core/prefer-common-expectserror: error\n node-core/prefer-common-mustnotcall: error\n node-core/cryp... | 2019-12-25T17:02:16 |
huggingface/transformers | b0bba2d832f3cfd94b339a407f2b3e5b90ce3499 | 44686173b26bb174f3c7eb6e59f08a338d1adf54 | fix(testing): Fix Parakeet, Evolla, Pi0, and Phi-3 test failures on main CI (#45004)
* fix: Guard sdpa flash test and fix phi3/pi0 tests
* fix: Narrow scope by adding it to the skip list
* fix
---------
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> | [
{
"path": "tests/models/phi3/test_modeling_phi3.py",
"patch": "@@ -139,11 +139,11 @@ def test_phi3_mini_4k_instruct_generation(self):\n ]\n inputs = tokenizer.apply_chat_template(messages, add_generation_prompt=True, return_tensors=\"pt\")\n \n- outputs = model.generate(inputs, max_ne... | 2026-03-27T15:06:08 |
vercel/next.js | c2f587640ab97f4cd1e18c7b1b1ecd0405ab6c56 | 45fbd4db1454aecab35ac73ac42379f47e22a1e4 | Update docs for revalidatePath fix (#55083)
This updates docs for the fixes landed in
https://github.com/vercel/next.js/pull/53321 related to
`revalidatePath`.
Fixes: https://github.com/vercel/next.js/issues/49387
---------
Co-authored-by: Lee Robinson <me@leerob.io> | [
{
"path": "docs/02-app/02-api-reference/04-functions/fetch.mdx",
"patch": "@@ -98,7 +98,7 @@ Set the cache lifetime of a resource (in seconds).\n fetch(`https://...`, { next: { tags: ['collection'] } })\n ```\n \n-Set the cache tags of a resource. Data can then be revalidated on-demand using [`revalidateTag... | 2023-09-12T18:28:16 |
electron/electron | cb15181f4315a132ac5643e78f59516453309b9f | 9f342ebbd1493b007d3836bdeddddd5574983d18 | Fix typo | [
{
"path": "docs/api/system-preferences.md",
"patch": "@@ -24,7 +24,7 @@ accent color.\n \n ### `systemPreferences.isDarkMode()` _macOS_\n \n-Returns `Boolean` - Whether the the system is in Dark Mode.\n+Returns `Boolean` - Whether the system is in Dark Mode.\n \n ### `systemPreferences.isSwipeTrackingFromSc... | 2016-10-06T10:03:37 |
rust-lang/rust | abddbc5bcab8e731d07c2bfbeae966ed28a33efd | cf886546fc6e58075dfef0100a16ac94c927c455 | Fix generate_trait_from_impl whitespace after vis
Input:
```rust
struct Foo;
impl F$0oo {
pub fn a_func() -> Option<()> {
Some(())
}
}
```
Old:
```rust
struct Foo;
trait NewTrait {
fn a_func() -> Option<()>;
}
impl NewTrait for Foo {
fn a_func() -> Option<()> {
Some(())
}
}
... | [
{
"path": "src/tools/rust-analyzer/crates/ide-assists/src/handlers/generate_trait_from_impl.rs",
"patch": "@@ -3,7 +3,7 @@ use ide_db::assists::AssistId;\n use syntax::{\n AstNode, SyntaxKind, T,\n ast::{\n- self, HasGenericParams, HasName,\n+ self, HasGenericParams, HasName, HasVisibi... | 2025-07-24T07:05:28 |
huggingface/transformers | ce4a791c5277840c4c1d74eed03431b674869da5 | cc4ef19bb88ce7c49607a98fc8214b5c8bdb5342 | Fix llama4 bnb mode (#44588)
* check float before using normal op
Signed-off-by: jiqing-feng <jiqing.feng@intel.com>
* fix llama4 weight
Signed-off-by: jiqing-feng <jiqing.feng@intel.com>
* add bnb quant skip module for llama4
Signed-off-by: jiqing-feng <jiqing.feng@intel.com>
* revert bnb integration
Signed-of... | [
{
"path": "src/transformers/integrations/bitsandbytes.py",
"patch": "@@ -181,7 +181,7 @@ def replace_with_bnb_linear(\n continue\n new_module = None\n with torch.device(\"meta\"):\n- if isinstance(module, (nn.Linear, Conv1D)):\n+ if isinstance(module, Conv1D... | 2026-03-27T14:05:40 |
golang/go | c3470ca83cfdbcc71ce162b00d6b9a0004a7f649 | 2b0e457b42a64455ca2d3eebb5c6d4e6acfc5db2 | internal/fuzz: trim carriage return from version line
On windows hosts, when code is checked out using git with the default
setting of autocrlf=true, carriage returns are appended to source lines
which then prevent the version check from being successful. This removes
carriage returns to allow version matching.
Fixes... | [
{
"path": "src/internal/fuzz/encoding.go",
"patch": "@@ -12,6 +12,7 @@ import (\n \t\"go/token\"\n \t\"math\"\n \t\"strconv\"\n+\t\"strings\"\n \t\"unicode/utf8\"\n )\n \n@@ -106,8 +107,9 @@ func unmarshalCorpusFile(b []byte) ([]any, error) {\n \tif len(lines) < 2 {\n \t\treturn nil, fmt.Errorf(\"must inclu... | 2022-04-25T06:10:00 |
nodejs/node | e66c4deda8c63ca6c1557eed7c09ba01c6284e57 | 0a958f442c427aa3c9d0af68c9d94ade74d300f7 | stream: invoke buffered write callbacks on error
Buffered write callbacks were only invoked upon
error if `autoDestroy` was invoked.
PR-URL: https://github.com/nodejs/node/pull/30596
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigi... | [
{
"path": "lib/_stream_writable.js",
"patch": "@@ -458,6 +458,11 @@ function onwriteError(stream, state, er, cb) {\n --state.pendingcb;\n \n cb(er);\n+ // Ensure callbacks are invoked even when autoDestroy is\n+ // not enabled. Passing `er` here doesn't make sense since\n+ // it's related to one spec... | 2019-11-22T18:13:00 |
vercel/next.js | e6ec464e5840ba6a300ebe2a083f07d197f7ff41 | 45ee4ed2600e12a71d2b9017cd59969889e9a777 | fix: removed unused intercepting route definition references (#55285)
This removes unused references to intercepting routes that was not fully implemented. | [
{
"path": "packages/next/src/server/base-server.ts",
"patch": "@@ -2627,10 +2627,7 @@ export default abstract class Server<ServerOptions extends Options = Options> {\n const result = await this.renderPageComponent(\n {\n ...ctx,\n- // Use the overridden pathname if a... | 2023-09-12T17:10:19 |
rust-lang/rust | fcc7824b883bd9bba8e588fbe61d45dc427ea18e | 08bca4d6a24660c13ce1af3247638e9cf9d4dd50 | ci: Update to the latest ubuntu:25.04 Docker images
This includes a qemu update from 8.2.2 to 9.2.1 which should hopefully
fix some bugs we have encountered.
PowerPC64LE is skipped for now because the new version seems to cause a
number of new SIGILLs. | [
{
"path": "library/compiler-builtins/ci/docker/aarch64-unknown-linux-gnu/Dockerfile",
"patch": "@@ -1,4 +1,4 @@\n-ARG IMAGE=ubuntu:24.04\n+ARG IMAGE=ubuntu:25.04\n FROM $IMAGE\n \n RUN apt-get update && \\",
"additions": 1,
"deletions": 1,
"language": "Unknown"
},
{
"path": "library/comp... | 2025-07-24T06:20:55 |
electron/electron | 9bc6000cb564f6c42d0d493cc4f7e6c2442820b8 | 018575de7141b654147f3f189f8d4ba19670c162 | :memo: Fix misspelling in docs/api/app.md [ci skip] | [
{
"path": "docs/api/app.md",
"patch": "@@ -569,7 +569,7 @@ Sets or removes a custom Jump List for the application, and returns one of the\n following strings:\n \n * `ok` - Nothing went wrong.\n-* `error` - One or more errors occured, enable runtime logging to figure out\n+* `error` - One or more errors occ... | 2016-10-06T00:17:49 |
huggingface/transformers | cc4ef19bb88ce7c49607a98fc8214b5c8bdb5342 | 9cd278715c5154597a44110d6e0c114a7e90d6f5 | Fix failing `SmolLM3IntegrationTest` (#45048)
Fix failing SmolLM3IntegrationTest | [
{
"path": "tests/models/smollm3/test_modeling_smollm3.py",
"patch": "@@ -100,14 +100,14 @@ def test_model_3b_logits(self):\n \n @slow\n def test_model_3b_generation(self):\n- EXPECTED_TEXT_COMPLETION = \"\"\"Gravity is the force that pulls objects toward the center of the Earth. It is a force... | 2026-03-27T14:03:26 |
golang/go | b58067013eaa2f2bf0dc24f4d848e10bb758b6bd | 7ec6ef432a85a390365f2daed788f0d14c830c73 | runtime: allocate physical-page-aligned memory differently
Currently, physical-page-aligned allocations for stacks (where the
physical page size is greater than the runtime page size) first
overallocates some memory, then frees the unaligned portions back to the
heap.
However, because allocating via h.pages.alloc cau... | [
{
"path": "src/runtime/mheap.go",
"patch": "@@ -1157,9 +1157,32 @@ func (h *mheap) allocSpan(npages uintptr, typ spanAllocType, spanclass spanClass\n \n \tif needPhysPageAlign {\n \t\t// Overallocate by a physical page to allow for later alignment.\n-\t\tnpages += physPageSize / pageSize\n-\t}\n+\t\textraPa... | 2022-05-20T16:30:11 |
nodejs/node | b9f0351a12f35662c514bd3c200e30d4eff9bbf8 | bb8b6b99132bac4f367dd4d8deaac54def757bb6 | wasi: fix serdes bugs from snapshot1 migration
During the migration to WASI snapshot1, a field was removed
from the subscription type. The field was removed from the
code, but the bounds checking logic was not updated. This
commit updates that check.
Similarly, __wasi_linkcount_t changed from a uint32_t to a
uint64_t... | [
{
"path": "src/node_wasi.cc",
"patch": "@@ -545,15 +545,15 @@ void WASI::FdFilestatGet(const FunctionCallbackInfo<Value>& args) {\n ASSIGN_OR_RETURN_UNWRAP(&wasi, args.This());\n Debug(wasi, \"fd_filestat_get(%d, %d)\\n\", fd, buf);\n GET_BACKING_STORE_OR_RETURN(wasi, args, &memory, &mem_size);\n- CH... | 2019-12-28T16:47:58 |
vercel/next.js | 9f852403f07e40086d68d8d5f8109c112cf2e72c | c91e6609bfab4d83832dcbabc24392e5796e0941 | fix: upgrade sharp from 0.29.3 to 0.32.5 (#55254)
upgrade sharp from 0.29.3 to 0.32.5.
Fix Remote Code Execution (RCE)
[SNYK-JS-SHARP-2848109](https://snyk.io/vuln/SNYK-JS-SHARP-2848109)
Co-authored-by: Snyk bot <19733683+snyk-bot@users.noreply.github.com> | [
{
"path": "examples/cms-buttercms/package.json",
"patch": "@@ -16,7 +16,7 @@\n \"next\": \"^12.1.0\",\n \"react\": \"^18.2.0\",\n \"react-dom\": \"^18.2.0\",\n- \"sharp\": \"^0.29.3\",\n+ \"sharp\": \"^0.32.5\",\n \"tiny-slider\": \"^2.9.4\",\n \"typescript\": \"^3.3.1\"\n },",
... | 2023-09-12T15:38:10 |
huggingface/transformers | 9cd278715c5154597a44110d6e0c114a7e90d6f5 | 689f52ce6bb1dc83c19e24422dd90ec04636c8b5 | fix tests/quantization/fp_quant_integration/test_fp_quant.py::FPQuant… (#44644)
* fix tests/quantization/fp_quant_integration/test_fp_quant.py::FPQuantMXFP4PseudoquantTest::test_quantized_model fail in xpu
Signed-off-by: Wang, Yi <yi.a.wang@intel.com>
* updated
Signed-off-by: Wang, Yi <yi.a.wang@intel.com>
-------... | [
{
"path": "src/transformers/integrations/fp_quant.py",
"patch": "@@ -50,7 +50,8 @@ def convert(\n \n # Let pre-forward handle the quantization and set None where necessary\n # This operation will quantize the weights internally\n- with torch.cuda.device(value.device):\n+ torch_... | 2026-03-27T13:56:47 |
golang/go | e66f895667cd51d0d28c42d369a803c12db8bb35 | 4dd9458162a08efeb3f3da9a9f3ab4f13113d4b9 | cmd/cgo: allow DW_TAG_variable's with no name
https://reviews.llvm.org/D123534 is emitting DW_TAG_variable's
that don't have a DW_AT_name. This is allowed in the DWARF
standard. It is adding DIE's for string literals for better
symbolization on buffer overlows etc on these strings. They
no associated name because they... | [
{
"path": "src/cmd/cgo/gcc.go",
"patch": "@@ -576,8 +576,23 @@ func (p *Package) loadDWARF(f *File, conv *typeConv, names []*Name) {\n \t\tswitch e.Tag {\n \t\tcase dwarf.TagVariable:\n \t\t\tname, _ := e.Val(dwarf.AttrName).(string)\n+\t\t\t// As of https://reviews.llvm.org/D123534, clang\n+\t\t\t// now em... | 2022-05-19T16:58:46 |
nodejs/node | 689fdd6422759d6670f927497fcb37fa2289420f | 8a96d05ec7f0c9ef5b8a47ae0a6eac45b475320d | doc: fix createDiffieHellman generator type
OpenSSL does not provide a straight-forward way to implement a
non-integer generator, so createDiffieHellman never supported anything
other than a number as the generator. (This only applies to the
signature where the first argument is the size of the prime, and
therefore a ... | [
{
"path": "doc/api/crypto.md",
"patch": "@@ -1855,8 +1855,7 @@ added: v0.5.0\n -->\n \n * `primeLength` {number}\n-* `generator` {number | string | Buffer | TypedArray | DataView} **Default:**\n- `2`\n+* `generator` {number} **Default:** `2`\n * Returns: {DiffieHellman}\n \n Creates a `DiffieHellman` key e... | 2019-12-28T15:27:56 |
huggingface/transformers | 0efcf1b069a87d7093783edcc4caf874f4edb5a6 | 0573124fc15c8969b19054c297ab094b096fdff1 | Avoid `Image.open` failure (#44645)
* fix Image.open failure in case "tests/models/prompt_depth_anything/test_modeling_prompt_depth_anything.py::PromptDepthAnythingModelIntegrationTest::test_inference"
Signed-off-by: Wang, Yi <yi.a.wang@intel.com>
* updated
Signed-off-by: Wang, Yi <yi.a.wang@intel.com>
---------
... | [
{
"path": "tests/models/llava_next/test_modeling_llava_next.py",
"patch": "@@ -130,7 +130,7 @@ def test_flash_attention_2_padding_matches_padding_free_with_position_ids(self):\n class LlavaNextForConditionalGenerationIntegrationTest(unittest.TestCase):\n def setUp(self):\n self.processor = AutoP... | 2026-03-27T11:11:05 |
vercel/next.js | c91e6609bfab4d83832dcbabc24392e5796e0941 | 366885f387bd76366351190770e8b20b3706751e | fix: upgrade date-fns from 2.28.0 to 2.30.0 (#55274)
to upgrade date-fns from 2.28.0 to 2.30.0.
Co-authored-by: Snyk bot <19733683+snyk-bot@users.noreply.github.com> | [
{
"path": "examples/cms-prepr/package.json",
"patch": "@@ -7,7 +7,7 @@\n },\n \"dependencies\": {\n \"classnames\": \"2.3.1\",\n- \"date-fns\": \"2.28.0\",\n+ \"date-fns\": \"2.30.0\",\n \"next\": \"latest\",\n \"react\": \"^18.2.0\",\n \"react-dom\": \"^18.2.0\"",
"additions":... | 2023-09-12T15:26:49 |
huggingface/transformers | 0573124fc15c8969b19054c297ab094b096fdff1 | 4ee7f51e468b7408513dc294dad20e4edb13594f | chore: Fix mlinter cache location (#45052)
chor: Fix mlinter cache location | [
{
"path": ".gitignore",
"patch": "@@ -171,7 +171,7 @@ tags\n .ruff_cache\n \n # modeling structure lint cache\n-utils/.check_modeling_structure_cache.json\n+utils/mlinter/.mlinter_cache.json\n \n # modular conversion\n *.modular_backup",
"additions": 1,
"deletions": 1,
"language": "Unknown"
}
... | 2026-03-27T10:17:02 |
golang/go | 4dd9458162a08efeb3f3da9a9f3ab4f13113d4b9 | 69b412b7d6e9cbd9908b7a9641d1c6af3ff6bc63 | cmd/cgo: use --no-gc-sections if available
zig cc passes `--gc-sections` to the underlying linker, which then
causes undefined symbol errors when compiling with cgo but without C
code. Add `-Wl,--no-gc-sections` to make it work with zig cc. Minimal
example:
**main.go**
package main
import _ "runtime/cgo"
... | [
{
"path": "src/cmd/go/internal/work/exec.go",
"patch": "@@ -2528,6 +2528,13 @@ func (b *Builder) compilerCmd(compiler []string, incdir, workdir string) []strin\n \t\ta = append(a, \"-Qunused-arguments\")\n \t}\n \n+\t// zig cc passes --gc-sections to the underlying linker, which then causes\n+\t// undefined... | 2022-05-20T07:28:25 |
nodejs/node | 8a96d05ec7f0c9ef5b8a47ae0a6eac45b475320d | 3cd77805fe7480c6bf662ff51fb381547d4c50d3 | module: self resolve bug fix and esm ordering
PR-URL: https://github.com/nodejs/node/pull/31009
Reviewed-By: Jan Krems <jan.krems@gmail.com> | [
{
"path": "doc/api/esm.md",
"patch": "@@ -1207,6 +1207,9 @@ _defaultEnv_ is the conditional environment name priority array,\n > 1. If _packageSubpath_ contains any _\".\"_ or _\"..\"_ segments or percent\n > encoded strings for _\"/\"_ or _\"\\\\\"_, then\n > 1. Throw an _Invalid Specifier_ error.\n+... | 2019-12-17T06:58:19 |
vercel/next.js | 2a7f5cdb0a81a04ef2cb7cb447d7fa8a4d84d9ac | 180d55248fd13b020e01b8bb04a9282adce6089e | build: fix minimal trace caching (#55279)
This PR fixes a small issue where we would not save nor read the minimal
server trace file from the cache, meaning that whenever you would do two
builds in a row, the build would skip the tracing of the server as
expected but not include a minimal server trace in the dist f... | [
{
"path": "packages/next/src/build/index.ts",
"patch": "@@ -2045,6 +2045,10 @@ export default async function build(\n distDir,\n 'cache/next-server.js.nft.json'\n )\n+ const minimalCachedTracePath = path.join(\n+ distDir,\n+ 'cache... | 2023-09-12T13:15:43 |
electron/electron | 25659e482e2a4052172293eef8d4b25c48226054 | a097d17166a494afaa53cc46581ff8a53f9f1a9f | Fix relative url | [
{
"path": "docs-translations/nl/project/CONTRIBUTING.md",
"patch": "@@ -29,7 +29,7 @@ maar lees eerst onderstaande suggesties en voeg zo veel mogelijk details toe bij\n * Volg de JavaScript, C++ en Python [codeer-stijl gedefinieerd in de documentatie](/docs/development/coding-style.md).\n * Schrijf document... | 2016-10-05T10:28:36 |
huggingface/transformers | 4ee7f51e468b7408513dc294dad20e4edb13594f | 05514c4bb641ba1537d17048fd93f50f45d5f19d | Embedding VLMs don't need a head (#45000)
* squash
* fix copies
* skip, we dont need to load base model for it
* oops, one more regex since now we have no prefix | [
{
"path": "src/transformers/conversion_mapping.py",
"patch": "@@ -88,9 +88,6 @@ def _build_checkpoint_conversion_mapping():\n WeightRenaming(source_patterns=r\"language_model.model\", target_patterns=\"language_model\"),\n WeightRenaming(source_patterns=r\"language_model.lm_head\", t... | 2026-03-27T09:43:28 |
golang/go | c6ef69e7d7f79f6fc72e51aa7b1ff3c7373b7b53 | 22a3209bc6efd5cc54da57f6125b91a32b6250b0 | misc, test: fix test error for loong64
Contributors to the loong64 port are:
Weining Lu <luweining@loongson.cn>
Lei Wang <wanglei@loongson.cn>
Lingqin Gong <gonglingqin@loongson.cn>
Xiaolin Zhao <zhaoxiaolin@loongson.cn>
Meidan Li <limeidan@loongson.cn>
Xiaojuan Zhai <zhaixiaojuan@loongson.cn>
Qiyuan Pu ... | [
{
"path": "misc/cgo/test/testdata/issue9400/asm_loong64.s",
"patch": "@@ -0,0 +1,28 @@\n+// Copyright 2022 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+#include \"textflag.h\"\n+\n+TEXT ·RewindAndSetgid(... | 2022-05-19T12:01:10 |
rust-lang/rust | 78fc7c351db02f29d0d4fbdf9025898225e32939 | ee3a0783df39cb11c5706e38805eb9258b4fad79 | Suggest unwrapping when private method name is available in inner type
Given
```rust
fn main() {
let maybe_vec = Some(vec![1,2,3]);
assert_eq!(maybe_vec.len(), 3);
}
```
suggest unwraping `maybe_vec` to call `.len()` on the `Vec<_>`.
```
error[E0624]: method `len` is private
--> $DIR/enum-method-probe.rs:... | [
{
"path": "compiler/rustc_hir_typeck/src/method/suggest.rs",
"patch": "@@ -264,6 +264,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {\n err.span_label(within_macro_span, \"due to this macro variable\");\n }\n self.suggest_valid_traits(&mut err, item_name, out_of_sc... | 2025-07-23T19:23:43 |
vercel/next.js | 180d55248fd13b020e01b8bb04a9282adce6089e | 8e1626851e5b6ca431f2f1277db667d3bb3fa4e9 | Make open editor icon size non-shrink in error overlay (#55273)
In error overlay when the error trace file path is too long, the open editor icon on the right side get shrinked to very small. Mark it as `flex-shrink: 0` to avoid the unexpected size change
### After
;\n margin-left: var(--size-gap);\n+ flex-shrink: 0;\n \n display: none;\n ... | 2023-09-12T11:17:30 |
huggingface/transformers | 05514c4bb641ba1537d17048fd93f50f45d5f19d | 7b00e3ba398d355d5f277a4896743b16f21049eb | Fix GraniteConfig type hints to accept int for multiplier fields (#45019)
* Fix GraniteConfig type hints to accept int for multiplier fields
Fixes #44877
* Also update granitemoe and granitemoeshared multiplier type hints | [
{
"path": "src/transformers/models/granite/configuration_granite.py",
"patch": "@@ -80,10 +80,10 @@ class GraniteConfig(PreTrainedConfig):\n attention_bias: bool = False\n attention_dropout: float | int = 0.0\n mlp_bias: bool = False\n- embedding_multiplier: float = 1.0\n- logits_scaling: ... | 2026-03-27T09:20:14 |
electron/electron | a097d17166a494afaa53cc46581ff8a53f9f1a9f | d4bbc240312823a6d0637dfb1b4d4f919c3b9bc4 | Fix relative link, added translation link for dutch | [
{
"path": "docs-translations/nl/project/CONTRIBUTING.md",
"patch": "@@ -1,6 +1,6 @@\n # Bijdragen aan Electron\n \n-:memo: Beschikbare vertalingen: [Koreaans](https://github.com/electron/electron/tree/master/docs-translations/ko-KR/project/CONTRIBUTING.md) | [Versimpeld Chinees](https://github.com/electron/... | 2016-10-05T10:28:08 |
golang/go | 22a3209bc6efd5cc54da57f6125b91a32b6250b0 | 137133953025159683d48af2298f105a8fa2cbb9 | runtime: update description of GODEBUG=scavtrace=1
For #48409.
Change-Id: I056afcdbc417ce633e48184e69336213750aae28
Reviewed-on: https://go-review.googlesource.com/c/go/+/406575
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@gola... | [
{
"path": "src/runtime/extern.go",
"patch": "@@ -122,9 +122,8 @@ It is a comma-separated list of name=val pairs setting these named variables:\n \tscavenger as well as the total amount of memory returned to the operating system\n \tand an estimate of physical memory utilization. The format of this line is s... | 2022-05-16T14:37:26 |
rust-lang/rust | e7441fbf61d3189dae16468fe6a3900ad466ed69 | a9fd8d041bf40b0b2425ad79062d09a441352efa | Clippy fixup
Signed-off-by: Jens Reidel <adrian@travitia.xyz> | [
{
"path": "src/bootstrap/src/lib.rs",
"patch": "@@ -1343,7 +1343,7 @@ impl Build {\n .map(|p| &**p);\n \n if self.config.is_host_target(target) && configured_root.is_none() {\n- return Some(Path::new(\"/usr\"));\n+ Some(Path::new(\"/usr\"))\n } else {\n ... | 2025-07-23T18:00:42 |
huggingface/transformers | 7b00e3ba398d355d5f277a4896743b16f21049eb | 23773e7140dc4037f658d263b95aef76bb6ef00d | fix: preserve rotary_pct across save/load cycle in GPTNeoX configs (#44985)
* fix: preserve rotary_pct across save/load cycle in GPTNeoX configs
Use setdefault instead of unconditional assignment for
partial_rotary_factor in GPTNeoXConfig and GPTNeoXJapaneseConfig,
so the value saved in rope_parameters is not overwri... | [
{
"path": "src/transformers/models/gpt_neox/configuration_gpt_neox.py",
"patch": "@@ -95,7 +95,7 @@ def convert_rope_params_to_dict(self, **kwargs):\n # Standardize and validate the correctness of rotary position embeddings parameters\n # Model uses non-standard naming for rope params, overw... | 2026-03-27T09:05:08 |
vercel/next.js | f4e6dea1f2c17755b8b52f9890b3aaef1a183e5e | 3afba0d12ded048b43882eb5c42d6fde95c99929 | build: fix externals resolution when importing from next/dist (#55269)
This fixes a "bug" where Sentry was trying to access some of the internal async storages and it would fail because their imports would be compiled as-is instead of using the special rules for Next externals as we are short-cutting it for `next/dist... | [
{
"path": "packages/next/src/build/webpack-config.ts",
"patch": "@@ -1430,7 +1430,7 @@ export default async function getBaseWebpackConfig(\n * This is used to ensure that files used across the rendering runtime(s) and the user code are one and the same. The logic in this function\n * will rewrite ... | 2023-09-12T10:26:34 |
electron/electron | 3dd41bc09a291dbc6c2ffbd344d6e0be199dd5e6 | 9490ec76869234760debf15f0da3d28350a3995d | Fix errors | [
{
"path": "lib/browser/guest-window-manager.js",
"patch": "@@ -51,7 +51,7 @@ const setupGuest = function (embedder, frameName, guest, options) {\n // When |embedder| is destroyed we should also destroy attached guest, and if\n // guest is closed by user then we should prevent |embedder| from double\n ... | 2016-10-05T09:46:55 |
golang/go | 5370494577bb0844d3fdfa6bebd27bf9285bb764 | d8762b2f4532cc2e5ec539670b88bbc469a13938 | runtime: add BenchmarkMemclrRange
This benchmark is added to test improvements in memclr_amd64.
As it is stated in Intel Optimization Manual 15.16.3.3, AVX2-implemented
memclr can produce a skewed result with the branch predictor being
trained by the large loop iteration count.
This benchmark generates sizes between ... | [
{
"path": "src/runtime/memmove_test.go",
"patch": "@@ -411,6 +411,63 @@ func BenchmarkGoMemclr(b *testing.B) {\n \t})\n }\n \n+func BenchmarkMemclrRange(b *testing.B) {\n+\ttype RunData struct {\n+\t\tdata []int\n+\t}\n+\n+\tbenchSizes := []RunData{\n+\t\tRunData{[]int{1043, 1078, 1894, 1582, 1044, 1165, 14... | 2021-12-21T19:45:01 |
huggingface/transformers | 16d437e43adffaef9cd60070563f2afe6a5703a4 | 97b7727e1129bcaebe42ce57ce37fa1a48847a89 | fix: protect torch imports in processing files and fix import guards
- Guard import torch in processing_cohere_asr.py with is_torch_available()
- Add @requires(backends=("torch",)) to CohereAsrProcessor
- Fix is_vision_available() to use actual import test instead of find_spec
- Fix is_torchvision_available() and is_t... | [
{
"path": "src/transformers/models/cohere_asr/processing_cohere_asr.py",
"patch": "@@ -12,12 +12,14 @@\n # See the License for the specific language governing permissions and\n # limitations under the License.\n \n-import torch\n-\n from ...audio_utils import AudioInput, make_list_of_audio\n from ...process... | 2026-03-27T00:14:51 |
vercel/next.js | 3afba0d12ded048b43882eb5c42d6fde95c99929 | 92e1b3fef9088aa646eecd8d95611e26751412f7 | feat: add reserved port validation (#55237)
### Fixing a bug
- [x] Related issues linked using `fixes #number`
- [x] Tests added. See: https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs
- [x] Errors have a helpful link attached, see https://github.com/vercel/next.js/... | [
{
"path": "errors/reserved-port.mdx",
"patch": "@@ -0,0 +1,27 @@\n+---\n+title: Reserved Port\n+---\n+\n+## Why This Error Occurred\n+\n+Server was started on a reserved port. For example, `4045` is reserved for the Network Paging Protocol (npp).\n+\n+```\n+next start -p 4045\n+```\n+\n+or\n+\n+```\n+next d... | 2023-09-12T07:31:35 |
electron/electron | 9490ec76869234760debf15f0da3d28350a3995d | a2b3cf95a747c331cabb0dd1f1e3ad93be6b3120 | Fix JS Lint issues | [
{
"path": "lib/browser/guest-window-manager.js",
"patch": "@@ -47,8 +47,7 @@ const mergeBrowserWindowOptions = function (embedder, options) {\n }\n \n // Setup a new guest with |embedder|\n-const setupGuest = function (embedder, frameName, guest) {\n-\n+const setupGuest = function (embedder, frameName, gues... | 2016-09-29T14:01:05 |
huggingface/transformers | 97b7727e1129bcaebe42ce57ce37fa1a48847a89 | 78bdaf0b39c29737b9ca48a274ef4a34bdafd4d1 | Fix release full (#45029)
* first part of the fix
* fix torch imports
* revert
* fix: make from transformers import * work without torch
- `is_torchvision_available`, `is_timm_available`, `is_torchaudio_available`,
`is_torchao_available`, `is_accelerate_available` now return False when
torch is not installed, ... | [
{
"path": ".circleci/config.yml",
"patch": "@@ -175,6 +175,28 @@ jobs:\n - store_artifacts:\n path: ~/transformers/installed.txt\n - run: make check-repository-consistency\n+ - run:\n+ name: \"Test import with all backends (torch + PIL + to... | 2026-03-27T00:11:22 |
golang/go | d8762b2f4532cc2e5ec539670b88bbc469a13938 | dd83fd8a70d324be96d2fcac753b202db0625538 | runtime: fix overflow in PingPongHog test
On 32-bit systems the result of hogCount*factor can overflow.
Use division instead to do comparison.
Update #52207
Change-Id: I429fb9dc009af645acb535cee5c70887527ba207
Reviewed-on: https://go-review.googlesource.com/c/go/+/407415
Reviewed-by: Michael Knyszek <mknyszek@google... | [
{
"path": "src/runtime/proc_test.go",
"patch": "@@ -483,7 +483,7 @@ func TestPingPongHog(t *testing.T) {\n \t// scheduler isn't working right, the gap should be ~1000X\n \t// (was 5, increased to 20, see issue 52207).\n \tconst factor = 20\n-\tif hogCount > lightCount*factor || lightCount > hogCount*factor ... | 2022-05-19T20:45:51 |
nodejs/node | 51aca6d9f1b2aff77870ceddd195cc4d5b010991 | e28c1c7f3b8892c4fbaf3812598674ba23c0481e | test: log errors in test-http2-propagate-session-destroy-code
PR-URL: https://github.com/nodejs/node/pull/31072
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: ... | [
{
"path": "test/parallel/test-http2-propagate-session-destroy-code.js",
"patch": "@@ -15,16 +15,16 @@ server.on('error', common.mustNotCall());\n server.on('session', (session) => {\n session.on('close', common.mustCall());\n session.on('error', common.mustCall((err) => {\n- assert(errRegEx.test(err)... | 2019-12-23T14:38:55 |
vercel/next.js | 92e1b3fef9088aa646eecd8d95611e26751412f7 | ddc26c9904735a4ec7fb7a8ca74b50a8d1bfba35 | test(fixture): improve finding ports to reduce flaky (#55151)
### What
Found a flaky test like https://github.com/vercel/next.js/actions/runs/6125719281/job/16628276301?pr=55118#step:29:174, `get-port` throws by port is not available. Peeking bit, there seems an upstream fix hope to improve the situation but unfor... | [
{
"path": "package.json",
"patch": "@@ -150,6 +150,7 @@\n \"form-data\": \"4.0.0\",\n \"fs-extra\": \"9.0.0\",\n \"get-port\": \"5.1.1\",\n+ \"get-port-please\": \"3.1.1\",\n \"glob\": \"7.1.6\",\n \"gzip-size\": \"5.1.1\",\n \"html-validator\": \"5.1.18\",",
"additions": 1,
... | 2023-09-11T21:48:29 |
Subsets and Splits
Assembly Language GitHub Issues
Retrieves a sample of assembly-language related commits with their details, but doesn't provide meaningful analysis or patterns beyond basic filtering.
Swift Compiler Issues Analysis
Retrieves all training data for the Swift programming language repository, providing basic filtering but offering limited analytical insight beyond identifying relevant code examples.