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
05948d8e4e3fefb757ea8b8aa5160cacd07e0cf4
0028241fb4c19d04066b006bca4f3e0b3b403d90
lib: remove use of Debug.MakeMirror() This paves the way for removing `vm.runInDebugContext()`. Inspection of Map and Set iterators is now done through V8 instrinsics. Fixes: https://github.com/nodejs/node/issues/11875 PR-URL: https://github.com/nodejs/node/pull/13295 Reviewed-By: Anna Henningsen <anna@addaleax.net>...
[ { "path": ".eslintignore", "patch": "@@ -1,3 +1,4 @@\n+lib/internal/v8.js\n lib/internal/v8_prof_polyfill.js\n lib/punycode.js\n test/addons/??_*", "additions": 1, "deletions": 0, "language": "Unknown" }, { "path": "lib/internal/bootstrap_node.js", "patch": "@@ -27,6 +27,7 @@\n /...
2017-11-23T23:13:44
golang/go
36d412f7548d90f4764c780a6f7d7da04bb90a9e
34665c63ff39b83dcc5d3ca6400c19ee737ac988
cmd/go/internal/modload: ensure that modRoot and targetPrefix are initialized in DirImportPath For #37438 Change-Id: I2e1f47d567842ac5504b7b8ed0b3fba6f92d778b Reviewed-on: https://go-review.googlesource.com/c/go/+/266340 Run-TryBot: Bryan C. Mills <bcmills@google.com> Reviewed-by: Jay Conrod <jayconrod@google.com> Re...
[ { "path": "src/cmd/go/internal/modload/load.go", "patch": "@@ -520,9 +520,10 @@ func ImportFromFiles(ctx context.Context, gofiles []string) {\n // DirImportPath returns the effective import path for dir,\n // provided it is within the main module, or else returns \".\".\n func DirImportPath(dir string) stri...
2020-10-29T03:49:54
huggingface/transformers
4c2538b863d8949a98d6b8dc1dea9ed4cf96a5df
cffa2b9c1dd825df1c0e949b99aaef1655c28625
Test loading generation config with safetensor weights (#31550) fix test
[ { "path": "tests/utils/test_modeling_utils.py", "patch": "@@ -1424,20 +1424,15 @@ def test_pretrained_low_mem_new_config(self):\n self.assertEqual(model.__class__.__name__, model_ref.__class__.__name__)\n \n def test_generation_config_is_loaded_with_model(self):\n- # Note: `joaogante/...
2024-07-09T14:22:43
nodejs/node
088bba31a3b0222f263470fc9c95770466d16d86
bd0e36dbc60407f23dab92b57bcc7174ad2889da
Revert "src, tools: add debug symbols for node internals" This reverts commit 446c1ecfdaf99de38082d048626f301109da49c6. Reverted for breaking `make test-v8`. The "find all relevant system headers" logic in `tools/gen-postmortem-metadata.py` needs more work. Also reverts commit e46c3f743dc78ef0a614289a874e1c60c7e964...
[ { "path": "node.gyp", "patch": "@@ -178,7 +178,6 @@\n \n 'dependencies': [\n 'node_js2c#host',\n- 'deps/nghttp2/nghttp2.gyp:nghttp2'\n ],\n \n 'includes': [\n@@ -299,7 +298,6 @@\n # node.gyp is added to the project by default.\n 'common.gypi',\n '<(SH...
2017-11-23T10:39:19
ollama/ollama
63bc884e2503ebefc580c499a82460affe50628b
3f71ba406a6cbacd73b56e09389d416c5f9428c2
types/model: fix parser for empty values
[ { "path": "types/model/file.go", "patch": "@@ -249,10 +249,6 @@ func quote(s string) string {\n }\n \n func unquote(s string) (string, bool) {\n-\tif len(s) == 0 {\n-\t\treturn \"\", false\n-\t}\n-\n \t// TODO: single quotes\n \tif len(s) >= 3 && s[:3] == `\"\"\"` {\n \t\tif len(s) >= 6 && s[len(s)-3:] == `...
2024-05-07T16:59:21
huggingface/transformers
ae9dd02ee1a8627d26be32202202b8081e9855a4
4879ac2b33c00b4418ff8f6e0afd501567b2339e
Fix incorrect accelerator device handling for MPS in `TrainingArguments` (#31812) * Fix wrong acclerator device setup when using MPS * More robust TrainingArguments MPS handling * Update training_args.py * Cleanup
[ { "path": "src/transformers/training_args.py", "patch": "@@ -48,6 +48,7 @@\n is_torch_bf16_cpu_available,\n is_torch_bf16_gpu_available,\n is_torch_mlu_available,\n+ is_torch_mps_available,\n is_torch_neuroncore_available,\n is_torch_npu_available,\n is_torch_tf32_available,\n@@ -...
2024-07-08T11:49:30
ggml-org/llama.cpp
312d870a8988f73f14a46075ad6a1ac1c861fafd
7cadbfce10fc16032cfb576ca4607cd2dd183bf1
common : replace wrap_for_generation with a prefix convenience function and fix gpt-oss (#20912)
[ { "path": "common/chat-auto-parser-generator.cpp", "patch": "@@ -112,8 +112,7 @@ common_peg_arena autoparser::build_parser(const generation_params & inputs) cons\n } else {\n parser = content.build_parser(ctx);\n }\n- parser = wrap_for_generation_prompt(p, parser, inputs, ...
2026-03-24T03:21:47
golang/go
fb184a383e756cb57267590ac290be0d3bb64874
e02ab89eb8994fa6f2dfa2924cdadb097633fcc1
cmd/link: emit include directories in DWARF line table prologue This patch changes the way the linker emits the DWARF line table prologue, specifically the file table. Previously files were left unmodified, and the directory table was empty. For each compilation unit we now scan the unit file table and build up a comm...
[ { "path": "src/cmd/link/internal/ld/dwarf.go", "patch": "@@ -23,6 +23,7 @@ import (\n \t\"cmd/link/internal/sym\"\n \t\"fmt\"\n \t\"log\"\n+\t\"path\"\n \t\"runtime\"\n \t\"sort\"\n \t\"strings\"\n@@ -1173,13 +1174,81 @@ func expandFile(fname string) string {\n \treturn expandGoroot(fname)\n }\n \n-// write...
2020-10-16T13:22:31
nodejs/node
e46c3f743dc78ef0a614289a874e1c60c7e96490
317f596bab62e4c596e73c10c2d8c007b562a904
tools: fix typo in gen-postmortem-metadata.py PR-URL: https://github.com/nodejs/node/pull/17268 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
[ { "path": "tools/gen-postmortem-metadata.py", "patch": "@@ -3,7 +3,7 @@\n #\n # gen-postmortem-metadata.py output_file.cc\n #\n-# Creates debugging symbols to help naviage Node's internals using post-mortem\n+# Creates debugging symbols to help navigate Node's internals using post-mortem\n # debugging tools...
2017-11-23T06:38:11
huggingface/transformers
4879ac2b33c00b4418ff8f6e0afd501567b2339e
ba743700f49608357d4618cdb658feafd3fa66e6
Avoid failure `TFBlipModelTest::test_pipeline_image_to_text` (#31827) * fix * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/efficientnet/test_modeling_efficientnet.py", "patch": "@@ -215,6 +215,12 @@ def test_model_from_pretrained(self):\n def test_pipeline_image_feature_extraction(self):\n super().test_pipeline_image_feature_extraction()\n \n+ @is_pipeline_test\n+ @require_vision\n+ ...
2024-07-08T11:49:21
ggml-org/llama.cpp
7cadbfce10fc16032cfb576ca4607cd2dd183bf1
1fb2290a51f04cc79e7b162713e13ccf351f9de3
hexagon: general DMA and Binary Op fixes for large strides (#20918) * hex-dma: make chained dma the default to handle newer models This also includes some new instrumentation that we can remove later. * hexagon: add uint32 dump helper * hexagon: use single-page VTCM allocation to avoid issues with large gather ops ...
[ { "path": "ggml/src/ggml-hexagon/ggml-hexagon.cpp", "patch": "@@ -461,7 +461,7 @@ static void repack_row_q4x4x2(uint8_t * y, const block_q4_0 * x, int64_t k) {\n d[7] = x[i * 8 + 7].d;\n }\n \n- if (opt_verbose > 1) {\n+ if (opt_verbose > 2) {\n for (int i = 0; i < nb; i++...
2026-03-23T22:33:49
golang/go
a313eec3869c609c0da2402a4cac2d32113d599c
1af388f1c0a3f61903ea55098c135d153aac5ae7
reflect,runtime: use internal ABI for selected ASM routines, attempt 2 [This is a roll-forward of CL 262319, with a fix for some Darwin test failures]. Change the definitions of selected runtime assembly routines from ABI0 (the default) to ABIInternal. The ABIInternal def is intended to indicate that these functions ...
[ { "path": "src/cmd/compile/internal/gc/ssa.go", "patch": "@@ -72,9 +72,9 @@ func initssaconfig() {\n \tdeferproc = sysfunc(\"deferproc\")\n \tdeferprocStack = sysfunc(\"deferprocStack\")\n \tDeferreturn = sysfunc(\"deferreturn\")\n-\tDuffcopy = sysvar(\"duffcopy\") // asm func with special ABI\n...
2020-10-14T12:36:11
nodejs/node
317f596bab62e4c596e73c10c2d8c007b562a904
c2c4dd4c2258c5c68da709bfc304e09b1d84b60c
test: use common.crashOnUnhandledRejection PR-URL: https://github.com/nodejs/node/pull/17233 Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "test/parallel/test-repl-load-multiline.js", "patch": "@@ -4,6 +4,8 @@ const fixtures = require('../common/fixtures');\n const assert = require('assert');\n const repl = require('repl');\n \n+common.crashOnUnhandledRejection();\n+\n const command = `.load ${fixtures.path('repl-load-multiline.js')}...
2017-11-22T08:51:15
ollama/ollama
4d4f75a8a8a349e73dfd85ec0737ad42f5171eb0
3f71ba406a6cbacd73b56e09389d416c5f9428c2
Revert "fix golangci workflow missing gofmt and goimports (#4190)" This reverts commit 04f971c84be907b90edfdd409f84b892a3586705.
[ { "path": ".github/workflows/test.yaml", "patch": "@@ -269,7 +269,7 @@ jobs:\n mkdir -p llm/build/darwin/$ARCH/stub/bin\n touch llm/build/darwin/$ARCH/stub/bin/ollama_llama_server\n if: ${{ startsWith(matrix.os, 'macos-') }}\n- - uses: golangci/golangci-lint-action@v5\n+ ...
2024-05-07T17:35:44
huggingface/transformers
ba743700f49608357d4618cdb658feafd3fa66e6
e5ca9b057cad40d3c47595f7d2c1747c76a83542
transformers.fx.symbolic_trace supports inputs_embeds (#31574) * symbolic trace supports inputs_embeds * fix test? * Update tests/test_modeling_common.py Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com> --------- Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply....
[ { "path": "src/transformers/utils/fx.py", "patch": "@@ -995,6 +995,13 @@ def _generate_dummy_input(\n inputs_dict[input_name] = torch.zeros(\n *shape, model.config.input_feat_per_channel, dtype=torch.float, device=device\n )\n+ elif \"inputs_embeds\" in input_n...
2024-07-08T11:17:28
ggml-org/llama.cpp
1772701f99dd3fc13f5783b282c2361eda8ca47c
39bf0d3c6a95803e0f41aaba069ffbee26721042
opencl: add q6_K gemm and gemv kernels for Adreno (#20089) * opencl: add q6_K noshuffle kernels, initial q6_K gemv, some host code * opencl: add q6_K transpose * opencl: fix cvt kernel name * opencl: add call to q6_K gemv * opencl: fix q6_K scale transpose * opencl: fix loading for gemv q6_K, refactor * opencl: ...
[ { "path": "ggml/src/ggml-opencl/CMakeLists.txt", "patch": "@@ -114,6 +114,8 @@ set(GGML_OPENCL_KERNELS\n gemv_noshuffle_q4_1_f32\n gemm_noshuffle_q4_1_f32\n gemv_noshuffle_general_q8_0_f32\n+ gemv_noshuffle_q6_k_f32\n+ gemm_noshuffle_q6_k_f32\n mul\n neg\n norm", "additions...
2026-03-23T19:44:18
nodejs/node
6b8740774da627ad26eae9bc693db0ef561ad080
01dc6d26dc1313500551fb95ea9ff6503a3ddaea
test: use common.crashOnUnhandledRejection() Add common.crashOnUnhandledRejection to test/parallel/test-microtask-queue-run.js PR-URL: https://github.com/nodejs/node/pull/17232 Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmai...
[ { "path": "test/parallel/test-microtask-queue-run.js", "patch": "@@ -20,9 +20,11 @@\n // USE OR OTHER DEALINGS IN THE SOFTWARE.\n \n 'use strict';\n-require('../common');\n+const common = require('../common');\n const assert = require('assert');\n \n+common.crashOnUnhandledRejection();\n+\n function enqueue...
2017-11-22T08:21:02
huggingface/transformers
e5ca9b057cad40d3c47595f7d2c1747c76a83542
f4711844a37f11fbe77a285b1c00e192d29e2c0e
Fix typos (#31819) * fix typo * fix typo * fix typos * fix typo * fix typos
[ { "path": "docs/source/en/deepspeed.md", "patch": "@@ -16,11 +16,11 @@ rendered properly in your Markdown viewer.\n \n # DeepSpeed\n \n-[DeepSpeed](https://www.deepspeed.ai/) is a PyTorch optimization library that makes distributed training memory-efficient and fast. At it's core is the [Zero Redundancy Opt...
2024-07-08T10:52:47
golang/go
676ad56095c819751ae9f61354cf0fa356e71cb6
2b9b2720b89d493dbf8725d0ae6664ac7835b3af
go/types: reorganize error codes into categories In CL 264179, some reorganization of error codes was deferred in order to minimize diffs between patch-sets. This CL reorganizes the error codes as discussed. It is a pure reordering, with no material changes other than the changing of internal const values. For #4229...
[ { "path": "src/go/types/errorcodes.go", "patch": "@@ -46,14 +46,42 @@ const (\n \t// package name already established by other files.\n \t_MismatchedPkgName\n \n-\t/* initialization */\n+\t// _InvalidPkgUse occurs when a package identifier is used outside of a\n+\t// selector expression.\n+\t//\n+\t// Examp...
2020-10-30T15:35:48
ollama/ollama
04f971c84be907b90edfdd409f84b892a3586705
70edb9bc4d0b4ad9728054cf354f555c2271b43d
fix golangci workflow missing gofmt and goimports (#4190)
[ { "path": ".gitattributes", "patch": "@@ -1 +1,2 @@\n llm/ext_server/* linguist-vendored\n+*.go text eol=lf\n\\ No newline at end of file", "additions": 1, "deletions": 0, "language": "Unknown" }, { "path": ".github/workflows/test.yaml", "patch": "@@ -269,7 +269,7 @@ jobs:\n ...
2024-05-07T16:49:40
nodejs/node
01dc6d26dc1313500551fb95ea9ff6503a3ddaea
6b56be21a4a5985ae71980a0ad3c1897859ec1f9
test: use common.crashOnUnhandledRejection PR-URL: https://github.com/nodejs/node/pull/17229 Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "test/async-hooks/test-promise.js", "patch": "@@ -1,10 +1,13 @@\n 'use strict';\n \n const common = require('../common');\n+\n const assert = require('assert');\n const initHooks = require('./init-hooks');\n const { checkInvocations } = require('./hook-checks');\n \n+common.crashOnUnhandledRejecti...
2017-11-22T08:21:37
huggingface/transformers
a177821b24565b8767e8b0e52a78569caade3040
076e66e479428af1608c9c478e2bf3bf5765adff
Add FA2 and `sdpa` support for SigLIP (#31499) * Rebase to main * Fix attention implementation autoset for tex and vision configs * Fixup * Minor fixes * Fix copies * Fix attention_mask for FA2 * Add eqvivalence tests for siglip * Remove right padding test * Uncomment flaky * Fix import *...
[ { "path": "docs/source/en/model_doc/siglip.md", "patch": "@@ -107,6 +107,88 @@ A list of official Hugging Face and community (indicated by 🌎) resources to h\n \n If you're interested in submitting a resource to be included here, please feel free to open a Pull Request and we'll review it! The resource shou...
2024-07-08T10:10:02
golang/go
2b9b2720b89d493dbf8725d0ae6664ac7835b3af
256d729c0b272021a44f61f47cd2c9c6d9fb1722
spec: split shift examples into groups for 32- and 64-bit ints In the current (pre-CL) version of the spec, the 2nd last shift example appears to be using the array declared in the last example. On a 32-bit platform, that array would have length 0, which would lead to a panic in the 2nd last example. Also, if this cod...
[ { "path": "doc/go_spec.html", "patch": "@@ -1,6 +1,6 @@\n <!--{\n \t\"Title\": \"The Go Programming Language Specification\",\n-\t\"Subtitle\": \"Version of Sep 24, 2020\",\n+\t\"Subtitle\": \"Version of Oct 7, 2020\",\n \t\"Path\": \"/ref/spec\"\n }-->\n \n@@ -3594,23 +3594,33 @@ <h3 id=\"Operators\">Opera...
2020-10-07T18:33:11
ggml-org/llama.cpp
f93c09e2673090b59802f2552848a1cac70598b0
841bc203e2fdd3bcc032277766984bd5a35d7c1d
memory : fix seq_id bounds in llama_memory_recurrent::state_read_meta() (#20887)
[ { "path": "src/llama-memory-recurrent.cpp", "patch": "@@ -928,11 +928,8 @@ bool llama_memory_recurrent::state_read_meta(llama_io_read_i & io, uint32_t cell\n llama_seq_id seq_id;\n io.read_to(&seq_id, sizeof(seq_id));\n \n- // TODO: llama_memory_recurrent shoul...
2026-03-23T12:08:46
ollama/ollama
7c5330413b268ca0023bcc2f62736730cea58d7e
39d9d22ca3d20d9b76d7f767ac846eb995e1669b
note on naming restrictions (#2625) * note on naming restrictions else push would fail with cryptic retrieving manifest Error: file does not exist ==> maybe change that in code too * Update docs/import.md --------- Co-authored-by: C-4-5-3 <154636388+C-4-5-3@users.noreply.github.com> Co-authored-by: Je...
[ { "path": "docs/import.md", "patch": "@@ -136,6 +136,8 @@ Next, copy your model to your username's namespace:\n ollama cp example <your username>/example\n ```\n \n+> Note: model names may only contain lowercase letters, digits, and the characters `.`, `-`, and `_`.\n+\n Then push the model:\n \n ```", ...
2024-05-06T23:03:21
huggingface/transformers
c1cda0ee2c9250352aeaebe0093a4ddab68cb8a6
06fd7972acbc6a5e9cd75b4d482583c060ac2ed0
Fix Seq2SeqTrainer crash when BatchEncoding data is None (#31418) avoiding crash when BatchEncoding data is None
[ { "path": "src/transformers/tokenization_utils_base.py", "patch": "@@ -800,7 +800,7 @@ def to(self, device: Union[str, \"torch.device\"]) -> \"BatchEncoding\":\n # Otherwise it passes the casts down and casts the LongTensor containing the token idxs\n # into a HalfTensor\n if isinsta...
2024-07-08T09:51:23
nodejs/node
6b56be21a4a5985ae71980a0ad3c1897859ec1f9
3f19ecda2ab3b54b1605440ee93f224d663d3fee
test: add common.crashOnHandleRejection PR-URL: https://github.com/nodejs/node/pull/17225 Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "test/parallel/test-net-server-max-connections-close-makes-more-available.js", "patch": "@@ -1,8 +1,9 @@\n 'use strict';\n-require('../common');\n+const common = require('../common');\n const assert = require('assert');\n \n const net = require('net');\n+common.crashOnUnhandledRejection();\n \n //...
2017-11-22T08:19:33
ggml-org/llama.cpp
c44a932cf495dc1cf73020f62acce6233a0a95f3
177c75852a6a6fd6810ce23f50c77e4a60ea6828
webui: fix --webui-config-file settings not applied on load (#20823) * webui: fix --webui-config-file settings not applied on load * chore: update webui build output
[ { "path": "tools/server/webui/src/lib/services/parameter-sync.service.ts", "patch": "@@ -159,6 +159,74 @@ export const SYNCABLE_PARAMETERS: SyncableParameter[] = [\n \t\tserverKey: 'fullHeightCodeBlocks',\n \t\ttype: SyncableParameterType.BOOLEAN,\n \t\tcanSync: true\n+\t},\n+\t{\n+\t\tkey: 'systemMessage',...
2026-03-23T10:25:35
golang/go
733c4af41d2e89d18cfb039e0107336a4c1ec220
f7e26467b4e7ee0bb3219c26e71292ff4aac7da9
go/types: add internal error codes Tools using go/types sometimes need to implement special handling for certain errors produced by the type-checker. They can offer suggested fixes, expand the error position to surrounding syntax, highlight related syntax (for example in the case of a declaration cycle), link to addit...
[ { "path": "src/go/types/api.go", "patch": "@@ -43,6 +43,13 @@ type Error struct {\n \tPos token.Pos // error position\n \tMsg string // error message\n \tSoft bool // if set, error is \"soft\"\n+\n+\t// go116code is a future API, unexported as the set of error codes is large\n+\t// ...
2020-10-19T15:51:17
ggml-org/llama.cpp
cc18f965b6322513c0ae2ae65420067dd873b360
84ffd0c192b120495fd5eb7e922aa7e857304fb2
fix(openvino): explicit memset in buffer_context allocation (#20857) * fix(openvino): explicit memset in buffer_context allocation * minor --------- Co-authored-by: Dan Hoffman <dhoffman@cyket.net> Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
[ { "path": "ggml/src/ggml-openvino/ggml-openvino.cpp", "patch": "@@ -97,6 +97,8 @@ struct ggml_backend_openvino_buffer_context {\n ov_buffer = std::make_shared<ov::intel_gpu::ocl::USMTensor>(std::move(usm_tensor));\n } else {\n data = ggml_aligned_malloc(size);\n+ G...
2026-03-23T06:05:37
nodejs/node
3f19ecda2ab3b54b1605440ee93f224d663d3fee
fbb9eef4c43ecd040e9d83a303dc50c2e252eb9f
test: add crashonUnhandledRejection PR-URL: https://github.com/nodejs/node/pull/17237 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "test/sequential/test-inspector-port-cluster.js", "patch": "@@ -2,6 +2,7 @@\n \n const common = require('../common');\n \n+common.crashOnUnhandledRejection();\n common.skipIfInspectorDisabled();\n \n const assert = require('assert');", "additions": 1, "deletions": 0, "language": "JavaS...
2017-11-22T08:18:36
ollama/ollama
ed740a2504f18663f4cb0b326c1c48fbc54c2cbd
c9f98622b1daba55477dcb330de1739fb2f02ce6
Fix `no slots available` error with concurrent requests (#4160)
[ { "path": "llm/server.go", "patch": "@@ -338,7 +338,7 @@ type ServerStatus int\n \n const ( // iota is reset to 0\n \tServerStatusReady ServerStatus = iota\n-\tServerStatusNoSlotsAvaialble\n+\tServerStatusNoSlotsAvailable\n \tServerStatusLoadingModel\n \tServerStatusNotResponding\n \tServerStatusError\n@@ -...
2024-05-06T21:22:53
huggingface/transformers
06fd7972acbc6a5e9cd75b4d482583c060ac2ed0
1082361a1978d30db5c3932d1ee08914d74d9697
Add ZoeDepth (#30136) * First draft * Add docs * Clean up code * Convert model * Add image processor * Convert Zoe_K * More improvements * Improve variable names and docstrings * Improve variable names * Improve variable names * Replace nn.sequential * More improvements * Convert Zo...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -667,6 +667,8 @@\n title: ViTMSN\n - local: model_doc/yolos\n title: YOLOS\n+ - local: model_doc/zoedepth\n+ title: ZoeDepth\n title: Vision models\n - isExpanded: false\n sections:", "additions": 2, ...
2024-07-08T09:43:33
ggml-org/llama.cpp
ec2b787ebe975cab1fa592c2505a6d3a9e4ff2e7
d3ac030a5d1edfbb7f7150126f6b9e9bf7c00c26
mtmd: Add dynamic high-resolution image preprocessing for InternVL model (#20847) * added support for internvl's dynamic high-resolution (Qianfan-OCR needed) * add min/max dynamic patch to gguf meta * clean up * simplified handling min/max dynamic patch * reuse llava_uhd logic for slice images * provide default v...
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -4273,6 +4273,16 @@ def modify_tensors(self, data_torch: Tensor, name: str, bid: int | None) -> Iter\n \n @ModelBase.register(\"InternVisionModel\")\n class InternVisionModel(MmprojModel):\n+\n+ min_dynamic_tiles: int = 0\n+ max_dynamic_tiles: int = 0\n+...
2026-03-23T00:06:30
rust-lang/rust
a2b9c8d35c69a37c9bdb14f733c0b53935eb8731
a96fa317d78c78a9de996afd317603c6970efc0d
Fix `repr128-dwarf` test
[ { "path": "tests/run-make/repr128-dwarf/rmake.rs", "patch": "@@ -87,14 +87,15 @@ fn main() {\n while let Some((_, entry)) = cursor.next_dfs().unwrap() {\n match entry.tag() {\n gimli::constants::DW_TAG_variant if !is_old_llvm => {\n- let value = match e...
2025-03-09T07:56:41
golang/go
e62adb1c0b8e7ca49eefc70389fbb9f739d6e32c
faa44268116df045813e36c9b57d7309b74f14f6
cmd/compile: fix devirtualization of promoted interface methods A method selector expression can pick out a method or promoted method (represented by ODOTMETH), but it can also pick out an interface method from an embedded interface-typed field (represented by ODOTINTER). In the case that we're picking out an interfa...
[ { "path": "src/cmd/compile/internal/gc/inl.go", "patch": "@@ -1446,19 +1446,27 @@ func devirtualizeCall(call *Node) {\n \tx.Type = typ\n \tx = nodlSym(call.Left.Pos, OXDOT, x, call.Left.Sym)\n \tx = typecheck(x, ctxExpr|ctxCallee)\n-\tif x.Op != ODOTMETH {\n-\t\t// TODO(mdempsky): Figure out how to avoid th...
2020-10-29T20:30:54
nodejs/node
e34ccebd2a76eaad2b250aff91cf31afcec61c37
ab99a890200ea3338c0639f1274fe736ac96c7d7
test: use common.crashOnUnhandledRejection PR-URL: https://github.com/nodejs/node/pull/17221 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "test/async-hooks/test-promise.chain-promise-before-init-hooks.js", "patch": "@@ -4,6 +4,7 @@ const common = require('../common');\n const assert = require('assert');\n const initHooks = require('./init-hooks');\n const { checkInvocations } = require('./hook-checks');\n+common.crashOnUnhandledReje...
2017-11-22T08:17:41
ollama/ollama
0a954e50661f0fa6fc74ab81809ef7d76c6e1d66
aa93423fbf003ad75c56a0a3577244638d24f9c5
Fix stale test logic The model processing was recently changed to be deferred but this test scenario hadn't been adjusted for that change in behavior.
[ { "path": "server/sched_test.go", "patch": "@@ -352,11 +352,9 @@ func TestGetRunner(t *testing.T) {\n \tscenario1c.req.model.ModelPath = \"bad path\"\n \tslog.Info(\"scenario1c\")\n \tsuccessCh1c, errCh1c := s.GetRunner(scenario1c.ctx, scenario1c.req.model, scenario1c.req.opts, scenario1c.req.sessionDuratio...
2024-05-06T21:15:37
ggml-org/llama.cpp
d3ac030a5d1edfbb7f7150126f6b9e9bf7c00c26
49bfddeca18e62fa3d39114a23e9fcbdf8a22388
mtmd : fix LightOnOCR image preprocessing (#20877)
[ { "path": "tools/mtmd/clip.cpp", "patch": "@@ -1161,7 +1161,6 @@ struct clip_model_loader {\n hparams.set_warmup_n_tokens(16*16);\n } break;\n case PROJECTOR_TYPE_PIXTRAL:\n- case PROJECTOR_TYPE_LIGHTONOCR:\n {\n ...
2026-03-23T00:04:14
golang/go
60f42ea61cb7e1de8d54432d8fb9ab028b8a575d
01efc9a3c54f1b8fc772084e3311b6e1ccdfabec
strconv: fix incorrect bit size in ParseComplex; add tests In ParseComplex, the "size" passed to parseFloatPrefix should be 64 for complex128, not 128. It still works because of how parseFloatPrefix is forgiving about the size if it's not 32, but worth fixing anyway. Make ParseComplex and ParseFloat return a bit size...
[ { "path": "src/strconv/atoc.go", "patch": "@@ -40,10 +40,10 @@ func convErr(err error, s string) (syntax, range_ error) {\n // away from the largest floating point number of the given component's size,\n // ParseComplex returns err.Err = ErrRange and c = ±Inf for the respective component.\n func ParseComple...
2020-08-14T10:58:49
nodejs/node
ab99a890200ea3338c0639f1274fe736ac96c7d7
f7c8d2356ee49708e9bd7b99ba83ac5258acc998
test: use common.crashOnUnhandledRejection Deal with crash case for unhandled rejection. PR-URL: https://github.com/nodejs/node/pull/17217 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "test/known_issues/test-inspector-cluster-port-clash.js", "patch": "@@ -23,6 +23,8 @@ if (process.config.variables.v8_enable_inspector === 0) {\n const cluster = require('cluster');\n const net = require('net');\n \n+common.crashOnUnhandleRejection();\n+\n const ports = [process.debugPort];\n cons...
2017-11-22T08:08:51
ggml-org/llama.cpp
bd3f1d9d65113737e795cd6d62eb66f90628663c
23c9182ce872666aff6bd0fc571c3e3b6ae5fd89
CUDA: fix BF16 FA compilation (#20865)
[ { "path": "ggml/src/ggml-cuda/convert.cuh", "patch": "@@ -42,11 +42,15 @@ template<typename dst_t, typename src_t>\n } else if constexpr(std::is_same_v<src_t, float2> && std::is_same_v<dst_t, half2>) {\n return __float22half2_rn(x);\n } else if constexpr(std::is_same_v<src_t, nv_bfloat162> &...
2026-03-22T16:53:33
ollama/ollama
1b0e6c9c0e5d53aa6110530da0befab7c95d1755
dfa2f32ca07dbb6586bf06dd12c82a04c1fee79d
Fix llava models not working after first request (#4164) * fix llava models not working after first request * individual requests only for llava models
[ { "path": "llm/patches/05-clip-fix.diff", "patch": "@@ -0,0 +1,24 @@\n+diff --git a/examples/llava/clip.cpp b/examples/llava/clip.cpp\n+index e3c9bcd4..b43f892d 100644\n+--- a/examples/llava/clip.cpp\n++++ b/examples/llava/clip.cpp\n+@@ -573,14 +573,16 @@ static ggml_cgraph * clip_image_build_graph(clip_ctx...
2024-05-06T03:50:31
golang/go
01efc9a3c54f1b8fc772084e3311b6e1ccdfabec
f588974a521d2626cba2a6ac3219c47eb3004aa1
strings: complete documentation of strings.Reader There is no documentation on a number of methods of the strings.Reader struct, so this change adds documentation referring to the relevant io.* interfaces implemented. This is consistent with pre-existing documentation in this struct. Fixes #40381 Change-Id: I3dec65e...
[ { "path": "src/strings/reader.go", "patch": "@@ -35,6 +35,7 @@ func (r *Reader) Len() int {\n // to any other method.\n func (r *Reader) Size() int64 { return int64(len(r.s)) }\n \n+// Read implements the io.Reader interface.\n func (r *Reader) Read(b []byte) (n int, err error) {\n \tif r.i >= int64(len(r.s...
2020-10-01T19:14:04
ggml-org/llama.cpp
81bc4d3ddcaa1767b60837d73a0c31babb1190cf
f40a80b4f3cd00c4c405c45b7f316f7e77352323
server: fix Host header (#20843) It should include port when it's not default.
[ { "path": "tools/server/server-models.cpp", "patch": "@@ -1181,7 +1181,8 @@ server_http_proxy::server_http_proxy(\n continue;\n }\n if (key == \"Host\" || key == \"host\") {\n- req.set_header(key, host);\n+ bool is_default_port = (scheme ...
2026-03-22T14:29:22
nodejs/node
f7c8d2356ee49708e9bd7b99ba83ac5258acc998
a59ad82a06ac5d0d344eec0e0e6bb063500fb1bf
test: add common.crashOnUnhandledRejection() PR-URL: https://github.com/nodejs/node/pull/17212 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "test/parallel/test-http2-client-promisify-connect.js", "patch": "@@ -1,6 +1,8 @@\n 'use strict';\n \n const common = require('../common');\n+common.crashOnUnhandledRejection();\n+\n if (!common.hasCrypto)\n common.skip('missing crypto');\n const assert = require('assert');", "additions": 2,...
2017-11-22T08:15:18
huggingface/transformers
a8fa6fbbec8955acf954d30e328235dc1e5c4854
a01b033cb45bb5ad77a2aa676367ef764b92e038
Fix Wav2Vec2 Fairseq conversion (weight norm state dict keys) (#31714) * handle new weight norm * fix * fix trailing space
[ { "path": "src/transformers/models/wav2vec2/convert_wav2vec2_original_pytorch_checkpoint_to_pytorch.py", "patch": "@@ -94,8 +94,17 @@ def set_recursively(key, value, full_name, weight_type, hf_pointer):\n hf_param_name = PARAM_MAPPING[full_name.split(\".\")[-1]]\n weight_type = \"par...
2024-07-05T18:26:21
golang/go
38d1ec8c9d09c680065404fe77168fe992e09e82
aa4f48b751dbbfcb82e69d7622e7a9e9b8e48ee0
cmd/internal/obj: use panic instead of log.Fatalf for two messages These messages can happen if there are duplicate body-less function declarations. Using panic gives the panic handler a chance to handle the panic by printing the queued error messages instead of an internal error. And if there are no queued error mes...
[ { "path": "src/cmd/internal/obj/link.go", "patch": "@@ -38,7 +38,6 @@ import (\n \t\"cmd/internal/src\"\n \t\"cmd/internal/sys\"\n \t\"fmt\"\n-\t\"log\"\n \t\"sync\"\n )\n \n@@ -471,7 +470,7 @@ type FuncInfo struct {\n // NewFuncInfo allocates and returns a FuncInfo for LSym.\n func (s *LSym) NewFuncInfo() ...
2020-10-29T17:57:12
ggml-org/llama.cpp
db9d8aa428012cc5593e18635d4c3c54095f5138
ccb87fa3ee1961ec915f77cb447706f471dca6a5
ggml-cuda: native bf16 flash attention for vec kernel (#20525) * ggml-cuda: native bf16 flash attention for vec and tile kernels mma kernel still converts bf16 to fp16 before launch, native mma bf16 todo * ggml-cuda: address code owner review feedback reverted tile kernel changes to avoid larger refactor * fix ci ...
[ { "path": "ggml/src/ggml-cuda/CMakeLists.txt", "patch": "@@ -116,12 +116,11 @@ if (CUDAToolkit_FOUND)\n list(APPEND GGML_SOURCES_CUDA ${SRCS})\n add_compile_definitions(GGML_CUDA_FA_ALL_QUANTS)\n else()\n- file(GLOB SRCS \"template-instances/fattn-vec*q4_0-q4_0.cu\")\n- l...
2026-03-22T10:05:51
huggingface/transformers
a01b033cb45bb5ad77a2aa676367ef764b92e038
ac262604368ea87fdcafdcc1230a8d4f745d03bd
Fix galore lr display with schedulers (#31710) * fix galore lr display with lr schedulers * style * add some tests to check for displayed lrs * copy-paste err for warmup steps * standardize the default lr to be only in the optimizer * trying out my luck with the reads
[ { "path": "src/transformers/optimization.py", "patch": "@@ -519,7 +519,7 @@ def scheduler_hook(param):\n if param.requires_grad:\n param.register_post_accumulate_grad_hook(scheduler_hook)\n \n- return LayerWiseDummyScheduler()\n+ return LayerWiseDummyScheduler(optim...
2024-07-05T17:59:09
nodejs/node
982c67419b062412a7e8a7040cfd34239c6be7b4
b98027ee5f4e906c84e8d92e8d76baeefa60b8cf
doc: add description for inspector-only console methods. Description inspired by dev tools reference and inspector err messages Added: * intro * console.debug() * console.dirxml() * console.markTimeline() * console.profile() * console.profileEnd() * console.table() * console.timeStamp() * console.timeline() * console...
[ { "path": "doc/api/console.md", "patch": "@@ -241,6 +241,10 @@ undefined\n ### console.debug(data[, ...args])\n <!-- YAML\n added: v8.0.0\n+changes:\n+ - version: REPLACEME\n+ pr-url: https://github.com/nodejs/node/pull/17033\n+ description: \"`console.debug` is now an alias for `console.log`.\"\n --...
2017-11-13T23:08:58
golang/go
aa4f48b751dbbfcb82e69d7622e7a9e9b8e48ee0
5cc43c51c9929ce089ce2fc17a0f5631d21cd27d
cmd/compile: gracefully fail when devirtualization fails We should still be able to devirtualize here, but I need to understand the AST better. While I'm doing that, at least switch to a graceful failure case (i.e., skip the optimization and print a warning message) to fix the x/text builders. Updates #42279. Change...
[ { "path": "src/cmd/compile/internal/gc/inl.go", "patch": "@@ -1442,16 +1442,20 @@ func devirtualizeCall(call *Node) {\n \t\treturn\n \t}\n \n-\tif Debug.m != 0 {\n-\t\tWarnl(call.Pos, \"devirtualizing %v to %v\", call.Left, typ)\n-\t}\n-\n \tx := nodl(call.Left.Pos, ODOTTYPE, call.Left.Left, nil)\n \tx.Type...
2020-10-29T19:47:15
ggml-org/llama.cpp
990e4d96980d0b016a2b07049cc9031642fb9903
212f4521b013a3eeb79e15df7ca07a5329d39d4b
common/grammar: fix grammar parsing issues to prevent stack overflow and hangs (#18604) * grammar: add test case for nullable symbol loop Reproduce stack overflow (or OOM) with ( [x]* )* found while adding GBNF support to ripgrep-edit. llama-server reproducer: curl \ -X POST \ -d '{ "messages": [{ "role": "...
[ { "path": "src/llama-grammar.cpp", "patch": "@@ -7,6 +7,7 @@\n #include <cmath>\n #include <algorithm>\n #include <cstdint>\n+#include <set>\n #include <stdexcept>\n \n #define MAX_REPETITION_THRESHOLD 2000\n@@ -454,6 +455,7 @@ const char * llama_grammar_parser::parse_sequence(\n bool ...
2026-03-21T17:43:35
huggingface/transformers
ac262604368ea87fdcafdcc1230a8d4f745d03bd
e786844425b6b1112c76513d66217ce2fe6aea41
Allow FP16 or other precision inference for Pipelines (#31342) * cast image features to model.dtype where needed to support FP16 or other precision in pipelines * Update src/transformers/pipelines/image_feature_extraction.py Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com> * Use .to...
[ { "path": "docs/source/en/main_classes/pipelines.md", "patch": "@@ -270,6 +270,11 @@ This is a simplified view, since the pipeline can handle automatically the batch\n about how many forward passes you inputs are actually going to trigger, you can optimize the `batch_size`\n independently of the inputs. The...
2024-07-05T16:21:50
rust-lang/rust
2391f1038c78ffebfaa7eb765bfd9b71352d3ae6
515be00f0c4395e7df030253c23ebb445f8e3600
fix text - There is more than just target and stage - There is only 3 stages, so don't mention them specially
[ { "path": "src/doc/rustc-dev-guide/src/tests/directives.md", "patch": "@@ -122,8 +122,7 @@ for more details.\n These directives are used to ignore the test in some situations, which\n means the test won't be compiled or run.\n \n-* `ignore-X` where `X` is a target detail or stage will ignore the test\n- ac...
2025-03-08T20:58:09
nodejs/node
0a948b903dfdeb1cc625fb37b2415e454106b86f
8f2c366bb213c0d4487e66384d4a4ecd9b4a45f8
stream: improve the error message of `ERR_INVALID_ARG_TYPE` The `expected` argument of `ERR_INVALID_ARG_TYPE` can be an array, which is better than a single string. PR-URL: https://github.com/nodejs/node/pull/17145 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Revi...
[ { "path": "lib/_stream_readable.js", "patch": "@@ -285,7 +285,7 @@ function chunkInvalid(state, chunk) {\n chunk !== undefined &&\n !state.objectMode) {\n er = new errors.TypeError('ERR_INVALID_ARG_TYPE',\n- 'chunk', 'string/Buffer/Uint8Array');\n+ ...
2017-11-20T09:13:50
ggml-org/llama.cpp
212f4521b013a3eeb79e15df7ca07a5329d39d4b
568aec82d2fc48341c54cae565768ac75072a31d
context : use n_embd_out for pooled embedding extraction (#20840) The MEAN/CLS/LAST pooling paths in encode() and decode() used n_embd_inp() (16384 for qwen3vl with deepstack) to read from the pooled embedding tensor, which only has n_embd_out() (4096) floats per sequence. This caused a tensor read out of bounds asser...
[ { "path": "src/llama-context.cpp", "patch": "@@ -1347,8 +1347,11 @@ int llama_context::encode(const llama_batch & batch_inp) {\n const llama_seq_id seq_id = ubatch.seq_id_unq[s];\n const int32_t seq_idx = ubatch.seq_idx[seq_id];\n \n- ...
2026-03-21T17:35:00
huggingface/transformers
1d3eaa6f7e5decdf6bef2bdff74681e94b01d7ca
15560252713d80980eb9bf9f237e74eaa9061eaf
Add training support for SigLIP (#31495) * Add siglip loss function * Update docs * Enable training tests [experimental] enable GC training tests as it has worked for my own data * Remove test_training* overrides to enable training tests [run_slow] siglip * Skip training tests for Siglip text model and I...
[ { "path": "docs/source/en/model_doc/siglip.md", "patch": "@@ -27,7 +27,7 @@ The abstract from the paper is the following:\n ## Usage tips\n \n - Usage of SigLIP is similar to [CLIP](clip). The main difference is the training loss, which does not require a global view of all the pairwise similarities of imag...
2024-07-05T13:50:39
golang/go
5cc43c51c9929ce089ce2fc17a0f5631d21cd27d
f2c0c2b90200b470c39a2db821b7c707604fe083
cmd/compile: early devirtualization of interface method calls After inlining, add a pass that looks for interface calls where we can statically determine the interface value's concrete type. If such a case is found, insert an explicit type assertion to the concrete type so that escape analysis can see it. Fixes #3316...
[ { "path": "src/cmd/compile/internal/gc/inl.go", "patch": "@@ -1418,3 +1418,56 @@ func pruneUnusedAutos(ll []*Node, vis *hairyVisitor) []*Node {\n \t}\n \treturn s\n }\n+\n+// devirtualize replaces interface method calls within fn with direct\n+// concrete-type method calls where applicable.\n+func devirtual...
2020-10-29T01:49:10
rust-lang/rust
20ed8fb0db145a46e5a5f19e28cc1ba8b8daa6f7
07292ccccde8b64d87036b2f90b70bc54ab68456
Revert "Don't test new error messages with the stage 0 compiler" This reverts commit ae428141f7b99511e327ad28daf988978a376d86.
[ { "path": "tests/ui-fulldeps/hash-stable-is-unstable.rs", "patch": "@@ -1,4 +1,3 @@\n-//@ ignore-stage1 FIXME: this line can be removed once these new error messages are in stage 0 rustc\n //@ compile-flags: -Zdeduplicate-diagnostics=yes\n extern crate rustc_data_structures;\n //~^ use of unstable library f...
2025-03-08T20:45:16
ollama/ollama
42fa9d7f0a6067018feb0d5a4387f3eb39069dc3
b7a87a22b6eb5082b61370e8f8ce1bd42b9f3a25
Fix lint warnings
[ { "path": "convert/safetensors.go", "patch": "@@ -53,7 +53,7 @@ func (m *SafetensorFormat) GetTensors(dirpath string, params *Params) ([]llm.Ten\n \t\tvar err error\n \t\tt, offset, err = m.readTensors(f, offset, params)\n \t\tif err != nil {\n-\t\t\tslog.Error(\"%v\", err)\n+\t\t\tslog.Error(err.Error())\n...
2024-05-03T23:44:19
nodejs/node
a3a987b4b80ec680fd2ffa7ab9f4aae4c3abaab5
96093981deb30ee00eb0a72301cd9a02878bae87
test: use common.crashOnUnhandledRejection() add common.crashOnUnhandledRejectio to test-http2-window-size.js PR-URL: https://github.com/nodejs/node/pull/17227 Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "test/parallel/test-http2-window-size.js", "patch": "@@ -10,6 +10,7 @@ if (!common.hasCrypto)\n common.skip('missing crypto');\n const assert = require('assert');\n const h2 = require('http2');\n+common.crashOnUnhandledRejection();\n \n // Given a list of buffers and an initial window size, have...
2017-11-22T08:50:40
ggml-org/llama.cpp
2bcdddd5e3ade6b1e8c9437a652f9fbcf2ad2512
eac9c6ea83ff2b72ba3b5459a58c44990823f2cf
fix(rpc): prevent division by zero in deserialize_tensor (#20712) rpc : prevent division by zero in deserialize_tensor When receiving an RPC message with a deprecated tensor type (e.g., type 4 or 5 where `blck_size == 0`), `ggml_row_size()` will trigger a division by zero (SIGFPE) and crash the rpc-server. This pat...
[ { "path": "ggml/src/ggml-rpc/ggml-rpc.cpp", "patch": "@@ -1162,12 +1162,18 @@ ggml_tensor * rpc_server::deserialize_tensor(struct ggml_context * ctx, const rp\n return nullptr;\n }\n \n+ // Fix: Prevent division by zero if blck_size is 0 (e.g., deprecated types)\n+ if (ggml_blck_size((enum...
2026-03-21T13:59:43
huggingface/transformers
eef0507f3daca400f3021a25a8a5d399cea45338
9e599d1d944c3e58b9f6ed6681e87cc32256af7c
Fix gemma tests (#31794) * skip 3 7b tests * fix * fix * fix * [run-slow] gemma --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/gemma/test_modeling_gemma.py", "patch": "@@ -542,7 +542,7 @@ def setUpClass(cls):\n \n @require_read_token\n def test_model_2b_fp16(self):\n- model_id = \"google/gemma-2-9b\"\n+ model_id = \"google/gemma-2b\"\n EXPECTED_TEXTS = [\n \"Hello I ...
2024-07-05T08:17:59
rust-lang/rust
ceb040135dedd7de4b3a77d25c5b4f485b6baf9d
bca0ab8d7a7b06406966c7a710e9f4ad61d064fb
Fix suggestion when there are generics, inline some things
[ { "path": "compiler/rustc_hir_analysis/src/hir_ty_lowering/lint.rs", "patch": "@@ -78,13 +78,16 @@ impl<'tcx> dyn HirTyLowerer<'tcx> + '_ {\n }\n \n if self_ty.span.edition().at_least_rust_2021() {\n- let msg = \"expected a type, found a trait\";\n- let label = \"you ca...
2025-03-08T20:20:15
golang/go
f2c0c2b90200b470c39a2db821b7c707604fe083
0b798c46cd6994d246c37d011292b02aa2f37a08
cmd/compile: improve inlining and static analysis When inlining a function call "f()", if "f" contains exactly 1 "return" statement and doesn't name its result parameters, it's inlined to declare+initialize the result value using the AST representation that's compatible with staticValue. Also, extend staticValue to s...
[ { "path": "src/cmd/compile/internal/gc/inl.go", "patch": "@@ -257,21 +257,39 @@ func inlFlood(n *Node) {\n \n \ttypecheckinl(n)\n \n+\t// Recursively identify all referenced functions for\n+\t// reexport. We want to include even non-called functions,\n+\t// because after inlining they might be callable.\n \...
2020-10-24T09:08:06
ollama/ollama
b1ad3a43cb58c3c01dae8b68a5e8fac34a5620f8
267e25a750cb2e44e48206408f96d60b3dabc0b9
Skip PhysX cudart library For some reason this library gives incorrect GPU information, so skip it
[ { "path": "gpu/gpu.go", "patch": "@@ -220,6 +220,11 @@ func FindGPULibs(baseLibName string, patterns []string) []string {\n \t}\n \tslog.Debug(\"gpu library search\", \"globs\", patterns)\n \tfor _, pattern := range patterns {\n+\n+\t\t// Nvidia PhysX known to return bogus results\n+\t\tif strings.Contains(...
2024-05-03T18:55:32
nodejs/node
96093981deb30ee00eb0a72301cd9a02878bae87
5d6693fc07ff1e959fec80f169fd354c64841a25
test: add common.crashOnUnhandledRejection() add common.crashOnUnhandledRejection() in test-wasm-simple.js PR-URL: https://github.com/nodejs/node/pull/17236 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By...
[ { "path": "test/parallel/test-wasm-simple.js", "patch": "@@ -1,10 +1,11 @@\n 'use strict';\n \n-require('../common');\n-\n+const common = require('../common');\n const assert = require('assert');\n const fixtures = require('../common/fixtures');\n \n+common.crashOnUnhandledRejection();\n+\n const buffer = f...
2017-11-22T08:56:37
huggingface/transformers
9e599d1d944c3e58b9f6ed6681e87cc32256af7c
d19b5a90c2c4a3db6a35c1b135cd481e1b939bd9
Update CometCallback to allow reusing of the running experiment (#31366) * Update CometCallback to allow reusing of the running experiment * Fixups * Remove useless TODO * Add checks for minimum version of the Comet SDK * Fix documentation and links. Also simplify how the Comet Experiment name is passed
[ { "path": "docs/source/en/main_classes/callback.md", "patch": "@@ -34,7 +34,7 @@ By default, `TrainingArguments.report_to` is set to `\"all\"`, so a [`Trainer`] wi\n - [`~integrations.TensorBoardCallback`] if tensorboard is accessible (either through PyTorch >= 1.4\n or tensorboardX).\n - [`~integrations....
2024-07-05T06:13:46
rust-lang/rust
088b125853d35b23768cba8bf53b52a69d00fd03
07292ccccde8b64d87036b2f90b70bc54ab68456
crashes: couple more tests
[ { "path": "tests/crashes/136138.rs", "patch": "@@ -0,0 +1,7 @@\n+//@ known-bug: #136138\n+#![feature(min_generic_const_args)]\n+struct U;\n+struct S<const N: U>()\n+where\n+ S<{ U }>:;\n+fn main() {}", "additions": 7, "deletions": 0, "language": "Rust" }, { "path": "tests/crashes/1361...
2025-03-07T22:17:25
ggml-org/llama.cpp
29b28a98242692e352df38254c9a2bb9fa79c884
cea560f483f0f03e828a6c76e78821debdecbe06
ci : switch from pyright to ty (#20826) * type fixes * switch to ty * tweak rules * tweak more rules * more tweaks * final tweak * use common import-not-found rule
[ { "path": ".github/workflows/python-type-check.yml", "patch": "@@ -4,35 +4,40 @@ on:\n push:\n paths:\n - '.github/workflows/python-type-check.yml'\n- - 'pyrightconfig.json'\n+ - 'ty.toml'\n - '**.py'\n - '**/requirements*.txt'\n+ # - 'pyrightconfig.json'\n pull_requ...
2026-03-21T07:54:34
golang/go
3a819e8998af1db3bdd34eb2ab059a3c534c6def
4fb429138881e3fe171e4c2e958ed0da26ddfd9c
syscall: handle undefined r2 value on linux-ppc64x This change fixes two failng tests on linux-ppc64x: - TestAllThreadsSyscall() exposed a real bug in the ppc64x support: - It turns out that the r2 syscall return value is not defined on all architectures. Notably linux-ppc64x so address that by introducing ...
[ { "path": "src/syscall/syscall_linux.go", "patch": "@@ -1003,7 +1003,9 @@ func (pc *allThreadsCaller) doSyscall(initial bool) bool {\n \t\tpc.r1 = r1\n \t\tpc.r2 = r2\n \t\tpc.err = err\n-\t} else if pc.r1 != r1 || pc.r2 != r2 || pc.err != err {\n+\t} else if pc.r1 != r1 || (archHonorsR2 && pc.r2 != r2) || ...
2020-10-28T20:35:57
nodejs/node
5d6693fc07ff1e959fec80f169fd354c64841a25
cf5ad75bc45ea3e969a4eb1eeec6f3314e7ed565
test: use crashOnUnhandledRejection Add common.crashOnUnhandledRejection to test/parallel/test-async-hooks-disable-during-promise.js PR-URL: https://github.com/nodejs/node/pull/17220 Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Colin Ihrig <cjihri...
[ { "path": "test/parallel/test-async-hooks-disable-during-promise.js", "patch": "@@ -1,6 +1,7 @@\n 'use strict';\n const common = require('../common');\n const async_hooks = require('async_hooks');\n+common.crashOnUnhandledRejection();\n \n const hook = async_hooks.createHook({\n init: common.mustCall(2),"...
2017-11-22T08:08:16
huggingface/transformers
d19b5a90c2c4a3db6a35c1b135cd481e1b939bd9
2aa2a14481dda0243522e6dff018aadab9829efa
Exclude torch.compile time from metrics computation (#31443) * exclude compile time from metrics computation * fix the quality issue
[ { "path": "src/transformers/trainer.py", "patch": "@@ -3670,6 +3670,8 @@ def evaluate(\n total_batch_size = self.args.eval_batch_size * self.args.world_size\n if f\"{metric_key_prefix}_jit_compilation_time\" in output.metrics:\n start_time += output.metrics[f\"{metric_key_prefix}...
2024-07-05T06:11:55
ggml-org/llama.cpp
b1c70e2e5419ced91eec570b9aabc050afe185e1
e6ec21e62f45a247d3a3d2cb8f164141853b1a9b
common/parser: fix nasty bug causing subtle corruption of generation prompt (#20825)
[ { "path": "common/chat-auto-parser-helpers.cpp", "patch": "@@ -188,6 +188,21 @@ diff_split calculate_diff_split(const std::string & left, const std::string & ri\n result.suffix = \"\";\n // pick prefix = all as representation\n }\n+\n+ // When left has no unique content (result.left i...
2026-03-20T23:19:04
golang/go
4fb429138881e3fe171e4c2e958ed0da26ddfd9c
25d28ec55aded46e0be9c2298f24287d296a9e47
cmd/compile: inline functions evaluated in go and defer statements The inlining pass previously bailed upon encountering a go or defer statement, so it would not inline functions e.g. used to provide arguments to the deferred function. This change preserves the behavior of not inlining the deferred function itself, bu...
[ { "path": "src/cmd/compile/internal/gc/inl.go", "patch": "@@ -574,13 +574,11 @@ func inlnode(n *Node, maxCost int32, inlMap map[*Node]bool) *Node {\n \t}\n \n \tswitch n.Op {\n-\t// inhibit inlining of their argument\n \tcase ODEFER, OGO:\n \t\tswitch n.Left.Op {\n \t\tcase OCALLFUNC, OCALLMETH:\n \t\t\tn.L...
2020-10-25T18:26:19
ollama/ollama
94c369095f96773b135df705672a2cc5c7865644
9164b0161bcb24e543cba835a8863b80af2c0c21
fix line ending replace CRLF with LF
[ { "path": "docs/windows.md", "patch": "@@ -1,47 +1,47 @@\n-# Ollama Windows Preview\r\n-\r\n-Welcome to the Ollama Windows preview.\r\n-\r\n-No more WSL required!\r\n-\r\n-Ollama now runs as a native Windows application, including NVIDIA and AMD Radeon GPU support.\r\n-After installing Ollama Windows Previe...
2024-05-02T21:52:21
huggingface/transformers
8c5c180de095e7d9974f12a4c6738b2235424e5d
eaa5f41439868aa542d294bf5d31e3a43a261350
Fix serialization for offloaded model (#31727) * Fix serialization * style * add test
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -2518,9 +2518,11 @@ def save_pretrained(\n \n # Save the model\n if state_dict is None:\n- # if any model parameters are offloaded to the disk, make module map\n- if hasattr(self, \"hf_device_map\") and (\n- ...
2024-07-05T06:07:07
nodejs/node
cf5ad75bc45ea3e969a4eb1eeec6f3314e7ed565
685abcde0eb985aab568c5b6aa72bd7dfb3e74e0
test: fix linting error Fast-tracked on landing to unbreak CI PR-URL: https://github.com/nodejs/node/pull/17251 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
[ { "path": "test/parallel/test-https-truncate.js", "patch": "@@ -67,6 +67,6 @@ const test = common.mustCall(function(res) {\n res.on('data', function(chunk) {\n bytes += chunk.length;\n this.pause();\n- setTimeout(() => { this.resume() }, 1);\n+ setTimeout(() => { this.resume(); }, 1);\n })...
2017-11-22T15:41:30
rust-lang/rust
80157a560f3b139e0209d358ef275a84bccd99ed
b62d58f5415032291863d6b20654e86fcb7c4aea
bless tests yay, I fixed the bug/missing feature :')
[ { "path": "tests/ui/cast/ptr-to-trait-obj-wrap-add-auto.rs", "patch": "@@ -10,16 +10,12 @@ struct X<T: ?Sized>(T);\n \n fn unwrap(a: *const W<dyn A>) -> *const (dyn A + Send) {\n a as _\n- //~^ error\n- //~| error\n- //~| error\n+ //~^ error: cannot add auto trait `Send` to dyn bound via poi...
2025-01-17T13:57:22
ggml-org/llama.cpp
149b2493c022c621d16154b6d261769da35e9e00
b31b30f31db73018cee86ccd20c9ad132452e6a5
common : fix typo in debug log ('extracft' -> 'extract') (#20807)
[ { "path": "common/chat-diff-analyzer.cpp", "patch": "@@ -409,7 +409,7 @@ void analyze_reasoning::compare_reasoning_scope() {\n if (result.result.success()) {\n end = trim_trailing_whitespace(result.tags[\"post\"]);\n } else {\n- LOG_DBG(ANSI_ORANGE \"%s...
2026-03-20T17:23:18
golang/go
25d28ec55aded46e0be9c2298f24287d296a9e47
ddc7e1d16f58c73a2587bba130a4a49ffac8b0d1
cmd/go: add //go:embed support The final piece of //go:embed support: have the go command stitch together parsing in go/build, low-level data initialization in cmd/compile, and the new data structures in package embed, to make the //go:embed feature actually function. And test, now that all the pieces are available t...
[ { "path": "src/cmd/go/internal/fsys/fsys.go", "patch": "@@ -426,7 +426,7 @@ func walk(path string, info fs.FileInfo, walkFn filepath.WalkFunc) error {\n // Walk walks the file tree rooted at root, calling walkFn for each file or\n // directory in the tree, including root.\n func Walk(root string, walkFn fil...
2020-07-08T21:13:16
huggingface/transformers
eaa5f41439868aa542d294bf5d31e3a43a261350
43ffb785c0b2f24948d2011883d40dccb609d341
Fix ClapProcessor to merge feature_extractor output into the returned BatchEncoding (#31767) * fixed ClapProcessor to merge all values output from the feature extractor into the returned BatchEncoding. * fixed trailing whitespace
[ { "path": "src/transformers/models/clap/processing_clap.py", "patch": "@@ -89,7 +89,7 @@ def __call__(self, text=None, audios=None, return_tensors=None, **kwargs):\n )\n \n if text is not None and audios is not None:\n- encoding[\"input_features\"] = audio_features.input_featu...
2024-07-05T05:55:47
ggml-org/llama.cpp
58c81f7e811d82b9ba62002f40d7af56134b61fc
fb78ad29bbe7ae00619b2ce31b0a71e95fdbfc43
model : fix Granite Hybrid type check for 7B.A1B (#20795) * Check granite hybriid expert count to set type as LLM_TYPE_7B_A1B or LLM_TYPE_1B * Use feed fwd dim instead of num of experts Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com> --------- Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scal...
[ { "path": "src/llama-model.cpp", "patch": "@@ -2058,7 +2058,7 @@ void llama_model::load_hparams(llama_model_loader & ml) {\n \n switch (hparams.n_embd) {\n case 768: type = LLM_TYPE_350M; break;\n- case 1536: type = (hparams.n_embd == 2048 ? LLM_TYPE_7B...
2026-03-20T14:16:09
rust-lang/rust
b62d58f5415032291863d6b20654e86fcb7c4aea
5712d2e956e592bc4184e9c28cda9cfb5975a3db
check that `UnsizeCoerce` may hold before trying unsizing coercion this prevents us from trying unsizing coercion in cases like `*const W<dyn T>` -> `*const dyn T`, where it would later cause a compilation error since `W<dyn T>: Sized` and `W<dyn T>: T` do not hold.
[ { "path": "compiler/rustc_hir_typeck/src/coercion.rs", "patch": "@@ -41,8 +41,8 @@ use rustc_abi::ExternAbi;\n use rustc_attr_parsing::InlineAttr;\n use rustc_errors::codes::*;\n use rustc_errors::{Applicability, Diag, struct_span_code_err};\n-use rustc_hir as hir;\n use rustc_hir::def_id::{DefId, LocalDefI...
2025-01-16T13:24:35
nodejs/node
685abcde0eb985aab568c5b6aa72bd7dfb3e74e0
1cc8ec3adba1e8e768f1c1d797bc69f88d6c814a
test: use common.crashOnUnhandledRejection Add common.crashOnUnhandledRejection to test-async-wrap-promise-after-enabled.js PR-URL: https://github.com/nodejs/node/pull/17231 Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.c...
[ { "path": "test/parallel/test-async-wrap-promise-after-enabled.js", "patch": "@@ -9,6 +9,8 @@ const async_hooks = require('async_hooks');\n \n const seenEvents = [];\n \n+common.crashOnUnhandledRejection();\n+\n const p = new Promise((resolve) => resolve(1));\n p.then(() => seenEvents.push('then'));\n ", ...
2017-11-22T08:45:34
huggingface/transformers
43ffb785c0b2f24948d2011883d40dccb609d341
cee768d97e42c6fcf744ba4d2a4dc8a8e78da4c1
Add torch_empty_cache_steps to TrainingArguments (#31546) * Add torch_empty_cache_steps to TrainingArguments * Fix formatting * Add torch_empty_cache_steps to docs on single gpu training * Remove check for torch_empty_cache_steps <= max_steps * Captalize Tip * Be device agnostic * Fix linting
[ { "path": "docs/source/en/perf_train_gpu_one.md", "patch": "@@ -41,21 +41,22 @@ hyperparameter tuning, you should determine which batch size yields the best res\n \n The methods and tools covered in this guide can be classified based on the effect they have on the training process:\n \n-| Method/tool ...
2024-07-04T17:20:49
golang/go
152468070946c6b8688bff2c0cccd2bc72904722
68e30af111da6fdfa0c4f0b71b9fabe37bbfe2df
cmd/go: allow 'go get' to downgrade to replacement-only versions This fixes a case missed in CL 258220. For #36460 Updates #26241 Updates #37438 Change-Id: I5e8c2ee1e08e41cc2eb34e54c617cb5e4bf69c5e Reviewed-on: https://go-review.googlesource.com/c/go/+/266018 Trust: Bryan C. Mills <bcmills@google.com> Run-TryBot: Br...
[ { "path": "src/cmd/go/internal/modload/mvs.go", "patch": "@@ -74,7 +74,11 @@ func versions(ctx context.Context, path string, allowed AllowedFunc) ([]string,\n \t// so there's no need for us to add extra caching here.\n \tvar versions []string\n \terr := modfetch.TryProxies(func(proxy string) error {\n-\t\ta...
2020-10-28T18:20:31
ollama/ollama
68755f1f5e57a3c595b3baf87fff8e997ae88b85
4fd064bea670f20df84144974093a8db0a1ded74
chore: fix typo in docs/development.md (#4073)
[ { "path": "docs/development.md", "patch": "@@ -51,7 +51,7 @@ Typically the build scripts will auto-detect CUDA, however, if your Linux distro\n or installation approach uses unusual paths, you can specify the location by\n specifying an environment variable `CUDA_LIB_DIR` to the location of the shared\n lib...
2024-05-01T19:39:11
rust-lang/rust
5712d2e956e592bc4184e9c28cda9cfb5975a3db
cdd8af229960d05c8dfe5ca3e5f5e2066e676213
add a test for pointer casts involving un/re/wrapping trait objects the errors should not be there, this is a bug/missing feature.
[ { "path": "tests/ui/cast/ptr-to-trait-obj-wrap-add-auto.rs", "patch": "@@ -0,0 +1,40 @@\n+// Combination of `ptr-to-trait-obj-wrap.rs` and `ptr-to-trait-obj-add-auto.rs`.\n+//\n+// Checks that you *can't* add auto traits to trait object in pointer casts involving wrapping said\n+// traits structures.\n+\n+t...
2025-01-16T15:12:27
ggml-org/llama.cpp
e06c3ab2bc7e45df7584468014681349fceccfbc
dc6592431b909208040c1a8e953e6c5440471eaa
vulkan: change gated_delta_net to shard a column across a subgroup (#20662) * vulkan: change gated_delta_net to shard a column across a subgroup This is based on https://github.com/ggml-org/llama.cpp/pull/20391, I used an LLM to port the CUDA code to Vulkan, and guided to it to make various fixes to work with Vulkan ...
[ { "path": "ggml/src/ggml-vulkan/ggml-vulkan.cpp", "patch": "@@ -4604,12 +4604,42 @@ static void ggml_vk_load_shaders(vk_device& device) {\n {\"gated_delta_net_f32_d64\", \"gated_delta_net_f32_d64_kda\"},\n {\"gated_delta_net_f32_d128\", \"gated_delta_net_f32_d128_kda\"},\n ...
2026-03-20T11:17:15
nodejs/node
1cc8ec3adba1e8e768f1c1d797bc69f88d6c814a
339e247e3fcf987b0d83f0df37be7ff0f6dcfe47
test: use crashOnUnhandledRejection Add common.crashOnUnhandledRejection to test/parallell/test-microtask-queue-run-domain.js PR-URL: https://github.com/nodejs/node/pull/17226 Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Benjamin Gruenbaum <benjam...
[ { "path": "test/parallel/test-microtask-queue-run-domain.js", "patch": "@@ -20,7 +20,7 @@\n // USE OR OTHER DEALINGS IN THE SOFTWARE.\n \n 'use strict';\n-require('../common');\n+const common = require('../common');\n const assert = require('assert');\n \n // Requiring the domain module here changes the fun...
2017-11-22T08:49:15
huggingface/transformers
cee768d97e42c6fcf744ba4d2a4dc8a8e78da4c1
87726a08ed12e74ddc078ea877d9decf9a30cb8b
Fix Gemma2 types (#31779) Update __init__.py
[ { "path": "src/transformers/models/gemma2/__init__.py", "patch": "@@ -39,15 +39,15 @@\n ]\n \n if TYPE_CHECKING:\n- from .configuration_gemma import Gemma2Config\n+ from .configuration_gemma2 import Gemma2Config\n \n try:\n if not is_torch_available():\n raise OptionalDepen...
2024-07-04T13:37:32
golang/go
68e30af111da6fdfa0c4f0b71b9fabe37bbfe2df
50af50d136551e2009b2b52e829570536271cdaa
Revert "crypto/x509: fix duplicate import" This reverts CL 250497. It also moves all blank identifier imports below the rest of the imports for clarity. Reason for revert: The blank identifier import was intentional to show that it's needed for its registration side effect. The duplicate import should stay since it c...
[ { "path": "src/crypto/x509/x509.go", "patch": "@@ -14,8 +14,6 @@ import (\n \t\"crypto/elliptic\"\n \t\"crypto/rsa\"\n \t\"crypto/sha1\"\n-\t_ \"crypto/sha256\"\n-\t_ \"crypto/sha512\"\n \t\"crypto/x509/pkix\"\n \t\"encoding/asn1\"\n \t\"encoding/pem\"\n@@ -30,6 +28,10 @@ import (\n \t\"time\"\n \t\"unicode...
2020-10-26T13:39:56
ollama/ollama
8867e744ff3c5a59467f316f0f23c272fe66700a
a3e60d9058d4459aac3a06f7cab80b0e894e1b38
types/model: fix name for hostport
[ { "path": "types/model/name.go", "patch": "@@ -143,7 +143,11 @@ func ParseNameBare(s string) Name {\n \t\tn.RawDigest = MissingPart\n \t}\n \n-\ts, n.Tag, _ = cutPromised(s, \":\")\n+\t// \"/\" is an illegal tag character, so we can use it to split the host\n+\tif strings.LastIndex(s, \":\") > strings.LastI...
2024-05-01T19:14:53
nodejs/node
339e247e3fcf987b0d83f0df37be7ff0f6dcfe47
571ecd1aed3a1f04c2910bcf72585506621bb256
test: use common.crashOnUnhandledRejection PR-URL: https://github.com/nodejs/node/pull/17218 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "test/parallel/test-http-agent.js", "patch": "@@ -23,6 +23,7 @@\n const common = require('../common');\n const assert = require('assert');\n const http = require('http');\n+common.crashOnUnhandledRejection();\n \n const N = 4;\n const M = 4;", "additions": 1, "deletions": 0, "language"...
2017-11-22T08:34:58
huggingface/transformers
048f599f3506e57e0a595b455d9d2834c8d45023
b97521614ad47b04fb4b5286582efcd984ced0b7
Fix RT-DETR weights initialization (#31724) * Fix init for rt-detr heads * Fixup * Add separate prior_prob value to config for initialization * Add bbox init * Change to 1 / num_labels init * Adjust weights init test * Fix style for test
[ { "path": "src/transformers/models/rt_detr/configuration_rt_detr.py", "patch": "@@ -37,6 +37,9 @@ class RTDetrConfig(PretrainedConfig):\n Args:\n initializer_range (`float`, *optional*, defaults to 0.01):\n The standard deviation of the truncated_normal_initializer for initializing a...
2024-07-03T13:29:02
golang/go
c45d78013f92a29285cd81488eb7a16819f01e18
96bd0b1d4c34bf22d8fa6d4710cae334b842f37d
cmd/link: ignore "operation not permitted" fallocate errors. Ignore an additional class of errors form fallocate, falling back to heap allocated buffers for output. Fixes #41356 Change-Id: Iaaa91620cec644c78978e0b258f166bc204a3f85 Reviewed-on: https://go-review.googlesource.com/c/go/+/254777 Trust: Jeremy Faller <je...
[ { "path": "src/cmd/link/internal/ld/outbuf.go", "patch": "@@ -13,11 +13,10 @@ import (\n \t\"os\"\n )\n \n-// If fallocate is not supported on this platform, return this error.\n-// Note this is the same error returned by filesystems that don't support\n-// fallocate, and that is intentional. The error is i...
2020-10-28T14:52:02
rust-lang/rust
e88f892ecafcf9e0815552d219fe98c8f7084f6c
d11c5b8d75244a52f3578244aa5503ffa5893989
Fix syntax fixup producing invalid punctuation Fixes #19206. Fixes #18244.
[ { "path": "src/tools/rust-analyzer/crates/hir-def/src/macro_expansion_tests/mbe/tt_conversion.rs", "patch": "@@ -93,15 +93,15 @@ fn broken_parenthesis_sequence() {\n macro_rules! m1 { ($x:ident) => { ($x } }\n macro_rules! m2 { ($x:ident) => {} }\n \n-m1!();\n-m2!(x\n+fn f1() { m1!(x); }\n+fn f2() { m2!(x }...
2025-02-28T16:32:21
nodejs/node
d7b0c237fb0c9d42ab869cc5d0d549fe7fc95a62
bd5acfe44d8344306a91c580292c6106f6a98d7d
test: use crashOnUnhandledRejection Add common.crashOnUnhandledRejection to test-microtask-queue-integration.js PR-URL: https://github.com/nodejs/node/pull/17219 Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.c...
[ { "path": "test/parallel/test-microtask-queue-integration.js", "patch": "@@ -20,9 +20,11 @@\n // USE OR OTHER DEALINGS IN THE SOFTWARE.\n \n 'use strict';\n-require('../common');\n+const common = require('../common');\n const assert = require('assert');\n \n+common.crashOnUnhandledRejection();\n+\n const im...
2017-11-22T08:32:52