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 | 9f927c8250165a3cc63ef7ae06736b33839495f7 | 4fee3209264a3b99a66c953ff0883b289b54d34e | [cache] fix `HybridCache` init when `device` is passed (#37718)
fix device init | [
{
"path": "src/transformers/cache_utils.py",
"patch": "@@ -1697,7 +1697,7 @@ def __init__(\n min(config.sliding_window, max_cache_len),\n self.head_dim,\n )\n- device = torch.device(device) if device is not None and isinstance(device, str) else None\n+ device = ... | 2025-04-24T12:36:52 |
electron/electron | f65246b3cd8fa2e4601139e921855c935893a807 | 8f2a2e19b50aaf04a5a443e8815a1af8a2650ed4 | Fix coding style | [
{
"path": "brightray/browser/url_request_context_getter.cc",
"patch": "@@ -155,7 +155,7 @@ net::URLRequestContext* URLRequestContextGetter::GetURLRequestContext() {\n bool set_protocol = job_factory->SetProtocolHandler(\n it->first, it->second.release());\n DCHECK(set_protocol);\n- ... | 2014-07-07T18:27:02 |
nodejs/node | 214844ea4e561b0f77e97643d28b251cdc574089 | 980877ffa2fc9a77e311566c537cee6d037578a2 | doc: remove unused error codes from errors.md
This removes two unused error codes:
* ERR_STREAM_READ_NOT_IMPLEMENTED, removed in c979488 (PR #18813).
* ERR_VALUE_OUT_OF_RANGE, removed in d022cb1 (PR #17648).
PR-URL: https://github.com/nodejs/node/pull/21491
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewe... | [
{
"path": "doc/api/errors.md",
"patch": "@@ -1564,12 +1564,6 @@ or a pipeline ends non gracefully with no explicit error.\n An attempt was made to call [`stream.push()`][] after a `null`(EOF) had been\n pushed to the stream.\n \n-<a id=\"ERR_STREAM_READ_NOT_IMPLEMENTED\"></a>\n-### ERR_STREAM_READ_NOT_IMPLE... | 2018-06-23T22:23:37 |
vercel/next.js | 3dd9af785c3554305ad86fcf400ed11a7e891c3e | ea7d85687bae92ebdb5c51ebc59173e01db7b7e0 | build(cargo): fix turbopack + next-swc build (#43983)
Fixes WEB-301.
This PR fixes build failure with latest turbopack, also update necessary
dependencies.
---
Edit by @kdy1:
- Closes https://github.com/vercel/next.js/issues/43052 | [
{
"path": ".github/workflows/build_test_deploy.yml",
"patch": "@@ -1128,7 +1128,7 @@ jobs:\n target: 'aarch64-pc-windows-msvc'\n build: |\n npm i -g \"@napi-rs/cli@${NAPI_CLI_VERSION}\" \"turbo@${TURBO_VERSION}\" \"pnpm@${PNPM_VERSION}\"\n- turbo run build-... | 2022-12-19T21:10:02 |
golang/go | bb53bd49571e08909ab6274255ddddd6c6ffe041 | ad24be022be1c3124887ff22fc742494ee12dfb8 | [dev.fuzz] cmd/go: fix test_fuzz_cache
This test started failing when coverage-based fuzzing was enabled.
It expects at least one file to be written to the fuzz cache. Nothing
was written because the fuzz function was trivial, and no interesting
inputs could be discovered.
This CL makes the fuzz function return diffe... | [
{
"path": "src/cmd/go/testdata/script/test_fuzz_cache.txt",
"patch": "@@ -39,7 +39,15 @@ import \"testing\"\n \n func FuzzY(f *testing.F) {\n \tf.Add([]byte(\"y\"))\n-\tf.Fuzz(func(t *testing.T, b []byte) {})\n+\tf.Fuzz(func(t *testing.T, b []byte) { Y(b) })\n+}\n+-- y.go --\n+package y\n+\n+import \"bytes\... | 2021-05-13T17:13:26 |
huggingface/transformers | 0f7940bb3febf49dec9febb6573eb9830ec18c4e | 7e6f36cd385d0bc8257eb3ef397b657b972be2a1 | Update `MllamaForConditionalGenerationIntegrationTest` (#37750)
* fix 1
* fix 2
* fix 3
* fix 4
* fix 5
* fix 6
* trigger CI
---------
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> | [
{
"path": "tests/models/mllama/test_modeling_mllama.py",
"patch": "@@ -544,7 +544,7 @@ def test_11b_model_integration_generate(self):\n expected_input_ids_all = Expectations(\n {\n (\"xpu\", 3): torch.tensor([[128000, 128256, 128000, 2746, 358, 1047, 311, 3350, 264, 6520,... | 2025-04-24T12:29:46 |
electron/electron | 8f2a2e19b50aaf04a5a443e8815a1af8a2650ed4 | 5b2a62627e3dbe041bd86983b9853a933f1f364c | Really fix unused-variable warnings
I misunderstood how ALLOW_UNUSED is meant to be used. Using a macro like
MSV_WARNING_SUPPRESS() would be nice, but for some reason it isn't working for
me. So now we just manually reference the variable in the code. | [
{
"path": "brightray/browser/url_request_context_getter.cc",
"patch": "@@ -154,8 +154,8 @@ net::URLRequestContext* URLRequestContextGetter::GetURLRequestContext() {\n end = protocol_handlers_.end(); it != end; ++it) {\n bool set_protocol = job_factory->SetProtocolHandler(\n it->first... | 2014-07-07T18:21:40 |
nodejs/node | 980877ffa2fc9a77e311566c537cee6d037578a2 | 933d8eb689bb4bc412e71c0069bf9b7b24de4f9d | util: adding warnings when NODE_DEBUG is set as http/http2
PR-URL: https://github.com/nodejs/node/pull/21914
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com> | [
{
"path": "lib/util.js",
"patch": "@@ -344,11 +344,23 @@ if (process.env.NODE_DEBUG) {\n debugEnvRegex = new RegExp(`^${debugEnv}$`, 'i');\n }\n \n+// Emits warning when user sets\n+// NODE_DEBUG=http or NODE_DEBUG=http2.\n+function emitWarningIfNeeded(set) {\n+ if ('HTTP' === set || 'HTTP2' === set) {\n... | 2018-07-28T06:42:32 |
vercel/next.js | ea7d85687bae92ebdb5c51ebc59173e01db7b7e0 | 43c9d8940dc42337dd2f7d66aa90e6abf952278e | Fix styled-components setup in turbo example (#44165)
Closes: #44164
Sync to the latest setup doc on https://beta.nextjs.org/docs/styling/css-in-js#styled-components
## Documentation / Examples
- [x] Make sure the linting passes by running `pnpm build && pnpm lint`
- [x] The "examples guidelines" are followed from ... | [
{
"path": "examples/with-turbopack/lib/styling.tsx",
"patch": "@@ -9,11 +9,12 @@ export function useStyledComponentsRegistry() {\n \n const styledComponentsFlushEffect = () => {\n const styles = styledComponentsStyleSheet.getStyleElement();\n- styledComponentsStyleSheet.seal();\n+ styledComponen... | 2022-12-19T20:59:16 |
golang/go | ad24be022be1c3124887ff22fc742494ee12dfb8 | 2212a1a339c7ac72ff2133855c97ae097444cb5c | [dev.fuzz] internal/fuzz: make minimization tests more reliable
* Introduced -fuzzminimizetime flag to control the number of time or
the number of calls to spend minimizing. Defaults to 60s. Only works
for unrecoverable crashes for now.
* Moved the count (used by -fuzztime=1000x) into shared
memory. Calling work... | [
{
"path": "src/cmd/go/internal/test/flagdefs.go",
"patch": "@@ -20,6 +20,7 @@ var passFlagToTest = map[string]bool{\n \t\"cpuprofile\": true,\n \t\"failfast\": true,\n \t\"fuzz\": true,\n+\t\"fuzzminimizetime\": true,\n \t\"fuzztime\": true,\n \t\"list\"... | 2021-05-14T17:59:26 |
huggingface/transformers | 14e28bd7211428abea8cbdfe75079823c5c7cae0 | 0ec04959670ae585b3f0dc448be945045eaa8e60 | Correctly raise errors when downloading tokenizer files (#37740)
* first try
* Update tokenization_utils_base.py
* Update tokenization_utils_base.py
* standardize | [
{
"path": "src/transformers/tokenization_utils_base.py",
"patch": "@@ -1989,23 +1989,35 @@ def from_pretrained(\n if \"tokenizer_file\" in vocab_files:\n # Try to get the tokenizer config to see if there are versioned tokenizer files.\n fast_tokenizer_... | 2025-04-24T10:53:07 |
electron/electron | 6bae1f4b44874299dd7a54abde25c5224479bb8b | a1cf58f811a6068aebfa9e2df4b456f62514435b | Set up a native screen on Windows
This is needed to prevent a crash inside aura::WindowTreeHost::InitCompositor. | [
{
"path": "brightray/browser/browser_main_parts.cc",
"patch": "@@ -7,6 +7,8 @@\n #include \"browser/browser_context.h\"\n #include \"browser/web_ui_controller_factory.h\"\n #include \"net/proxy/proxy_resolver_v8.h\"\n+#include \"ui/gfx/screen.h\"\n+#include \"ui/views/widget/desktop_aura/desktop_screen.h\"\... | 2014-07-07T17:53:24 |
vercel/next.js | 43c9d8940dc42337dd2f7d66aa90e6abf952278e | 68d06fe015b28d8f81da52ca107a5f4bd72ab37c | Wrap CSS variable in var (#44153)
Adds missing CSS var() wrapper + spelling error, caught in [Discussion
#9094](https://github.com/vercel/vercel/discussions/9094).
Closes: #44126
Closes: https://github.com/vercel/next.js/pull/44127
## Bug
- [x] Related issues linked using `fixes #number`
- [ ] Integration... | [
{
"path": "packages/create-next-app/templates/app/js/app/globals.css",
"patch": "@@ -86,7 +86,7 @@ body {\n }\n \n body {\n- color: rbg(--foreground-rgb);\n+ color: rgb(var(--foreground-rgb));\n background: linear-gradient(\n to bottom,\n transparent,",
"additions": 1,
"deletions": 1... | 2022-12-19T20:05:46 |
nodejs/node | f8d34b902e487f6bec0eb49967f9a37a19caccd3 | d7496bff9339408ffc969975d23024453907e21a | test: fix n-api addon build warnings
Fixed an MSVC warning on Windows:
* test_general.c - Lossy conversion from int64 to double, explicitly
casting to double resolved the warning
PR-URL: https://github.com/nodejs/node/pull/21808
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Anna Henningsen <a... | [
{
"path": "test/addons-napi/test_general/test_general.c",
"patch": "@@ -216,7 +216,7 @@ static napi_value testAdjustExternalMemory(napi_env env, napi_callback_info info\n int64_t adjustedValue;\n \n NAPI_CALL(env, napi_adjust_external_memory(env, 1, &adjustedValue));\n- NAPI_CALL(env, napi_create_doubl... | 2018-07-14T00:54:50 |
huggingface/transformers | 0ec04959670ae585b3f0dc448be945045eaa8e60 | 72e4844059cf0d7d01f0dfca20a9834cef82c133 | Fix `embeds_to_talker` device in Qwen2.5-Omni (#37739)
Fix `embeds_to_talker` device
Co-authored-by: lvyuanjun.lyj <lvyuanjun.lyj@alibaba-inc.com> | [
{
"path": "src/transformers/models/qwen2_5_omni/modeling_qwen2_5_omni.py",
"patch": "@@ -4560,7 +4560,7 @@ def generate(\n return thinker_result\n \n # 2. Generate speech tokens from talker module\n- embeds_to_talker = thinker_result.hidden_states[0][0].clone()\n+ embeds_to... | 2025-04-24T10:49:57 |
golang/go | 6c1c055d1ea417d050503efe92c1eead0da68cef | 658b5e66ecbc41a49e6fb5aa63c5d9c804cf305f | cmd/internal/moddeps: use filepath.SkipDir only on directories
If a filepath.WalkFunc returns filepath.SkipDir when invoked on a
non-directory file, it skips the remaining files in the containing
directory.¹
CL 276272 accidentally added a code path that triggers this behavior
whenever filepath.Walk reaches a non-dire... | [
{
"path": "src/cmd/internal/moddeps/moddeps_test.go",
"patch": "@@ -227,7 +227,7 @@ func makeGOROOTCopy(t *testing.T) string {\n \t\tif err != nil {\n \t\t\treturn err\n \t\t}\n-\t\tif src == filepath.Join(runtime.GOROOT(), \".git\") {\n+\t\tif info.IsDir() && src == filepath.Join(runtime.GOROOT(), \".git\"... | 2021-05-19T03:29:14 |
electron/electron | ae1995f849aac92ec768361e73ad0ae56ee2bdbb | 1269e59a352ab94ef44591d52c40fea4970cbf83 | Update libchromiumcontent for better Chrome 35 support
* vendor/libchromiumcontent ded3c0a...331dbed (2):
> Merge pull request #48 from brightray/chrome35-brightray
> Merge pull request #49 from brightray/linux-fix | [
{
"path": "brightray/vendor/libchromiumcontent",
"patch": "@@ -1 +1 @@\n-Subproject commit ded3c0ad1d36cc900d94c7587a88d1b959ebc1c7\n+Subproject commit 331dbed44676c534faf21f7db1985e796260649a",
"additions": 1,
"deletions": 1,
"language": "Unknown"
}
] | 2014-07-07T16:27:38 |
vercel/next.js | 68d06fe015b28d8f81da52ca107a5f4bd72ab37c | 4796fb3dd4171d6a81202ded3922eb3671270e18 | Update README templates to include snippet on `next/font` (#44088)
Updates the README templates for `create-next-app` to include
information on the addition of the `next/font` library.
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have a helpful link attac... | [
{
"path": "packages/create-next-app/templates/app/js/README-template.md",
"patch": "@@ -18,6 +18,8 @@ You can start editing the page by modifying `app/page.jsx`. The page auto-update\n \n The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/... | 2022-12-19T19:49:41 |
nodejs/node | d7496bff9339408ffc969975d23024453907e21a | bd2ee60eae26973244e094c1f28d737afd392e94 | http,tls: name anonymous callbacks
This commit is to help in the effort to name all anonymous
functions to help when heap debugging. Specifically, this commit
fixes some anonymous functions used as listeners in the lib/ folder.
PR-URL: https://github.com/nodejs/node/pull/21412
Reviewed-By: Weijia Wang <starkwang@126.... | [
{
"path": "lib/_http_outgoing.js",
"patch": "@@ -183,7 +183,7 @@ OutgoingMessage.prototype.setTimeout = function setTimeout(msecs, callback) {\n }\n \n if (!this.socket) {\n- this.once('socket', function(socket) {\n+ this.once('socket', function socketSetTimeoutOnConnect(socket) {\n socket.s... | 2018-06-19T21:03:33 |
huggingface/transformers | 72e4844059cf0d7d01f0dfca20a9834cef82c133 | 1cfcbfcab8da6681a73b18e3e198d56417815223 | fix: learning_rate logged as tensor causing save issue with deepspeed (#37704)
* fix: learning_rate logged as tensor causing save issue with deepspeed
* chore: lint
---------
Co-authored-by: NanoCode012 <chanvichet@Chanvichets-MacBook-Pro.local>
Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.com> | [
{
"path": "src/transformers/trainer.py",
"patch": "@@ -3074,7 +3074,9 @@ def _maybe_log_save_evaluate(\n if grad_norm is not None:\n logs[\"grad_norm\"] = grad_norm.item() if isinstance(grad_norm, torch.Tensor) else grad_norm\n if learning_rate is not None:\n- ... | 2025-04-24T10:20:47 |
golang/go | 658b5e66ecbc41a49e6fb5aa63c5d9c804cf305f | 15a374d5c1336e9cc2f8b615477d5917e9477440 | net: return nil UDPAddr from ReadFromUDP
In cases where the socket operation has no underlying address,
golang.org/cl/291509 unintentionally changed ReadFromUDP from return a
nil *UDPAddr to a non-nil (but zero value) *UDPAddr.
This may break callers that assume "no address" is always addr == nil,
so change it back t... | [
{
"path": "src/net/udpsock_posix.go",
"patch": "@@ -50,6 +50,9 @@ func (c *UDPConn) readFrom(b []byte, addr *UDPAddr) (int, *UDPAddr, error) {\n \t\t*addr = UDPAddr{IP: sa.Addr[0:], Port: sa.Port}\n \tcase *syscall.SockaddrInet6:\n \t\t*addr = UDPAddr{IP: sa.Addr[0:], Port: sa.Port, Zone: zoneCache.name(int... | 2021-05-18T16:23:56 |
nodejs/node | 8d1055719adda560d285a90d45ddf121161fd157 | 0518b9edf33bfffac53ac5f706694a205ff754a2 | deps: refactor v8.gyp
Mostly reorders lists of source files to match more BUILD.gn.
Fixes a few wrong entries.
PR-URL: https://github.com/nodejs/node/pull/22017
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com> | [
{
"path": "common.gypi",
"patch": "@@ -29,7 +29,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.12',\n+ 'v8_embedder_string': '-node.13',\n \n # Enable disassembler for `--print-co... | 2018-07-29T14:18:31 |
vercel/next.js | 4796fb3dd4171d6a81202ded3922eb3671270e18 | 397fc572246df036b76cd16b265ef3d7f8be5247 | Upgrade undici to 5.14.0 to fix fetch redirect bug (#44133)
<!--
Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as smoothly as possible we request that
you follow the checklist sections below.
Choose the right checklist for the change that you're making:
-->
Fix... | [
{
"path": "packages/next/package.json",
"patch": "@@ -276,7 +276,7 @@\n \"timers-browserify\": \"2.0.12\",\n \"tty-browserify\": \"0.0.1\",\n \"ua-parser-js\": \"0.7.28\",\n- \"undici\": \"5.13.0\",\n+ \"undici\": \"5.14.0\",\n \"unistore\": \"3.4.1\",\n \"util\": \"0.12.4\",\n ... | 2022-12-19T19:27:41 |
huggingface/transformers | 1cfcbfcab8da6681a73b18e3e198d56417815223 | 02baa61fab97cf07b4b5b5a17033129997fed16b | [VLMs] fix flash-attention tests (#37603)
* fix one test
* fa2 ln test
* remove keys from config recursively
* fix
* fixup | [
{
"path": "src/transformers/configuration_utils.py",
"patch": "@@ -843,29 +843,16 @@ def to_diff_dict(self) -> dict[str, Any]:\n ):\n serializable_config_dict[key] = value\n \n+ self._remove_keys_not_serialized(serializable_config_dict)\n+\n if hasattr(self, \"quan... | 2025-04-24T09:48:11 |
electron/electron | 4609a8d2bedd33f2f5b0c0e703506b2fa687418a | b3bccd2e1e41d9146c72275146f42153e50cd42f | linux: Fix setting parent window for file dialogs. | [
{
"path": "atom/browser/ui/file_dialog_gtk.cc",
"patch": "@@ -4,16 +4,41 @@\n \n #include \"atom/browser/ui/file_dialog.h\"\n \n+#include <gdk/gdk.h>\n+#include <gdk/gdkx.h>\n+#include <gtk/gtk.h>\n+\n #include \"atom/browser/native_window.h\"\n #include \"base/callback.h\"\n #include \"base/file_util.h\"\n... | 2014-07-04T16:00:54 |
golang/go | c92ae885d98d331ec489f6e705f2c5371e5f0e42 | 90b6e7260553a742522830ddd38f5854657f2985 | [dev.typeparams] cmd/compile/internal/types2: better recv Var for method expressions
When synthesizing the Signature to represent a method expression, keep
as much of the original parameter as possible, substituting only the
receiver type.
Fixes #46209.
Change-Id: Ic4531820ae7d203bb0ba25a985f72d219b4aa25f
Reviewed-o... | [
{
"path": "src/cmd/compile/internal/types2/call.go",
"patch": "@@ -576,17 +576,23 @@ func (check *Checker) selector(x *operand, e *syntax.SelectorExpr) {\n \n \t\tcheck.recordSelection(e, MethodExpr, x.typ, m, index, indirect)\n \n+\t\tsig := m.typ.(*Signature)\n+\t\tif sig.recv == nil {\n+\t\t\tcheck.error... | 2021-05-17T17:47:04 |
vercel/next.js | ae5502eaafea1ac90065e7e1833af952c6d63c67 | 887cbe43345ce1b30500a55e8bdfc611fbf493ab | docs: Add missing type to import statement (#44111)
<!--
Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as smoothly as possible we request that
you follow the checklist sections below.
Choose the right checklist for the change that you're making:
-->
## Bug
-... | [
{
"path": "docs/api-reference/data-fetching/get-static-props.md",
"patch": "@@ -233,8 +233,7 @@ export const getStaticProps: GetStaticProps<{ posts: Post[] }> = async (\n If you want to get inferred typings for your props, you can use `InferGetStaticPropsType<typeof getStaticProps>`:\n \n ```tsx\n-import { ... | 2022-12-19T18:46:06 |
nodejs/node | 0518b9edf33bfffac53ac5f706694a205ff754a2 | a2ec80851ceff8ba6745d6909c8a2434ddfdf568 | assert: multiple improvements
1) Switched + / - and red / green in diffs. It seems like that style
is more natural to most people.
2) Short primitives do not use the diff anymore. Especially short
numbers can be read well like 1 !== 2. Cases that can not be
displayed like that (e.g., -0 and +0) use the regul... | [
{
"path": "doc/api/assert.md",
"patch": "@@ -108,15 +108,15 @@ Example error diff:\n const assert = require('assert').strict;\n \n assert.deepEqual([[[1, 2, 3]], 4, 5], [[[1, 2, '3']], 4, 5]);\n-// AssertionError: Input A expected to strictly deep-equal input B:\n-// + expected - actual ... Lines skipped\n+... | 2018-07-03T00:06:57 |
huggingface/transformers | 02baa61fab97cf07b4b5b5a17033129997fed16b | 864e9636ff2cd6ca1fad382f4e45bc8617b5cbec | Make sure torch_is_available before using torch.distributed (#37693)
fix | [
{
"path": "src/transformers/pipelines/base.py",
"patch": "@@ -997,7 +997,7 @@ def __init__(\n else:\n self.device = device if device is not None else -1\n \n- if torch.distributed.is_initialized():\n+ if is_torch_available() and torch.distributed.is_initialized():\n ... | 2025-04-24T09:31:35 |
electron/electron | 949821f255dbf33b4eaa4c9216d27ece9f5a5f8c | 2cc2fd03fac6b80b851c7b0a3bd2b7abc1940959 | Use new devtools structure in brightray.
Fixes #210.
Fixes #275. | [
{
"path": "atom.gyp",
"patch": "@@ -675,6 +675,7 @@\n 'link_settings': {\n 'libraries': [\n '$(SDKROOT)/System/Library/Frameworks/Carbon.framework',\n+ '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework',\n 'external_binaries/Squirrel.fr... | 2014-07-02T08:38:11 |
golang/go | fc9e64cc98edda355471f0390da4d1d1de4100a0 | c81562d99f8945a38da9a302731e6ac08f72825f | [dev.typeparams] cmd/compile/internal/types2: fix types2 panic
When reporting a "cannot import package as init" error, we can't rely
on s.LocalPkgName being non-nil, as the original package's name may
already be nil.
Change-Id: Idec006780f12ee4398501d05a5b2ed13157f88ea
Reviewed-on: https://go-review.googlesource.com/... | [
{
"path": "src/cmd/compile/internal/types2/resolver.go",
"patch": "@@ -265,7 +265,7 @@ func (check *Checker) collectObjects() {\n \t\t\t\t}\n \n \t\t\t\tif name == \"init\" {\n-\t\t\t\t\tcheck.error(s.LocalPkgName, \"cannot import package as init - init must be a func\")\n+\t\t\t\t\tcheck.error(s, \"cannot ... | 2021-05-17T17:50:41 |
huggingface/transformers | 864e9636ff2cd6ca1fad382f4e45bc8617b5cbec | 9b3bf4a2065811c3845cd8d456f5b6f10b9906fa | [tests] fix `test_nemotron_8b_generation_sdpa` (#37665)
add max_new_tokens | [
{
"path": "tests/models/nemotron/test_modeling_nemotron.py",
"patch": "@@ -195,7 +195,7 @@ def test_nemotron_8b_generation_sdpa(self):\n tokenizer = AutoTokenizer.from_pretrained(model_id)\n inputs = tokenizer(text, return_tensors=\"pt\").to(torch_device)\n \n- output = model.generate... | 2025-04-24T09:28:35 |
vercel/next.js | ded93bf64507e63f68af8f2bb64b4fae298dc4a6 | 723311bde9b3ddc5186ab9a305fc943aaee699ba | should not contain pages css in app dir (#44151)
* Filter out the css chunk from `pages/`
* add indent for flight manifests in dev mode for development convenience
## Bug
- [x] Related issues linked using `fixes #number`
- [x] Integration tests added
- [ ] Errors have a helpful link attached, see [`contributing.md`]... | [
{
"path": "packages/next/build/webpack/plugins/flight-client-entry-plugin.ts",
"patch": "@@ -345,14 +345,18 @@ export class FlightClientEntryPlugin {\n stage: webpack.Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_HASH,\n },\n (assets: webpack.Compilation['assets']) => {\n- const manif... | 2022-12-19T17:51:34 |
nodejs/node | a2ec80851ceff8ba6745d6909c8a2434ddfdf568 | f19fa7ca4deea517f66cb0ef8b5fd9574bb33a66 | repl: support mult-line string-keyed objects
isRecoverableError is completely reimplemented using acorn and an
acorn plugin that examines the state of the parser at the time of the
error to determine if the code could be completed on a subsequent line.
PR-URL: https://github.com/nodejs/node/pull/21805
Reviewed-By: Ru... | [
{
"path": "lib/internal/repl/recoverable.js",
"patch": "@@ -0,0 +1,79 @@\n+'use strict';\n+\n+const acorn = require('internal/deps/acorn/dist/acorn');\n+const { tokTypes: tt } = acorn;\n+\n+// If the error is that we've unexpectedly ended the input,\n+// then let the user try to recover by adding more input... | 2018-07-13T22:46:21 |
golang/go | 81b22480cfd66dc5d95f8cadfadc4ac2c16074e6 | f3fc8b5779314bae827b868deb916c7a8e748907 | [dev.typeparams] cmd/compile/internal/syntax: accept embedded type literals
The parser accepted embedded elements but the first term
of an element had to be a ~-term or a type name. This CL
fixes that.
Change-Id: I013b6cdc5963fb228867ca6597f9139db2be7ec5
Reviewed-on: https://go-review.googlesource.com/c/go/+/321109
T... | [
{
"path": "src/cmd/compile/internal/syntax/parser.go",
"patch": "@@ -1443,6 +1443,18 @@ func (p *parser) interfaceType() *InterfaceType {\n \t\t\t\t}\n \t\t\t\treturn false\n \t\t\t}\n+\n+\t\tdefault:\n+\t\t\tif p.mode&AllowGenerics != 0 {\n+\t\t\t\tpos := p.pos()\n+\t\t\t\tif t := p.typeOrNil(); t != nil {... | 2021-05-19T00:37:54 |
huggingface/transformers | 9b3bf4a2065811c3845cd8d456f5b6f10b9906fa | 3ed56bea0f1b8c1b00817b08291229bde85260bb | Fix torchao doc examples (#37697)
fix
Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.com> | [
{
"path": "docs/source/en/quantization/torchao.md",
"patch": "@@ -149,7 +149,7 @@ print(tokenizer.decode(output[0], skip_special_tokens=True))\n ```py\n import torch\n from transformers import TorchAoConfig, AutoModelForCausalLM, AutoTokenizer\n-from torchao.quantization import Int8WeightOnlyConfig\n+from t... | 2025-04-24T09:10:27 |
vercel/next.js | 723311bde9b3ddc5186ab9a305fc943aaee699ba | fa880d04ea3f884e61e1b6d1dcfb529b104ec8e8 | Revert "Remove `useState` from `next/image` (#43587)" (#44094)
# Reverts vercel/next.js#43587
PR #43587 breaks the `placeholder="blur"` property on the `<Image />`
component by keeping the `blurStyles`, e.g. the blurred image, after the
image is loaded.
**This regression does _not_ introduce any breaking chang... | [
{
"path": "packages/next/client/image.tsx",
"patch": "@@ -6,6 +6,7 @@ import React, {\n useCallback,\n useContext,\n useMemo,\n+ useState,\n forwardRef,\n } from 'react'\n import Head from '../shared/lib/head'\n@@ -148,6 +149,8 @@ type ImageElementProps = Omit<ImageProps, 'src' | 'alt' | 'loader'> ... | 2022-12-19T17:10:23 |
nodejs/node | fdbc668ea316b08b22c95d88d946a2b0f728b9c6 | 0da144f4d48d7a423b8f61cd178bb41346083107 | test: fix incorrect file mode check
PR-URL: https://github.com/nodejs/node/pull/22023
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Rev... | [
{
"path": "test/parallel/test-net-server-listen-path.js",
"patch": "@@ -63,8 +63,8 @@ function randomPipePath() {\n }, common.mustCall(() => {\n if (process.platform !== 'win32') {\n const mode = fs.statSync(handlePath).mode;\n- assert.ok(mode & fs.constants.S_IROTH !== 0);\n- ... | 2018-07-30T00:33:58 |
rust-lang/rust | 1b677ce14ff759dacadd5d4b05dd27a00bfd68c2 | fedec9b79d74e7a9f755cc78dc93511b4d07c4b4 | chore: Adjust panic context printing | [
{
"path": "src/tools/rust-analyzer/crates/base-db/src/lib.rs",
"patch": "@@ -387,10 +387,8 @@ fn relevant_crates(db: &dyn RootQueryDb, file_id: FileId) -> Arc<[Crate]> {\n }\n \n #[must_use]\n-pub struct DbPanicContext {\n- // prevent arbitrary construction\n- _priv: (),\n-}\n+#[non_exhaustive]\n+pub ... | 2025-04-30T05:34:00 |
golang/go | 15a374d5c1336e9cc2f8b615477d5917e9477440 | eeadce2d871358306f2a95b0cfbe809ea017932a | test: check portable error message on issue46234.go
issue46234.go expects an error output "segmentation violation",
which is UNIX-specific. Check for "nil pointer dereference"
instead, which is emitted by the Go runtime and should work on all
platforms.
Should fix Windows builders.
Change-Id: I3f5a66a687d43cae5eaf6a... | [
{
"path": "test/fixedbugs/issue46234.go",
"patch": "@@ -96,7 +96,7 @@ func main() {\n \t\tlog.Fatalf(\"Passed, expected an error\")\n \t}\n \n-\twant := []byte(\"segmentation violation\")\n+\twant := []byte(\"nil pointer dereference\")\n \tif !bytes.Contains(output, want) {\n \t\tlog.Fatalf(\"Unmatched erro... | 2021-05-18T22:25:44 |
huggingface/transformers | 3ed56bea0f1b8c1b00817b08291229bde85260bb | b7f7aa78a0d299715b040463796484d5b0818875 | Fix inference bugs in Qwen2.5 Omni (#37701)
* Init `SinusoidsPositionEmbedding` with float to avoid precision problem
* fix hidden_state for talker
* Update modular_qwen2_5_omni.py
* Move hidden processing out from thinker
* fixup
---------
Co-authored-by: lvyuanjun.lyj <lvyuanjun.lyj@alibaba-inc.com> | [
{
"path": "src/transformers/models/qwen2_5_omni/modeling_qwen2_5_omni.py",
"patch": "@@ -815,7 +815,7 @@ def __init__(self, length, channels, max_timescale=10000):\n if channels % 2 != 0:\n raise ValueError(\"SinusoidsPositionEmbedding needs even channels input\")\n log_timescale... | 2025-04-24T08:51:44 |
electron/electron | 9031dcbb2fdc22b6838aff59967d8c65dcdee114 | d0abc38afeda874a911b6f8bd498a278c0ed282e | Fix specs. | [
{
"path": "spec/api-protocol-spec.coffee",
"patch": "@@ -18,7 +18,6 @@ describe 'protocol module', ->\n it 'calls the callback when scheme is visited', (done) ->\n protocol.registerProtocol 'test2', (request) ->\n assert.equal request.url, 'test2://test2'\n- assert.equal request.ref... | 2014-06-30T10:32:23 |
vercel/next.js | 7e230495a19a9cc1c3bedf1d28c56655555e4122 | 5337e1fedbf60fef02ab41b3fd5908dbc3809726 | Fix source map tracing for HMR updates (vercel/turbo#3063)
HMR is handled via an `eval(newCode)`, and that eval will inherit the filepath of the currently running file (in our case, the chunk file that contains the runtime code). To properly trace, we need to know both the chunk and the item ids, so we trace via the c... | [
{
"path": "packages/next-swc/crates/next-dev/src/turbo_tasks_viz.rs",
"patch": "@@ -1,7 +1,7 @@\n-use std::{str::FromStr, sync::Arc, time::Duration};\n+use std::{sync::Arc, time::Duration};\n \n use anyhow::Result;\n-use mime::Mime;\n+use mime::TEXT_HTML_UTF_8;\n use turbo_tasks::{get_invalidator, TurboTask... | 2022-12-18T21:46:52 |
nodejs/node | 0da144f4d48d7a423b8f61cd178bb41346083107 | 049c0464ce40cef17e8476b3e6b909bb10de469b | tools: add `make format-cpp` to run clang-format on C++ diffs
This patch adds a `make format-cpp` shortcut to the Makefile
that runs clang-format on the C++ diffs, and a
`make format-cpp-build` to install clang-format from
npm.
To format staged changes:
```
$ make format-cpp
```
To format HEAD~1...HEAD (latest comm... | [
{
"path": ".clang-format",
"patch": "@@ -0,0 +1,111 @@\n+---\n+Language: Cpp\n+# BasedOnStyle: Google\n+AccessModifierOffset: -1\n+AlignAfterOpenBracket: Align\n+AlignConsecutiveAssignments: false\n+AlignConsecutiveDeclarations: false\n+AlignEscapedNewlines: Right\n+AlignOperands: true\n+AlignTrai... | 2018-07-13T12:19:31 |
rust-lang/rust | f986d124f134635995fe596b2670621df9c03a24 | 6aa3dd19434ff244c6adc0bbc0cdd8e9ec14567d | Inline check_method_argument_types and remove error_reported special casing (unnecessary) | [
{
"path": "compiler/rustc_hir_typeck/src/expr.rs",
"patch": "@@ -50,8 +50,8 @@ use crate::errors::{\n YieldExprOutsideOfCoroutine,\n };\n use crate::{\n- BreakableCtxt, CoroutineTypes, Diverges, FnCtxt, Needs, cast, fatally_break_rust,\n- report_unexpected_variant_res, type_error_struct,\n+ Bre... | 2025-04-30T03:13:59 |
huggingface/transformers | b7f7aa78a0d299715b040463796484d5b0818875 | b6d65e40b256d98d9621707762b94bc8ad83b7a7 | Fix Aria tests (#37444)
* update aria tests
Signed-off-by: jiqing-feng <jiqing.feng@intel.com>
* add cuda tests
Signed-off-by: jiqing-feng <jiqing.feng@intel.com>
* check outputs for cpu and cuda and xpu
Signed-off-by: jiqing-feng <jiqing.feng@intel.com>
* check outputs for cpu and cuda and xpu
Signed-off-by: j... | [
{
"path": "tests/models/aria/test_modeling_aria.py",
"patch": "@@ -420,8 +420,11 @@ def test_small_model_integration_test_llama_batched_regression(self):\n @require_vision\n @require_bitsandbytes\n def test_batched_generation(self):\n- model = AriaForConditionalGeneration.from_pretrained(... | 2025-04-24T08:51:29 |
golang/go | eeadce2d871358306f2a95b0cfbe809ea017932a | 6d2ef2ef2a3ed375b5c782e6c8b0f8a59c3d3c8c | go/build/constraint: fix parsing of "// +build" (with no args)
"// +build" by itself was like "// +build !" - unsatisfiable.
Make it so again (right now it panics).
Fixes #44487.
Change-Id: Iacbc1398af6f988ef011f9f438e792eb62f8f434
Reviewed-on: https://go-review.googlesource.com/c/go/+/320829
Trust: Russ Cox <rsc@go... | [
{
"path": "src/go/build/constraint/expr.go",
"patch": "@@ -426,6 +426,9 @@ func parsePlusBuildExpr(text string) Expr {\n \t\t\tx = or(x, y)\n \t\t}\n \t}\n+\tif x == nil {\n+\t\tx = tag(\"ignore\")\n+\t}\n \treturn x\n }\n ",
"additions": 3,
"deletions": 0,
"language": "Go"
},
{
"path": ... | 2021-05-18T15:16:38 |
electron/electron | 1d359cb8aa455d8af0b91b06d792a25b2af855c9 | 2736b5dab3dadc4cbd32542e94686a7a952f2745 | icudlt.dat should be in framework's resources after previous fix. | [
{
"path": "atom.gyp",
"patch": "@@ -334,7 +334,6 @@\n },\n 'mac_bundle_resources': [\n '<@(bundle_sources)',\n- '<(libchromiumcontent_resources_dir)/icudtl.dat',\n ],\n 'copies': [\n {\n@@ -386,15 +385,6 @@\n '<@(loca... | 2014-06-30T04:23:11 |
vercel/next.js | 7102202962b445ab79eec7c3d079d1b0dc58dc34 | 4b4e4b2650dd6c55de7aad3939314ea5dc23debf | Fix source map tracing for HMR updates (vercel/turbo#3063)
HMR is handled via an `eval(newCode)`, and that eval will inherit the filepath of the currently running file (in our case, the chunk file that contains the runtime code). To properly trace, we need to know both the chunk and the item ids, so we trace via the c... | [
{
"path": "crates/next-dev/src/turbo_tasks_viz.rs",
"patch": "@@ -1,7 +1,7 @@\n-use std::{str::FromStr, sync::Arc, time::Duration};\n+use std::{sync::Arc, time::Duration};\n \n use anyhow::Result;\n-use mime::Mime;\n+use mime::TEXT_HTML_UTF_8;\n use turbo_tasks::{get_invalidator, TurboTasks, TurboTasksBacke... | 2022-12-18T21:46:52 |
nodejs/node | 049c0464ce40cef17e8476b3e6b909bb10de469b | d68f946fe4ebaba02d68f5b118d53ec397ac705e | doc: fix return type of server.address()
PR-URL: https://github.com/nodejs/node/pull/22043
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com> | [
{
"path": "doc/api/net.md",
"patch": "@@ -114,7 +114,7 @@ Emitted when the server has been bound after calling [`server.listen()`][].\n added: v0.1.90\n -->\n \n-* Returns: {Object}\n+* Returns: {Object|string}\n \n Returns the bound `address`, the address `family` name, and `port` of the server\n as report... | 2018-07-31T09:48:46 |
rust-lang/rust | e650c1da46223d418f30b690495391a5848481a9 | bd2c65337465dff5551a26479412f7d88be4ff4a | Move the error handling out of confirm_builtin_call | [
{
"path": "compiler/rustc_hir_typeck/src/callee.rs",
"patch": "@@ -87,14 +87,29 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {\n \n let output = match result {\n None => {\n- // this will report an error since original_callee_ty is not a fn\n- self.confirm_builtin_cal... | 2025-04-30T01:48:48 |
huggingface/transformers | 5cd6b64059a2cd31aacf8557ed4aaf09e8b14e03 | 80ea2c05c27a5fada0d034951826d44d4738b9e9 | Process inputs directly in apply_chat_template in image-text-to-text pipeline (#35616)
* tokenize inputs directly in apply_chat_template
* refactor processing
* revert changes processing llava
* Update docs
* fix issue with str being iterable
* add test chat text only
* change function name | [
{
"path": "docs/source/en/tasks/image_text_to_text.md",
"patch": "@@ -160,7 +160,48 @@ outputs[0][\"generated_text\"]\n # with a yellow center in the foreground. The flower is surrounded by red and white flowers with green stems\n ```\n \n-## Streaming\n+If you prefer, you can also load the images separate... | 2025-04-23T17:31:33 |
golang/go | bbc0059b037c22c27fe42ed0a97d1400ebd7785d | f208f1ac993b0b47ebf9bb247a4bc16bc53ad0fd | [dev.typeparams] test: run more tests with -G=3
This CL expands the current logic for re-running "errorcheck" tests
with -G=3 to run (almost) all regress tests that way. This exposes a
handful of additional failures, so the excluded-files list is expanded
accordingly. (The next CL addresses several of the easy test ca... | [
{
"path": "test/run.go",
"patch": "@@ -42,6 +42,7 @@ var (\n \tlinkshared = flag.Bool(\"linkshared\", false, \"\")\n \tupdateErrors = flag.Bool(\"update_errors\", false, \"update error messages in test file based on compiler output\")\n \trunoutputLimit = flag.Int(\"l\", defaultRunOutputLimit(), \"num... | 2021-05-17T20:59:25 |
electron/electron | 2736b5dab3dadc4cbd32542e94686a7a952f2745 | d5b2a5af26727a11eacd224ac445edab01192171 | Fix assertion caused by base::mac::AssignOverridePath. | [
{
"path": "atom/app/atom_main_delegate.cc",
"patch": "@@ -6,14 +6,15 @@\n \n #include <string>\n \n+#include \"atom/browser/atom_browser_client.h\"\n+#include \"atom/renderer/atom_renderer_client.h\"\n #include \"base/command_line.h\"\n #include \"base/debug/stack_trace.h\"\n #include \"base/logging.h\"\n-#... | 2014-06-30T04:15:59 |
vercel/next.js | 5337e1fedbf60fef02ab41b3fd5908dbc3809726 | 2182d7df0a03f0f489d5b188b92c28dc50de7f51 | Fix nitpicks with load-next-config (vercel/turbo#3064)
Re: code review nits from vercel/turbo#2955 | [
{
"path": "packages/next-swc/crates/next-core/src/next_client/context.rs",
"patch": "@@ -240,7 +240,6 @@ pub async fn get_client_runtime_entries(\n .as_request();\n \n let mut runtime_entries = vec.\n ## Making Contributions\n \n ### Finding Issues to Work On\n-1. Look for issues labeled with [`good first issue`](https://github.com/rust-lang/rustc_codegen_gcc/issues?... | 2025-04-29T22:45:26 |
nodejs/node | 8d15f69abd6502cedbc64597085bddfd9774b7a5 | ce98e2e989ec52f6aa205c8b340ff214aba5f060 | test: remove third argument from assert.strictEqual()
In file test/parallel/test-stream-transform-final.js the ten calls to
assert.strictEqual() use a string literal as third argument. When
a AssertionError occurs, it reports the string literal and not the
first two arguments, so the third agrument is removed and made... | [
{
"path": "test/parallel/test-stream-transform-final.js",
"patch": "@@ -59,44 +59,54 @@ The order things are called\n const t = new stream.Transform({\n objectMode: true,\n transform: common.mustCall(function(chunk, _, next) {\n- assert.strictEqual(++state, chunk, 'transformCallback part 1');\n+ /... | 2018-08-01T04:32:31 |
huggingface/transformers | 80ea2c05c27a5fada0d034951826d44d4738b9e9 | 63c6331387d70b8669f0d519a2db39be45e10bf2 | [tests, `qwen2_5_omni`] fix flaky tests (#37721) | [
{
"path": "tests/generation/test_utils.py",
"patch": "@@ -134,7 +134,7 @@\n \"mistral3\",\n \"chameleon\",\n \"internvl\",\n- \"qwen2_5_omni\",\n+ \"qwen2_5omni\", # the file is named `qwen2_5_omni`, but the model class is `Qwen2_5Omni`\n ]\n \n \n@@ -230,6 +230,7 @@ def _get_logits_proce... | 2025-04-23T16:54:12 |
golang/go | f208f1ac993b0b47ebf9bb247a4bc16bc53ad0fd | c7dd3e305d8ee48b1f9041eaf175d2ecd7475f5f | [dev.typeparams] cmd/compile/internal/ir: more useful Fatalfs
This CL just adds some additional details to existing Fatalf messages
that make them more useful for identifying what went wrong.
Change-Id: Icba0d943ccfb1b810a1ede0977cc8cf22b2afde5
Reviewed-on: https://go-review.googlesource.com/c/go/+/320612
Trust: Matt... | [
{
"path": "src/cmd/compile/internal/ir/func.go",
"patch": "@@ -279,7 +279,7 @@ func FuncSymName(s *types.Sym) string {\n // MarkFunc marks a node as a function.\n func MarkFunc(n *Name) {\n \tif n.Op() != ONAME || n.Class != Pxxx {\n-\t\tbase.Fatalf(\"expected ONAME/Pxxx node, got %v\", n)\n+\t\tbase.Fatalf... | 2021-05-17T18:40:21 |
electron/electron | d5b2a5af26727a11eacd224ac445edab01192171 | e0f263950e37ccc17eb554f9404a080cd19c0f91 | Fix invoking ContentMain. | [
{
"path": "atom/app/atom_library_main.cc",
"patch": "@@ -10,6 +10,9 @@\n #if defined(OS_MACOSX)\n int AtomMain(int argc, const char* argv[]) {\n atom::AtomMainDelegate delegate;\n- return content::ContentMain(content::ContentMainParams(&delegate));\n+ content::ContentMainParams params(&delegate);\n+ pa... | 2014-06-30T03:44:05 |
rust-lang/rust | 2e9ec931dae240e4845c16c2f54153bf01b63fcd | 62814f0995c855c4a2effc1cb318da9fc9810adb | Fix links in CONTRIBUTING.md | [
{
"path": "CONTRIBUTING.md",
"patch": "@@ -6,7 +6,7 @@ Welcome to the `rustc_codegen_gcc` project! This guide will help you get started\n \n ### Setting Up Your Development Environment\n \n-For detailed setup instructions including dependencies, build steps, and initial testing, please refer to our [README]... | 2025-04-29T22:42:25 |
vercel/next.js | 4b4e4b2650dd6c55de7aad3939314ea5dc23debf | 283fae0f5a23f34f182690de0222cd413acbeea4 | Fix nitpicks with load-next-config (vercel/turbo#3064)
Re: code review nits from vercel/turbo#2955 | [
{
"path": "crates/next-core/src/next_client/context.rs",
"patch": "@@ -240,7 +240,6 @@ pub async fn get_client_runtime_entries(\n .as_request();\n \n let mut runtime_entries = vec
uses `stackStartFn` everywhere instead of `stackStartFunction`.
This also increases consistency with `stackStartFn`
in the `AssertionError` options.
PR-URL: https://github.com/nodejs/node/pull/22077
Revi... | [
{
"path": "doc/api/assert.md",
"patch": "@@ -587,7 +587,7 @@ assert.fail(new TypeError('need array'));\n Using `assert.fail()` with more than two arguments is possible but deprecated.\n See below for further details.\n \n-## assert.fail(actual, expected[, message[, operator[, stackStartFunction]]])\n+## ass... | 2018-08-01T23:05:22 |
huggingface/transformers | 1e9087368c14cef9d759f3ebfc6602b9350f345d | 9ec8be56ddab5e63524d2451735f92238a4d861b | [internvl] fix chat template (#37656)
* fix chat template
* update
* update conversion
* rename `fake_image_token` in tests | [
{
"path": "docs/source/en/model_doc/internvl.md",
"patch": "@@ -257,6 +257,7 @@ InternVL models can also handle video inputs. Here is an example of how to perfo\n ... add_generation_prompt=True,\n ... tokenize=True,\n ... return_dict=True,\n+... num_frames=8,\n >>> ).to(model.device, dtype=t... | 2025-04-23T14:56:36 |
golang/go | 6d2ef2ef2a3ed375b5c782e6c8b0f8a59c3d3c8c | 048cb4ceee652e358d84fbca260fc93d7a0dfbe3 | cmd/compile: don't emit inltree for closure within body of inlined func
When inlining functions with closures, ensure that we don't mark the
body of the closure with a src.Pos marker that reflects the inline,
since this will result in the generation of an inltree table for the
closure itself (as opposed to the routine... | [
{
"path": "src/cmd/compile/internal/inline/inl.go",
"patch": "@@ -1124,6 +1124,10 @@ type inlsubst struct {\n \tnewclofn *ir.Func\n \n \tfn *ir.Func // For debug -- the func that is being inlined\n+\n+\t// If true, then don't update source positions during substitution\n+\t// (retain old source positions).\... | 2021-05-18T16:58:02 |
rust-lang/rust | 8d789ea8f1f41c73a0862015f1659cbbd0c523c1 | 975617e8d4105f30d741ac7a3f5478d3b7b7917c | Resolve `unnecessary_transmutes` lints
These appeared in a later nightly. In compiler-builtins we can apply the
suggestion, but in `libm` we need to ignore them since `fx::from_bits`
is not `const` at the MSRV.
`clippy::uninlined_format_args` also seems to have gotten stricter, so
fix those here. | [
{
"path": "library/compiler-builtins/builtins-test/tests/misc.rs",
"patch": "@@ -77,16 +77,13 @@ fn leading_zeros() {\n let lz1 = leading_zeros_default(x);\n let lz2 = leading_zeros_riscv(x);\n if lz0 != lz {\n- panic!(\"__clzsi2({}): std: {}, builtins: {}\... | 2025-04-29T21:04:30 |
electron/electron | 750148f7b4518935e852e766c7ffbd9a9e96e70c | 6ddb8c00dce633c121fd327869cef4b1e1e058cf | Fix using common modules. | [
{
"path": "atom/common/lib/init.coffee",
"patch": "@@ -2,7 +2,11 @@ path = require 'path'\n timers = require 'timers'\n Module = require 'module'\n \n-process.atomBinding = (name) -> process.binding \"atom_#{process.type}_#{name}\"\n+process.atomBinding = (name) ->\n+ try\n+ process.binding \"atom_#{p... | 2014-06-30T02:06:10 |
huggingface/transformers | 1d7d7a942e9bdcfbfd049d3a82d09fd14d24e58c | cc9a245e6df408711e840ad778c73e05ead18930 | Add maintainers for ROCm/Intel XPU/Ascend NPU (#37678)
* Add maintainers for ROCm/Intel XPU/Ascend NPU
* Correct capitalization for usernames
* Update .github/ISSUE_TEMPLATE/bug-report.yml
Co-authored-by: Ilyas Moutawwakil <57442720+IlyasMoutawwakil@users.noreply.github.com>
* Update .github/ISSUE_TEMPLATE/bug-rep... | [
{
"path": ".github/ISSUE_TEMPLATE/bug-report.yml",
"patch": "@@ -56,6 +56,12 @@ body:\n - ray/raytune: @richardliaw, @amogkam\n - Big Model Inference: @SunMarc\n - quantization (bitsandbytes, autogpt): @SunMarc @MekkCyber\n+ \n+ Devices/Backends:\n+ \n+ ... | 2025-04-23T13:28:32 |
nodejs/node | 0ed164e082da20a6b431271aba6d92de0ff08944 | fc6f49a704a94617a28ffa60b9c73676f55e4949 | inspector: fixed V8InspectorClient::currentTimeMS
On inspector side inside V8 we assume that this method should
return number of ms since epoch.
PR-URL: https://github.com/nodejs/node/pull/21917
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Colin Ihrig <cjihrig@... | [
{
"path": "src/inspector_agent.cc",
"patch": "@@ -187,8 +187,6 @@ static int StartDebugSignalHandler() {\n #endif // _WIN32\n \n \n-// Used in NodeInspectorClient::currentTimeMS() below.\n-const int NANOS_PER_MSEC = 1000000;\n const int CONTEXT_GROUP_ID = 1;\n \n class ChannelImpl final : public v8_inspect... | 2018-07-21T07:52:48 |
vercel/next.js | b8ae447b0fdc12553b4eacd26595e4054ffcf415 | ac1950d66ea77f5d5caecb5864c286a51428e46e | Fix dev session stopped handling (#44112)
This ensures we properly handle the dev session stopped event now that
the dev server runs in a different worker so the telemetry globals are
no longer available by default in the main process. No additional tests
have been added as the existing test caught this.
Fixes:
... | [
{
"path": "packages/next/cli/next-dev.ts",
"patch": "@@ -8,40 +8,64 @@ import { startedDevelopmentServer } from '../build/output'\n import { cliCommand } from '../lib/commands'\n import isError from '../lib/is-error'\n import { getProjectDir } from '../lib/get-project-dir'\n-import { CONFIG_FILES } from '..... | 2022-12-18T01:18:49 |
rust-lang/rust | 851decdd4f38463239a46031da53911b06da4336 | 90f5eab952728ac6edcf529a171f7de5c25e5d49 | mention provenance in the pointer::wrapping_offset docs
fixes https://github.com/rust-lang/rust/issues/139008 | [
{
"path": "library/core/src/ptr/const_ptr.rs",
"patch": "@@ -483,8 +483,9 @@ impl<T: ?Sized> *const T {\n ///\n /// This operation itself is always safe, but using the resulting pointer is not.\n ///\n- /// The resulting pointer \"remembers\" the [allocated object] that `self` points to; it m... | 2025-03-31T19:43:24 |
electron/electron | c3301a197e611f1de3deb66267cfbc0202aaf439 | 69adff19fe610800de900fc9358a62a402769bac | Fix including gtk rules in other OSs. | [
{
"path": "atom.gyp",
"patch": "@@ -255,7 +255,7 @@\n 'chromium_src/ui/base/x/x11_util.cc',\n 'chromium_src/ui/events/keycodes/keyboard_code_conversion_gtk.cc',\n 'chromium_src/ui/events/keycodes/keyboard_code_conversion_gtk.h',\n- 'chromium_src/ui/gfx/gfx_gtk_util.cc',\n+ 'chrom... | 2014-06-29T11:13:49 |
huggingface/transformers | 12f65ee7520404b511c7fe716bc5d48d93d8297d | 4f9893cbbc556c7c27b42bdc64fc271f7b1a0218 | enable cpu offloading for Bark on xpu (#37599)
* enable cpu offloading of bark modeling on XPU
Signed-off-by: YAO Matrix <matrix.yao@intel.com>
* remove debug print
Signed-off-by: YAO Matrix <matrix.yao@intel.com>
* fix style
Signed-off-by: YAO Matrix <matrix.yao@intel.com>
* fix review comments
Signed-off-by: ... | [
{
"path": "src/transformers/models/bark/modeling_bark.py",
"patch": "@@ -15,6 +15,7 @@\n \"\"\"PyTorch BARK model.\"\"\"\n \n import math\n+import warnings\n from typing import Dict, Optional, Tuple, Union\n \n import numpy as np\n@@ -36,6 +37,7 @@\n add_start_docstrings,\n add_start_docstrings_to_m... | 2025-04-23T09:37:15 |
vercel/next.js | 3ca10da03b592070fd6ac5e3b33984a294153330 | 339777a16ec70fe0fbd1e04cc6a9301b07791a28 | Fix flakey next-dev integration tests (vercel/turbo#3020)
Fixes WEB-259
This should address the known cases of flakiness in the next-dev
integration test suite. Most notably, it wraps the call to
`browser.new_page`, which not only opens a new tab, it also navigates to
the destination and waits for it to load. It... | [
{
"path": "packages/next-swc/crates/next-dev/tests/integration.rs",
"patch": "@@ -8,7 +8,7 @@ use std::{\n time::Duration,\n };\n \n-use anyhow::Context;\n+use anyhow::{anyhow, Context, Result};\n use chromiumoxide::{\n browser::{Browser, BrowserConfig},\n error::CdpError::Ws,\n@@ -48,10 +48,16 ... | 2022-12-16T18:56:19 |
nodejs/node | 90972d5cb6477adfa907f2a8e4326908ef93c7ef | d2ffcac55db928e3b525c558259f69142521d435 | test: see value of "hadError" in tls test
The existing implementation created a state that if the assert failed
we got an error message without the values of hadError.
Removed the default error message and added a comment explaining the
assert.
PR-URL: https://github.com/nodejs/node/pull/22069
Reviewed-By: Anna Henni... | [
{
"path": "test/parallel/test-tls-hello-parser-failure.js",
"patch": "@@ -60,6 +60,7 @@ const server = tls.createServer(options, function(c) {\n }));\n \n client.on('close', common.mustCall(function(hadError) {\n- assert.strictEqual(hadError, true, 'Client never errored');\n+ // Confirm that clien... | 2018-08-01T18:31:34 |
huggingface/transformers | 4f9893cbbc556c7c27b42bdc64fc271f7b1a0218 | 1d9743edc2030e8444d5bdffa910a3d6822bcf2d | fix: remove classmethod from `Qwen2_5OmniConfig.get_text_config` (#37690)
- Since the `get_text_config` references an instance variable within
the class (`self.thinker_config`), the `get_text_config` method
should not be a classmethod.
- Before this fix, users were getting the following error:
'''
... | [
{
"path": "src/transformers/models/qwen2_5_omni/configuration_qwen2_5_omni.py",
"patch": "@@ -1045,7 +1045,6 @@ def __init__(\n \n super().__init__(**kwargs)\n \n- @classmethod\n def get_text_config(self, decoder=False) -> \"PretrainedConfig\":\n \"\"\"\n Returns the config th... | 2025-04-23T07:30:57 |
electron/electron | 1f99a97544bd7a6d97dee30cbfef91d6b4632d12 | f4b6ca70a980ceace4d5609ba147ed33dfb6ff98 | gtk: Fix lack of x11_util implementations. | [
{
"path": "atom.gyp",
"patch": "@@ -140,6 +140,7 @@\n 'atom/browser/ui/gtk/status_icon.h',\n 'atom/browser/ui/gtk/work_area_watcher_x.cc',\n 'atom/browser/ui/gtk/work_area_watcher_x.h',\n+ 'atom/browser/ui/gtk/x11_util.cc',\n 'atom/browser/ui/message_box.h',\n 'atom/browse... | 2014-06-29T05:31:11 |
vercel/next.js | 974665b821d7e8db5ef2d6b935eddf041933e34a | f1db13ebe560a933e13de0106cd2c6fccce68b81 | Fix flakey next-dev integration tests (vercel/turbo#3020)
Fixes WEB-259
This should address the known cases of flakiness in the next-dev
integration test suite. Most notably, it wraps the call to
`browser.new_page`, which not only opens a new tab, it also navigates to
the destination and waits for it to load. It... | [
{
"path": "crates/next-dev/tests/integration.rs",
"patch": "@@ -8,7 +8,7 @@ use std::{\n time::Duration,\n };\n \n-use anyhow::Context;\n+use anyhow::{anyhow, Context, Result};\n use chromiumoxide::{\n browser::{Browser, BrowserConfig},\n error::CdpError::Ws,\n@@ -48,10 +48,16 @@ lazy_static! {\... | 2022-12-16T18:56:19 |
nodejs/node | d2ffcac55db928e3b525c558259f69142521d435 | 9aebcc2b85720cccda1b6e50c337d8cde214bf52 | test: improve reliability in http2-session-timeout
Use `setImmediate()` instead of `setTimeout()` to improve robustness of
test-http2-session-timeout.
Fixes: https://github.com/nodejs/node/issues/20628
PR-URL: https://github.com/nodejs/node/pull/22026
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By... | [
{
"path": "test/sequential/test-http2-session-timeout.js",
"patch": "@@ -3,13 +3,12 @@\n const common = require('../common');\n if (!common.hasCrypto)\n common.skip('missing crypto');\n-const h2 = require('http2');\n+const http2 = require('http2');\n \n const serverTimeout = common.platformTimeout(200);\n... | 2018-07-30T02:26:27 |
golang/go | 690a8c3fb136431d4f22894c545ea99278758570 | 8b0901fd32aa9c29a1fa4ed8cd517914920a1509 | make.bash: fix misuse of continue
Apparently, in bash, the "continue" keyword can only be used
inside of a loop, not in an if block. If readelf exists but $CC
does not, make.bash emits a warning:
./make.bash: line 135: continue: only meaningful in a `for', `while', or `until' loop
Change it to a conditional.
Change... | [
{
"path": "src/make.bash",
"patch": "@@ -132,10 +132,11 @@ fi\n \n # Test which linker/loader our system is using\n if type readelf >/dev/null 2>&1; then\n-\techo \"int main() { return 0; }\" | ${CC:-cc} -o ./test-musl-ldso -x c - || continue\n-\tLDSO=$(readelf -l ./test-musl-ldso | grep 'interpreter:' | se... | 2021-05-13T23:22:57 |
huggingface/transformers | 1d9743edc2030e8444d5bdffa910a3d6822bcf2d | fbfa1dd4db7b6cb30645636848532fedeba18174 | Updated model card for mbart and mbart50 (#37619)
* new card for mbart and mbart50
* removed comment BADGES
* Update mBart overview
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
* fix typo (MBart to mBart)
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
* maybe f... | [
{
"path": "docs/source/en/model_doc/mbart.md",
"patch": "@@ -14,154 +14,105 @@ rendered properly in your Markdown viewer.\n \n -->\n \n-# MBart and MBart-50\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&logoColo... | 2025-04-22T19:26:47 |
rust-lang/rust | 7f1ae9b8c093041ac0584080d8a836189c89bcb1 | fcec80ab2438c9c212635f4f17a4caa8fff5f5d5 | Fix footnotes | [
{
"path": "src/doc/rustc-dev-guide/src/normalization.md",
"patch": "@@ -129,7 +129,7 @@ This is likely to change as const generics functionality is improved, for exampl\n \n There are two forms of normalization, structural (sometimes called *shallow*) and deep. Structural normalization should be thought of ... | 2025-04-29T18:35:26 |
electron/electron | 436deddf6801c516b8b4a95ed6d70f7a06bcd64a | ad19381217baf3e313ce943ad82ee2db7a352de3 | Fix compilation errors on Linux. | [
{
"path": "atom/app/atom_main.cc",
"patch": "@@ -98,7 +98,7 @@ int APIENTRY wWinMain(HINSTANCE instance, HINSTANCE, wchar_t* cmd, int) {\n sandbox::SandboxInterfaceInfo sandbox_info = {0};\n content::InitializeSandboxInfo(&sandbox_info);\n atom::AtomMainDelegate delegate;\n- return content::ContentMa... | 2014-06-29T01:51:02 |
nodejs/node | 9aebcc2b85720cccda1b6e50c337d8cde214bf52 | 13d7086b38383f9a5f62dae9666f750b85d3e519 | doc: fix changelog for v10.8.0
Add missing link at the top.
PR-URL: https://github.com/nodejs/node/pull/22072
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com> | [
{
"path": "doc/changelogs/CHANGELOG_V10.md",
"patch": "@@ -9,6 +9,7 @@\n </tr>\n <tr>\n <td>\n+<a href=\"#10.8.0\">10.8.0</a><br/>\n <a href=\"#10.7.0\">10.7.0</a><br/>\n <a href=\"#10.6.0\">10.6.0</a><br/>\n <a href=\"#10.5.0\">10.5.0</a><br/>",
"additions": 1,
"deletions": 0,
"language": "Mark... | 2018-08-01T19:24:50 |
golang/go | 8b0901fd32aa9c29a1fa4ed8cd517914920a1509 | 5e191f8f4885cac105b6d7069e02c0c8d149c22c | doc/go1.17: fix typo "avoding" -> "avoiding"
Change-Id: Ice4a6e7ec8175caf3f049ac1ca39929059f90e9c
GitHub-Last-Rev: a2d59d55511ac7825cbeca6651a79b1060d90de3
GitHub-Pull-Request: golang/go#46227
Reviewed-on: https://go-review.googlesource.com/c/go/+/320729
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Alberto... | [
{
"path": "doc/go1.17.html",
"patch": "@@ -60,7 +60,7 @@ <h4 id=\"lazy-loading\">Lazy module loading</h4>\n <p><!-- golang.org/issue/36460 -->\n If a module specifies <code>go</code> <code>1.17</code> or higher in its\n <code>go.mod</code> file, its transitive requirements are now loaded lazily,\n- avo... | 2021-05-18T06:09:20 |
huggingface/transformers | fbfa1dd4db7b6cb30645636848532fedeba18174 | ece79b068812190e95309598e3dadca773cd0d6f | 🌐 [i18n-KO] Translated `siglip.md` to Korean (#37145)
* docs: ko: siglip.md
* feat: nmt draft
* fix: manual edits
* chore: Correct document title to kebab-case format
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
* Apply suggestions from code review
Convert unnatural language to natu... | [
{
"path": "docs/source/ko/_toctree.yml",
"patch": "@@ -720,6 +720,8 @@\n title: Qwen2VL\n - local: in_translation\n title: (번역중) Segment Anything\n+ - local: model_doc/siglip\n+ title: SigLIP\n - local: in_translation\n title: (번역중) Speech Encoder Decoder Mode... | 2025-04-22T19:23:19 |
electron/electron | ad19381217baf3e313ce943ad82ee2db7a352de3 | cd4c5d976b5fe67ed8098dca663305765bf342f0 | Fix ICU inilialization bug. | [
{
"path": "atom.gyp",
"patch": "@@ -313,6 +313,7 @@\n },\n 'mac_bundle_resources': [\n '<@(bundle_sources)',\n+ '<(libchromiumcontent_resources_dir)/icudtl.dat',\n ],\n 'copies': [\n {\n@@ -377,7 +378,6 @@\n 'files': [\... | 2014-06-28T15:58:53 |
nodejs/node | 27a5338c8a33a853a0d543cddfa7b2bab1466638 | 05b31760225d213417c0e34be0c6841429eeda22 | 2018-08-01, Version 10.8.0 (Current)
Notable changes:
* deps:
* Upgrade npm to 6.2.0. (https://github.com/nodejs/node/pull/21592)
* npm has moved. This release updates various URLs to point to the right
places for bugs, support, and PRs.
* Fix the regular expression matching in `xcode_emulation` in `n... | [
{
"path": "CHANGELOG.md",
"patch": "@@ -31,7 +31,8 @@ release.\n </tr>\n <tr>\n <td valign=\"top\">\n-<b><a href=\"doc/changelogs/CHANGELOG_V10.md#10.7.0\">10.7.0</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V10.md#10.8.0\">10.8.0</a></b><br/>\n+<a href=\"doc/changelogs/CHANGELOG_V10.md#10.7.0\"... | 2018-07-31T08:20:55 |
huggingface/transformers | ece79b068812190e95309598e3dadca773cd0d6f | ca4c114dc4c6e08c5b525f300ae1b19cef0e9f54 | enable blip2 and emu3 cases on XPU (#37662)
* enable blip2 and emu3 modeling cases on XPU
Signed-off-by: YAO Matrix <matrix.yao@intel.com>
* fix style
Signed-off-by: YAO Matrix <matrix.yao@intel.com>
* remove extra new line
Signed-off-by: YAO Matrix <matrix.yao@intel.com>
* update
---------
Signed-off-by: YAO ... | [
{
"path": "tests/models/blip_2/test_modeling_blip_2.py",
"patch": "@@ -27,7 +27,6 @@\n require_torch,\n require_torch_accelerator,\n require_torch_fp16,\n- require_torch_gpu,\n require_torch_multi_accelerator,\n require_torch_sdpa,\n require_vision,\n@@ -1400,7 +1399,7 @@ def test... | 2025-04-22T16:37:09 |
golang/go | 5e191f8f4885cac105b6d7069e02c0c8d149c22c | bfe3573d58d7c49c4d58e0ab392eb0b5a660d262 | time: rewrite the documentation for layout strings
People continue to be confused by how these work. Address that by some
rejiggering.
Introduce a constant called Layout that both defines the time and
provides a reference point for Parse and Format to refer to. We can
then delete much redundancy, especially for Forma... | [
{
"path": "src/time/format.go",
"patch": "@@ -7,71 +7,89 @@ package time\n import \"errors\"\n \n // These are predefined layouts for use in Time.Format and time.Parse.\n-// The reference time used in the layouts is the specific time:\n-//\tMon Jan 2 15:04:05 MST 2006\n-// which is Unix time 1136239445. Sin... | 2021-05-17T00:30:01 |
electron/electron | e6db1875d0259d7750ad57d58d6fecaeeaea0cf6 | 8e056672bcc8b5423b9893183e465b4d117966a0 | Some more APIs fixes. | [
{
"path": "native_mate/compat.h",
"patch": "@@ -32,7 +32,12 @@\n #define MATE_TRUE(isolate) v8::True(isolate)\n #define MATE_FALSE(isolate) v8::False(isolate)\n #define MATE_ARRAY_NEW(isolate, size) v8::Array::New(isolate, size)\n+#define MATE_NUMBER_NEW(isolate, data) v8::Number::New(isolate, data)\n #defi... | 2014-06-28T14:32:35 |
nodejs/node | 05b31760225d213417c0e34be0c6841429eeda22 | 02badc424f92f71de66adf945e51fd07a914aaf1 | doc: correct grammatical error in BUILDING.md
Grammatical error corrected.
PR-URL: https://github.com/nodejs/node/pull/22067
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> | [
{
"path": "BUILDING.md",
"patch": "@@ -4,7 +4,7 @@ Depending on what platform or features you require, the build process may\n differ slightly. After you've successfully built a binary, running the\n test suite to validate that the binary works as intended is a good next step.\n \n-If you consistently can r... | 2018-08-01T18:15:46 |
rust-lang/rust | 76992ce41e49d03bda37de4308fa6324111fb3b4 | ef5834968e41aa6c1ef479f8acc1197dec526731 | fix comment typos | [
{
"path": "src/tools/miri/src/concurrency/thread.rs",
"patch": "@@ -728,7 +728,7 @@ impl<'tcx> ThreadManager<'tcx> {\n }\n // No callbacks immediately scheduled, pick a regular thread to execute.\n // The active thread blocked or yielded. So we go search for another enabled thread.\n... | 2025-04-29T15:24:48 |
huggingface/transformers | ca4c114dc4c6e08c5b525f300ae1b19cef0e9f54 | d47cdae27e220adda0865095172d635419625c7c | Add counters for dataset classes (#37636)
* add counters for dataset classes
* fix failed code style | [
{
"path": "examples/pytorch/text-classification/run_glue.py",
"patch": "@@ -19,6 +19,7 @@\n import os\n import random\n import sys\n+from collections import Counter\n from dataclasses import dataclass, field\n from typing import Optional\n \n@@ -467,13 +468,22 @@ def preprocess_function(examples):\n ... | 2025-04-22T16:30:43 |
golang/go | bfe3573d58d7c49c4d58e0ab392eb0b5a660d262 | a2c07a9a1a445c28fa4db9bd1472b28cad3ca818 | go/token: correct the interval notation used in some panic messages
Fix an apparent typo for the right-hand bound in a couple panic
messages, where '[' was used instead of ']'.
Fixes #46215
Change-Id: Ie419c404ca72ed085a83a2c38ea1a5d6ed326cca
Reviewed-on: https://go-review.googlesource.com/c/go/+/320510
Trust: Rober... | [
{
"path": "src/go/token/position.go",
"patch": "@@ -278,7 +278,7 @@ func (f *File) Pos(offset int) Pos {\n //\n func (f *File) Offset(p Pos) int {\n \tif int(p) < f.base || int(p) > f.base+f.size {\n-\t\tpanic(fmt.Sprintf(\"invalid Pos value %d (should be in [%d, %d[)\", p, f.base, f.base+f.size))\n+\t\tpan... | 2021-05-17T20:11:51 |
electron/electron | 91c7458ab8118900c91aa922b72d3aece498510d | 5f3fa341b20345cc49b86b4efb1c8756cab70711 | Fix changes of node's build environment. | [
{
"path": "common.gypi",
"patch": "@@ -24,12 +24,14 @@\n 'node_shared_v8': 'true',\n 'node_shared_zlib': 'false',\n 'node_tag': '',\n- 'node_unsafe_optimizations': 0,\n 'node_use_dtrace': 'false',\n 'node_use_etw': 'false',\n+ 'node_use_mdb': 'false',\n 'node_use_openssl': 'tru... | 2014-06-28T11:31:04 |
rust-lang/rust | cce706ec3c4ed38ecaffc61dac3b835038cdc50b | 4c83e55e2d88ff93155be2784b9f64b91b870e99 | Fix for async drop ice with partly dropped tuple | [
{
"path": "compiler/rustc_mir_transform/src/elaborate_drop.rs",
"patch": "@@ -376,7 +376,7 @@ where\n if self.tcx().features().async_drop()\n && self.elaborator.body().coroutine.is_some()\n && self.elaborator.allow_async_drops()\n- && !self.elaborator.body()[bb].is... | 2025-04-29T13:41:36 |
huggingface/transformers | 6673081b215d6c2576b416efb62201bdf81d1ed9 | 9167461a7db39a1a7c793bb46c5aed9e14e8492e | enable 6 granite cases on xpu (#37569)
* enable 6 granite cases on XPU
Signed-off-by: YAO Matrix <matrix.yao@intel.com>
* make them all pass on A100
Signed-off-by: N <matrix.yao@intel.com>
* fix style
Signed-off-by: YAO Matrix <matrix.yao@intel.com>
* update
---------
Signed-off-by: YAO Matrix <matrix.yao@inte... | [
{
"path": "tests/models/granite/test_modeling_granite.py",
"patch": "@@ -19,9 +19,10 @@\n \n from transformers import GraniteConfig, is_torch_available, set_seed\n from transformers.testing_utils import (\n+ Expectations,\n require_read_token,\n require_torch,\n- require_torch_gpu,\n+ requi... | 2025-04-22T15:55:02 |
nodejs/node | dcfbedb36518b1ca505149e135dc3ffc4d9ed2d5 | 55623b5ba08dd8adc231a94deefbd441a7a18f4a | doc: fixup process.binding deprecation code
PR-URL: https://github.com/nodejs/node/pull/22062
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
Reviewed-By: J... | [
{
"path": "doc/api/deprecations.md",
"patch": "@@ -930,7 +930,7 @@ Using `process.binding()` in general should be avoided. The type checking\n methods in particular can be replaced by using [`util.types`][].\n \n This deprecation has been superseded by the deprecation of the\n-`process.binding()` API ([DEP0... | 2018-08-01T00:15:45 |
vercel/next.js | 137a63b90d56d9c8de870738b0f6c4eca43e6e9b | 595ecdbfdc554c512623e149dc46b9e94bdc017f | Fix ignoring dev warning for preload component (#44065)
Fix ignoring warning added in #41519 | [
{
"path": "packages/next/server/app-render.tsx",
"patch": "@@ -54,7 +54,7 @@ function preloadComponent(Component: any, props: any) {\n const prev = console.error\n // Hide invalid hook call warning when calling component\n console.error = function (msg) {\n- if (msg.startsWith('Invalid hook call..'... | 2022-12-16T16:47:30 |
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.