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
electron/electron
ec63cc09db9e741ab4322c30b7f6ac1e2cd0943c
d15bb62f726826803f17e2c5bb3651e2548f33a2
Fix executing npm under cygwin.
[ { "path": "script/bootstrap.py", "patch": "@@ -11,7 +11,7 @@\n SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))\n VENDOR_DIR = os.path.join(SOURCE_ROOT, 'vendor')\n PYTHON_26_URL = 'https://chromium.googlesource.com/chromium/deps/python_26'\n-NPM = 'npm.cmd' if sys.platform == 'win3...
2014-04-29T03:07:02
golang/go
472f519fe26652af2fcef6121e259d7f193b27cf
d75fbac54d34484041a5ecb0b65f298b821cd963
cmd/compile/internal/ssagen: fix misleading comment Fix up a slightly stale comment in the part of ssa generation that zeros ambiguously live variables: with the advent of the register ABI, the ir.Func "Dcl" slice is no longer entirely sorted by frame offset, although this is still the case for the local vars in Dcl. ...
[ { "path": "src/cmd/compile/internal/ssagen/ssa.go", "patch": "@@ -7148,7 +7148,8 @@ func defframe(s *State, e *ssafn, f *ssa.Func) {\n \t// keep track of which helper registers have been zeroed.\n \tvar state uint32\n \n-\t// Iterate through declarations. They are sorted in decreasing Xoffset order.\n+\t// ...
2021-05-03T13:32:22
nodejs/node
1f1675817c6ed7965f3e5af173ce9f736d3cced0
3898abc55cfebe3073296eb599209fbc63aa7abf
test: check option start or end is not safe integer To increase fs readstream coverage, added test to check error when option.start or end is not safe integer. PR-URL: https://github.com/nodejs/node/pull/21704 Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: Claudio Rodriguez <cjrodr@ya...
[ { "path": "test/parallel/test-fs-read-stream-throw-type-error.js", "patch": "@@ -65,3 +65,12 @@ fs.createReadStream(example, { start: 1, end: 5 });\n \n // Case 6: Should throw RangeError if start is greater than end\n createReadStreamErr(example, { start: 5, end: 1 }, rangeError);\n+\n+// Case 7: Should th...
2018-07-07T23:13:38
vercel/next.js
5fb243d2ad412f50da31b3436a03b8a4bd3342f8
48290c6a0513ab512bb293b72eb5f06ffdd0bb6a
examples(with-turbopack): Fix styling page default active stylingNav (#42739) <!-- 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 m...
[ { "path": "examples/with-turbopack/app/styling/StylingNav.tsx", "patch": "@@ -31,14 +31,14 @@ const items = [\n ];\n \n const StylingNav = () => {\n- const [selectedLayoutSegments] = useSelectedLayoutSegments();\n+ const [selectedLayoutSegments = ''] = useSelectedLayoutSegments();\n \n return (\n <d...
2022-12-02T04:18:14
huggingface/transformers
ad340908e441246f59462ee4f3450085569e4f8f
2527f71a47b267f2ea7f4afc71a340106dd08809
Fix warning message for PEFT models in text-generation pipeline #36783 (#36887) * add peft model in constant * add test * fix formating * make fixup execute * change code * check by self.task * add test * fixup test code * fix minor typo * fix pipeline test * apply maintainers reqests
[ { "path": "src/transformers/pipelines/base.py", "patch": "@@ -849,6 +849,22 @@ def build_pipeline_init_args(\n supports_binary_output=True,\n )\n \n+SUPPORTED_PEFT_TASKS = {\n+ \"document-question-answering\": [\"PeftModelForQuestionAnswering\"],\n+ \"feature-extraction\": [\"PeftModelForFeatureEx...
2025-04-09T14:36:52
electron/electron
739484f1d13c07294813089665c336ebcdc69cc5
a60fa6989abd1080cafc860121885ec210d16771
:lipstick: Fix pylint warning.
[ { "path": "script/update-frameworks.py", "patch": "@@ -7,7 +7,8 @@\n \n \n SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))\n-FRAMEWORKS_URL = 'https://github.com/atom/atom-shell-frameworks/releases/download/v0.0.1'\n+FRAMEWORKS_URL = 'https://github.com/atom/atom-shell-frameworks/r...
2014-04-29T02:00:57
golang/go
d75fbac54d34484041a5ecb0b65f298b821cd963
7b768d43d0f0e3e734369496bb1caa409d4bd0bb
cmd/compile: add edge from lock rank edge from forceGC to traceStackTab This edge can happen when forcegchelper() calls goparkunlock(&forcegc.lock, ...) while holding the forcegc lock. goparkunlock() eventually calls park_m(). In park_m(), traceGoPark() (which leads to (*traceStackTable).put() and acquires the traceS...
[ { "path": "src/runtime/lockrank.go", "patch": "@@ -217,7 +217,7 @@ var lockPartialOrder [][]lockRank = [][]lockRank{\n \tlockRankGcBitsArenas: {lockRankSysmon, lockRankScavenge, lockRankAssistQueue, lockRankCpuprof, lockRankSched, lockRankAllg, lockRankTimers, lockRankItab, lockRankReflectOffs, lockRankHch...
2021-05-01T20:57:00
nodejs/node
98117a84d9e98246c48d2b61d08f02ce575545ee
f386c7e41c955a175fe338e697a4df5921b4cfad
doc: fix module.children description Updates the module.children description in the docs to match current functionality in that it will only contain the modules required for the first time by this module. Fixes: https://github.com/nodejs/node/issues/9371 PR-URL: https://github.com/nodejs/node/pull/21672 Reviewed-By:...
[ { "path": "doc/api/modules.md", "patch": "@@ -693,7 +693,7 @@ added: v0.1.16\n \n * {module[]}\n \n-The module objects required by this one.\n+The module objects required for the first time by this one.\n \n ### module.exports\n <!-- YAML", "additions": 1, "deletions": 1, "language": "Markdown" ...
2018-07-05T16:52:53
huggingface/transformers
7ae0be722edf891f7686fc79d1d8cb12ccc44bc4
e3eda6d18864045c2e8a1884914dbeda4998acbe
update deepspeed docker (#37371) * update * create docker image * 03 * uninstall pytest as it conflits with transformers * wrong one * better * see which package depends on pytest * up * resintall * fix * deepspeedddddddd * deepspeedddddddd * deepspeedddddddd * deepspeedddddddd * deepspeedddddddd * deep...
[ { "path": ".github/workflows/build-docker-images.yml", "patch": "@@ -63,14 +63,14 @@ jobs:\n uses: huggingface/hf-workflows/.github/actions/post-slack@main\n with:\n slack_channel: ${{ secrets.CI_SLACK_CHANNEL_DOCKER }}\n- title: 🤗 Results of the transformers-all-latest-g...
2025-04-09T12:54:06
vercel/next.js
48290c6a0513ab512bb293b72eb5f06ffdd0bb6a
57dc7207e60e98f7378d8ca4b8458154b152fd69
Update react next tag (#43617) Fixes #43033 Also remove the unsued react-dom files: bundles for bun, and react-dom-test-utils x-ref: https://github.com/facebook/react/pull/25713 ## Bug - [x] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attach...
[ { "path": "package.json", "patch": "@@ -180,11 +180,11 @@\n \"random-seed\": \"0.3.0\",\n \"react\": \"18.2.0\",\n \"react-17\": \"npm:react@17.0.2\",\n- \"react-builtin\": \"npm:react@18.3.0-next-2655c9354-20221121\",\n+ \"react-builtin\": \"npm:react@18.3.0-next-3ba7add60-20221201\",\n ...
2022-12-02T04:15:54
golang/go
8327d2150f97528dc6a3090ddee99db0e9872212
844e1fc6f1d0dacd92534dba7f8d71f377017742
cmd/compile: add traceback argument info to ABI0 assembly functions For ABI0 assembly functions that have Go declarations, generate traceback argument info and attach it to the assembly functions. So we can print argument in tracebacks if e.g. assembly function panics. Only do this for ABI0 functions, as for ABIInter...
[ { "path": "src/cmd/compile/internal/gc/compile.go", "patch": "@@ -13,10 +13,12 @@ import (\n \t\"cmd/compile/internal/base\"\n \t\"cmd/compile/internal/ir\"\n \t\"cmd/compile/internal/liveness\"\n+\t\"cmd/compile/internal/objw\"\n \t\"cmd/compile/internal/ssagen\"\n \t\"cmd/compile/internal/typecheck\"\n \t...
2021-04-30T23:45:11
electron/electron
f762ce5d065e8af2439d429bd9bab81e00807bb9
6337888a346cd384d052d3842a15167429c09707
:lipstick: Fix pylint warning.
[ { "path": "script/bootstrap.py", "patch": "@@ -2,7 +2,6 @@\n \n import argparse\n import os\n-import subprocess\n import sys\n \n from lib.config import LIBCHROMIUMCONTENT_COMMIT, BASE_URL", "additions": 0, "deletions": 1, "language": "Python" } ]
2014-04-28T03:57:05
nodejs/node
f386c7e41c955a175fe338e697a4df5921b4cfad
1e9c3f868ce9b028353ceab831abaf18a78f86b8
doc: fix HTTP res 'finish' description PR-URL: https://github.com/nodejs/node/pull/21670 Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "doc/api/http.md", "patch": "@@ -1031,8 +1031,6 @@ emitted when the last segment of the response headers and body have been\n handed off to the operating system for transmission over the network. It\n does not imply that the client has received anything yet.\n \n-After this event, no more events w...
2018-07-05T16:24:56
huggingface/transformers
e3eda6d18864045c2e8a1884914dbeda4998acbe
1e6ff5fd5538d81e653d3752284e725a04ff0a26
Add glm4 (#37388) * add changed * Revert "add changed" This reverts commit 0a0166a1fe80556115a49fbf0c2132de0f4f85c9. * update with NEW MODEL class called GLM4 * update * Update glm4.md * Name * style * fix copies * fixup test --------- Co-authored-by: Yuxuan Zhang <2448370773@qq.com>
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -461,6 +461,8 @@\n title: Gemma2\n - local: model_doc/glm\n title: GLM\n+ - local: model_doc/glm4\n+ title: glm4\n - local: model_doc/openai-gpt\n title: GPT\n - local: model_doc/gpt_neo", "additi...
2025-04-09T12:02:04
vercel/next.js
0590988552301583e02bc6125201e33895c73ac8
70d89bc869b6d4035939b790d9f02958fb2adb80
Fix output: standalone test for app directory (#43618) This test was ensuring `app` directory is working correctly with `output: 'standalone'`. Instead of removing config we should conditionally set it for the test. Reverts vercel/next.js#43607 x-ref: https://github.com/vercel/next.js/actions/runs/3594732606/...
[ { "path": "test/e2e/app-dir/app/next.config.js", "patch": "@@ -5,7 +5,6 @@ module.exports = {\n algorithm: 'sha256',\n },\n },\n- // TODO: (wyattjoh) enable once we've resolved issues with app directory and standalone output mode\n // output: 'standalone',\n rewrites: async () => {\n re...
2022-12-02T02:13:54
golang/go
844e1fc6f1d0dacd92534dba7f8d71f377017742
9ed736ac2a99aa2e7ef7d8bed3b01ca8b20a6f80
cmd/compile: make typecheckaste correctly report invalid use of "..." Currently, when "..." argument is passed to non-variadic function, the compiler may skip that check, but continue checking whether the number of arguments matches the function signature. That causes the sanity check which was added in CL 255241 tri...
[ { "path": "src/cmd/compile/internal/typecheck/typecheck.go", "patch": "@@ -1330,6 +1330,9 @@ func typecheckaste(op ir.Op, call ir.Node, isddd bool, tstruct *types.Type, nl i\n \tn1 := tstruct.NumFields()\n \tn2 := len(nl)\n \tif !hasddd(tstruct) {\n+\t\tif isddd {\n+\t\t\tgoto invalidddd\n+\t\t}\n \t\tif n2...
2021-05-02T19:19:10
electron/electron
97f0314589cf8d3e4a0a907cb090f42dacfc19ed
97006bcbc34398ae6d307982a4288f56e6a646f5
Fix printing in specs.
[ { "path": "spec/static/main.js", "patch": "@@ -12,24 +12,24 @@ ipc.on('message', function(event, arg) {\n event.sender.send('message', arg);\n });\n \n-ipc.on('console.log', function(pid, rid, args) {\n+ipc.on('console.log', function(event, args) {\n console.log.apply(console, args);\n });\n \n-ipc.on('...
2014-04-28T03:55:56
nodejs/node
1e9c3f868ce9b028353ceab831abaf18a78f86b8
538acead6670d711ddb71c0b852089b792c996e3
workers: fix invalid exit code in parent upon uncaught exception Now worker.on('exit') reports correct exit code (1) if worker has exited with uncaught exception. Fixes: https://github.com/nodejs/node/issues/21707 PR-URL: https://github.com/nodejs/node/pull/21713 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Yu...
[ { "path": "lib/internal/worker.js", "patch": "@@ -454,6 +454,9 @@ function setupChild(evalScript) {\n debug(`[${threadId}] fatal exception caught = ${caught}`);\n \n if (!caught) {\n+ // set correct code (uncaughtException) for [kOnExit](code) handler\n+ process.exitCode = 1;\n+\n le...
2018-07-08T22:44:27
huggingface/transformers
1e6ff5fd5538d81e653d3752284e725a04ff0a26
6f4058aee3dd2b3b4cba290a008692e399efbd72
fix: llama4 conversion script no_rope_layers (#37359) fix conversion script no_rope_layers `no_rope_layers` should either be a list of NoPE layers or None, such that it is created in the config from the `no_rope_layer_interval` Co-authored-by: Pedro Cuenca <pedro@huggingface.co>
[ { "path": "src/transformers/models/llama4/convert_llama4_weights_to_hf.py", "patch": "@@ -286,7 +286,6 @@ def write_model(\n tie_word_embeddings=False, # Constant set to False\n torch_dtype=torch_dtype,\n for_llm_compressor=_OFFLINE_QUANT_COMPATIBLE,\n- no_rope_layers=no_rope...
2025-04-09T11:02:15
vercel/next.js
4ca12bd5443cb124a97ab803a89b58cf4e8728b9
a45bf8c93bd5b28cf9aa9dcb4a0df06af41a7cac
adding note that edge api routes are not supported with ISR (#43572) ## 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 - [ ] Impl...
[ { "path": "docs/basic-features/data-fetching/incremental-static-regeneration.md", "patch": "@@ -27,6 +27,8 @@ description: 'Learn how to create or update static pages at runtime with Increme\n \n Next.js allows you to create or update static pages _after_ you’ve built your site. Incremental Static Regenerat...
2022-12-01T19:36:18
golang/go
9ed736ac2a99aa2e7ef7d8bed3b01ca8b20a6f80
30674ae91b7fa20b9f68e1e79d8d7cd8ead495cd
cmd/link/internal: fix use of DynlinkingGo with ppc64le trampolines When creating programs with large text sections on ppc64le, trampolines are needed for calls that are too far; however they are not created if the code is generated such that the TOC register r2 is initialized and maintained in the code because then t...
[ { "path": "src/cmd/link/internal/ppc64/asm.go", "patch": "@@ -651,14 +651,24 @@ func archrelocaddr(ldr *loader.Loader, target *ld.Target, syms *ld.ArchSyms, r l\n \treturn int64(o2)<<32 | int64(o1)\n }\n \n+// Determine if the code was compiled so that the TOC register R2 is initialized and maintained\n+fun...
2021-04-29T21:07:25
huggingface/transformers
6f4058aee3dd2b3b4cba290a008692e399efbd72
08e3217bafddc5d11ce0e7369bcfaaabe5501ba5
Update composition flag usage (#36263) * update composition flag usage * remove print * fix tests * actually fix * oh c'mon * now should be fixed right? * fix copies
[ { "path": "src/transformers/cache_utils.py", "patch": "@@ -1195,9 +1195,7 @@ def __init__(\n self.max_cache_len = config.max_position_embeddings if max_cache_len is None else max_cache_len\n \n # Some model define a custom `head_dim` != config.hidden_size // config.num_attention_heads\n- ...
2025-04-09T09:48:49
electron/electron
3ccd90a69004ec3397675453006e49b9a49a1155
97006bcbc34398ae6d307982a4288f56e6a646f5
Install apm from npm, fixes #236.
[ { "path": ".gitmodules", "patch": "@@ -7,9 +7,6 @@\n [submodule \"vendor/depot_tools\"]\n \tpath = vendor/depot_tools\n \turl = https://chromium.googlesource.com/chromium/tools/depot_tools.git\n-[submodule \"vendor/apm\"]\n-\tpath = vendor/apm\n-\turl = https://github.com/atom/apm.git\n [submodule \"vendor/...
2014-04-28T02:05:22
vercel/next.js
a45bf8c93bd5b28cf9aa9dcb4a0df06af41a7cac
07d52ce736a234f1df81ae22e84843778f553e9d
Fix deploy button in with-xata example (#43608) The deploy button of the `with-xata` example is not working properly because we were lacking the integration to configure the env variables. [![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/git/external?repository-url=https://github.com/Sfer...
[ { "path": "examples/with-xata/README.md", "patch": "@@ -14,7 +14,7 @@ With this template you get out-of-the-box:\n \n Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example) or preview live with [StackBlitz](https://stackblitz.com/github/vercel/nex...
2022-12-01T19:34:23
golang/go
30674ae91b7fa20b9f68e1e79d8d7cd8ead495cd
2c9f5a1da823773c436f8b2c119635797d6db2d3
cmd/dist: disable misc/cgo/testsanitizers on ppc64le A while back in this release the sanitizer tests were enabled for ppc64le, where previously they were never run. This uncovered some errors in these tests on ppc64le. One linker fix was made but there are still bugs in how tsan is made to work within the code, espec...
[ { "path": "src/cmd/dist/test.go", "patch": "@@ -749,8 +749,9 @@ func (t *tester) registerTests() {\n \t\tif gohostos == \"linux\" && goarch == \"amd64\" {\n \t\t\tt.registerTest(\"testasan\", \"../misc/cgo/testasan\", \"go\", \"run\", \".\")\n \t\t}\n-\t\tif goos == \"linux\" {\n+\t\tif goos == \"linux\" &&...
2021-04-30T15:21:18
nodejs/node
538acead6670d711ddb71c0b852089b792c996e3
ed715ef8900afa5056ebd5ef995e89eebd4987c2
deps: icu 62.1 bump (Unicode 11, CLDR 33.1) - Full release notes: http://site.icu-project.org/download/62 Fixes: https://github.com/nodejs/node/issues/21452 PR-URL: https://github.com/nodejs/node/pull/21728 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Bradley Farias <bradley.meck@gmail.com> Reviewed-B...
[ { "path": "configure", "patch": "@@ -1185,8 +1185,8 @@ def glob_to_var(dir_base, dir_sub, patch_dir):\n def configure_intl(o):\n icus = [\n {\n- 'url': 'https://ssl.icu-project.org/files/icu4c/61.1/icu4c-61_1-src.zip',\n- 'md5': '780d8524c8a860ed8d8f6fe75cb7ce3f',\n+ 'url': 'https://sou...
2018-07-09T20:46:16
huggingface/transformers
4d0de5f73a0715ac9a63de5fa461af48d3abbb10
c15a7adb283fa984a40558c7fe7bed30ae975cdd
:rotating_light: :rotating_light: Setup -> setupclass conversion (#37282) * More limited setup -> setupclass conversion * make fixup * Trigger tests * Fixup UDOP * Missed a spot * tearDown -> tearDownClass where appropriate * Couple more class fixes * Fixups for UDOP and VisionTextDualEncoder * Ignore errors w...
[ { "path": "tests/models/altclip/test_processor_altclip.py", "patch": "@@ -26,15 +26,16 @@\n class AltClipProcessorTest(ProcessorTesterMixin, unittest.TestCase):\n processor_class = AltCLIPProcessor\n \n- def setUp(self):\n- self.model_id = \"BAAI/AltCLIP\"\n- self.tmpdirname = tempfile....
2025-04-08T16:15:37
electron/electron
97006bcbc34398ae6d307982a4288f56e6a646f5
3584d48dbe36b897511da10e7e445b63f39a115c
Bump the close timeout to 10s. Fixes atom/atom#1838.
[ { "path": "atom/browser/native_window.cc", "patch": "@@ -309,11 +309,11 @@ void NativeWindow::CloseWebContents() {\n content::WebContents* web_contents(GetWebContents());\n \n // Assume the window is not responding if it doesn't cancel the close and is\n- // not closed in 5000ms, in this way we can qui...
2014-04-26T05:15:41
golang/go
bb09f8a29b04b8fe4465d0b5d92f164979ee9213
fadad851a3222867b374e901ede9c4919594837f
time: make time.Time print a valid Go string with %#v Previously calling fmt.Sprintf("%#v", t) on a time.Time value would yield a result like: time.Time{wall:0x0, ext:63724924180, loc:(*time.Location)(nil)} which does not compile when embedded in a Go program, and does not tell you what value is represented at a...
[ { "path": "doc/go1.17.html", "patch": "@@ -205,6 +205,15 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n </p>\n </dl><!-- net/http -->\n \n+<dl id=\"time\"><dt><a href=\"/pkg/time/\">time</a></dt>\n+ <dd>\n+ <p><!-- CL 260858 -->\n+ time.Time now has a <a href=\"/pkg/time/#T...
2021-03-25T19:33:35
huggingface/transformers
c15a7adb283fa984a40558c7fe7bed30ae975cdd
121f91d36c171b67c62320507dfaa460eab7657c
fix(qwen): fix shape error when using tp (#36947) * fix(qwen): fix shape error when using tp * Update modeling_qwen2_vl.py --------- Co-authored-by: shidongxing <shidongxing@pjlab.org.cn> Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>
[ { "path": "src/transformers/models/qwen2_5_vl/modeling_qwen2_5_vl.py", "patch": "@@ -961,7 +961,7 @@ def forward(\n )\n \n attn_output = attn_output.transpose(1, 2).contiguous()\n- attn_output = attn_output.view(bsz, q_len, self.hidden_size)\n+ attn_output = attn_output.view(bs...
2025-04-08T15:47:30
nodejs/node
f54958ef2f6f66213f300f4fd2322e8d8c802e28
094346c95527f11134ddac4d0dc29e18a785bde8
fs: fix fsPromises.lchmod error on non-Mac On non-macOS, fsPromises.lchmod throws AssertionError. Expected behavior is `Error [ERR_METHOD_NOT_IMPLEMENTED]`. `ERR_METHOD_NOT_IMPLEMENTED()` requires argument, but it wasn't set. Fixes `ERR_METHOD_NOT_IMPLEMENTED()` to `ERR_METHOD_NOT_IMPLEMENTED('lchmod()')`. PR-URL: h...
[ { "path": "lib/internal/fs/promises.js", "patch": "@@ -371,7 +371,7 @@ async function chmod(path, mode) {\n \n async function lchmod(path, mode) {\n if (O_SYMLINK === undefined)\n- throw new ERR_METHOD_NOT_IMPLEMENTED();\n+ throw new ERR_METHOD_NOT_IMPLEMENTED('lchmod()');\n \n const fd = await op...
2018-06-21T04:02:54
vercel/next.js
eb93ca6eaa2bb63535864455c58e8d4e9e382f3c
792bcdd2ce817066df6ab611abadae9ebc886ba4
Implement import.meta (vercel/turbo#2816) I chose to have the `import.meta.url` to have the relative project path on disk. Webpack makes it the absolute system path, but that would make the JS output system dependent and I didn't like that. Vite doesn't bundle and uses the browser's behavior, which is the dev server ...
[ { "path": "crates/turbopack-ecmascript/src/errors.rs", "patch": "@@ -13,6 +13,5 @@ pub mod failed_to_analyse {\n pub const NODE_RESOLVE_FROM: &str = \"TP1104\";\n pub const NODE_PROTOBUF_LOADER: &str = \"TP1105\";\n pub const AMD_DEFINE: &str = \"TP1200\";\n- pub const IMPORT_...
2022-12-01T18:55:15
electron/electron
e70d195cde12543d5b36a3cedc375a0b15386724
4135040449bdb61da1d9b25204cca8167b70b239
Fix releasing the wrong renderer view.
[ { "path": "atom/browser/api/atom_api_web_contents.cc", "patch": "@@ -23,10 +23,10 @@ WebContents::WebContents(content::WebContents* web_contents)\n WebContents::~WebContents() {\n }\n \n-void WebContents::RenderViewDeleted(content::RenderViewHost*) {\n+void WebContents::RenderViewDeleted(content::RenderView...
2014-04-25T04:40:04
golang/go
0d32d9e8a8784cf3ef39c471b73e502c51085b6d
352a322a8356ef5f7d9392c401cd9f181a1cf80b
os: document that Windows Symlink to missing target creates file symlink Fixes #39183 Change-Id: Iec4a5a561182ade57dc7dc24247710005d6b9f21 Reviewed-on: https://go-review.googlesource.com/c/go/+/314275 Trust: Ian Lance Taylor <iant@golang.org> Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com> Run-TryBot: Emmanuel Od...
[ { "path": "src/os/file_plan9.go", "patch": "@@ -440,6 +440,8 @@ func Link(oldname, newname string) error {\n }\n \n // Symlink creates newname as a symbolic link to oldname.\n+// On Windows, a symlink to a non-existent oldname creates a file symlink;\n+// if oldname is later created as a directory the symli...
2021-04-27T23:55:04
huggingface/transformers
121f91d36c171b67c62320507dfaa460eab7657c
4321b0648c4d80f8d0e3b02d555521c7e1483f46
prune LM Head for USD (#36695) * initial commit * fix * fix style * set default to prune * add tests * comment * remove prune flag from generate * address Joao's comments * deprecate_kwarg * add doc * fix target_vocab_size * Update src/transformers/generation/candidate_generator.py Co-authored-by: Joao Gan...
[ { "path": "src/transformers/generation/candidate_generator.py", "patch": "@@ -19,7 +19,9 @@\n \n import numpy as np\n import torch\n+import torch.nn as nn\n \n+from ..pytorch_utils import prune_linear_layer\n from ..utils import is_sklearn_available\n \n \n@@ -36,6 +38,8 @@\n from ..tokenization_utils_b...
2025-04-08T15:44:10
nodejs/node
094346c95527f11134ddac4d0dc29e18a785bde8
195480a8bc3a7ffca675210b260086f979e8f4de
doc: fix http2stream.pushStream error doc The old error code `ERR_HTTP2_STREAM_CLOSED` was removed in commit 0babd181a0c5d775e62a12b3b04fe4d7654fe80a (pull request #17406), and the testcase for http2stream.pushStream was changed accordingly, but the documentation change was overlooked. This commit fixes it and aligns...
[ { "path": "doc/api/http2.md", "patch": "@@ -3143,7 +3143,7 @@ added: v8.4.0\n Call [`http2stream.pushStream()`][] with the given headers, and wraps the\n given newly created [`Http2Stream`] on `Http2ServerResponse`.\n \n-The callback will be called with an error with code `ERR_HTTP2_STREAM_CLOSED`\n+The cal...
2018-06-23T11:48:54
vercel/next.js
2906b51f1257669086908160c4034d5e4436ced1
b2df2cff26c6baf5091908d74a400d05097a4255
chore: fix issue labeler (#43606)
[ { "path": ".github/workflows/issue_labeler.yml", "patch": "@@ -8,7 +8,8 @@ on:\n \n jobs:\n triage:\n- if: '${{ github.event.label.name == \"template: bug\" }}'\n+ if: |\n+ ${{ github.event.label.name == 'template: bug' }}\n name: Triage\n runs-on: ubuntu-latest\n steps:", "addi...
2022-12-01T15:09:33
huggingface/transformers
aab087832724849463cf5b28a40a82ea97777b14
35f0f5b5daea433ed2587aa9f72781a8de0c4448
Skip non-selected experts for mixtral and qwen2_moe (#32429) * Skip non-selected experts for mixtral and qwen2_moe * Fix: tensor tolist() * WIP: tokenization test * fix modular source of truth * nits --------- Co-authored-by: Arthur Zucker <arthur.zucker@gmail.com> Co-authored-by: Arthur <48595927+ArthurZucker@u...
[ { "path": "src/transformers/models/mixtral/modeling_mixtral.py", "patch": "@@ -135,11 +135,10 @@ def forward(self, hidden_states: torch.Tensor) -> torch.Tensor:\n # this will be used to easily index which expert is going to be sollicitated\n expert_mask = torch.nn.functional.one_hot(selected...
2025-04-08T15:41:28
golang/go
352a322a8356ef5f7d9392c401cd9f181a1cf80b
053fe2f485fa1fd191f079cdc4a32f33761e38e4
path/filepath: fix documentation typo (was "each each") Change-Id: I8dcf6c4489e16e91b8685c31569297cfeb700f9d GitHub-Last-Rev: f6b40e029874230789a7ae2b750a42a355ae42cf GitHub-Pull-Request: golang/go#45905 Reviewed-on: https://go-review.googlesource.com/c/go/+/316009 Reviewed-by: Rob Pike <r@golang.org> Reviewed-by: Kev...
[ { "path": "src/path/filepath/path.go", "patch": "@@ -340,7 +340,7 @@ func Rel(basepath, targpath string) (string, error) {\n // as an error by any function.\n var SkipDir error = fs.SkipDir\n \n-// WalkFunc is the type of the function called by Walk to visit each each\n+// WalkFunc is the type of the functi...
2021-05-01T21:13:38
rust-lang/rust
ee43aa356aa228b5cc8da41622855f4f2c07f8ab
3d488f8e0c953f10852431f4c195e6b24cc6eec7
Fix some pretty printing indents. Indents for `cbox` and `ibox` are 0 or `INDENT_UNIT` (4) except for a couple of places which are `INDENT_UNIT - 1` for no clear reason. This commit changes the three space indents to four spaces.
[ { "path": "compiler/rustc_ast_pretty/src/pprust/state/expr.rs", "patch": "@@ -21,7 +21,7 @@ impl<'a> State<'a> {\n match &_else.kind {\n // Another `else if` block.\n ast::ExprKind::If(i, then, e) => {\n- self.cbox(INDENT_UNIT - 1);\n+ ...
2025-04-25T03:06:03
nodejs/node
d0b00a79d4c159a0947d15e2297c520dfb0e60fc
b70db336707451bfe178ac6162279bb46d4a3e91
test: fix parallel/test-tls-env-extra-ca.js fix args in final assert.strictEqual() call PR-URL: https://github.com/nodejs/node/pull/21647 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gm...
[ { "path": "test/parallel/test-tls-env-extra-ca.js", "patch": "@@ -39,6 +39,7 @@ const server = tls.createServer(options, common.mustCall(function(s) {\n });\n \n fork(__filename, { env }).on('exit', common.mustCall(function(status) {\n- assert.strictEqual(status, 0, 'client did not succeed in connect...
2018-07-04T03:32:54
vercel/next.js
32d4cad89a20c70f5a95578d3553c8d30ff32d5d
235b3c3c08a4198f0d075bd1e6775ee7f4307e84
Support basic next/image loading (vercel/turbo#2481) This implements basic support for serving the images requested by `next/image` and `next/future/image`. The big missing features are: - image width resizing (and thus blurry image placeholders) - image quality encoding - format re-encoding This required a lot more...
[ { "path": "packages/next-swc/crates/next-core/Cargo.toml", "patch": "@@ -10,6 +10,7 @@ bench = false\n \n [dependencies]\n anyhow = \"1.0.47\"\n+indexmap = { workspace = true, features = [\"serde\"] }\n rand = \"0.8.5\"\n serde = \"1.0.136\"\n serde_json = \"1.0.85\"", "additions": 1, "deletions": 0...
2022-12-01T14:25:52
rust-lang/rust
1993def51ec463dd37c91072dd4c8ec34734c5f7
00732c093644a2a45dc3e1aae3183411b5aad3d3
Always error when failed to parse DiscoverProjectMessage
[ { "path": "src/tools/rust-analyzer/crates/rust-analyzer/src/discover.rs", "patch": "@@ -7,7 +7,6 @@ use ide_db::FxHashMap;\n use paths::{AbsPathBuf, Utf8Path, Utf8PathBuf};\n use project_model::ProjectJsonData;\n use serde::{Deserialize, Serialize};\n-use serde_json::Value;\n use tracing::{info_span, span::...
2025-04-25T03:59:39
huggingface/transformers
8064cd9b4fdd797843c2d884c309a3f2a35a5b25
cdfb018d0300fef3b07d9220f3efe9c2a9974662
fix deepspeed job (#37284) Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".github/workflows/self-scheduled.yml", "patch": "@@ -336,6 +336,10 @@ jobs:\n working-directory: ${{ inputs.working-directory-prefix }}/transformers\n run: git fetch && git checkout ${{ github.sha }}\n \n+ # TODO: update the docker image instead\n+ - name: Reinstall some...
2025-04-08T13:19:33
golang/go
053fe2f485fa1fd191f079cdc4a32f33761e38e4
d7473fd9076a978352d3bb29c13464c3c17d46c3
cmd/link: emit better error for duplicated definition Print the packages where the duplicates come from. Change-Id: Ib3dc9aa0a3f5ddd97b03744be6d01d4bfcb33996 Reviewed-on: https://go-review.googlesource.com/c/go/+/315949 Trust: Cherry Zhang <cherryyz@google.com> Run-TryBot: Cherry Zhang <cherryyz@google.com> TryBot-Re...
[ { "path": "src/cmd/link/internal/loader/loader.go", "patch": "@@ -471,14 +471,14 @@ func (st *loadState) addSym(name string, ver int, r *oReader, li uint32, kind in\n \t\t// new symbol overwrites old symbol.\n \t\toldtyp := sym.AbiSymKindToSymKind[objabi.SymKind(oldsym.Type())]\n \t\tif !(oldtyp.IsData() &&...
2021-05-01T00:53:14
nodejs/node
e56fec07225dab2669e3345dcf783a18ca03ed43
65208d038e76cf24ba1afe6768d7b053b3bbf3f3
test: fix test-tls-connect-memleak A loop that generates a long array is resulting in a RangeError. Moving to Array.prototype.fill() along with the ** operator instead of using a loop fixes the issue. PR-URL: https://github.com/nodejs/node/pull/21681 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Shingo...
[ { "path": "test/pummel/test-tls-connect-memleak.js", "patch": "@@ -44,9 +44,7 @@ tls.createServer({\n \n {\n // 2**26 == 64M entries\n- let junk = [0];\n-\n- for (let i = 0; i < 26; ++i) junk = junk.concat(junk);\n+ const junk = new Array(2 ** 26).fill(0);\n \n const options = { rejectUnauthorized: f...
2018-07-06T05:49:55
huggingface/transformers
2da82e432dbc08f9e497b353cdccfee7e84bd6a8
794fde7b1c3d041519fc28ea3e1461b0cfcad4e7
Multiple llama4 fixe (#37353) * update for fixes * more fixes * fuxix dynamic cache? * style * fix both traiining and generating. Eager seems alright * dynamic does not work * fix most cases, use_cache or not, eager or not, no default cache (ex: not training but you want to get cache states) * should be final f...
[ { "path": "src/transformers/cache_utils.py", "patch": "@@ -1857,7 +1857,7 @@ class HybridChunkedCache(Cache):\n \n # TODO (joao): dive deeper into gemma2 and paligemma -- there are reports of speed loss with compilation. Revert\n # ALL changes from the PR that commented the line below when reactivat...
2025-04-08T09:14:49
vercel/next.js
792bcdd2ce817066df6ab611abadae9ebc886ba4
746c96fa65ede8a6aae93e9d860ddee81d5fa2a9
Support basic next/image loading (vercel/turbo#2481) This implements basic support for serving the images requested by `next/image` and `next/future/image`. The big missing features are: - image width resizing (and thus blurry image placeholders) - image quality encoding - format re-encoding This required a lot more...
[ { "path": "crates/next-core/Cargo.toml", "patch": "@@ -10,6 +10,7 @@ bench = false\n \n [dependencies]\n anyhow = \"1.0.47\"\n+indexmap = { workspace = true, features = [\"serde\"] }\n rand = \"0.8.5\"\n serde = \"1.0.136\"\n serde_json = \"1.0.85\"", "additions": 1, "deletions": 0, "language": ...
2022-12-01T14:25:52
golang/go
d7473fd9076a978352d3bb29c13464c3c17d46c3
879db69ce2de814bc3203c39b45617ba51cc5366
cmd/link: mangle ABI name for shared linkage Currently, when ABI wrappers are used, we don't use ABI aliases. One exception is shared linkage. When loading a shared library, if a symbol has only one ABI, and the name is not mangled, we don't know what ABI it is, so we have to use ABI aliases. This CL makes it always ...
[ { "path": "src/cmd/link/internal/ld/lib.go", "patch": "@@ -503,10 +503,8 @@ func (ctxt *Link) loadlib() {\n \tdefault:\n \t\tlog.Fatalf(\"invalid -strictdups flag value %d\", *FlagStrictDups)\n \t}\n-\tif !buildcfg.Experiment.RegabiWrappers || ctxt.linkShared {\n+\tif !buildcfg.Experiment.RegabiWrappers {\n...
2021-04-30T21:21:22
electron/electron
e8bf798b52cee12da68d1168e176e845161c8418
a365e0b032c99dd101a131f98579fccf87c437b9
Fix using an null dictionary.
[ { "path": "atom/browser/api/atom_api_window.cc", "patch": "@@ -355,8 +355,8 @@ bool Window::IsCrashed() {\n }\n \n mate::Dictionary Window::GetDevTools(v8::Isolate* isolate) {\n+ mate::Dictionary dict(mate::Dictionary::CreateEmpty(isolate));\n content::WebContents* web_contents = window_->GetDevToolsWebC...
2014-04-24T03:25:06
nodejs/node
a478259af7671fa2794aa030f7790a9d9772be5e
c18a9d1cb8fe94e39f2826de7edd9c44c9be9ce2
test,util: add missing tests and conditions 1) Add missing unit tests by `ucs-2` in different kinds of cases. 2) Add missing unit tests by `usc-2` in different kinds of cases. 3) Fix a bug:We cannot find `ucs-2` in `case 5`'s `if` condition after `toLowerCase()` PR-URL: https://github.com/nodejs/node/pull/21455 Revie...
[ { "path": "benchmark/util/normalize-encoding.js", "patch": "@@ -4,18 +4,25 @@ const common = require('../common.js');\n const assert = require('assert');\n \n const groupedInputs = {\n- group_common: ['undefined', 'utf8', 'utf-8', 'base64', 'binary', 'latin1'],\n- group_upper: ['UTF-8', 'UTF8', 'UCS2', 'U...
2018-06-22T11:08:58
huggingface/transformers
794fde7b1c3d041519fc28ea3e1461b0cfcad4e7
b54c2f46891149210dbbe118fca55b1357a47003
Fixing flex attention for torch=2.6.0 (#37285) * adding compile kwarg for torch 2.6 * fixing dynamic * addressing comment * typo * Update src/transformers/integrations/flex_attention.py --------- Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>
[ { "path": "src/transformers/integrations/flex_attention.py", "patch": "@@ -31,6 +31,7 @@\n import torch\n \n from ..utils import is_torch_flex_attn_available\n+from ..utils.import_utils import _torch_version\n \n \n if is_torch_flex_attn_available():\n@@ -60,8 +61,16 @@ def __init__(self):\n \"\"\"\...
2025-04-07T21:04:46
vercel/next.js
4ee933db92ba3278cb68f48c96de49d9b8ad306b
fbc98abab31a54dbc2b6c88a064b579a10f34871
chore: add issue labeler (#43599) Follow-up of #43228. This PR adds a new [GitHub Action](https://github.com/github/issue-labeler) that matches the issue's body for the [dropdown list items](https://github.com/vercel/next.js/blame/6cacd5a7c46fb1bb86c536031140da92863ce451/.github/ISSUE_TEMPLATE/1.bug_report.yml#L26-L4...
[ { "path": ".github/ISSUE_TEMPLATE/1.bug_report.yml", "patch": "@@ -23,7 +23,7 @@ body:\n required: true\n - type: dropdown\n attributes:\n- label: Which area of Next.js is affected? (leave empty if unsure)\n+ label: Which area(s) of Next.js are affected? (leave empty if unsure)\n ...
2022-12-01T12:00:42
golang/go
879db69ce2de814bc3203c39b45617ba51cc5366
a9db5a73867f676f2f6a1b8fd2bb61d06b0a10f7
go/types: list errors by default in TestManual This is a port of CL 315729 to go/types, adjusted for the slightly different test set-up in go/types. Added a TODO to reconcile these differences. Change-Id: I71cae712d8fc23b7311ce35e09168b258e07fa35 Reviewed-on: https://go-review.googlesource.com/c/go/+/315850 Trust: R...
[ { "path": "src/go/types/check_test.go", "patch": "@@ -45,9 +45,9 @@ import (\n )\n \n var (\n-\thaltOnError = flag.Bool(\"halt\", false, \"halt on error\")\n-\tlistErrors = flag.Bool(\"errlist\", false, \"list errors\")\n-\tgoVersion = flag.String(\"lang\", \"\", \"Go language version (e.g. \\\"go1.12\\\...
2021-04-30T19:38:11
electron/electron
d67295888da67e4dac7a0ef0b36c2fc313b596cf
3d267fc7437b64d5e5c6e1024363f8bae3019c38
:lipstick: Fix cpplint warning.
[ { "path": "atom/common/native_mate_converters/gurl_converter.h", "patch": "@@ -5,6 +5,8 @@\n #ifndef ATOM_COMMON_NATIVE_MATE_CONVERTERS_GURL_CONVERTER_H_\n #define ATOM_COMMON_NATIVE_MATE_CONVERTERS_GURL_CONVERTER_H_\n \n+#include <string>\n+\n #include \"native_mate/converter.h\"\n #include \"url/gurl.h\"\...
2014-04-23T06:17:13
nodejs/node
c18a9d1cb8fe94e39f2826de7edd9c44c9be9ce2
01eee530e3a8dc7cabdb5a6870ba6fe2367ec581
doc: fix structure and formatting in inspector.md 1. Reorder some sections alphabetically. 2. Fix some heading levels. 3. Express a type of a property more formally. PR-URL: https://github.com/nodejs/node/pull/21709 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com> Reviewed-...
[ { "path": "doc/api/inspector.md", "patch": "@@ -12,6 +12,21 @@ It can be accessed using:\n const inspector = require('inspector');\n ```\n \n+## inspector.close()\n+\n+Deactivate the inspector. Blocks until there are no active connections.\n+\n+## inspector.console\n+\n+* {Object} An object to send messages...
2018-07-08T13:58:40
rust-lang/rust
fc12b5b6d8f5ed80ba07e2a43b3a08b07d8482d3
aeb6ac9a0b259f2667240e1e59611a3ca2e056a2
fix-issue-14665
[ { "path": "clippy_lints/src/manual_div_ceil.rs", "patch": "@@ -1,7 +1,7 @@\n use clippy_config::Conf;\n use clippy_utils::diagnostics::span_lint_and_sugg;\n use clippy_utils::msrvs::{self, Msrv};\n-use clippy_utils::source::snippet_with_applicability;\n+use clippy_utils::source::snippet_with_context;\n use ...
2025-04-22T10:44:11
huggingface/transformers
b54c2f46891149210dbbe118fca55b1357a47003
754a370bca8f2733c36deacf92f5709310477016
more fixes for post-training llama4 (#37329) * more fixes for post-training llama4 * use target_length instead of guearded past_key_values
[ { "path": "src/transformers/models/llama4/modeling_llama4.py", "patch": "@@ -730,6 +730,7 @@ def forward(\n )\n return output if return_dict else output.to_tuple()\n \n+ @torch.compiler.disable # the operations in this method are not compilable\n def _update_causal_mask(\n se...
2025-04-07T19:20:23
vercel/next.js
b2dd167eaa65afe52c5bdb6d94cc530055e7649e
1c89da60f0f13b57c1f37c32dd9bd6ccee77990e
Minimized runtime errors in app dir (#43511) Currently when there's a runtime error - the error overlay opens up in full screen mode. In app it should open in the minimized state. Build errors will still have to open up in full screen since the app will not be runnable due to it being broken. Before ![image...
[ { "path": "packages/next/client/components/react-dev-overlay/hot-reloader-client.tsx", "patch": "@@ -106,6 +106,7 @@ function performFullReload(err: any, sendMessage: any) {\n JSON.stringify({\n event: 'client-full-reload',\n stackTrace,\n+ hadRuntimeError: !!RuntimeErrorHandler.hadRunt...
2022-12-01T04:37:48
golang/go
ffc38d8ab47753643687a99c66cecd8e044b5c70
8e91458b19b19584f2026c227265a02724700a55
go/types: slice-to-array-pointer conversion requires go1.17 This is a port of CL 315169 to go/types. It uses a slightly different mechanism for evaluating the convertibility error message, to be consistent with operand.assignableTo. Change-Id: Iea2e2a9fbb4cf17d472b2b7392786118e079528a Reviewed-on: https://go-review.g...
[ { "path": "src/go/types/api.go", "patch": "@@ -406,7 +406,7 @@ func AssignableTo(V, T Type) bool {\n // ConvertibleTo reports whether a value of type V is convertible to a value of type T.\n func ConvertibleTo(V, T Type) bool {\n \tx := operand{mode: value, typ: V}\n-\treturn x.convertibleTo(nil, T) // chec...
2021-04-30T18:49:40
huggingface/transformers
e2b0224d9489f92b7e4e2d898a53e209d977494c
6cc109c354ec9e9e306a3e7e5a212a8c86030c17
Update Model Card for Jamba (#37152) * Update model card for jamba * Apply the suggestions from code review Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com> * Apply suggestions from code review-2 Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com> * update model page. *...
[ { "path": "docs/source/en/model_doc/jamba.md", "patch": "@@ -14,96 +14,126 @@ rendered properly in your Markdown viewer.\n \n -->\n \n+<div style=\"float: right;\">\n+ <div class=\"flex flex-wrap space-x-1\">\n+ <img alt=\"PyTorch\" src=\"https://img.shields.io/badge/PyTorch-DE3412?style=flat&logo=pytor...
2025-04-07T18:02:59
electron/electron
0c9aea3308156b0edca93109aa0190d454893d46
297ccbbe58b2fe3c65a9742edce26a7bb3744e04
Fix compilation under Linux.
[ { "path": "atom/browser/api/atom_api_menu_gtk.cc", "patch": "@@ -22,7 +22,7 @@ void MenuGtk::Popup(Window* window) {\n uint32_t triggering_event_time;\n gfx::Point point;\n \n- BrowserWindow* native_window = window->window();\n+ NativeWindow* native_window = window->window();\n GdkEventButton* event...
2014-04-23T04:45:48
nodejs/node
01eee530e3a8dc7cabdb5a6870ba6fe2367ec581
b794d370d031e9d3b46a191c1c6c06f9d4a69d16
doc: remove _Node.js style callback_ We refer to them only as _error-first callbacks_ in our docs. We don't call them _Node.js style callbacks_ so let's take this opporutnity to keep things a bit more concise PR-URL: https://github.com/nodejs/node/pull/21701 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Revie...
[ { "path": "doc/api/errors.md", "patch": "@@ -127,12 +127,11 @@ exactly how errors raised by those methods are propagated.\n <!--type=misc-->\n \n Most asynchronous methods exposed by the Node.js core API follow an idiomatic\n-pattern referred to as an _error-first callback_ (sometimes referred to as\n-a _No...
2018-07-07T20:53:24
vercel/next.js
1c89da60f0f13b57c1f37c32dd9bd6ccee77990e
30c96271335c313c8d0a8f75537d2188bdaba63e
fix: Dynamic Usage Error when using previewData with generateStaticParams and appDir (#43395) fixes #43392 <!-- 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 check...
[ { "path": "packages/next/client/components/headers.ts", "patch": "@@ -16,10 +16,6 @@ export function headers() {\n }\n \n export function previewData() {\n- if (staticGenerationBailout('previewData')) {\n- return {}\n- }\n-\n const requestStore =\n requestAsyncStorage && 'getStore' in requestAsyn...
2022-12-01T04:28:05
huggingface/transformers
6cc109c354ec9e9e306a3e7e5a212a8c86030c17
8bbcdf54096efbbb8de6f1a4e73c6517edf344a8
Improvements in Gemma2 model card (#37076) * Improved Model card for Gemma2 * Made changes in gemma2 as suggested * Made more changes in the doc (adding image, notes, closing hfoptions) * minor fixes --------- Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
[ { "path": "docs/source/en/model_doc/gemma2.md", "patch": "@@ -14,36 +14,133 @@ specific language governing permissions and limitations under the License.\n rendered properly in your Markdown viewer.\n \n -->\n+<div style=\"float: right;\">\n+ <div class=\"flex flex-wrap space-x-1\">\n+ <img alt=\"...
2025-04-07T17:51:26
golang/go
41afd3af42bd8028a1740c30a2b745105b4063d2
d19eece91f7825556eadfef08e7011e22a719ec0
cmd/compile: fix abbrev selection for output params In Cl 302071 we changed the compiler to use a different recipe for selecting the DWARF frame offset for output parameters, to reflect the fact that registerized output params don't have a stack memory location on entry to the function. In the process, however, we swi...
[ { "path": "src/cmd/compile/internal/dwarfgen/dwarf.go", "patch": "@@ -268,23 +268,28 @@ func createSimpleVar(fnsym *obj.LSym, n *ir.Name) *dwarf.Var {\n \tvar abbrev int\n \tvar offs int64\n \n-\tswitch n.Class {\n-\tcase ir.PPARAM, ir.PPARAMOUT:\n-\t\tif !n.IsOutputParamInRegisters() {\n-\t\t\tabbrev = dwa...
2021-04-30T15:15:44
electron/electron
297ccbbe58b2fe3c65a9742edce26a7bb3744e04
babfbe40d2448c6357ae3a8522e3a57dbe567dc5
Update native_mate for fixing crash in GC.
[ { "path": "vendor/native_mate", "patch": "@@ -1 +1 @@\n-Subproject commit 3d219b4be6f37fe99ca2e738eb0ea9d1b152af34\n+Subproject commit f033e23ea3156db611e801af96eabd81d51ba85a", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2014-04-23T04:24:20
nodejs/node
ff958ad0c046294f45c913ad721964980a45e0b8
19795d83833de7489afec583f8773ee9c0452f70
test: fix pummel/test-net-connect-memleak A loop that generates a long array is resulting in a RangeError. Moving to Array.prototype.fill() along with the ** operator instead of using a loop fixes the issue. PR-URL: https://github.com/nodejs/node/pull/21658 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By...
[ { "path": "test/pummel/test-net-connect-memleak.js", "patch": "@@ -37,8 +37,7 @@ let before = 0;\n {\n // 2**26 == 64M entries\n global.gc();\n- let junk = [0];\n- for (let i = 0; i < 26; ++i) junk = junk.concat(junk);\n+ const junk = new Array(2 ** 26).fill(0);\n before = process.memoryUsage().rss...
2018-07-04T16:55:55
rust-lang/rust
d8528c6a310d3ac64f64a8f5af60ad5e2ad4b081
c4b38a596767c9c6275c937cf3a2d4b9612b4875
Some drive-by housecleaning in `rustc_borrowck` This commit picks up a few odd ends discovered during the work on #130227. It adds some documentation and renames a few methods with too generic names to describe what they actually do. It also adds some debug output that was helpful during bug hunting.
[ { "path": "compiler/rustc_borrowck/src/diagnostics/bound_region_errors.rs", "patch": "@@ -49,7 +49,7 @@ impl<'tcx> UniverseInfo<'tcx> {\n UniverseInfo::RelateTys { expected, found }\n }\n \n- pub(crate) fn report_error(\n+ pub(crate) fn report_erroneous_element(\n &self,\n ...
2025-04-24T15:24:31
vercel/next.js
30c96271335c313c8d0a8f75537d2188bdaba63e
1bb05961c1b35888f0ebec4a48ddf1aff3efd007
Update next/link default legacyBehavior (#42623) ## Bug Fixes #42621 - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` Co-authored-by: JJ Kasper <jj@jjsweb.site>
[ { "path": "packages/next/client/link.tsx", "patch": "@@ -375,7 +375,8 @@ const Link = React.forwardRef<HTMLAnchorElement, LinkPropsReal>(\n onClick,\n onMouseEnter: onMouseEnterProp,\n onTouchStart: onTouchStartProp,\n- legacyBehavior = Boolean(process.env.__NEXT_NEW_LINK_BEHAVIOR) !=...
2022-12-01T04:01:29
huggingface/transformers
3a826a45cab1ca84d3e2a5b9212b883bdb4ea74a
5e855095a222d5a2f9a8ef31f765aad2daa10bf1
Update Model card for GPT2 (#37101) * Update Model card for gpt2 * Update link for gpt2 space * fixes docs based on suggestions * Add transformers-cli and quantization example for GPT-2 * Remove resources and flash attention docs and fix typos
[ { "path": "docs/source/en/model_doc/gpt2.md", "patch": "@@ -14,197 +14,97 @@ rendered properly in your Markdown viewer.\n \n -->\n \n-# OpenAI GPT2\n-\n-<div class=\"flex flex-wrap space-x-1\">\n-<a href=\"https://huggingface.co/models?filter=gpt2\">\n-<img alt=\"Models\" src=\"https://img.shields.io/badge/...
2025-04-07T17:15:28
golang/go
d19eece91f7825556eadfef08e7011e22a719ec0
162d4f9c92cb618e8b434e445a842351160fb84d
cmd/compile: handle field padding for register-passed structs When constructing multi-piece DWARF location expressions for struct-typed parameters using the register ABI, make sure that the location expressions generated properly reflect padding between elements (this is required by debuggers). Example: type small...
[ { "path": "src/cmd/compile/internal/abi/abiutils.go", "patch": "@@ -790,3 +790,51 @@ func (state *assignState) assignParamOrReturn(pt *types.Type, n types.Object, is\n \t\treturn state.stackAllocate(pt, n)\n \t}\n }\n+\n+// ComputePadding returns a list of \"post element\" padding values in\n+// the case wh...
2021-04-29T15:47:18
electron/electron
babfbe40d2448c6357ae3a8522e3a57dbe567dc5
f6cca0df48f2578329d7999a9c92c66b78687917
Fix the capturePage method.
[ { "path": "atom/browser/api/atom_api_window.cc", "patch": "@@ -316,7 +316,7 @@ void Window::CapturePage(mate::Arguments* args) {\n gfx::Rect rect;\n base::Callback<void(v8::Handle<v8::Value>)> callback;\n \n- if (!(args->Length() == 1 && args->GetNext(&callback)) ||\n+ if (!(args->Length() == 1 && arg...
2014-04-23T03:39:40
nodejs/node
19795d83833de7489afec583f8773ee9c0452f70
dd023df135207086c86129aa1683ea4688f97f53
inspector: expose original console Adds require('inspector').console, mapping it to the original global.console of V8. This enables applications to send messages to the inspector console programmatically. Fixes: https://github.com/nodejs/node/issues/21651 PR-URL: https://github.com/nodejs/node/pull/21659 Reviewed-By...
[ { "path": "doc/api/inspector.md", "patch": "@@ -28,6 +28,17 @@ started.\n If wait is `true`, will block until a client has connected to the inspect port\n and flow control has been passed to the debugger client.\n \n+### inspector.console\n+\n+An object to send messages to the remote inspector console.\n+\n...
2018-07-04T17:55:12
huggingface/transformers
5e855095a222d5a2f9a8ef31f765aad2daa10bf1
416b5a875d04a0268429f917645e014bb9b5d572
Update falcon mamba card (#37253) * feat: edit falcon mamba card * fix: edit statement on falconmamba arch * Update docs/source/en/model_doc/falcon_mamba.md Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com> * Update docs/source/en/model_doc/falcon_mamba.md Co-authored-by: Steven Liu <5946235...
[ { "path": "docs/source/en/model_doc/falcon_mamba.md", "patch": "@@ -14,95 +14,100 @@ rendered properly in your Markdown viewer.\n \n -->\n \n-# FalconMamba\n-\n-<div class=\"flex flex-wrap space-x-1\">\n-<img alt=\"PyTorch\" src=\"https://img.shields.io/badge/PyTorch-DE3412?style=flat&logo=pytorch&logoColor...
2025-04-07T17:12:44
vercel/next.js
1bb05961c1b35888f0ebec4a48ddf1aff3efd007
f6106d20fb2cf5a3e634111a2b1b9cc00f188daa
Fix "infer pnpm with example" test outside test suite (#43487) Fixes pnpm w/ example being the only test outside the test suite. Before: ```ts describe('create next app', () => { // ... }) it('should infer pnpm as the package manager with example', () => { ... }) ``` After: ```ts describe('create nex...
[ { "path": "test/integration/create-next-app/index.test.ts", "patch": "@@ -606,38 +606,38 @@ describe('create next app', () => {\n projectFilesShouldExist({ cwd, projectName, files })\n })\n })\n-})\n \n-it('should infer pnpm as the package manager with example', async () => {\n- try {\n- awa...
2022-12-01T03:41:08
golang/go
162d4f9c92cb618e8b434e445a842351160fb84d
93200b98c75500b80a2bf7cc31c2a72deff2741c
cmd/compile: regabi support for DWARF location expressions Revise the code that generates DWARF location expressions for input parameters to get it to work properly with the new register ABI when optimization is turned off. The previously implementation assumed stack locations for all input+output parameters when -N ...
[ { "path": "src/cmd/compile/internal/dwarfgen/dwarf.go", "patch": "@@ -138,8 +138,11 @@ func createDwarfVars(fnsym *obj.LSym, complexOK bool, fn *ir.Func, apDecls []*ir\n \tvar vars []*dwarf.Var\n \tvar decls []*ir.Name\n \tvar selected ir.NameSet\n+\n \tif base.Ctxt.Flag_locationlists && base.Ctxt.Flag_opti...
2021-04-27T16:40:43
electron/electron
f3961a8007cf3235e8db1859f108017dd534f050
0eb982a9721d94e32e13c718123ba1408a32ef13
Update brightray to fix crash from BRYInspectableWebContentsView.
[ { "path": "vendor/brightray", "patch": "@@ -1 +1 @@\n-Subproject commit dab731f2329285a63c0c2cff30793a34fde91c39\n+Subproject commit bee8a48dd0db57fa604378d1e879a6a06d10068d", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2014-04-23T03:20:49
nodejs/node
e55bdde92513ecf4915390c772f5ffa5da2c9f5e
3314b3a2f5d9abcf1deee565839f779d26c8672d
doc: fix doc for napi_create_function Merge the two duplicate entries for `napi_create_function()`. Fixes: https://github.com/nodejs/node/issues/21606 PR-URL: https://github.com/nodejs/node/pull/21627/ Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Vs...
[ { "path": "doc/api/n-api.md", "patch": "@@ -1485,40 +1485,6 @@ structure, in most cases using a `TypedArray` will suffice.\n \n For Node.js >=4 `Buffers` are `Uint8Array`s.\n \n-#### napi_create_function\n-<!-- YAML\n-added: v8.0.0\n-napiVersion: 1\n--->\n-```C\n-napi_status napi_create_function(napi_env en...
2018-07-02T22:20:06
huggingface/transformers
f8a16805c5e96410f1fdd37733aa965e727f19d1
48e179857ce4574efec0210a7405eeb6f93b3974
updated model card for Mistral (#37156) * model card for Mistral * Update docs/source/en/model_doc/mistral.md Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com> * Update docs/source/en...
[ { "path": "docs/source/en/model_doc/mistral.md", "patch": "@@ -14,74 +14,55 @@ rendered properly in your Markdown viewer.\n \n -->\n \n-# Mistral\n-\n-<div class=\"flex flex-wrap space-x-1\">\n-<img alt=\"PyTorch\" src=\"https://img.shields.io/badge/PyTorch-DE3412?style=flat&logo=pytorch&logoColor=white\">\...
2025-04-07T17:05:36
vercel/next.js
f6106d20fb2cf5a3e634111a2b1b9cc00f188daa
77738edea8ace901e9f5e0ff12dcf9ea3756d85c
Fix `Failed to copy traced files` for Edge functions and handle its files with middleware-manifest.json (#43326) <!-- 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 che...
[ { "path": "packages/next/build/index.ts", "patch": "@@ -868,11 +868,6 @@ export default async function build(\n )\n \n const manifestPath = path.join(distDir, SERVER_DIRECTORY, PAGES_MANIFEST)\n- const appManifestPath = path.join(\n- distDir,\n- SERVER_DIRECTORY,\n- A...
2022-12-01T03:35:59
golang/go
93200b98c75500b80a2bf7cc31c2a72deff2741c
c23a32284a5a1e45855915a7401ebb715b837d10
bufio: mention ErrFinalToken in SplitFunc documentation It is documented elsewhere in the package documentation but this additional mention of it will hopefully reduce confusion. Fixes #44261 Change-Id: I4e9d8f4564ebb7fbe047c92ee2cdffedb39f2a31 GitHub-Last-Rev: 64b6421503dfb9396e46f94f9805ff7f8bf2b31b GitHub-Pull-Re...
[ { "path": "src/bufio/scan.go", "patch": "@@ -48,7 +48,8 @@ type Scanner struct {\n // and the next token to return to the user, if any, plus an error, if any.\n //\n // Scanning stops if the function returns an error, in which case some of\n-// the input may be discarded.\n+// the input may be discarded. If...
2021-04-30T01:34:44
electron/electron
bccbc5e821aa0f27f0cb826828d879ff5297c000
5037daadfb6027741d075d924c5755651ec84099
Fix parameter detection in capturePage.
[ { "path": "atom/browser/api/atom_api_window.cc", "patch": "@@ -318,10 +318,9 @@ void Window::CapturePage(mate::Arguments* args) {\n gfx::Rect rect;\n base::Callback<void(v8::Handle<v8::Value>)> callback;\n \n- if ((args->Length() == 1 && !args->GetNext(&callback)) ||\n- (args->Length() == 2 && !ar...
2014-04-23T01:09:28
nodejs/node
e7a18c5bf132ff0e3f9ccb702ff7628eaf214865
8476053c132fd9613aab547aba165190f8064254
deps: cherry-pick 477df06 from upstream v8 Original commit message: [API] Expand BigInt API Provide a more complete BigInt API. Bug: v8:7712 Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng Change-Id: Ic8562d616f3125deabdf8b52c7019b191bef0e07 Reviewed-on: chromium-review.googlesou...
[ { "path": "common.gypi", "patch": "@@ -28,7 +28,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.13',\n+ 'v8_embedder_string': '-node.14',\n \n # Enable disassembler for `--print-co...
2018-07-03T22:42:16
huggingface/transformers
22065bd645e0f72774ddca9d40a87f48fe22df11
f789f960c87f7b9606be466fa04d4758d706e0fd
fix derived berts `_init_weights` (#37341) * fix derived berts * more * roformer
[ { "path": "src/transformers/models/albert/modeling_albert.py", "patch": "@@ -579,6 +579,8 @@ def _init_weights(self, module):\n elif isinstance(module, nn.LayerNorm):\n module.bias.data.zero_()\n module.weight.data.fill_(1.0)\n+ elif isinstance(module, AlbertMLMHead):\...
2025-04-07T16:25:07
vercel/next.js
7a7e7d4f933356c1137daca30a865bfa443fc779
b0aa73b4cf23cb77bd492cfed7624d5cfbbd4990
Remove `useState` from `next/image` (#43587) This PR remove `React.useState()` from the `next/image` component. It was only used in the `onError` case and it was causing Safari to become very slow when there were many images on the same page. We were seeing 1s delay blocking the main thread when there were about 35...
[ { "path": "packages/next/client/image.tsx", "patch": "@@ -6,7 +6,6 @@ import React, {\n useCallback,\n useContext,\n useMemo,\n- useState,\n forwardRef,\n } from 'react'\n import Head from '../shared/lib/head'\n@@ -149,8 +148,6 @@ type ImageElementProps = Omit<ImageProps, 'src' | 'alt' | 'loader'> ...
2022-12-01T02:30:02
electron/electron
dd6caba0828ce97ca1e0f111754b9eae6a2a948b
e5176d6a0ac0cec1e162d6b9079746c84d0712ba
Fix cpplint warning.
[ { "path": "atom/browser/api/atom_api_power_monitor.h", "patch": "@@ -28,6 +28,7 @@ class PowerMonitor : public mate::EventEmitter,\n virtual void OnSuspend() OVERRIDE;\n virtual void OnResume() OVERRIDE;\n \n+ private:\n DISALLOW_COPY_AND_ASSIGN(PowerMonitor);\n };\n ", "additions": 1, "deleti...
2014-04-18T09:28:05
golang/go
afa58ddf5a17a3618a24baf161b06cf0e066cb88
83ac59b1a55a4ae728393b445e2d2438f930b767
cmd/compile: revise block/func end sentinels in debug analysis The SSA code for debug variable location analysis (for DWARF) has two special 'sentinel' values that it uses to handshake with the debugInfo.GetPC callback when capturing the PC values of debug variable ranges after prog generatoin: "BlockStart" and "Block...
[ { "path": "src/cmd/compile/internal/ssa/debug.go", "patch": "@@ -152,6 +152,12 @@ var BlockEnd = &Value{\n \tAux: StringToAux(\"BlockEnd\"),\n }\n \n+var FuncEnd = &Value{\n+\tID: -30000,\n+\tOp: OpInvalid,\n+\tAux: StringToAux(\"FuncEnd\"),\n+}\n+\n // RegisterSet is a bitmap of registers, indexed by Reg...
2021-04-28T22:26:54
rust-lang/rust
a29072a67afad6189603652fc30c146e6d9a45ce
7a895bd87a4d3a2229ae3c3b5e725f5dbecc1c13
Add/update GUI test for impl indent fix
[ { "path": "tests/rustdoc-gui/docblock-table-overflow.goml", "patch": "@@ -11,7 +11,7 @@ assert-property: (\".top-doc .docblock table\", {\"scrollWidth\": \"1572\"})\n // Checking it works on other doc blocks as well...\n \n // Logically, the \".docblock\" and the \"<p>\" should have the same scroll width (i...
2025-04-24T10:31:58
nodejs/node
8476053c132fd9613aab547aba165190f8064254
a64b2f2b94c018dcfaf2ddb9adffd6dea5082919
n-api: restrict exports by version * Move `napi_get_uv_event_loop` into the `NAPI_VERSION >= 2` section * Move `napi_open_callback_scope`, `napi_close_callback_scope`, `napi_fatal_exception`, `napi_add_env_cleanup_hook`, and `napi_remove_env_cleanup_hook` into the `NAPI_VERSION >= 3` section * Added a missing `add...
[ { "path": "doc/api/n-api.md", "patch": "@@ -42,6 +42,8 @@ for the N-API C based functions exported by Node.js. These wrappers are not\n part of N-API, nor will they be maintained as part of Node.js. One such\n example is: [node-addon-api](https://github.com/nodejs/node-addon-api).\n \n+## Usage\n+\n In orde...
2017-12-07T23:01:13
huggingface/transformers
f789f960c87f7b9606be466fa04d4758d706e0fd
12bf24d6ae249add2e94559a63fc85785ef96326
Avoid build crashes when torch.version.xpu doesn't exist and fix Llama4 processor tests (#37346) * Avoid build crashes when torch.version.xpu doesn't exist * Trigger tests * Fix image token and skip inappropriate test * Remove ignore_errors=True * Add another skip
[ { "path": "src/transformers/testing_utils.py", "patch": "@@ -202,7 +202,7 @@\n \n IS_ROCM_SYSTEM = torch.version.hip is not None\n IS_CUDA_SYSTEM = torch.version.cuda is not None\n- IS_XPU_SYSTEM = torch.version.xpu is not None\n+ IS_XPU_SYSTEM = getattr(torch.version, \"xpu\", None) is not No...
2025-04-07T16:05:54
vercel/next.js
860390167a7e1c7d559106aecc582d95339e28c0
55e35c5144bdbeeccf1d0fcfb92284b578a31d6a
Clarify that publicRuntimeConfig and serverRuntimeConfig do not work with Output File Tracing (#43443) The **Output File Tracing** page mentioned that `publicRuntimeConfig` and `serverRuntimeConfig` are now legacy and does not work with Output File Tracing (they are _inlined at build-time_ instead of being set at r...
[ { "path": "docs/api-reference/next.config.js/runtime-configuration.md", "patch": "@@ -4,9 +4,9 @@ description: Add client and server runtime configuration to your Next.js app.\n \n # Runtime Configuration\n \n-> Generally you'll want to use [build-time environment variables](/docs/basic-features/environment...
2022-11-30T14:41:07
electron/electron
c25911db0d668120f9bbc2fab50fcd48eee53c72
d9cd50c219abd1a6bf6a2d459b433a49dbbcd79a
Use native_mate to simplify crash_reporter api.
[ { "path": "atom.gyp", "patch": "@@ -144,7 +144,6 @@\n 'atom/common/api/api_messages.h',\n 'atom/common/api/atom_api_clipboard.cc',\n 'atom/common/api/atom_api_crash_reporter.cc',\n- 'atom/common/api/atom_api_crash_reporter.h',\n 'atom/common/api/atom_api_event_emitter.cc',\n ...
2014-04-15T08:02:19
golang/go
83ac59b1a55a4ae728393b445e2d2438f930b767
c3b2b0415666a1b2a3e00583a2f192ad2001f93e
cmd/internal/archive: make error message contain printable characters only Use %q instead of %s to print unchecked bytes. Also strip the "\x00" byte, as "go116ld" reads better than "\x00go116ld". Change-Id: Id3d1f426ea91d53a55b928dac4a68e1333b80158 Reviewed-on: https://go-review.googlesource.com/c/go/+/315750 Trust: ...
[ { "path": "src/cmd/internal/archive/archive.go", "patch": "@@ -109,7 +109,7 @@ var (\n type ErrGoObjOtherVersion struct{ magic []byte }\n \n func (e ErrGoObjOtherVersion) Error() string {\n-\treturn fmt.Sprintf(\"go object of a different version: %s\", e.magic)\n+\treturn fmt.Sprintf(\"go object of a differ...
2021-04-30T17:57:12
rust-lang/rust
7a895bd87a4d3a2229ae3c3b5e725f5dbecc1c13
1feccc1edfbd799bffcb82b3c639cc28531efe5a
Fix indent of impl docs
[ { "path": "src/librustdoc/html/static/css/rustdoc.css", "patch": "@@ -2319,7 +2319,10 @@ details.toggle > summary:not(.hideme)::before {\n \tdoc block while aligning it with the impl block items. */\n .implementors-toggle > .docblock,\n /* We indent trait items as well. */\n-#main-content > .methods > :not(...
2025-04-24T10:06:55
huggingface/transformers
12bf24d6ae249add2e94559a63fc85785ef96326
e7ad0770127c0e23e576681b10216f94c70ee1da
enable 2 llama UT cases on xpu (#37126) * enable tests/models/llama/test_modeling_llama.py::LlamaIntegrationTest::test_model_7b_logits and tests/models/llama/test_modeling_llama.py::LlamaIntegrationTest::test_model_7b_logits_bf16 on xpu Signed-off-by: YAO Matrix <matrix.yao@intel.com> * switch to use Expectations S...
[ { "path": "src/transformers/testing_utils.py", "patch": "@@ -202,9 +202,11 @@\n \n IS_ROCM_SYSTEM = torch.version.hip is not None\n IS_CUDA_SYSTEM = torch.version.cuda is not None\n+ IS_XPU_SYSTEM = torch.version.xpu is not None\n else:\n IS_ROCM_SYSTEM = False\n IS_CUDA_SYSTEM = False\n+...
2025-04-07T14:02:14
nodejs/node
5057dd40a1791898d7b2fed176fe3201cf9d4145
c01601e1fede7d13b590adcef03721f4d3a6b511
fs: support pseudofiles in promises.readFile PR-URL: https://github.com/nodejs/node/pull/21497 Fixes: https://github.com/nodejs/node/issues/21331 Refs: http://pubs.opengroup.org/onlinepubs/9699919799/functions/read.html Refs: https://groups.google.com/forum/#!topic/nodejs-dev/rxZ_RoH1Gn0 Reviewed-By: Gus Caplan <me@gu...
[ { "path": "lib/internal/fs/promises.js", "patch": "@@ -125,6 +125,10 @@ async function writeFileHandle(filehandle, data, options) {\n } while (remaining > 0);\n }\n \n+// Note: This is different from kReadFileBufferLength used for non-promisified\n+// fs.readFile.\n+const kReadFileMaxChunkSize = 16384;\n+...
2018-06-24T05:11:53
vercel/next.js
81aebe953bcd1fafc8196d026f6ea51978cc1fad
faaba0f8ecd12e28967833b86f7d643be917e13c
chore: fix issue verifier
[ { "path": ".github/actions/issue-validator/src/index.mjs", "patch": "@@ -24,9 +24,8 @@ const __dirname =\n * }} Label\n *\n * @typedef {{\n- * labels: Label[]\n * pull_request: any\n- * issue?: {body: string, number: number}\n+ * issue?: {body: string, number: number, labels: Label[]}\n * label: L...
2022-11-30T11:43:18
electron/electron
4a7e3923011d098a170f10d1065248bb35bfbac2
e42433cf9ae7e2863ce3205bf9dace4183212c53
Fix cpplint warning.
[ { "path": "script/cpplint.py", "patch": "@@ -8,8 +8,8 @@\n \n IGNORE_FILES = [\n os.path.join('atom', 'app', 'atom_main.cc'),\n- os.path.join('atom', 'browser', 'atom_application_mac.h'),\n- os.path.join('atom', 'browser', 'atom_application_delegate_mac.h'),\n+ os.path.join('atom', 'browser', 'mac', 'a...
2014-04-15T07:42:46
golang/go
cbff713e68a1378713f1692cbfe13499106de7eb
eb71887b99fa656ed627c9c1d41319b9198979c8
cmd/go: add GODEBUG tokens for debugging lazy module loading GODEBUG=lazymod=log causes the go command to log a stack dump whenever the full module graph is loaded in a lazy module. GODEBUG=lazymod=strict does the same, but also terminates the command with a nonzero exit code. For #36460 Change-Id: Ia5a4c46069044bc...
[ { "path": "src/cmd/go/internal/modload/buildlist.go", "patch": "@@ -11,8 +11,10 @@ import (\n \t\"cmd/go/internal/par\"\n \t\"context\"\n \t\"fmt\"\n+\t\"os\"\n \t\"reflect\"\n \t\"runtime\"\n+\t\"runtime/debug\"\n \t\"strings\"\n \t\"sync\"\n \t\"sync/atomic\"\n@@ -232,12 +234,29 @@ type summaryError struc...
2021-04-30T05:29:57