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
28675b66d2e2fae839b64cf0b06ebb5df8cde025
8d05a1590aaeab07050e019ac892e1ebacac456d
build: move available-node variable to top Currently node_use_openssl uses the available-node variable before it is defined causing the conditions that use it before that point to evaluate incorrectly. As an example running the target test/addons/.docbuildstamp will currently be skipped: $ make test/addons/.docbuilds...
[ { "path": "Makefile", "patch": "@@ -58,6 +58,18 @@ BUILD_RELEASE_FLAGS ?= $(BUILD_DOWNLOAD_FLAGS) $(BUILD_INTL_FLAGS)\n # or set the V environment variable to an empty string.\n V ?= 1\n \n+# Use -e to double check in case it's a broken link\n+# Use $(PWD) so we can cd to anywhere before calling this\n+avai...
2018-08-16T06:08:00
rust-lang/rust
9eb1e83a12121302dd5ae09c7ba419de08e2da34
3686ed9f7ca38aa658cf06b8979419c8478ccae4
fix: Correct assoc ty bound var starting index
[ { "path": "src/tools/rust-analyzer/crates/hir-ty/src/chalk_db.rs", "patch": "@@ -637,7 +637,10 @@ pub(crate) fn associated_ty_data_query(\n .fill_with_bound_vars(crate::DebruijnIndex::INNERMOST, 0)\n .build();\n let pro_ty = TyBuilder::assoc_type_projection(db, type_alias, Some(trait_sub...
2025-05-02T15:31:33
golang/go
cdcd02842da7c004efd023881e3719105209c908
8bf5bf51738a198902e03bbec7e6ff220f4cb002
net: verify results from Lookup* are valid domain names For the methods LookupCNAME, LookupSRV, LookupMX, LookupNS, and LookupAddr check that the returned domain names are in fact valid DNS names using the existing isDomainName function. Thanks to Philipp Jeitner and Haya Shulman from Fraunhofer SIT for reporting thi...
[ { "path": "src/net/dnsclient_unix_test.go", "patch": "@@ -1799,3 +1799,160 @@ func TestPTRandNonPTR(t *testing.T) {\n \t\tt.Errorf(\"names = %q; want %q\", names, want)\n \t}\n }\n+\n+func TestCVE202133195(t *testing.T) {\n+\tfake := fakeDNSServer{\n+\t\trh: func(n, _ string, q dnsmessage.Message, _ time.Ti...
2021-05-27T17:40:06
huggingface/transformers
af2866a8b19c621f67396db03031066a2f232c54
274e79b3262147e52968480bb0f03f4893559ab2
[speech2text] fix init of sinusoidal embeddings (#37931) * fix init (meta device -> bad numbers) * fast test * dont init sinusoidal twice * make fixup
[ { "path": "src/transformers/models/musicgen/modeling_musicgen.py", "patch": "@@ -125,9 +125,7 @@ def make_weights(self, num_embeddings: int, embedding_dim: int):\n # in forward put the weights on the correct dtype and device of the param\n emb_weights = emb_weights.to(dtype=self.weig...
2025-05-06T13:49:00
electron/electron
4a7e98e398422a5783d26d7a8944ec6e405bce53
ab4558ae32689b4e565ef9f96cfaa617fb8a879c
linux: Only use global application menubar on unity. Fixes atom/atom#3114.
[ { "path": "atom/browser/native_window_views.cc", "patch": "@@ -39,6 +39,7 @@\n #if defined(USE_X11)\n #include \"atom/browser/ui/views/global_menu_bar_x11.h\"\n #include \"atom/browser/ui/views/frameless_view.h\"\n+#include \"chrome/browser/ui/libgtk2ui/unity_service.h\"\n #include \"ui/gfx/x/x11_types.h\"\...
2014-07-31T05:09:31
nodejs/node
8d05a1590aaeab07050e019ac892e1ebacac456d
5e420f95b19d1c860f0288a91bc7888b1eac577a
test: cover error case in os getCheckedFunction() getCheckedFunction() is used internally by the os module to handle errors from the binding layer in several methods. This commit adds a test for the case where the binding layer returns an error. PR-URL: https://github.com/nodejs/node/pull/22394 Reviewed-By: Luigi Pin...
[ { "path": "test/parallel/test-os-checked-function.js", "patch": "@@ -0,0 +1,15 @@\n+'use strict';\n+// Monkey patch the os binding before requiring any other modules, including\n+// common, which requires the os module.\n+process.binding('os').getHomeDirectory = function(ctx) {\n+ ctx.syscall = 'foo';\n+ ...
2018-08-20T13:10:06
vercel/next.js
735ecd9c929cde18f84a6e06b2c95e13b08727c6
67c00dbaedbc5f70905889a4bf6fb7f58dc2d80b
Refactor the Next SSG transform to handle the inverse operation (vercel/turbo#2968) ## The original transform The original behavior of the Next SSG transform is to remove `getServerSideProps`, `getStaticProps`, and `getStaticPaths` from Next.js page files so they can be bundled for the client. This is what enables th...
[ { "path": "crates/next-core/src/next_client/context.rs", "patch": "@@ -157,7 +157,9 @@ pub async fn add_next_transforms_to_pages(\n ]),\n ]),\n vec![ModuleRuleEffect::AddEcmascriptTransforms(\n- EcmascriptInputTransformsVc::cell(vec![EcmascriptInputTransform::NextJsPag...
2023-01-03T10:42:35
golang/go
2fed6926a152d67b5d001d68899edc5e97d599f1
a573cbfa6c84c108d79330d062c345dc8d38dbfd
[dev.fuzz] cmd/go/internal: instrument imports of the test Previously, the packages that were imported by the test were not instrumented for coverage. This meant that a fuzz target in a stand-alone test file would not be able to perform coverage-guided fuzzing. The fix uses all of the imports, including those from th...
[ { "path": "src/cmd/go/internal/load/flag.go", "patch": "@@ -22,8 +22,9 @@ var (\n // that allows specifying different effective flags for different packages.\n // See 'go help build' for more details about per-package flags.\n type PerPackageFlag struct {\n-\tpresent bool\n-\tvalues []ppfValue\n+\tpresent ...
2021-05-25T15:10:25
huggingface/transformers
274e79b3262147e52968480bb0f03f4893559ab2
057ae00504ce6daad1a29baa0451b21c1c1b94b3
Fix typos (#37978) fix typos
[ { "path": "docs/source/en/attention_interface.md", "patch": "@@ -108,7 +108,7 @@ If in doubt about what args/kwargs a given model sends to the attention function\n ## Accessing current available implementations\n \n Most of the time, you will simply need to `register` a new function. If, however, you need t...
2025-05-06T13:45:20
electron/electron
978f73756b12cd1943206fa404a8798490a9121c
5086873f78f0dca6d8eb90033edf51907e4908f8
fix node to build with target_arch=x64 on linux atom-shell on linux is incorrectly reporting `ia32` for `process.arch`. This is happening because `-Dtarget_arch=ia32` is passed to ninja on linux inside `script/update.py` which leads to '-DARCH="ia32"' being set in the compile flags. I see that the current intention...
[ { "path": "script/update.py", "patch": "@@ -23,11 +23,10 @@ def update_external_binaries():\n def update_gyp():\n gyp = os.path.join('vendor', 'brightray', 'vendor', 'gyp', 'gyp_main.py')\n python = sys.executable\n- if sys.platform == 'cygwin':\n+ arch = 'x64'\n+ if sys.platform in ['cygwin', 'win32...
2014-07-31T03:51:23
nodejs/node
5e420f95b19d1c860f0288a91bc7888b1eac577a
9bcb744ee58f7f53f0a9b77f6ee36a4477ab43b4
os: destructure ERR_SYSTEM_ERROR properly PR-URL: https://github.com/nodejs/node/pull/22394 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewat...
[ { "path": "lib/os.js", "patch": "@@ -26,7 +26,7 @@ const constants = process.binding('constants').os;\n const { deprecate } = require('internal/util');\n const isWindows = process.platform === 'win32';\n \n-const { ERR_SYSTEM_ERROR } = require('internal/errors');\n+const { codes: { ERR_SYSTEM_ERROR } } = re...
2018-08-19T04:57:41
vercel/next.js
f7b654e875f474882913a8bd8eee3969e97101d7
fd018fd6cb1458cf1c0da154574e74f63950026b
Update get-api-cookie.ts (#44466) Added the types for req and res. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/next.js/blob/canary/contributing.md) ## Feature - [ ] Implements a...
[ { "path": "examples/with-cookies-next/pages/api/get-api-cookie.ts", "patch": "@@ -1,6 +1,10 @@\n import { getCookie, getCookies } from 'cookies-next'\n+import { NextApiRequest, NextApiResponse } from 'next'\n \n-export default async function getApiCookie(req, res) {\n+export default async function getApiCoo...
2023-01-01T00:58:38
golang/go
8bf5bf51738a198902e03bbec7e6ff220f4cb002
56af34f875f55485b4ebc521fe0c695dafb9bc23
cmd/compile: improve debug locations for partially live in-params During DWARF debug location generation, as a preamble to the main data flow analysis, examine the function entry block to look for in-params arriving in registers that are partially or completely dead, and insert new OpArg{Int,Float}Reg values for the d...
[ { "path": "src/cmd/compile/internal/ssa/debug.go", "patch": "@@ -7,10 +7,13 @@ package ssa\n import (\n \t\"cmd/compile/internal/abi\"\n \t\"cmd/compile/internal/ir\"\n+\t\"cmd/compile/internal/types\"\n \t\"cmd/internal/dwarf\"\n \t\"cmd/internal/obj\"\n+\t\"cmd/internal/src\"\n \t\"encoding/hex\"\n \t\"fm...
2021-05-10T11:31:57
huggingface/transformers
cc68070d41953d67e577db9541d048c936c58b94
b1375177fcc89b81495889c71dcffd9eceffa7a8
fix docs serving typos. (#37936) Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
[ { "path": "docs/source/en/serving.md", "patch": "@@ -51,7 +51,7 @@ By default, vLLM serves the native implementation and if it doesn't exist, it fa\n ```shell\n vllm serve Qwen/Qwen2.5-1.5B-Instruct \\\n --task generate \\\n- --model-impl transformers \\\n+ --model-impl transformers\n ```\n \n Add...
2025-05-06T13:32:44
electron/electron
5086873f78f0dca6d8eb90033edf51907e4908f8
476f545a670adf00d190c61b8405a000b9b7d7db
mac: Guard against closed window, fixes #536.
[ { "path": "atom/browser/ui/file_dialog_mac.mm", "patch": "@@ -55,7 +55,7 @@ void SetupDialogForProperties(NSOpenPanel* dialog, int properties) {\n // Run modal dialog with parent window and return user's choice.\n int RunModalDialog(NSSavePanel* dialog, atom::NativeWindow* parent_window) {\n __block int c...
2014-07-31T02:31:08
vercel/next.js
fd018fd6cb1458cf1c0da154574e74f63950026b
f8647a30e390120203dc3e5edd9294f865831aad
Fix link to next-image-to-legacy-image codemod (#44471) For the upgrade guide for 12 to 13, there's a link pointing to the next-image-to-legacy-image, but the fragment link isn't correct. See [this](https://nextjs.org/docs/upgrading#image-component:~:text=next%2Dimage%2Dto%2Dlegacy%2Dimage%3A) which links to `#rename-...
[ { "path": "docs/upgrading.md", "patch": "@@ -40,7 +40,7 @@ Starting in Next.js 13, this new behavior is now the default for `next/image`.\n \n There are two codemods to help you migrate to the new Image Component:\n \n-- [next-image-to-legacy-image](/docs/advanced-features/codemods.md#rename-instances-of-ne...
2022-12-31T21:15:43
nodejs/node
4e7d82945dfc3f9e264c258ef29c45910b7fd8bc
95b0e2c1331415e18d171d60d843a2c1328ffbe3
deps: upgrade to libuv 1.23.0 Notable changes: - Restores compatibility with the old IPC protocol. - Adds uv_open_osfhandle(). - Adds uv_os_{get,set}priority(). PR-URL: https://github.com/nodejs/node/pull/22365 Fixes: https://github.com/nodejs/node/issues/21671 Fixes: https://github.com/nodejs/node/issues/15433 Refs:...
[ { "path": "deps/uv/AUTHORS", "patch": "@@ -345,3 +345,4 @@ Peter Johnson <johnson.peter@gmail.com>\n Paolo Greppi <paolo.greppi@libpf.com>\n Shelley Vohr <shelley.vohr@gmail.com>\n Ujjwal Sharma <usharma1998@gmail.com>\n+Michał Kozakiewicz <michalkozakiewicz3@gmail.com>", "additions": 1, "deletions"...
2018-08-17T02:14:55
golang/go
56af34f875f55485b4ebc521fe0c695dafb9bc23
db66e9e15d16cfdb555140b26a5f009fd0d23d0e
cmd/compile: place reg spills after OpArg{Int,Float}Reg ops Tweak the register allocator to maintain the invariant that OpArg{Int,Float}Reg values are placed together at the start of the entry block, before any other non-pseudo-op values. Without this change, when the register allocator adds spills we can wind up with...
[ { "path": "src/cmd/compile/internal/ssa/regalloc.go", "patch": "@@ -1882,6 +1882,10 @@ func (s *regAllocState) placeSpills() {\n \t\tphiRegs[b.ID] = m\n \t}\n \n+\tmustBeFirst := func(op Op) bool {\n+\t\treturn op.isLoweredGetClosurePtr() || op == OpPhi || op == OpArgIntReg || op == OpArgFloatReg\n+\t}\n+\n...
2021-05-25T14:13:07
huggingface/transformers
acded47fe711904fc5f4e4f4bf4f5d093eb43a43
9981214d32c9d0777e1d67cd68d4dd4009712e75
[llava] one pixel is missing from padding when length is odd (#37819) * [fix] one pixel should be added when length is odd * [fix] add vision_aspect_ratio args & typo * [fix] style * [fix] do not fix fast file directly * [fix] convert using modular * remove duplicate codes * match unpad logic with pad logic * t...
[ { "path": "setup.py", "patch": "@@ -466,7 +466,12 @@ def run(self):\n package_data={\"\": [\"**/*.cu\", \"**/*.cpp\", \"**/*.cuh\", \"**/*.h\", \"**/*.pyx\", \"py.typed\"]},\n zip_safe=False,\n extras_require=extras,\n- entry_points={\"console_scripts\": [\"transformers=transformers.commands....
2025-05-06T11:11:26
rust-lang/rust
d940d0b7584fd7753f49d897c64eccc5535d2374
a8da0fd22d0e6e0547dd14551b1144b82dfb9655
Implement skeleton code for adding GenMC support to Miri (not yet functional). - Add a cargo feature to enable GenMC support (off by default) - Add support for GenMC datastructures to MiriMachine - Adjust several functions where GenMC needs to be informed about relevant events (e.g., atomic accesses) - Add skeleton cod...
[ { "path": "src/tools/miri/.gitignore", "patch": "@@ -9,6 +9,9 @@ tex/*/out\n *.mm_profdata\n perf.data\n perf.data.old\n-flamegraph.svg\n+flamegraph*.svg\n+rustc-ice*.txt\n tests/native-lib/libtestlib.so\n .auto-*\n+\n+/genmc/", "additions": 4, "deletions": 1, "language": "Unknown" }, { ...
2025-03-14T08:58:46
electron/electron
b2217474c1ed4490e3916f5acc4049958d6a61eb
9342d59a7c9b4afa126acd0756d0755b1a92f071
Nits: Fix code style.
[ { "path": "atom/browser/api/atom_api_shortcut.cc", "patch": "@@ -69,11 +69,13 @@ void Shortcut::Register() {\n }\n \n void Shortcut::Unregister() {\n- GlobalShortcutListener::GetInstance()->UnregisterAccelerator(accelerator_, this);\n+ GlobalShortcutListener::GetInstance()->UnregisterAccelerator(\n+ ...
2014-07-30T13:18:26
vercel/next.js
50857dad465f7e62ea76b9bb7d9bbea3b2fa4bd9
448c9c82ed0ef612e12c39d62da6c1cc07829a7b
Fix isolated tests on windows and update azure config (#44457) Fixes handling in isolated tests for windows and adds initial setup to run the main `app-dir` test suite. Also adds retrying when fetching test timings fails due to rate limiting. Closes: https://github.com/vercel/next.js/pull/44331
[ { "path": "azure-pipelines.yml", "patch": "@@ -109,7 +109,7 @@ stages:\n condition: eq(variables['isDocsOnly'], 'No')\n displayName: 'Run tests'\n \n- - job: test_integration_app_dir\n+ - job: test_e2e_dev\n pool:\n vmImage: 'windows-2019'\n steps:...
2022-12-31T08:12:42
nodejs/node
79642ae071bde3d0552566a31cc3867d85476795
3479b1ca8206c88bac1f1ee8925a2d30759747d7
test: harden test-gc-http-client This reduces the total number of requests from 500 to 300 and triggers more requests in parallel. It also moves some function creation out and waits with the first request until the server is listening. PR-URL: https://github.com/nodejs/node/pull/22373 Fixes: https://github.com/nodejs...
[ { "path": "test/parallel/test-gc-http-client.js", "patch": "@@ -10,44 +10,40 @@ function serverHandler(req, res) {\n }\n \n const http = require('http');\n-const todo = 500;\n+const todo = 300;\n let done = 0;\n let count = 0;\n let countGC = 0;\n \n console.log(`We should do ${todo} requests`);\n \n const ...
2018-08-17T12:25:03
huggingface/transformers
7cc78804bac7e1ec15ef9b0d52ac69381e54fa28
471958b6208bb9e94e6305d279fad9a05aa42c36
🚨🚨🚨 Fix forward of Dinov2ForImageClassification for models with registers (#37836) * add num_tokens_to_discard to the forward of Dinov2ForImageClassification * redefine forward in modular file, remove change to modeling_dinov2 file * run make fixup --------- Co-authored-by: Pavel Iakubovskii <qubvel@gmail.com>
[ { "path": "src/transformers/models/dinov2_with_registers/modeling_dinov2_with_registers.py", "patch": "@@ -773,7 +773,8 @@ def forward(\n sequence_output = outputs[0] # batch_size, sequence_length, hidden_size\n \n cls_token = sequence_output[:, 0]\n- patch_tokens = sequence_output[:...
2025-05-06T09:55:53
golang/go
fca7b8f3e690ec0562dd6ed609a8c7e6bef744c8
950fa11c4cb01a145bb07eeb167d90a1846061b3
Revert "net: verify results from Lookup* are valid domain names" This reverts commit c89f1224a544cde464fcb86e78ebb0cc97eedba2. Reason for revert: reverting so we can apply follow-up fixes and do a single cherry pick. Change-Id: I16c6283a0bcab056216f330fb98fa3b5f2b0780c Reviewed-on: https://go-review.googlesource.com...
[ { "path": "src/net/dnsclient_unix_test.go", "patch": "@@ -1799,124 +1799,3 @@ func TestPTRandNonPTR(t *testing.T) {\n \t\tt.Errorf(\"names = %q; want %q\", names, want)\n \t}\n }\n-\n-func TestCVE202133195(t *testing.T) {\n-\tfake := fakeDNSServer{\n-\t\trh: func(n, _ string, q dnsmessage.Message, _ time.Ti...
2021-05-27T15:14:18
electron/electron
476f545a670adf00d190c61b8405a000b9b7d7db
474445fb7d2dfd89f0bf4fa6a8c55f735043bd09
Update brightray, fixes #498.
[ { "path": "vendor/brightray", "patch": "@@ -1 +1 @@\n-Subproject commit 91a5af92231458009165a853e279192acdca947c\n+Subproject commit 2f87b814ac97eb52628f0808842c99df0611a86e", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2014-07-30T14:45:23
vercel/next.js
448c9c82ed0ef612e12c39d62da6c1cc07829a7b
554d0613267a5765772980491968670b5f46ce7a
Added actual error message to log output (#44453) Fixes #44452
[ { "path": "packages/font/src/google/loader.ts", "patch": "@@ -197,6 +197,7 @@ const downloadGoogleFonts: FontLoader = async ({\n loaderContext.cacheable(false)\n if (isDev) {\n if (isServer) {\n+ console.error(err)\n Log.error(\n `Failed to download \\`${fontFamily}\\`...
2022-12-31T00:02:11
huggingface/transformers
471958b6208bb9e94e6305d279fad9a05aa42c36
fe29b8c487dfe554ee44e2a359605f82651e9095
Add GraniteMoeHybrid support for 4.0 (#37658) * initial config and MLA layer Signed-off-by: Sukriti-Sharma4 <sukriti.sharma4@ibm.com> * first pass at decoder Signed-off-by: Sukriti-Sharma4 <sukriti.sharma4@ibm.com> * completion of layers Signed-off-by: Sukriti-Sharma4 <sukriti.sharma4@ibm.com> * modeling class ...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -495,6 +495,8 @@\n title: Granite\n - local: model_doc/granitemoe\n title: GraniteMoe\n+ - local: model_doc/granitemoehybrid\n+ title: GraniteMoeHybrid\n - local: model_doc/granitemoeshared\n title: Granite...
2025-05-06T04:47:43
nodejs/node
54c87f37f44742588d0f8e0a778444e0890d7842
44d04a8c01dba1d7e4a9c9d9a4415eeacc580bf4
deps: cherry-pick 6ee8345 from upstream V8 Original commit message: [heap-profiler] Allow embedder to specify edge names This patch adds a variant of EmbedderGraph::AddEdge() which allows the embedder to specify the name of an edge. The edges added without name are element edges with auto-incremented...
[ { "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.15',\n+ 'v8_embedder_string': '-node.16',\n \n # Enable disassembler for `--print-co...
2018-08-03T11:43:40
golang/go
950fa11c4cb01a145bb07eeb167d90a1846061b3
9bc52686da81b515cf3ad654dfb1a536fabceafa
net/http/httputil: always remove hop-by-hop headers Previously, we'd fail to remove the Connection header from a request like this: Connection: Connection: x-header Fixes #46313 Fixes CVE-2021-33197 Change-Id: Ie3009e926ceecfa86dfa6bcc6fe14ff01086be7d Reviewed-on: https://go-review.googlesource.com/c/go/+/3...
[ { "path": "src/net/http/httputil/reverseproxy.go", "patch": "@@ -253,22 +253,18 @@ func (p *ReverseProxy) ServeHTTP(rw http.ResponseWriter, req *http.Request) {\n \t// important is \"Connection\" because we want a persistent\n \t// connection, regardless of what the client sent to us.\n \tfor _, h := range ...
2021-05-21T18:02:30
huggingface/transformers
46c0e1ff80a165704b07ea905c8570d19833e94e
d80f53fa505e36f913606721865a9c321ee9c4e5
Fix incorrect type annotation in get_auxiliary_logits (#37955) Correct type annotation from Dict(str, Tensor) to Dict[str, Tensor]
[ { "path": "src/transformers/models/mask2former/modeling_mask2former.py", "patch": "@@ -2359,7 +2359,7 @@ def get_loss(self, loss_dict: Dict[str, Tensor]) -> Tensor:\n return sum(loss_dict.values())\n \n def get_auxiliary_logits(self, classes: torch.Tensor, output_masks: torch.Tensor):\n- ...
2025-05-05T18:00:49
vercel/next.js
554d0613267a5765772980491968670b5f46ce7a
3e1a5bd69a3d30397460cb48fe49da69e6fc13d2
docs: add pnpm to template readme (#44427) Add pnpm command to execute npm script ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/next.js/blob/canary/contributing.md) ## Feature - [...
[ { "path": "packages/create-next-app/templates/app/js/README-template.md", "patch": "@@ -8,6 +8,8 @@ First, run the development server:\n npm run dev\n # or\n yarn dev\n+# or\n+pnpm dev\n ```\n \n Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.", "additions": 2, ...
2022-12-30T22:14:25
nodejs/node
44d04a8c01dba1d7e4a9c9d9a4415eeacc580bf4
9d6619efeaa80f899d0ee06ddb37c6c76e41f823
doc: clarify documentation of pipes and zlib objects Document how pipes can be chained in readable.pipe(). Document that zlib.Zlib inherits from stream.Transform. PR-URL: https://github.com/nodejs/node/pull/22354 Fixes: https://github.com/nodejs/node/issues/22341 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> R...
[ { "path": "doc/api/stream.md", "patch": "@@ -895,8 +895,8 @@ added: v0.9.4\n * `destination` {stream.Writable} The destination for writing data\n * `options` {Object} Pipe options\n * `end` {boolean} End the writer when the reader ends. **Default:** `true`.\n-* Returns: {stream.Writable} making it possibl...
2018-08-16T06:03:15
golang/go
9bc52686da81b515cf3ad654dfb1a536fabceafa
6ff0ae2aa4fdb9c6c267efb30927e87563387c49
cmd/go,cmd/link: do not check for staleness in most tests Instead, check that stale packages in the standard library are not rebuilt when already present in the build cache, and are not installed implicitly when rebuilt. We retain the staleness checks for the runtime package in tests involving '-i', because those are...
[ { "path": "src/cmd/go/testdata/script/build_package_not_stale_trailing_slash.txt", "patch": "@@ -1,13 +0,0 @@\n-# Tests Issue #12690\n-\n-[gccgo] skip 'gccgo does not have GOROOT'\n-\n-! stale runtime\n-! stale os\n-! stale io\n-\n-env GOROOT=$GOROOT'/'\n-\n-! stale runtime\n-! stale os\n-! stale io\n\\ No ...
2021-05-25T16:21:11
electron/electron
5a5c92ad2dd0d2ff833e548808f72b1c0fe663ce
fd90f2c3603d3add3005ca18ecf0cfa528cc02a5
Add remote debugging support.
[ { "path": "brightray/brightray.gyp", "patch": "@@ -42,6 +42,8 @@\n 'browser/default_web_contents_delegate_mac.mm',\n 'browser/devtools_contents_resizing_strategy.cc',\n 'browser/devtools_contents_resizing_strategy.h',\n+ 'browser/devtools_delegate.cc',\n+ 'browser/devto...
2014-07-30T03:40:17
huggingface/transformers
d80f53fa505e36f913606721865a9c321ee9c4e5
7819911b0c4f490fbe72d45f37e4613c7cb78bdf
[generate] Fix `vocab_size` access for multimodal models (#37937) Implements last migrations for generation from `config.vocab_size` to `config.get_text_config().vocab.size` In doing so, we enable multimodal models to fully leverage all existing generation features.
[ { "path": "src/transformers/generation/utils.py", "patch": "@@ -968,7 +968,7 @@ def _get_candidate_generator(\n atm_translator = AssistantVocabTranslatorCache.get_translator(\n target_tokenizer,\n assistant_tokenizer,\n- self.config....
2025-05-05T14:56:56
vercel/next.js
87a419f821f518ca614b320411c06872c7cb425c
d3c292dd4abba9f91ddf2feff5f9ad935e52c052
fix link to index page in Image Component Example (#44388) ## Documentation / Examples On [Image Component Example README](https://github.com/vercel/next.js/tree/canary/examples/image-component) was a old link to index.js file, instead of index.tsx, changed old link to a new, now page exist, insteadof 404. - [x] Mak...
[ { "path": "examples/image-component/README.md", "patch": "@@ -2,7 +2,7 @@\n \n This example shows how to use the [Image Component in Next.js](https://nextjs.org/docs/api-reference/next/image) serve optimized, responsive images.\n \n-The index page ([`pages/index.js`](pages/index.js)) has a couple images, on...
2022-12-28T15:35:23
golang/go
6ff0ae2aa4fdb9c6c267efb30927e87563387c49
3075ffc93e962792ddf43b2a528ef19b1577ffb7
crypto/elliptic: fix typo in p521Point type name Change-Id: I6cab3624c875d9a70441a560e84f91c9b2df17b9 Reviewed-on: https://go-review.googlesource.com/c/go/+/320070 Trust: Filippo Valsorda <filippo@golang.org> Trust: Katie Hockman <katie@golang.org> Run-TryBot: Filippo Valsorda <filippo@golang.org> Run-TryBot: Katie Ho...
[ { "path": "src/crypto/elliptic/p521.go", "patch": "@@ -52,7 +52,7 @@ func (curve p521Curve) IsOnCurve(x, y *big.Int) bool {\n \treturn x3.Equal(y2) == 1\n }\n \n-type p512Point struct {\n+type p521Point struct {\n \tx, y, z *fiat.P521Element\n }\n \n@@ -67,7 +67,7 @@ func fiatP521ToBigInt(x *fiat.P521Elemen...
2021-05-13T17:45:55
nodejs/node
9d6619efeaa80f899d0ee06ddb37c6c76e41f823
7cbbb27c0721ced7b74fc39033c8485b8d2ad864
doc: add doc for --loader option PR-URL: https://github.com/nodejs/node/pull/22104 Fixes: https://github.com/nodejs/node/issues/21230 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: John-David Dalton <john.david.dalton@gmail.com>
[ { "path": "doc/api/cli.md", "patch": "@@ -132,6 +132,13 @@ V8 inspector integration allows tools such as Chrome DevTools and IDEs to debug\n and profile Node.js instances. The tools attach to Node.js instances via a\n tcp port and communicate using the [Chrome DevTools Protocol][].\n \n+### `--loader=file`\...
2018-08-03T09:24:14
huggingface/transformers
36ca58bf4f44d0aeca38726269175732bfb701af
2932f318a20d9e54cc7aea052e040164d85de7d6
[D-FINE] Update names (#37957) * Update names * Fix modular --------- Co-authored-by: qubvel <qubvel@gmail.com>
[ { "path": "src/transformers/models/d_fine/configuration_d_fine.py", "patch": "@@ -33,7 +33,7 @@ class DFineConfig(PretrainedConfig):\n \"\"\"\n This is the configuration class to store the configuration of a [`DFineModel`]. It is used to instantiate a D-FINE\n model according to the specified ar...
2025-05-05T12:05:46
electron/electron
5db31517cbc3c418a71c5e90bf754067e1ef847b
740e7fbf1a9f21102a3adfa9d3f3377137803539
mac: Fix app.dock.show/hide, close #520.
[ { "path": "atom/browser/api/lib/app.coffee", "patch": "@@ -24,8 +24,8 @@ if process.platform is 'darwin'\n cancelBounce: bindings.dockCancelBounce\n setBadge: bindings.dockSetBadgeText\n getBadge: bindings.dockGetBadgeText\n- hide: bindings.hide\n- show: bindings.show\n+ hide: bindings....
2014-07-29T14:31:51
vercel/next.js
84531c5301474f9e872ad6db5689a76fe82d7df4
4ac737ee6b25a2e1cf44f1f6fafa444b5f9dec6d
Add special error message for class component in server component (#44265) This PR adjusts the error message so it's more accurate and makes more sense. Current error: > You're importing a component that needs Component. New: > You’re importing a class component. NEXT-317 ## Bug - [ ] Related issues linked using...
[ { "path": "packages/next/build/webpack/plugins/wellknown-errors-plugin/parseRSC.ts", "patch": "@@ -19,10 +19,15 @@ function formatRSCErrorMessage(message: string): null | [string, string] {\n const NEXT_RSC_ERR_INVALID_API = /.+NEXT_RSC_ERR_INVALID_API: (.*?)\\n/s\n \n if (NEXT_RSC_ERR_REACT_API.tes...
2022-12-24T14:18:34
golang/go
5fcd18bc9bd89bad5270434f99d40e820affbd82
ff0164cf736b12740bf5837111e93130da6d612c
[dev.fuzz] internal/fuzz,testing: treat panics as recoverable And only log the last panic, not all of them, during minimization. This change makes the worker processes quiet, so now the only process that logs anything is the coordinator. This hides all of the panics caused during minimization of an input which causes ...
[ { "path": "src/cmd/go/testdata/script/test_fuzz_mutator.txt", "patch": "@@ -110,6 +110,8 @@ package fuzz_test\n \n import (\n \t\"bytes\"\n+\t\"fmt\"\n+\t\"os\"\n \t\"testing\"\n )\n \n@@ -123,7 +125,7 @@ func FuzzMinimizerRecoverable(f *testing.F) {\n \t\t// minimizer to trim down the value a bit.\n \t\tif...
2021-05-19T18:43:58
nodejs/node
478a78ba76b6b2d6dc777ad9d439ccd5c85edc27
4b7cd4bd60623b9c69d791112f4500575a3e9e7d
deps: fix CRLF in text file not present in upstream `deps/v8/third_party/jinja2/LICENSE` is not in upstream v8, and contains CRLF, which is in conflict with `deps/v8/.gitattributes` which sets all text files to use LF. This has caused failures in CI workers with older versions of Git. This patch manually fixes up the ...
[ { "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.14',\n+ 'v8_embedder_string': '-node.15',\n \n # Enable disassembler for `--print-co...
2018-08-15T17:27:02
huggingface/transformers
8a0a508f2b7e8d9daeff3b4959a0b74809e78286
e94a4807df45ec2967bb7f88c3d008f40fc9d550
Aligning modling code for GPT2 to work with vLLM (fallback) (#36934) * aligning for vllm * using input shape rather than attn outputs * remove demo * revert Conv1D * style * style * Update src/transformers/models/gpt2/modeling_gpt2.py Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com> * fi...
[ { "path": "docs/source/en/model_doc/gpt2.md", "patch": "@@ -73,6 +73,12 @@ echo -e \"Hello, I'm a language model\" | transformers run --task text-generation\n </hfoption>\n </hfoptions>\n \n+One can also serve the model using vLLM with the `transformers backend`.\n+\n+```\n+vllm serve openai-community/gpt2 ...
2025-05-02T07:55:16
vercel/next.js
b0a1e99606a7a7329f885d4c418943c5612d2a0f
f0aa10b2165e661c6ed2494787eab31891115065
Fix `next/image` 404 when `basePath` and `trailingSlash` defined (#44312) - Fixes #36681
[ { "path": "packages/next/server/config.ts", "patch": "@@ -447,6 +447,10 @@ function assignDefaults(dir: string, userConfig: { [key: string]: any }) {\n )\n }\n \n+ if (images.path === imageConfigDefault.path && result.basePath) {\n+ images.path = `${result.basePath}${images.path}`\n+ }\...
2022-12-23T23:04:26
golang/go
1ec056244e1a058ea3a21f0abd1165d710398416
6da1661371410c46af84c578d644052894226314
[dev.typeparams] cmd/compile: inlining tweaks for toolstash This CL makes to minor changes motivated by making it easier to make large-scale changes to the inliner while satisfying toolstash -cmp: 1. When creating inlining variables, make sure to preserve the AutoTemp flag. This is necessary so that temporary variabl...
[ { "path": "src/cmd/compile/internal/inline/inl.go", "patch": "@@ -1029,6 +1029,7 @@ func inlvar(var_ *ir.Name) *ir.Name {\n \tn.SetType(var_.Type())\n \tn.Class = ir.PAUTO\n \tn.SetUsed(true)\n+\tn.SetAutoTemp(var_.AutoTemp())\n \tn.Curfn = ir.CurFunc // the calling function, not the called one\n \tn.SetAdd...
2021-05-24T11:41:58
huggingface/transformers
d20aa681936574b903a6673c34c3ced0371fd84f
ee25d57ed18f2dc06e88bd041830c6a32f80ff88
🌐 [i18n-KO] Translated `gpu_selection.md` to Korean (#36757) * Add _toctree.yml * feat: serving.md draft * Add _toctree.yml * feat: gpu_selection.md nmt draft * fix: TOC edit * Update docs/source/ko/serving.md Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com> * Update docs/source/ko/gpu_s...
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -97,6 +97,8 @@\n sections:\n - local: generation_strategies\n title: 텍스트 생성 전략 사용자 정의\n+ - local: serving\n+ title: 모델 서빙하기기\n title: 생성\n - isExpanded: false\n sections:\n@@ -123,6 +125,8 @@\n title: Amazon SageMaker에...
2025-05-01T15:44:12
nodejs/node
38145344f148c84d60b658d26b72e4fede40c01d
73b8ddee045e68947c6917413f93bce0818a87dc
src: fix race on modpending Fixes a rare race condition on modpending when two native modules are loaded simultaneously on different threads by storing it thread- locally. PR-URL: https://github.com/nodejs/node/pull/21611 Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com> Reviewed-By: Anatoli Papirovski <apap...
[ { "path": "src/node.cc", "patch": "@@ -187,7 +187,8 @@ static int v8_thread_pool_size = v8_default_thread_pool_size;\n static bool prof_process = false;\n static bool v8_is_profiling = false;\n static bool node_is_initialized = false;\n-static node_module* modpending;\n+static uv_once_t init_modpending_once...
2018-06-30T17:59:37
rust-lang/rust
33ea0b482c6f21c655102c2f6f3e9ec19a4623a1
549107dbada33d5531d8d896791d8dc07852d8af
fix: `manual_slice_fill` FP on `IndexMut` overload
[ { "path": "clippy_lints/src/loops/manual_slice_fill.rs", "patch": "@@ -2,7 +2,7 @@ use clippy_utils::diagnostics::span_lint_and_sugg;\n use clippy_utils::eager_or_lazy::switch_to_eager_eval;\n use clippy_utils::msrvs::{self, Msrv};\n use clippy_utils::source::{HasSession, snippet_with_applicability};\n-use ...
2025-05-01T06:04:42
vercel/next.js
00b21138411a8f8588cd785747886377cca884f8
fd0d0f5a87b47f22c3fd73735ab06c676b91a1f3
Fix CSS resource path not matched in `__entry_css_files__` (#44310) Currently we use `this.appDir + entryName` as the key of app entries. The `appDir` part is an absolute path which contains `\` in Windows, but `entryName` is a general entry name for Webpack, like `app/page`. A quick fix is to replace all `/` in the e...
[ { "path": "packages/next/build/webpack/plugins/flight-manifest-plugin.ts", "patch": "@@ -7,7 +7,7 @@\n \n import { webpack, sources } from 'next/dist/compiled/webpack/webpack'\n import { FLIGHT_MANIFEST } from '../../../shared/lib/constants'\n-import { relative } from 'path'\n+import { relative, sep } from ...
2022-12-23T19:55:59
huggingface/transformers
5b573bebb9793c393da035afd985c7078a460498
c80f65265b75b7c9c8135fd1d99be0c1dd4dcc61
Fix typos in strings and comments (#37910)
[ { "path": "examples/legacy/multiple_choice/utils_multiple_choice.py", "patch": "@@ -539,7 +539,7 @@ def convert_examples_to_features(\n if \"num_truncated_tokens\" in inputs and inputs[\"num_truncated_tokens\"] > 0:\n logger.info(\n \"Attention! you are croppi...
2025-05-01T13:58:58
golang/go
6da1661371410c46af84c578d644052894226314
e99e9a6e0147592b12175a19a2a9dafe96a984f9
[dev.typeparams] cmd/compile: simplify inlining variadic calls We already have and use FixVariadicCall to normalize non-dotted calls to variadic functions elsewhere in the compiler to simplify rewriting of function calls. This CL updates inl.go to use it too. A couple tests need to be updated to (correctly) expect di...
[ { "path": "src/cmd/compile/internal/inline/inl.go", "patch": "@@ -793,6 +793,9 @@ func mkinlcall(n *ir.CallExpr, fn *ir.Func, maxCost int32, inlMap map[*ir.Func]b\n \tdefer func() {\n \t\tinlMap[fn] = false\n \t}()\n+\n+\ttypecheck.FixVariadicCall(n)\n+\n \tif base.Debug.TypecheckInl == 0 {\n \t\ttypecheck....
2021-05-26T03:14:33
nodejs/node
26814cf8e636d7c7c057da310a27cb2993d46a76
be9f7860e128d88abc5d92dbc94ca96437141da7
test: fix cctest URLTest.ToFilePath on Win32 without Intl Skip one specific test that requires ICU Fixes: https://github.com/nodejs/node/issues/19051 PR-URL: https://github.com/nodejs/node/pull/22265 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Tiancheng "...
[ { "path": "test/cctest/test_url.cc", "patch": "@@ -88,7 +88,12 @@ TEST_F(URLTest, ToFilePath) {\n T(\"file:///C:/Program%20Files/\", \"C:\\\\Program Files\\\\\");\n T(\"file:///C:/a/b/c?query#fragment\", \"C:\\\\a\\\\b\\\\c\");\n T(\"file://host/path/a/b/c?query#fragment\", \"\\\\\\\\host\\\\path\\\\a...
2018-08-11T06:08:30
electron/electron
8dd7f811754386d5857de9eef91dc87c316fc54a
87019a1a70d2f6190027440f66248291fe0aa303
Fix building on Windows.
[ { "path": "atom/browser/ui/win/notify_icon.cc", "patch": "@@ -66,7 +66,7 @@ void NotifyIcon::HandleClickEvent(const gfx::Point& cursor_pos,\n NULL,\n NULL,\n gfx::Rect(gfx::win::ScreenToDIPPoint(cursor_pos), gfx::Size()),\n- views::MenuItemView::TOPLEFT,\n+ views::MENU_ANCHOR_TOP...
2014-07-28T12:32:10
vercel/next.js
fd0d0f5a87b47f22c3fd73735ab06c676b91a1f3
8a9133ddb31e72d1fc986547e7cc639488d6a323
Exclude `srcset` from svg image (#44308) The default behavior for svg is `dangerouslyAllowSVG: false` which means we won't try to optimize the image because its vector (see #34431 for more). However, svg was incorrectly getting the `srcset` attribute assigned which would contain duplicate information like: ``` /test...
[ { "path": "packages/next/client/image.tsx", "patch": "@@ -528,10 +528,11 @@ const Image = forwardRef<HTMLImageElement | null, ImageProps>(\n let loader: ImageLoaderWithConfig = rest.loader || defaultLoader\n // Remove property so it's not spread on <img> element\n delete rest.loader\n+ // Thi...
2022-12-23T16:57:16
huggingface/transformers
c80f65265b75b7c9c8135fd1d99be0c1dd4dcc61
7a3e208892c06a5e278144eaf38c8599a42f53e7
🚨 rm already deprecated pad_to_max_length arg (#37617) * rm already deprecated padding max length * truncate_strategy AS AN ARG is already deprecated for a few years * fix * rm test_padding_to_max_length * rm pad_to_max_length=True in other tests * rm from common * missed fnet
[ { "path": "src/transformers/tokenization_utils_base.py", "patch": "@@ -2759,11 +2759,8 @@ def _get_padding_truncation_strategies(\n self, padding=False, truncation=None, max_length=None, pad_to_multiple_of=None, verbose=True, **kwargs\n ):\n \"\"\"\n- Find the correct padding/trun...
2025-05-01T13:21:55
golang/go
3075ffc93e962792ddf43b2a528ef19b1577ffb7
a62c08734f8e2fc5333036e3a069a55288d1f674
os: deflake TestFdReadRace The test would hang if the call to Fd set the pipe to be non-blocking before the Read entered the first read system call. Avoid that problem by writing data to the pipe to wake up the read. For #24481 Fixes #44818 Change-Id: I0b798874c7b81e7308a38ebbf657efc4392ffacd Reviewed-on: https://go...
[ { "path": "src/os/pipe_test.go", "patch": "@@ -442,12 +442,14 @@ func TestFdReadRace(t *testing.T) {\n \tdefer r.Close()\n \tdefer w.Close()\n \n-\tc := make(chan bool)\n+\tconst count = 10\n+\n+\tc := make(chan bool, 1)\n \tvar wg sync.WaitGroup\n \twg.Add(1)\n \tgo func() {\n \t\tdefer wg.Done()\n-\t\tvar...
2021-05-26T22:17:27
nodejs/node
be9f7860e128d88abc5d92dbc94ca96437141da7
88105c998ef9d3f54aa8f22b82ec8cc31cbfac95
cli: fix flags on help output PR-URL: https://github.com/nodejs/node/pull/22271 Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
[ { "path": "src/node.cc", "patch": "@@ -2591,16 +2591,12 @@ static void PrintHelp() {\n #if HAVE_OPENSSL && NODE_FIPS_MODE\n \" --enable-fips enable FIPS crypto at startup\\n\"\n #endif // NODE_FIPS_MODE && NODE_FIPS_MODE\n-#if defined(NODE_HAVE_I18N_SUPPORT)\n \" --experime...
2018-08-11T20:06:06
rust-lang/rust
1d11ee2a5b84693ac37173b4515e5411e76cad82
042a556d8d0247361ed97e5d9217bb477c487be3
Implement error::Error for TryLockError
[ { "path": "library/std/src/fs.rs", "patch": "@@ -21,14 +21,14 @@\n mod tests;\n \n use crate::ffi::OsString;\n-use crate::fmt;\n use crate::io::{self, BorrowedCursor, IoSlice, IoSliceMut, Read, Seek, SeekFrom, Write};\n use crate::path::{Path, PathBuf};\n use crate::sealed::Sealed;\n use crate::sync::Arc;\n...
2025-04-06T15:39:10
electron/electron
10c52bd6a6467dfdb15e22178fae6e37f78e4290
c23c667c2d3562b5f60ec43339691e4ef3d7babd
Fix building on Linux.
[ { "path": "atom/browser/api/atom_api_menu_views.cc", "patch": "@@ -30,7 +30,7 @@ void MenuViews::Popup(Window* window) {\n static_cast<NativeWindowViews*>(window->window())->widget(),\n NULL,\n gfx::Rect(cursor, gfx::Size()),\n- views::MenuItemView::TOPLEFT,\n+ views::MENU_ANCHOR...
2014-07-28T10:11:47
vercel/next.js
9a4fe596e0e7db55caaa139c6de6f7f27ad8eaa0
5b7bf963623b7efd2a1b178c36d46a5e9285fbbd
Misc fixes to starting dev server (vercel/turbo#3121) - The 10th attempt used to day "trying again" and then didn't try again because the iterator ended… - Swaps a nested `.map() == Some(bool)` for a `and_then` - Extracts into a helper function so code can early return without an `Option<Result>` wrapper.
[ { "path": "packages/next-swc/crates/next-dev/src/lib.rs", "patch": "@@ -44,7 +44,7 @@ use turbopack_dev_server::{\n source_maps::SourceMapContentSourceVc, static_assets::StaticAssetsContentSourceVc,\n ContentSourceVc,\n },\n- DevServer,\n+ DevServer, DevServerBuilder,\n };\n use tu...
2022-12-22T10:50:07
huggingface/transformers
7a3e208892c06a5e278144eaf38c8599a42f53e7
86777b5e2f651d7f7c46db919beb13893743a5b5
fixed gemma3 collection path pointing to llama 2 collection. (#37899)
[ { "path": "docs/source/en/model_doc/gemma3.md", "patch": "@@ -28,7 +28,7 @@ rendered properly in your Markdown viewer.\n \n The instruction-tuned variant was post-trained with knowledge distillation and reinforcement learning.\n \n-You can find all the original Gemma 3 checkpoints under the [Gemma 3](https:...
2025-04-30T19:50:54
golang/go
1d5298d46a695219ab4622ae5aa59898459fd0f5
0fbecece98977f6d0578cef1e8f3ae00a54c8ac4
doc/go1.17: document net/... changes For #44513. Fixes #46014. Fixes #46015. Fixes #46016. Fixes #46017. Change-Id: I356483d68d07159281dfe2ea1e49430ddf200973 Reviewed-on: https://go-review.googlesource.com/c/go/+/322891 Trust: Damien Neil <dneil@google.com> Run-TryBot: Damien Neil <dneil@google.com> Reviewed-by: Ian ...
[ { "path": "doc/go1.17.html", "patch": "@@ -418,15 +418,20 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n <dl id=\"net\"><dt><a href=\"/pkg/net/\">net</a></dt>\n <dd>\n <p><!-- CL 272668 -->\n- TODO: <a href=\"https://golang.org/cl/272668\">https://golang.org/cl/272668</a>...
2021-05-26T18:28:01
rust-lang/rust
042a556d8d0247361ed97e5d9217bb477c487be3
70dab5a27c03a5637cc1d4ba36a5139760d25e38
Change signature of File::try_lock and File::try_lock_shared These methods now return Result<(), TryLockError> instead of Result<bool, Error> to make their use less errorprone
[ { "path": "library/std/src/fs.rs", "patch": "@@ -116,6 +116,22 @@ pub struct File {\n inner: fs_imp::File,\n }\n \n+/// An enumeration of possible errors which can occur while trying to acquire a lock\n+/// from the [`try_lock`] method and [`try_lock_shared`] method on a [`File`].\n+///\n+/// [`try_lock...
2025-04-04T00:25:46
nodejs/node
88105c998ef9d3f54aa8f22b82ec8cc31cbfac95
40a7beeddac9b9ec9ef5b49157daaf8470648b08
buffer: avoid overrun on UCS-2 string write CVE-2018-12115 Discovered by ChALkeR - Сковорода Никита Андреевич Fix by Anna Henningsen Writing to the second-to-last byte with UCS-2 encoding will cause a -1 length to be send to String::Write(), writing all of the provided Buffer from that point and beyond. Fixes: https...
[ { "path": "src/string_bytes.cc", "patch": "@@ -265,7 +265,11 @@ size_t StringBytes::WriteUCS2(char* buf,\n size_t* chars_written) {\n uint16_t* const dst = reinterpret_cast<uint16_t*>(buf);\n \n- size_t max_chars = (buflen / sizeof(*dst));\n+ size_t max_chars = buflen / siz...
2018-08-14T10:18:06
vercel/next.js
c84be78aaaff271992fd22d419ffb159c5e391f0
7b4d4dd515f3fd6fd26b42c46a4e5a7b4cba5b28
Misc fixes to starting dev server (vercel/turbo#3121) - The 10th attempt used to day "trying again" and then didn't try again because the iterator ended… - Swaps a nested `.map() == Some(bool)` for a `and_then` - Extracts into a helper function so code can early return without an `Option<Result>` wrapper.
[ { "path": "crates/next-dev/src/lib.rs", "patch": "@@ -44,7 +44,7 @@ use turbopack_dev_server::{\n source_maps::SourceMapContentSourceVc, static_assets::StaticAssetsContentSourceVc,\n ContentSourceVc,\n },\n- DevServer,\n+ DevServer, DevServerBuilder,\n };\n use turbopack_node::{\n ...
2022-12-22T10:50:07
electron/electron
c23c667c2d3562b5f60ec43339691e4ef3d7babd
ec4275ca13db5985ab9344926ce403c6a36ab608
Update brightray to fix webrtc warning.
[ { "path": "atom/browser/atom_browser_client.h", "patch": "@@ -17,6 +17,7 @@ class AtomBrowserClient : public brightray::BrowserClient {\n virtual ~AtomBrowserClient();\n \n protected:\n+ // content::ContentBrowserClient:\n net::URLRequestContextGetter* CreateRequestContext(\n content::BrowserCon...
2014-07-28T09:57:54
huggingface/transformers
c3aeaa80606585dccdc2b75eb8f419de5a5a58ee
36e2e33bbe0e54df38033755d39bd75c23d45271
Enhance documentation to explain chat-based few-shot prompting (#37828) * Enhance documentation to explain chat-based few-shot prompting Updates the documentation on few-shot prompting to illustrate how to structure examples using the chat-based format for instruction-tuned models. * Update docs/source/en/tasks/prom...
[ { "path": "docs/source/en/tasks/prompting.md", "patch": "@@ -78,32 +78,62 @@ Crafting a good prompt alone, also known as zero-shot prompting, may not be enou\n \n This section covers a few prompting techniques.\n \n-### Few-shot\n+### Few-shot prompting\n \n-Few-shot prompting improves accuracy and performa...
2025-04-30T18:00:10
golang/go
0fbecece98977f6d0578cef1e8f3ae00a54c8ac4
02beecb3974e9010d2deefaf09266286b0c6f408
doc/go1.17: document syscall changes Fixes #46023 Change-Id: Ia63829d03afb0936862b16f0971175cbaa1095bc Reviewed-on: https://go-review.googlesource.com/c/go/+/322890 Trust: Damien Neil <dneil@google.com> Run-TryBot: Damien Neil <dneil@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <...
[ { "path": "doc/go1.17.html", "patch": "@@ -550,11 +550,16 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n <dl id=\"syscall\"><dt><a href=\"/pkg/syscall/\">syscall</a></dt>\n <dd>\n <p><!-- CL 295371 -->\n- TODO: <a href=\"https://golang.org/cl/295371\">https://golang.org/c...
2021-05-26T18:12:43
rust-lang/rust
d42edee451b87ce3d7b9de82f43c142592e1e661
b2bf951dd60a57b423ab0a3f6b544ff580a08cd1
Handle `Path<>` better in error messages. `Path<>` needs to be distinguished from `Path<T>`. This commit does that, improving some error messages.
[ { "path": "compiler/rustc_ast_lowering/src/lib.rs", "patch": "@@ -54,8 +54,8 @@ use rustc_errors::{DiagArgFromDisplay, DiagCtxtHandle, StashKey};\n use rustc_hir::def::{DefKind, LifetimeRes, Namespace, PartialRes, PerNS, Res};\n use rustc_hir::def_id::{CRATE_DEF_ID, LOCAL_CRATE, LocalDefId};\n use rustc_hir...
2025-04-28T09:24:45
nodejs/node
40a7beeddac9b9ec9ef5b49157daaf8470648b08
16accff90f25543b31c4e3dc0e71c5766795dc18
buffer: stop alloc() uninitialized memory return CVE-2018-7166 Discovered by ChALkeR - Сковорода Никита Андреевич Prevent Buffer.alloc(size, fill, number) from returning uninitialized memory. Fixes: https://github.com/nodejs-private/security/issues/202 PR-URL: https://github.com/nodejs-private/node-private/pull/137 ...
[ { "path": "lib/buffer.js", "patch": "@@ -278,7 +278,8 @@ function assertSize(size) {\n Buffer.alloc = function alloc(size, fill, encoding) {\n assertSize(size);\n if (fill !== undefined && fill !== 0 && size > 0) {\n- return _fill(createUnsafeBuffer(size), fill, encoding);\n+ const buf = createUns...
2018-08-10T01:45:40
electron/electron
ec4275ca13db5985ab9344926ce403c6a36ab608
143bde007a6112ae53ace58be99507b43ef4ab9a
Make sure window is closed before WebContents is destroyed. Otherwise we would get "RawChannel fatal error".
[ { "path": "atom/browser/native_window.cc", "patch": "@@ -104,10 +104,6 @@ NativeWindow::NativeWindow(content::WebContents* web_contents,\n }\n \n NativeWindow::~NativeWindow() {\n- // Make sure we have the OnRenderViewDeleted message sent even when the window\n- // is destroyed directly.\n- DestroyWebCon...
2014-07-28T09:34:21
huggingface/transformers
36e2e33bbe0e54df38033755d39bd75c23d45271
8e8025b384f11e786b617304c724d0d28a308552
Fix Qwen3 tp plan with FP8 (#37871) * update for qwen 3 * fix style * rm print
[ { "path": "src/transformers/integrations/finegrained_fp8.py", "patch": "@@ -333,12 +333,8 @@ def forward(self, input: torch.Tensor) -> torch.Tensor:\n return F.linear(input, self.weight, self.bias)\n else:\n # Context manager used to switch among the available cuda devices\n-...
2025-04-30T16:14:10
vercel/next.js
6349db80d6e3c06f1d356584df087212eefa2721
13a3a9c97a76e5d7753c28b34493cf481b2745cf
update turbopack for bugfixes (#44251)
[ { "path": "packages/next-swc/Cargo.lock", "patch": "@@ -123,7 +123,7 @@ dependencies = [\n [[package]]\n name = \"auto-hash-map\"\n version = \"0.1.0\"\n-source = \"git+https://github.com/vercel/turbo.git?rev=d5deacebc4294f1bf4e77fea62a99309bef2c517#d5deacebc4294f1bf4e77fea62a99309bef2c517\"\n+source = \"gi...
2022-12-22T05:08:48
rust-lang/rust
28deaa6e0e7993f963b3bb44bb235c7682ce0cf3
0c33fe2c3d3eecadd17a84b110bb067288a64f1c
Delegate to inner `vec::IntoIter` from `env::ArgsOs` Delegate from `std::env::ArgsOs` to the methods of the inner platform-specific iterators, when it would be more efficient than just using the default methods of its own impl. Most platforms use `vec::IntoIter` as the inner type, so prioritize delegating to the metho...
[ { "path": "library/std/src/env.rs", "patch": "@@ -12,9 +12,11 @@\n \n use crate::error::Error;\n use crate::ffi::{OsStr, OsString};\n+use crate::num::NonZero;\n+use crate::ops::Try;\n use crate::path::{Path, PathBuf};\n use crate::sys::{env as env_imp, os as os_imp};\n-use crate::{fmt, io, sys};\n+use crate...
2025-04-12T13:18:53
golang/go
02beecb3974e9010d2deefaf09266286b0c6f408
a92460fd2f5537bbd91a713ced00731d429563ac
mime: document use of the Shared MIME-Info Database For #44513. Fixes #46013. Change-Id: I382603208aa94b66d5220cf0f418b8528a4e4148 Reviewed-on: https://go-review.googlesource.com/c/go/+/322892 Trust: Damien Neil <dneil@google.com> Run-TryBot: Damien Neil <dneil@google.com> TryBot-Result: Go Bot <gobot@golang.org> Rev...
[ { "path": "doc/go1.17.html", "patch": "@@ -408,7 +408,9 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n <dl id=\"mime\"><dt><a href=\"/pkg/mime/\">mime</a></dt>\n <dd>\n <p><!-- CL 305230 -->\n- TODO: <a href=\"https://golang.org/cl/305230\">https://golang.org/cl/305230</a...
2021-05-26T20:43:15
nodejs/node
97c1fa3d3b98bf1b28cf3362e197ae91093cf68f
1efdc5876dc00495994c806d2eba0638f6a355bf
2018-08-15, Version 10.9.0 (Current) Notable changes: * buffer: * Fix out-of-bounds (OOB) write in `Buffer.write()` for UCS-2 encoding (CVE-2018-12115) * Fix unintentional exposure of uninitialized memory in `Buffer.alloc()` (CVE-2018-7166) * deps: * Upgrade to OpenSSL 1.1.0i, fixing: - Client DoS d...
[ { "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.8.0\">10.8.0</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V10.md#10.9.0\">10.9.0</a></b><br/>\n+<a href=\"doc/changelogs/CHANGELOG_V10.md#10.8.0\"...
2018-08-13T09:02:06
huggingface/transformers
0dffcb09675ae12b163f73a44f74f468f60bccb0
6c5d374d56a635ad8c4352d14bfd365c4bc6093c
Fix: reassign in qwen3 moe model (#37848) * Fix: reassign in qwen3 moe model Fix: reassign in qwen3 moe model * Remove redundant assignment to self.mlp * make fix-copies * Revert unwanted style change * Revert unwanted style change --------- Co-authored-by: li.ding <int.li.ding@enflame-tech.com> Co-authored-by:...
[ { "path": "src/transformers/models/qwen3_moe/modeling_qwen3_moe.py", "patch": "@@ -322,9 +322,6 @@ def __init__(self, config: Qwen3MoeConfig, layer_idx: int):\n super().__init__()\n self.hidden_size = config.hidden_size\n \n- self.self_attn = Qwen3MoeAttention(config, layer_idx)\n- ...
2025-04-30T12:49:59
electron/electron
143bde007a6112ae53ace58be99507b43ef4ab9a
a6ede12cd75f039c496cc086ec1e69cfc6b13944
Always enable harmony when node binding is on. If we dont' do this we would have lots of "Extension or internal compilation error." error, seems to be V8's bug.
[ { "path": "atom/renderer/atom_renderer_client.cc", "patch": "@@ -70,6 +70,10 @@ AtomRendererClient::AtomRendererClient()\n node_integration_ = ALL;\n \n if (IsNodeBindingEnabled()) {\n+ // Always enable harmony when node binding is on.\n+ std::string flags(\"--harmony\");\n+ v8::V8::SetFlagsF...
2014-07-28T09:06:28
vercel/next.js
5b7bf963623b7efd2a1b178c36d46a5e9285fbbd
8e2672a7a92a8585243b22ee26b99db63a2629b9
separate typescript with types from typescript transformed (vercel/turbo#3118) fixes weird typescript errors caused by types being referenced by .ts files
[ { "path": "packages/next-swc/crates/next-core/src/next_client/context.rs", "patch": "@@ -116,6 +116,7 @@ pub async fn get_client_module_options_context(\n // We don't need to resolve React Refresh for each module. Instead,\n // we try resolve it once at the root and pass down a context to al...
2022-12-22T04:27:02
golang/go
39da9ae5130afa58f8b9e4ea609a57d516bd78db
bfd7798a6c756b22d7376db527339b41bf7f7327
go/types: ensure that Named.check is nilled out once it is expanded To support lazy expansion of defined types, *Named holds on to a *Checker field, which can pin the *Checker in memory. This can have meaningful memory implications for applications that keep type information around. Ensure that the Checker field is n...
[ { "path": "src/go/types/decl.go", "patch": "@@ -577,15 +577,37 @@ func (check *Checker) varDecl(obj *Var, lhs []*Var, typ, init ast.Expr) {\n // n0.check != nil, the cycle is reported.\n func (n0 *Named) under() Type {\n \tu := n0.underlying\n-\tif u == nil {\n-\t\treturn Typ[Invalid]\n+\n+\tif u == Typ[Inv...
2021-05-07T02:28:37
huggingface/transformers
4fc976779e9f8b5584c7d1d2634f9bf637afe619
4eb6acc896a4cc76e979f2234f8728250dba4675
Fix qwen2-vl-docs. (#37879) Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
[ { "path": "Makefile", "patch": "@@ -79,7 +79,7 @@ fixup: modified_only_fixup extra_style_checks autogenerate_code repo-consistency\n \n fix-copies:\n \tpython utils/check_copies.py --fix_and_overwrite\n-\tpython utils/check_modular_conversion.py --fix_and_overwrite\n+\tpython utils/check_modular_conversion...
2025-04-30T12:32:21
nodejs/node
1efdc5876dc00495994c806d2eba0638f6a355bf
82ab9b336d90206bc5b64662f3052cd14b606705
2018-08-15, Version 8.11.4 'Carbon' (LTS) This is a security release. All Node.js users should consult the security release summary at: https://nodejs.org/en/blog/vulnerability/august-2018-security-releases/ for details on patched vulnerabilities. Fixes for the following CVEs are included in this release: * CV...
[ { "path": "CHANGELOG.md", "patch": "@@ -44,7 +44,8 @@ release.\n <a href=\"doc/changelogs/CHANGELOG_V10.md#10.0.0\">10.0.0</a><br/>\n </td>\n <td valign=\"top\">\n-<b><a href=\"doc/changelogs/CHANGELOG_V8.md#8.11.3\">8.11.3</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V8.md#8.11.4\">8.11.4</...
2018-08-15T09:15:45
vercel/next.js
7b4d4dd515f3fd6fd26b42c46a4e5a7b4cba5b28
9a3994d63ffc044f4df31a0ff46f6126ac489618
separate typescript with types from typescript transformed (vercel/turbo#3118) fixes weird typescript errors caused by types being referenced by .ts files
[ { "path": "crates/next-core/src/next_client/context.rs", "patch": "@@ -116,6 +116,7 @@ pub async fn get_client_module_options_context(\n // We don't need to resolve React Refresh for each module. Instead,\n // we try resolve it once at the root and pass down a context to all\n // the...
2022-12-22T04:27:02
golang/go
bfd7798a6c756b22d7376db527339b41bf7f7327
e4615ad74d5becdd1fcee4879775a6d4118583c5
runtime,cmd/link/internal/ld: fix typos Change-Id: I558590cef7e2311aadbdcb4088033e350d3aae32 GitHub-Last-Rev: 513944a6238e0e32e2a2c266b70f7d50c9db508d GitHub-Pull-Request: golang/go#46389 Reviewed-on: https://go-review.googlesource.com/c/go/+/322809 Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Ian Lance ...
[ { "path": "src/cmd/link/internal/ld/data.go", "patch": "@@ -1550,7 +1550,7 @@ func (ctxt *Link) dodata(symGroupType []sym.SymKind) {\n \n \tif ctxt.HeadType == objabi.Haix && ctxt.LinkMode == LinkExternal {\n \t\t// These symbols must have the same alignment as their section.\n-\t\t// Otherwize, ld might ch...
2021-05-26T15:41:27
huggingface/transformers
7be92f9a94fa397c7f599c0e91fc586a35edcfe6
455c3a33b08d9bc923c0caa54c66f89351771c2d
fix error for _register_pytree_node in torch2.1.0 and fix bf16 assertion in xpu and npu (#37839) * fix error for _register_pytree_node and bf16 assertion * fix format * update xpu available assert function
[ { "path": "src/transformers/utils/generic.py", "patch": "@@ -352,9 +352,9 @@ def __init_subclass__(cls) -> None:\n serialized_type_name=f\"{cls.__module__}.{cls.__name__}\",\n )\n else:\n- from torch.utils._pytree import register_pytree_node\n+ ...
2025-04-30T12:22:53
nodejs/node
82ab9b336d90206bc5b64662f3052cd14b606705
19246de748ccc529751a78c87ae44066feffd9c0
2018-08-15, Version 6.14.4 'Boron' (LTS) This is a security release. All Node.js users should consult the security release summary at: https://nodejs.org/en/blog/vulnerability/august-2018-security-releases/ for details on patched vulnerabilities. Fixes for the following CVEs are included in this release: * CVE...
[ { "path": "CHANGELOG.md", "patch": "@@ -71,7 +71,8 @@ release.\n <a href=\"doc/changelogs/CHANGELOG_V8.md#8.0.0\">8.0.0</a><br/>\n </td>\n <td valign=\"top\">\n-<b><a href=\"doc/changelogs/CHANGELOG_V6.md#6.14.3\">6.14.3</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V6.md#6.14.4\">6.14.4</a></b...
2018-08-15T09:32:28
vercel/next.js
8e2672a7a92a8585243b22ee26b99db63a2629b9
63c6438a93e99986453fdc6d74b419a4b7c5b430
Misc ContentSource changes (vercel/turbo#3120) - Adds `details` to `SourceMapContentSource` - Fixes `ty` of `SourceMapContentSource` - Adds default `children` trait method that returns empty children
[ { "path": "packages/next-swc/crates/next-core/src/next_image/mod.rs", "patch": "@@ -2,7 +2,7 @@ use std::collections::HashSet;\n \n use anyhow::Result;\n use turbo_tasks::{primitives::StringVc, Value};\n-use turbopack_core::introspect::{Introspectable, IntrospectableChildrenVc, IntrospectableVc};\n+use turb...
2022-12-22T04:15:57
huggingface/transformers
63cd4c76f3a068ac36c37453be156e019c55c1b7
34f26e2c3efcccd80da64015c6434a9bbe408070
Llama Guard updates (#37872) * Unhardcode use_chunked_attention, fix no_rope_layers * Go back to exhaustive list of bools * Conversion and modeling updates * Fix rope * Unhardcode rope * Fix context length * style * Minor updates to conversion * Use StaticCache * Minor simplification * DynamicCache 🤦 * Sty...
[ { "path": "src/transformers/models/llama4/configuration_llama4.py", "patch": "@@ -224,8 +224,13 @@ class Llama4TextConfig(PretrainedConfig):\n Only used with 'llama3'. Scaling factor applied to high frequency components of the RoPE\n <TODO>\n <TODO>\n- no_r...
2025-04-30T08:34:43
golang/go
fd54ae8b0c7ed3ef9869112586069f7cac82cf1e
6c9e1c58bc7661638ee084e40a3b6fc907825496
[dev.typeparams] cmd/compile: adding union support in types1 Add union support in types1, and allow exporting of unions, and importing unions back into types1 and types2. Added new test mincheck.go/mincheck.dir that tests that type lists (type sets) are correctly exported/imported, so that types2 gives correct errors...
[ { "path": "src/cmd/compile/internal/importer/iimport.go", "patch": "@@ -68,6 +68,7 @@ const (\n \tinterfaceType\n \ttypeParamType\n \tinstType\n+\tunionType\n )\n \n const io_SeekCurrent = 1 // io.SeekCurrent (not defined in Go 1.4)\n@@ -660,6 +661,19 @@ func (r *importReader) doType(base *types2.Named) typ...
2021-05-25T03:36:42
electron/electron
a8e879d0c5176bccfcfad52bb8a5867a92e19188
8ff2683ae80b6a4d6ffd12833f5093062ab40f69
mac: Fix blank page after devtools is opened.
[ { "path": "brightray/browser/mac/bry_inspectable_web_contents_view.mm", "patch": "@@ -27,6 +27,9 @@ - (instancetype)initWithInspectableWebContentsViewMac:(InspectableWebContentsVie\n [contentsView setAutoresizingMask:NSViewWidthSizable | NSViewHeightSizable];\n [self addSubview:contentsView];\n \n+ // ...
2014-07-28T04:40:38
nodejs/node
19246de748ccc529751a78c87ae44066feffd9c0
eaa0ad97872ac1becf437c14909afe7a01b77364
test: fix error messages for OpenSSL-1.1.0i After upgradeing OpenSSL-1.1.0i, two tests are failed due to changes of error messages. Ref: https://github.com/openssl/openssl/commit/45ae18b38401a027f231f1408e71b13ff3111021 Ref: https://github.com/openssl/openssl/commit/36d2517a97f6020049116492b4d5491d177e629c PR-URL: ht...
[ { "path": "test/parallel/test-crypto-scrypt.js", "patch": "@@ -95,15 +95,15 @@ const good = [\n const bad = [\n { N: 1, p: 1, r: 1 }, // N < 2\n { N: 3, p: 1, r: 1 }, // Not power of 2.\n- { N: 2 ** 16, p: 1, r: 1 }, // N >= 2**(r*16)\n- { N: 2, p: 2 ** 30, r: 1 }, // p > (2**30-1)...
2018-08-14T15:03:03
vercel/next.js
9a3994d63ffc044f4df31a0ff46f6126ac489618
d923c766c10d5e04e6d11c2626ad303a5758c359
Misc ContentSource changes (vercel/turbo#3120) - Adds `details` to `SourceMapContentSource` - Fixes `ty` of `SourceMapContentSource` - Adds default `children` trait method that returns empty children
[ { "path": "crates/next-core/src/next_image/mod.rs", "patch": "@@ -2,7 +2,7 @@ use std::collections::HashSet;\n \n use anyhow::Result;\n use turbo_tasks::{primitives::StringVc, Value};\n-use turbopack_core::introspect::{Introspectable, IntrospectableChildrenVc, IntrospectableVc};\n+use turbopack_core::intros...
2022-12-22T04:15:57
huggingface/transformers
34f26e2c3efcccd80da64015c6434a9bbe408070
a57274466f7f72efaa2662d1738cdaf28ae8071f
enable internvl UTs on XPU (#37779) * enable internvl UTs on XPU Signed-off-by: YAO Matrix <matrix.yao@intel.com> * fix style Signed-off-by: YAO Matrix <matrix.yao@intel.com> * fix style per comments Signed-off-by: Yao Matrix <matrix.yao@intel.com> --------- Signed-off-by: YAO Matrix <matrix.yao@intel.com> Sign...
[ { "path": "tests/models/internvl/test_modeling_internvl.py", "patch": "@@ -27,11 +27,13 @@\n is_vision_available,\n )\n from transformers.testing_utils import (\n+ Expectations,\n cleanup,\n require_av,\n require_bitsandbytes,\n+ require_deterministic_for_xpu,\n require_torch,\n- ...
2025-04-30T08:29:40
golang/go
ff0164cf736b12740bf5837111e93130da6d612c
60f16d7f19c2787e22bda198b7595035c1702f06
Revert "[dev.fuzz] internal/fuzz: include coverage in logged stats" This reverts commit 54f067812dd870c305daabd22ca190b0f48e672e. Reason for revert: While this is helpful for the engineering team when we're debugging, it might lead to users feeling like the fuzzer is stuck and that there are a lot of edges that are s...
[ { "path": "src/internal/fuzz/fuzz.go", "patch": "@@ -474,18 +474,14 @@ func (c *coordinator) updateStats(result fuzzResult) {\n }\n \n func (c *coordinator) logStats() {\n+\t// TODO(jayconrod,katiehockman): consider printing the amount of coverage\n+\t// that has been reached so far (perhaps a percentage of...
2021-05-25T21:21:16
nodejs/node
45b9f5df6ff1548f01ed646ebee75e3f0873cefd
6090e1f54d8e6e8c4ba18091e19faf46c0b09ece
deps: add s390 asm rules for OpenSSL-1.1.0 This is a floating patch against OpenSSL-1.1.0 to generate asm files with Makefile rules and it is to be submitted to the upstream. Fixes: https://github.com/nodejs/node/issues/4270 PR-URL: https://github.com/nodejs/node/pull/19794 Reviewed-By: James M Snell <jasnell@gmail.c...
[ { "path": "deps/openssl/openssl/crypto/aes/build.info", "patch": "@@ -45,6 +45,9 @@ INCLUDE[aes-armv4.o]=..\n GENERATE[bsaes-armv7.S]=asm/bsaes-armv7.pl $(PERLASM_SCHEME)\n INCLUDE[bsaes-armv7.o]=..\n \n+GENERATE[aes-s390x.S]=asm/aes-s390x.pl $(PERLASM_SCHEME)\n+INCLUDE[aes-s390x.o]=..\n+\n BEGINRAW[Makefil...
2018-03-07T14:52:52
electron/electron
f552dc7ba4091c2f46218010194af04cc102b33e
e52a089ec20f0d05ef65f9c1bc6a641ed5261905
mac: Fix the notification presenter of new API.
[ { "path": "brightray/browser/browser_client.cc", "patch": "@@ -70,7 +70,7 @@ void BrowserClient::ShowDesktopNotification(\n content::DesktopNotificationDelegate* delegate,\n base::Closure* cancel_callback) {\n auto presenter = notification_presenter();\n- if (!presenter)\n+ if (presenter)\n ...
2014-07-28T03:52:26
huggingface/transformers
481de7204c6e065616d4f848ea7f69a2287727df
5f8d17268ced2ca5f51b0216782356b16be0d6f4
Skip is_flaky tests in the CI (#37723) * No more red flaky tests in the CI! * Remove the CircleCI logic as well * Revert most changes including is_flaky behaviour * make fixup * Move to a more sensible place * Mark a flaky test that failed on this PR! * correct import * update * update * update * update ---...
[ { "path": ".circleci/create_circleci_config.py", "patch": "@@ -28,6 +28,8 @@\n \"TRANSFORMERS_IS_CI\": True,\n \"PYTEST_TIMEOUT\": 120,\n \"RUN_PIPELINE_TESTS\": False,\n+ # will be adjust in `CircleCIJob.to_dict`.\n+ \"RUN_FLAKY\": True,\n }\n # Disable the use of {\"s\": None} as the out...
2025-04-30T07:52:21
vercel/next.js
152411ca6c7f186240f19375ddb5b44a856f1ff6
e8b238761190f448277c0e50a7847eb4132b1d62
build(cargo): update turbopack (#44241) This PR bumps up turbopack to latest release candidate. Requires https://github.com/vercel/next.js/pull/44223. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see [`contributing.md`](https://gi...
[ { "path": "packages/next-swc/Cargo.lock", "patch": "@@ -123,7 +123,7 @@ dependencies = [\n [[package]]\n name = \"auto-hash-map\"\n version = \"0.1.0\"\n-source = \"git+https://github.com/vercel/turbo.git?rev=e60d88cd25d0ee2a2873151c3311abc32099c26a#e60d88cd25d0ee2a2873151c3311abc32099c26a\"\n+source = \"gi...
2022-12-21T21:26:49