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
vuejs/vue
55a30cf9db247eba2aca817439fdb3cd15e9184f
3d46692ee4e8ec67b5bc0f66cdabf4667fa4de88
fix(compiler): avoid converting &nbps; to spaces (#11065)
[ { "path": "src/compiler/parser/index.js", "patch": "@@ -38,7 +38,7 @@ const modifierRE = /\\.[^.\\]]+(?=[^\\]]*$)/g\n const slotRE = /^v-slot(:|$)|^#/\n \n const lineBreakRE = /[\\r\\n]/\n-const whitespaceRE = /\\s+/g\n+const whitespaceRE = /[ \\f\\t\\r\\n]+/g\n \n const invalidAttributeRE = /[\\s\"'<>\\/=]...
2021-03-30T09:03:03
huggingface/transformers
5f81266fb0b444f896fea9322d7c41368abd8526
39c3c0a72af6fbda5614dde02ff236069bb79827
Update README_es.md (#28612) Fixing grammatical errors in the text
[ { "path": "README_es.md", "patch": "@@ -59,15 +59,15 @@ limitations under the License.\n <a href=\"https://hf.co/course\"><img src=\"https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/course_banner.png\"></a>\n </h3>\n \n-🤗 Transformers aporta miles de modelos preentrenados P...
2024-01-23T21:09:01
nodejs/node
784c6d40f88c5a3b4270f2a6d4c7c120b4b12af6
7e544240d34ca64d3817071ded3b705ba5f41cd0
src: use proper errors as coming from StringBytes The previous errors were incorrect here, as the code only failed in situations where strings exceeded size limits or an OOM situation was encountered, not for invalid encodings (which aren’t even detected explicitly). Unfortunately, these situations are hard to test f...
[ { "path": "src/node_file.cc", "patch": "@@ -244,13 +244,7 @@ void After(uv_fs_t *req) {\n req_wrap->encoding_,\n &error);\n if (link.IsEmpty()) {\n- // TODO(addaleax): Use `error` itself here.\n- argv[0] = UVExce...
2017-08-01T22:13:39
ggml-org/llama.cpp
e08db4259521de493b7aeb49dadf29ebd1ee966a
12bbc3fa50b6df03318a4451c9a2210200a0b28d
model: EmbeddingGemma Adding Support for SentenceTransformers Dense Modules (#16367) * model: EmbeddingGemma sentence-transformers dense linear projections support * model: add support for EmbeddingGemma SentenceTransformers dense linear projections Adding support for the Dense modules used in EmbeddingGemma models....
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -93,13 +93,15 @@ class ModelBase:\n # Mistral format specifics\n is_mistral_format: bool = False\n disable_mistral_community_chat_template: bool = False\n+ sentence_transformers_dense_modules: bool = False\n \n def __init__(self, dir_model: ...
2025-10-09T06:39:18
vuejs/vue
14882c9cbfe289814de7c2b5323fe0831b3750de
b800e8e9ee4fa4be9b3d6130b5ee82d668066870
chore: fix npm test on Windows (#11784) close vuejs#11782
[ { "path": "package.json", "patch": "@@ -101,7 +101,7 @@\n \"flow-bin\": \"^0.61.0\",\n \"hash-sum\": \"^1.0.2\",\n \"he\": \"^1.1.1\",\n- \"http-server\": \"^0.11.1\",\n+ \"http-server\": \"^0.12.3\",\n \"jasmine\": \"^2.99.0\",\n \"jasmine-core\": \"^2.99.0\",\n \"karma\": \"^...
2020-11-21T09:53:09
golang/go
66ee97590ce967c8210eedfb3194b1140740a792
176481990f39d8bf5330386c9468d1dd60d869ba
cmd/link: don't overwrite text sections on PPC64 The code writes text sections twice, one with Codeblk, one with Datblk. The second write shouldn't be there. May fix #38898. Change-Id: I4ec70294059ec9aa0fc4cc69a3cd824f5843287b Reviewed-on: https://go-review.googlesource.com/c/go/+/232661 Run-TryBot: Cherry Zhang <ch...
[ { "path": "src/cmd/link/internal/ppc64/asm.go", "patch": "@@ -1098,11 +1098,6 @@ func asmb(ctxt *ld.Link, _ *loader.Loader) {\n \t\t}\n \t}\n \n-\tfor _, sect := range ld.Segtext.Sections[1:] {\n-\t\toffset := sect.Vaddr - ld.Segtext.Vaddr + ld.Segtext.Fileoff\n-\t\tld.WriteParallel(&wg, ld.Datblk, ctxt, of...
2020-05-06T22:57:58
huggingface/transformers
39c3c0a72af6fbda5614dde02ff236069bb79827
ebc8f47bd922734ce811b8b23c495e653c60afc9
fix a hidden bug of `GenerationConfig`, now the `generation_config.json` can be loaded successfully (#28604) * fix a hidden bug of GenerationConfig * keep `sort_keys=True` to maintain visibility * Update src/transformers/generation/configuration_utils.py Co-authored-by: amyeroberts <22614925+amyeroberts@users...
[ { "path": "src/transformers/generation/configuration_utils.py", "patch": "@@ -909,6 +909,16 @@ def to_json_string(self, use_diff: bool = True, ignore_metadata: bool = False) -\n for metadata_field in METADATA_FIELDS:\n config_dict.pop(metadata_field, None)\n \n+ def conver...
2024-01-23T17:48:38
rust-lang/rust
0aa2e6b606fdca2c0166b6033e3ea0cb8484eeb7
d8810e3e2dab96778d20dd6d746ff95465515509
Try to recover from path sep error in parser
[ { "path": "compiler/rustc_parse/messages.ftl", "patch": "@@ -743,9 +743,6 @@ parse_single_colon_import_path = expected `::`, found `:`\n .suggestion = use double colon\n .note = import paths are delimited using `::`\n \n-parse_single_colon_struct_type = found single colon in a struct field type path...
2025-02-11T07:26:21
nodejs/node
7ce2555896536a6c9e96a8b9fd17b6563137a876
abced13e29cdf6df2a0d602af4c6c04f1e88a412
stream: fix Writable instanceof for subclasses The current custom instanceof for `Writable` subclasses previously returned false positives for instances of *other* subclasses of `Writable` because it was inherited by these subclasses. Fixes: https://github.com/nodejs/node/issues/14943 PR-URL: https://github.com/nodej...
[ { "path": "lib/_stream_writable.js", "patch": "@@ -179,6 +179,8 @@ if (typeof Symbol === 'function' && Symbol.hasInstance) {\n value: function(object) {\n if (realHasInstance.call(this, object))\n return true;\n+ if (this !== Writable)\n+ return false;\n \n return object ...
2017-08-19T16:29:25
vuejs/vue
0664cb01434f3d52efd076b6aafe54066a2a762a
cd57393fd3e2c169d450607bc4f03652d106bcc2
fix(v-pre): do not alter attributes (#10088) * fix(v-pre): do not alter attributes close #10087 * fix(v-pre): do not alter attributes remove component and replace option from unit test * refactor: use or * perf: check boolean before index Co-authored-by: Eduardo San Martin Morote <posva@users.noreply...
[ { "path": "src/platforms/web/runtime/modules/attrs.js", "patch": "@@ -39,7 +39,7 @@ function updateAttrs (oldVnode: VNodeWithData, vnode: VNodeWithData) {\n cur = attrs[key]\n old = oldAttrs[key]\n if (old !== cur) {\n- setAttr(elm, key, cur)\n+ setAttr(elm, key, cur, vnode.data.pre)\n...
2020-09-21T15:42:08
ggml-org/llama.cpp
12bbc3fa50b6df03318a4451c9a2210200a0b28d
9d0882840e6c3fb62965d03af0e22880ea90e012
refactor: centralize CoT parsing in backend for streaming mode (#16394) * refactor: unify reasoning handling via backend reasoning_content, drop frontend tag parsing - Updated the chat message component to surface backend-supplied reasoning via message.thinking while showing the raw assistant content without inline t...
[ { "path": "common/arg.cpp", "patch": "@@ -3432,7 +3432,8 @@ common_params_context common_params_parser_init(common_params & params, llama_ex\n {\"--reasoning-format\"}, \"FORMAT\",\n \"controls whether thought tags are allowed and/or extracted from the response, and in which format they're r...
2025-10-08T20:18:41
golang/go
176481990f39d8bf5330386c9468d1dd60d869ba
11b2853e6f322306a55519d03671e256b966e8ca
encoding/asn1: only accept minimally encoded base 128 integers Reject base 128 encoded integers that aren't using minimal encoding, specifically if the leading octet of an encoded integer is 0x80. This only affects parsing of tags and OIDs, both of which expect this encoding (see X.690 8.1.2.4.2 and 8.19.2). Fixes #3...
[ { "path": "src/encoding/asn1/asn1.go", "patch": "@@ -313,6 +313,12 @@ func parseBase128Int(bytes []byte, initOffset int) (ret, offset int, err error)\n \t\t}\n \t\tret64 <<= 7\n \t\tb := bytes[offset]\n+\t\t// integers should be minimally encoded, so the leading octet should\n+\t\t// never be 0x80\n+\t\tif ...
2020-04-29T19:48:06
huggingface/transformers
ebc8f47bd922734ce811b8b23c495e653c60afc9
9a4521dd9b6ef93d9ab770b13ac4684db72ac585
Remove deprecated eager_serving fn (#28665) * Remove deprecated eager_serving fn * Fix the input_signature docstring while I'm here
[ { "path": "src/transformers/modeling_tf_utils.py", "patch": "@@ -1210,28 +1210,11 @@ def serving(self, inputs):\n \n return self.serving_output(output)\n \n- def eager_serving(self, inputs):\n- \"\"\"\n- Method used for serving the model. This method is deprecated, and will be remov...
2024-01-23T16:53:07
vuejs/vue
cd57393fd3e2c169d450607bc4f03652d106bcc2
862070662dd4871cb834664435ec836df57c7d57
fix(attrs): do not consider translate attribute as boolean (#11392) when present, translate attribute had translate as it's value, which is not valid, the value should remain as specified by the user, that's why we removed it form isBooleanAttr map fix #11391
[ { "path": "src/platforms/web/util/attrs.js", "patch": "@@ -35,7 +35,7 @@ export const isBooleanAttr = makeMap(\n 'default,defaultchecked,defaultmuted,defaultselected,defer,disabled,' +\n 'enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,' +\n 'muted,nohref,noresize,nosha...
2020-09-21T14:51:39
ggml-org/llama.cpp
d2ee056e1df0fdf646270fb5621e9f92084b59a7
b2c08c9ec4cd59ed88c1ebdd94f109af5ccc978e
server : fix cancel pending task (#16467) Co-authored-by: DevAI <DevAI@gmail.com>
[ { "path": "tools/server/server.cpp", "patch": "@@ -1937,7 +1937,7 @@ struct server_queue {\n void cleanup_pending_task(int id_target) {\n // no need lock because this is called exclusively by post()\n auto rm_func = [id_target](const server_task & task) {\n- return task.id_tar...
2025-10-08T08:20:18
nodejs/node
abced13e29cdf6df2a0d602af4c6c04f1e88a412
43029da762fafabf1d5594b83ee4fbab91dc35d0
doc: fix typo in Buffer.from(string, [encoding]) PR-URL: https://github.com/nodejs/node/pull/15013 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
[ { "path": "doc/api/buffer.md", "patch": "@@ -907,7 +907,7 @@ const buf2 = Buffer.from('7468697320697320612074c3a97374', 'hex');\n console.log(buf2.toString());\n ```\n \n-A `TypeError` will be thrown if `str` is not a string.\n+A `TypeError` will be thrown if `string` is not a string.\n \n ### Class Method:...
2017-08-24T14:45:26
huggingface/transformers
582d104b93b2028b332e8128d5e51aebe5d2eb2d
c475eca9cd9aa0b5a88b269b6a090b645391267d
Fix windows err with checkpoint race conditions (#28637) Fix windows err
[ { "path": "src/transformers/trainer.py", "patch": "@@ -2415,9 +2415,11 @@ def _save_checkpoint(self, model, trial, metrics=None):\n os.rename(staging_output_dir, output_dir)\n \n # Ensure rename completed in cases where os.rename is not atomic\n- fd...
2024-01-23T13:30:36
vuejs/vue
862070662dd4871cb834664435ec836df57c7d57
668e1e637461ff630803e85bf99158415d276d4c
fix(compiler): event handlers with modifiers swallowing arguments (fix #10867) (#10958) Pass full parent argument list to the event handler when there are event modifiers present.
[ { "path": "src/compiler/codegen/events.js", "patch": "@@ -148,9 +148,9 @@ function genHandler (handler: ASTElementHandler | Array<ASTElementHandler>): str\n code += genModifierCode\n }\n const handlerCode = isMethodPath\n- ? `return ${handler.value}($event)`\n+ ? `return ${handler.va...
2020-09-21T14:16:45
ggml-org/llama.cpp
b2c08c9ec4cd59ed88c1ebdd94f109af5ccc978e
7fdd16b432d247121fe5fe7b21f8805f85266c85
metal : mark FA blocks (#16372) * metal : better unroll in the FA kernels * metal : index FA blocks * tests : restore [no ci] * metal : prevent division by zero in FA kernels * metal : fix -INF detection logic
[ { "path": "ggml/src/ggml-metal/ggml-metal-device.cpp", "patch": "@@ -959,7 +959,53 @@ ggml_metal_pipeline_t ggml_metal_library_get_pipeline_flash_attn_ext_pad(\n //ggml_metal_cv_set_int32(cv, ns20, FC_FLASH_ATTN_EXT_PAD + 21);\n //ggml_metal_cv_set_int32(cv, nsg, FC_FLASH_ATTN_EXT_PAD + 22);\n //ggml...
2025-10-08T07:57:53
nodejs/node
43029da762fafabf1d5594b83ee4fbab91dc35d0
88b85925fee7fbd6572c77ec576300870d65f5c9
doc: add note for Windows build path PR-URL: https://github.com/nodejs/node/pull/14354 Fixes: https://github.com/nodejs/node/issues/14337 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Gibson Fahnestock...
[ { "path": "BUILDING.md", "patch": "@@ -91,6 +91,8 @@ More Developer Tools...`. This step will install `clang`, `clang++`, and\n * You may want to setup [firewall rules](tools/macosx-firewall.sh)\n to avoid popups asking to accept incoming network connections when running tests:\n \n+If the path to your buil...
2017-07-18T19:03:43
huggingface/transformers
c475eca9cd9aa0b5a88b269b6a090b645391267d
27c79a0fb4da6aa0fe27b112822a660f562b3a11
`tensor_size` - fix copy/paste error msg typo (#28660) Fix copy/paste error msg typo
[ { "path": "src/transformers/utils/generic.py", "patch": "@@ -660,7 +660,7 @@ def tensor_size(array):\n elif is_jax_tensor(array):\n return array.size\n else:\n- raise ValueError(f\"Type not supported for expand_dims: {type(array)}.\")\n+ raise ValueError(f\"Type not supported f...
2024-01-23T11:22:02
vuejs/vue
668e1e637461ff630803e85bf99158415d276d4c
b8bd149d8aa3f175a1a656d62f7b6ec60c31a364
fix(types): allow string for watch handlers in options (#10396) * Allow watch handler to be string as it is supported * Move string type to WatchHandler itself * Removed string type as it moved to WatchHandler
[ { "path": "types/options.d.ts", "patch": "@@ -76,7 +76,7 @@ export interface ComponentOptions<\n propsData?: object;\n computed?: Accessors<Computed>;\n methods?: Methods;\n- watch?: Record<string, WatchOptionsWithHandler<any> | WatchHandler<any> | string>;\n+ watch?: Record<string, WatchOptionsWith...
2020-09-21T14:13:21
ggml-org/llama.cpp
74b8fc17f92ada295a648e3c5eb28f46bca7d892
aeaf8a36f06b5810f5ae4bbefe26edb33925cf5e
ggml webgpu: profiling, CI updates, reworking of command submission (#16452) * Add profiling * More detailed profiling * Rework command submission to avoid global locks * Update wait handling * try new method of waiting on futures * Add serializing of command submission in some cases * Add new pool for timestamp...
[ { "path": ".github/workflows/build.yml", "patch": "@@ -444,8 +444,8 @@ jobs:\n # This is using llvmpipe and runs slower than other backends\n ctest -L main --verbose --timeout 4200\n \n- ubuntu-22-cmake-webgpu:\n- runs-on: ubuntu-22.04\n+ ubuntu-24-cmake-webgpu:\n+ runs-on: ubunt...
2025-10-07T20:48:56
nodejs/node
88b85925fee7fbd6572c77ec576300870d65f5c9
ca9b3f27eb374d70757a14d6e13fbf1805ff886c
test: fix async-hooks tests The 'test-graph.tcp' and 'test-tcpwrap' tests are using '::' as server address. This is mapped to localhost on Linux, but fails on Windows. PR-URL: https://github.com/nodejs/node/pull/14865 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
[ { "path": "test/async-hooks/test-graph.tcp.js", "patch": "@@ -17,7 +17,7 @@ const server = net\n \n server.listen(common.PORT);\n \n-net.connect({ port: server.address().port, host: server.address().address },\n+net.connect({ port: server.address().port, host: '::1' },\n common.mustCall(onconnec...
2017-08-17T17:18:06
huggingface/transformers
27c79a0fb4da6aa0fe27b112822a660f562b3a11
008a6a2208ad0a04f8a610a2504613ffcd8b3296
Enable instantiating model with pretrained backbone weights (#28214) * Enable instantiating model with pretrained backbone weights * Update tests so backbone checkpoint isn't passed in * Remove doc updates until changes made in modeling code * Clarify pretrained import * Update configs - docs and validatio...
[ { "path": "src/transformers/models/auto/auto_factory.py", "patch": "@@ -602,10 +602,6 @@ def _load_timm_backbone_from_pretrained(cls, pretrained_model_name_or_path, *mod\n \n config = kwargs.pop(\"config\", TimmBackboneConfig())\n \n- use_timm = kwargs.pop(\"use_timm_backbone\", True)\n- ...
2024-01-23T11:01:50
golang/go
11b2853e6f322306a55519d03671e256b966e8ca
85162292af601a1bebb8ec3d63314e39b648829f
encoding/json: don't reuse slice elements when decoding The previous behavior directly contradicted the docs that have been in place for years: To unmarshal a JSON array into a slice, Unmarshal resets the slice length to zero and then appends each element to the slice. We could use reflect.New to create a new elem...
[ { "path": "src/encoding/json/decode.go", "patch": "@@ -177,8 +177,7 @@ func (d *decodeState) unmarshal(v interface{}) error {\n \td.scanWhile(scanSkipSpace)\n \t// We decode rv not rv.Elem because the Unmarshaler interface\n \t// test must be applied at the top level of the value.\n-\terr := d.value(rv)\n-\...
2019-08-29T12:24:16
vuejs/vue
b8bd149d8aa3f175a1a656d62f7b6ec60c31a364
67825c24bcb0a9f64055bda1b1e4af66aad3c529
fix(ssr): textarea keeps undefined/null values (#11121) * fix(ssr): textarea keeps undefined/null values * refactor(ssr): Code review changes for null values in textareas
[ { "path": "src/platforms/web/server/modules/dom-props.js", "patch": "@@ -2,7 +2,7 @@\n \n import VNode from 'core/vdom/vnode'\n import { renderAttr } from './attrs'\n-import { isDef, isUndef, extend } from 'shared/util'\n+import { isDef, isUndef, extend, toString } from 'shared/util'\n import { propsToAttrM...
2020-09-21T14:04:58
ggml-org/llama.cpp
4e0388aa8a1f4ef1065701dc9c3947aea0a1b9a5
ef4c5b87ea2556ff8ca99cca3abdf48bdbca22f2
webui : added download action (#13552) (#16282) * webui : added download action (#13552) * webui : import and export (for all conversations) * webui : fixed download-format, import of one conversation * webui : add ExportedConversations type for chat import/export * feat: Update naming & order * chore: Linting *...
[ { "path": "tools/server/webui/src/lib/components/app/chat/ChatSidebar/ChatSidebarActions.svelte", "patch": "@@ -1,8 +1,9 @@\n <script lang=\"ts\">\n-\timport { Search, SquarePen, X } from '@lucide/svelte';\n+\timport { Search, SquarePen, X, Download, Upload } from '@lucide/svelte';\n \timport { KeyboardShor...
2025-10-07T09:11:08
huggingface/transformers
039866094cb1c72f224049d4d006154ad0d6eda7
1fc1296014d9530e32ba94694f22f513a5173c36
integrations: fix DVCLiveCallback model logging (#28653)
[ { "path": "src/transformers/integrations/integration_utils.py", "patch": "@@ -1635,16 +1635,21 @@ def __init__(\n raise RuntimeError(\"DVCLiveCallback requires dvclive to be installed. Run `pip install dvclive`.\")\n from dvclive import Live\n \n- self._log_model = log_model\n-\n ...
2024-01-23T09:11:10
nodejs/node
ca9b3f27eb374d70757a14d6e13fbf1805ff886c
3cf27f14857dd970f2400d055a402702763144e0
test, win: fix IPv6 detection on Windows Add proper IPv6 detection on loopback device on Windows. PR-URL: https://github.com/nodejs/node/pull/14865 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
[ { "path": "test/common/index.js", "patch": "@@ -262,7 +262,7 @@ Object.defineProperty(exports, 'hasFipsCrypto', {\n \n {\n const iFaces = os.networkInterfaces();\n- const re = /lo/;\n+ const re = exports.isWindows ? /Loopback Pseudo-Interface/ : /lo/;\n exports.hasIPv6 = Object.keys(iFaces).some(funct...
2017-08-16T16:41:33
vuejs/vue
67825c24bcb0a9f64055bda1b1e4af66aad3c529
abb5ef35dd02919dce19c895ad12113071712df0
fix(parser): allow multiple slots with new syntax (#9785) * fix(#9781): non greedy `dynamicArgAttribute` RegExp * test(parser): add test case for multiple dynamic slot names * test: add test with value Co-authored-by: Eduardo San Martin Morote <posva13@gmail.com>
[ { "path": "src/compiler/parser/html-parser.js", "patch": "@@ -15,7 +15,7 @@ import { unicodeRegExp } from 'core/util/lang'\n \n // Regular Expressions for parsing tags and attributes\n const attribute = /^\\s*([^\\s\"'<>\\/=]+)(?:\\s*(=)\\s*(?:\"([^\"]*)\"+|'([^']*)'+|([^\\s\"'=<>`]+)))?/\n-const dynamicArg...
2020-09-21T14:01:46
golang/go
9e8157805fed930c292d5593aab3016ce6d9c8ed
94e61ab94d4ab865cd3f9f73062a1c201bb6584d
cmd/internal/obj/arm64: fix typos in document Correct "PCALING" to "PCALIGN". Change-Id: Id80728142febd2a42e112dc06a6c1bc0759687e6 Reviewed-on: https://go-review.googlesource.com/c/go/+/232697 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
[ { "path": "src/cmd/internal/obj/arm64/doc.go", "patch": "@@ -57,7 +57,7 @@ must be a power of 2 and in the range of [8, 2048].\n PCALIGN $1024\n MOVD $3, R1 // This instruction is aligned with 1024 bytes.\n \n-PCALING also changes the function alignment. If a function has one or more PCALIG...
2020-05-07T02:17:08
ggml-org/llama.cpp
ef4c5b87ea2556ff8ca99cca3abdf48bdbca22f2
c61ae20d05bd4fdd8551311325a2845336449426
presets : fix pooling param for embedding models (#16455)
[ { "path": "common/arg.cpp", "patch": "@@ -3859,7 +3859,6 @@ common_params_context common_params_parser_init(common_params & params, llama_ex\n [](common_params & params) {\n params.model.hf_repo = \"ggml-org/bge-small-en-v1.5-Q8_0-GGUF\";\n params.model.hf_file = \"bge-small-...
2025-10-07T07:32:32
huggingface/transformers
e547458c43dfdbbb8f6a7757237e234c44e20a8f
590be773e632ae2aa68f0ba2c23d08bc42779ef9
Fix phi model doc checkpoint (#28581) Co-authored-by: Pashmina Cameron <11311835+pashminacameron@users.noreply.github.com>
[ { "path": "docs/source/en/model_doc/phi.md", "patch": "@@ -27,8 +27,8 @@ The Phi-1.5 model was proposed in [Textbooks Are All You Need II: phi-1.5 techni\n In Phi-1 and Phi-1.5 papers, the authors showed how important the quality of the data is in training relative to the model size.\n They selected high qu...
2024-01-22T17:15:07
nodejs/node
fffc84a4174ad6ee7a06266e979672d38ec373d3
a36b5405029597ce09e15373a321c47930689c08
benchmark: fix dgram/bind-params.js benchmark `benchmark/dgram/bind-params` exits with an error frequently in its current form because no error handler is applied. Add no-op error handlers to avoid the problem. ```console $ node benchmark/run.js --filter bind-params dgram dgram/bind-params.js dgram/bind-params.js ad...
[ { "path": "benchmark/dgram/bind-params.js", "patch": "@@ -10,6 +10,7 @@ const configs = {\n };\n \n const bench = common.createBenchmark(main, configs);\n+const noop = () => {};\n \n function main(conf) {\n const n = +conf.n;\n@@ -19,19 +20,27 @@ function main(conf) {\n if (port !== undefined && address...
2017-08-19T19:55:24
vuejs/vue
abb5ef35dd02919dce19c895ad12113071712df0
b97606cdc658448b56518ac27af98fc82999d05f
fix(props): correctly warn when a provided prop is Symbol (#10529) * fix(props): correctly warn when a provided prop is Symbol Fixes #10519 * style: space before parens
[ { "path": "src/core/util/props.js", "patch": "@@ -205,18 +205,19 @@ function getInvalidTypeMessage (name, value, expectedTypes) {\n ` Expected ${expectedTypes.map(capitalize).join(', ')}`\n const expectedType = expectedTypes[0]\n const receivedType = toRawType(value)\n- const expectedValue = styleV...
2020-09-21T10:24:17
ggml-org/llama.cpp
3df2244df40c67dfd6ad548b40ccc507a066af2b
c08002a1988348403a5fd59b1fa3de3a10a6f92f
llama : add --no-host to disable host buffers (#16310) * implement --no-host to disable host buffer * fix equal_mparams * move no-host enumeration order together with other model params --------- Co-authored-by: slaren <slarengh@gmail.com>
[ { "path": "common/arg.cpp", "patch": "@@ -2584,6 +2584,13 @@ common_params_context common_params_parser_init(common_params & params, llama_ex\n params.no_extra_bufts = true;\n }\n ).set_env(\"LLAMA_ARG_NO_REPACK\"));\n+ add_opt(common_arg(\n+ {\"--no-host\"},\n+ \"by...
2025-10-06T17:55:53
golang/go
641918ee09cb44d282a30ee8b66f99a0b63eaef9
e538b7e931c209706c3e8c1b0c2d53dab651b965
cmd/go: add positions for load errors in call to load This CL sets positions for errors from cals to load within the load call itself, similar to how the rest of the code in pkg.go sets positions right after the error is set on the package. This allows the code to ensure that we only add positions either for ImportPa...
[ { "path": "src/cmd/go/internal/load/pkg.go", "patch": "@@ -217,13 +217,9 @@ func (e *NoGoError) Error() string {\n // setLoadPackageDataError returns true if it's safe to load information about\n // imported packages, for example, if there was a parse error loading imports\n // in one file, but other files ...
2020-04-17T17:01:38
huggingface/transformers
a35ea570a8a3cdc7068a01c073aed0ef617e3580
e201864bcb147ce3c2374605fac9f0e5043f7e43
Update image_processing_deformable_detr.py (#28561) * Update image_processing_deformable_detr.py * Changes after running make fix-copies
[ { "path": "src/transformers/models/conditional_detr/image_processing_conditional_detr.py", "patch": "@@ -1414,13 +1414,14 @@ def post_process_object_detection(\n boxes = torch.gather(boxes, 1, topk_boxes.unsqueeze(-1).repeat(1, 1, 4))\n \n # and from relative [0, 1] to absolute [0, height] c...
2024-01-22T15:17:39
vuejs/vue
b97606cdc658448b56518ac27af98fc82999d05f
579e1ff9df1d454f85fac386d098b7bf1a42c4f2
fix(ssr): avoid missing files in manifest (#11609) Co-authored-by: chenyj <2932802684@qq.com> Co-authored-by: johnleider <john@vuetifyjs.com>
[ { "path": "src/server/template-renderer/create-async-file-mapper.js", "patch": "@@ -44,7 +44,11 @@ function mapIdToFile (id, clientManifest) {\n fileIndices.forEach(index => {\n const file = clientManifest.all[index]\n // only include async files or non-js, non-css assets\n- if (clientM...
2020-09-21T09:59:11
nodejs/node
a36b5405029597ce09e15373a321c47930689c08
86c4655a0fbeeaa29c49d5537e190f6cdedfd4d8
build: for --enable-static, run only cctest Currently when building with --enable-static and running the test target the following error will be reported: Building addon /node/test/addons/01_function_arguments/ env: ./node: No such file or directory make[1]: *** [test/addons/.buildstamp] Error 1 Note that this is wit...
[ { "path": "Makefile", "patch": "@@ -192,6 +192,10 @@ v8:\n \ttools/make-v8.sh\n \t$(MAKE) -C deps/v8 $(V8_ARCH).$(BUILDTYPE_LOWER) $(V8_BUILD_OPTIONS)\n \n+ifeq ($(NODE_TARGET_TYPE),static_library)\n+test: all\n+\t$(MAKE) cctest\n+else\n test: all\n \t$(MAKE) build-addons\n \t$(MAKE) build-addons-napi\n@@ -...
2017-08-17T10:48:01
ggml-org/llama.cpp
c08002a1988348403a5fd59b1fa3de3a10a6f92f
3a002afafa8e06555f11aed88b02d055d8a166f3
chat : Granite Docling stopping (#16438) * fix: Fix duplicate fake image before token on first slice Branch: GraniteDoclingStopping Signed-off-by: Gabe Goodhart <ghart@us.ibm.com> * fix: Use double-newline before overview image Branch: GraniteDoclingStopping Signed-off-by: Gabe Goodhart <ghart@us.ibm.com> * fix:...
[ { "path": "src/llama-chat.cpp", "patch": "@@ -590,7 +590,7 @@ int32_t llm_chat_apply_template(\n ss << message->content << \"<|end_of_text|>\\n\";\n }\n if (add_ass) {\n- ss << \"<|start_of_role|>assistant<|end_of_role|>\\n\";\n+ ss << \"<|start_of_role|>ass...
2025-10-06T16:59:40
golang/go
e538b7e931c209706c3e8c1b0c2d53dab651b965
7d232ab276fe81c1c8552d4a809af7a593bb294b
net/http/cgi: reject invalid header names Being lenient on those has caused enough security issues. Spun out of CL 231419. Fixes #38889 Change-Id: Idd3bc6adc22e08a30b3dabb146ce78d4105684cd Reviewed-on: https://go-review.googlesource.com/c/go/+/232277 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
[ { "path": "src/go/build/deps_test.go", "patch": "@@ -448,7 +448,7 @@ var pkgDeps = map[string][]string{\n \n \t// HTTP-using packages.\n \t\"expvar\": {\"L4\", \"OS\", \"encoding/json\", \"net/http\"},\n-\t\"net/http/cgi\": {\"L4\", \"NET\", \"OS\", \"crypto/tls\", \"net/http\", \"regexp\"...
2020-05-05T04:11:00
huggingface/transformers
e201864bcb147ce3c2374605fac9f0e5043f7e43
dafd59512cf6376ee2f056e38935d83df77a213c
[`GPTNeoX`] Fix GPTNeoX + Flash Attention 2 issue (#28645) Update modeling_gpt_neox.py
[ { "path": "src/transformers/models/gpt_neox/modeling_gpt_neox.py", "patch": "@@ -390,7 +390,7 @@ def forward(\n elif hasattr(self.config, \"_pre_quantization_dtype\"):\n target_dtype = self.config._pre_quantization_dtype\n else:\n- target_dtype = self.q...
2024-01-22T14:50:01
vuejs/vue
579e1ff9df1d454f85fac386d098b7bf1a42c4f2
2f7209c39a303a1112a5da94cd2280e866f19610
fix(core): remove trailing comma in function signature (#10845) Fix #10843
[ { "path": "src/core/vdom/create-component.js", "patch": "@@ -207,7 +207,7 @@ export function createComponent (\n \n export function createComponentInstanceForVnode (\n vnode: any, // we know it's MountedComponentVNode but flow doesn't\n- parent: any, // activeInstance in lifecycle state\n+ parent: any /...
2020-09-21T09:20:24
ggml-org/llama.cpp
a23b9bdbd3b64ce172f9962249f432d01aea7437
04e632a4aab8e6bfff0f8bc216b36ceb1e199ff9
ggml : fix unaligned access in AMX code (#16315)
[ { "path": "ggml/src/ggml-cpu/amx/amx.cpp", "patch": "@@ -149,6 +149,7 @@ class extra_buffer_type : ggml::cpu::extra_buffer_type {\n if (op->op == GGML_OP_MUL_MAT && is_contiguous_2d(op->src[0]) && // src0 must be contiguous\n is_contiguous_2d(op->src[1]) && ...
2025-10-06T13:05:27
nodejs/node
86c4655a0fbeeaa29c49d5537e190f6cdedfd4d8
c40229a9b80736f1fdb31fac169b70a1d6af8669
src: fix build on certain platforms The `double` fields in `performance_state` could previously have been aligned at 4-byte instead of 8-byte boundaries, which would have made creating an Float64Array them as a array buffer view for an ArrayBuffer extending over the entire struct an invalid operation. Ref: 67269fd7f3...
[ { "path": "src/node_http2.cc", "patch": "@@ -67,11 +67,12 @@ enum Http2PaddingBufferFields {\n };\n \n struct http2_state {\n+ // doubles first so that they are always sizeof(double)-aligned\n+ double session_state_buffer[IDX_SESSION_STATE_COUNT];\n+ double stream_state_buffer[IDX_STREAM_STATE_COUNT];\n ...
2017-08-24T00:06:49
golang/go
33249f46aae9a7ed951cd5691639a139aac3a990
ef3571bf076f4255579bedb3409bdccc91555b86
crypto/tls: accept HelloRetryRequest messages with only a cookie Clients have to reject any HelloRetryRequest message that doesn't lead to a change in the ClientHello. Instead, we were rejecting any HRR that didn't select an alternative group, even if it sent a cookie, which would change the CH. The good news is that...
[ { "path": "src/crypto/tls/handshake_client_tls13.go", "patch": "@@ -176,51 +176,62 @@ func (hs *clientHandshakeStateTLS13) processHelloRetryRequest() error {\n \tc := hs.c\n \n \t// The first ClientHello gets double-hashed into the transcript upon a\n-\t// HelloRetryRequest. See RFC 8446, Section 4.4.1.\n+\...
2020-04-29T22:31:50
huggingface/transformers
dafd59512cf6376ee2f056e38935d83df77a213c
deb2b59073fc42a9b8dda119177d45778a5d3c32
[`Llava`] Update convert_llava_weights_to_hf.py script (#28617) * Update convert_llava_weights_to_hf.py script * Remove config update of adding padding to `vocab_size` and `text_config.vocab_size` which causes `ValueError` exception. * Remove keys that ends with `inv_freq` from the state dict. * Add examples and ...
[ { "path": "src/transformers/models/llava/convert_llava_weights_to_hf.py", "patch": "@@ -27,6 +27,25 @@\n )\n \n \n+EPILOG_TXT = \"\"\"Example:\n+ python transformers/src/transformers/models/llava/convert_llava_weights_to_hf.py --text_model_id lmsys/vicuna-7b-v1.5 --vision_model_id openai/clip-vit-large-p...
2024-01-22T14:28:18
vuejs/vue
5b399612d8323ad0bb8b3f6fa8b2982ab73c0e6e
46ae9525964ea475dc927031e165c2b209396ac8
fix(security): upgrade serialize-javascript (#11434)
[ { "path": "package.json", "patch": "@@ -133,7 +133,7 @@\n \"rollup-plugin-node-resolve\": \"^4.0.0\",\n \"rollup-plugin-replace\": \"^2.0.0\",\n \"selenium-server\": \"^2.53.1\",\n- \"serialize-javascript\": \"^2.1.2\",\n+ \"serialize-javascript\": \"^3.1.0\",\n \"shelljs\": \"^0.8.1\"...
2020-08-13T14:38:24
rust-lang/rust
cb9cb1de29f8a056ce4dc32388d916d1c9dc6bb4
d8810e3e2dab96778d20dd6d746ff95465515509
Don't error if stopping mysql fails in CI
[ { "path": "src/ci/scripts/free-disk-space.sh", "patch": "@@ -71,7 +71,6 @@ printDF() {\n \n removeUnusedFilesAndDirs() {\n local to_remove=(\n- \"/etc/mysql\"\n \"/usr/local/aws-sam-cli\"\n \"/usr/local/doc/cmake\"\n \"/usr/local/julia\"*\n@@ -151,15 +150,11 @@ execAndMeas...
2025-02-14T20:29:24
ggml-org/llama.cpp
04e632a4aab8e6bfff0f8bc216b36ceb1e199ff9
a80ff183abe4e5a76316257ffa597da41b3b6fa0
ci : remove missing reranker model files (#16444) This commit removes jina-reranker-v1-tiny-en model files that are no longer present on Hugging Face. The motivation for this that it clears up the CI logs from 404 errors which can be a little confusing when looking at the logs the first time. Refs: https://github.co...
[ { "path": "ci/run.sh", "patch": "@@ -512,12 +512,7 @@ function gg_run_rerank_tiny {\n gg_wget models-mnt/rerank-tiny/ https://huggingface.co/jinaai/jina-reranker-v1-tiny-en/raw/main/tokenizer_config.json\n gg_wget models-mnt/rerank-tiny/ https://huggingface.co/jinaai/jina-reranker-v1-tiny-en/raw/mai...
2025-10-06T12:56:59
nodejs/node
c40229a9b80736f1fdb31fac169b70a1d6af8669
c6da5c8cdfae9e80d63f090c4289fd146c3175df
console: implement minimal `console.group()` Node.js exposes `console.group()` and `console.groupEnd()` via the inspector. These functions have no apparent effect when called from Node.js without the inspector. We cannot easily hide them when Node.js is started without the inspector because we support opening the insp...
[ { "path": "doc/api/console.md", "patch": "@@ -286,6 +286,32 @@ If formatting elements (e.g. `%d`) are not found in the first string then\n [`util.inspect()`][] is called on each argument and the resulting string\n values are concatenated. See [`util.format()`][] for more information.\n \n+### console.group(...
2017-08-18T05:41:14
huggingface/transformers
deb2b59073fc42a9b8dda119177d45778a5d3c32
692c3c6b73b8d4cb312950f60a05ab8ad37eff04
Fix lr_scheduler in no_trainer training scripts (#27872) * Fix lr_scheduler * Fix lr scheduler
[ { "path": "examples/pytorch/image-classification/run_image_classification_no_trainer.py", "patch": "@@ -438,8 +438,8 @@ def collate_fn(examples):\n lr_scheduler = get_scheduler(\n name=args.lr_scheduler_type,\n optimizer=optimizer,\n- num_warmup_steps=args.num_warmup_steps * args....
2024-01-22T14:22:18
golang/go
4daf8719e7f4c71a620f650d73caab2a9d7ea499
0f47c12a29e6277c8139e8d4f5a45272e437fe6e
runtime: use correct truncated constants for float conversion There is a range of numbers lower than 0x7fff_ffff_ffff_ffff which cannot be represented by a 64 bit float. We set that to the correct limit beyond which conversions can happen properly. It appears that the negative bound check can indeed by correctly hand...
[ { "path": "src/runtime/conv_wasm_test.go", "patch": "@@ -0,0 +1,128 @@\n+// Copyright 2020 The Go Authors. All rights reserved.\n+// Use of this source code is governed by a BSD-style\n+// license that can be found in the LICENSE file.\n+\n+package runtime_test\n+\n+import (\n+\t\"testing\"\n+)\n+\n+var res...
2020-05-04T06:51:18
ggml-org/llama.cpp
a80ff183abe4e5a76316257ffa597da41b3b6fa0
1d49ca37594fb49db6aa9518ba7c512e5ccd0108
ggml-cpu : fix leftover handling in ggml_vec_scale_f32 for SVE (#16443) This commit updates the leftover handling in ggml_vec_scale_f32. The motivation for this is that the code currently incorrectly assumes there would be fewer than ggml_f32_epr leftover elements. However, since the main loop processes 2*ggml_f32_ep...
[ { "path": "ggml/src/ggml-cpu/vec.h", "patch": "@@ -654,11 +654,11 @@ inline static void ggml_vec_scale_f32(const int n, float * y, const float v) {\n }\n // leftovers\n // maximum number of leftover elements will be less that ggml_f32_epr. Apply predicated svmad on available elemen...
2025-10-06T12:17:12
huggingface/transformers
bf674153d38de4e6e8bc82d21e8b4b0c9ee294a6
f0acf7b6d8053d57cc8c40fd16f2561cf5b95800
Add missing key to TFLayoutLM signature (#28640) Fix missing bbox in LayoutLM signature
[ { "path": "src/transformers/models/layoutlm/modeling_tf_layoutlm.py", "patch": "@@ -944,6 +944,12 @@ class TFLayoutLMPreTrainedModel(TFPreTrainedModel):\n config_class = LayoutLMConfig\n base_model_prefix = \"layoutlm\"\n \n+ @property\n+ def input_signature(self):\n+ signature = super(...
2024-01-22T13:16:29
nodejs/node
97d34ddf568a18b23c0e43d511ec9bacf8d6ac49
eb680964b4a2e3954977d85d04a5b3c8726de9e9
deps: fixup nghttp2 version number PR-URL: https://github.com/nodejs/node/pull/14955 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
[ { "path": "deps/nghttp2/lib/includes/nghttp2/nghttp2ver.h", "patch": "@@ -29,14 +29,14 @@\n * @macro\n * Version number of the nghttp2 library release\n */\n-#define NGHTTP2_VERSION \"1.21.0-DEV\"\n+#define NGHTTP2_VERSION \"1.25.0\"\n \n /**\n * @macro\n * Numerical representation of the version numbe...
2017-08-20T22:49:09
golang/go
0f47c12a29e6277c8139e8d4f5a45272e437fe6e
fdb8a3e63846f07a10f44b0f26b839817e336db5
cmd/compile: do not emit code for discardable blank fields Fixes #38690 Change-Id: I3544daf617fddc0f89636265c113001178d16b0c Reviewed-on: https://go-review.googlesource.com/c/go/+/230121 Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Matthew Dempsky <m...
[ { "path": "src/cmd/compile/internal/gc/sinit.go", "patch": "@@ -528,6 +528,9 @@ func fixedlit(ctxt initContext, kind initKind, n *Node, var_ *Node, init *Nodes)\n \n \tfor _, r := range n.List.Slice() {\n \t\ta, value := splitnode(r)\n+\t\tif a == nblank && candiscard(value) {\n+\t\t\tcontinue\n+\t\t}\n \n ...
2020-04-27T17:41:02
ggml-org/llama.cpp
ca71fb9b368e3db96e028f80c4c9df6b6b370edd
35266573b968e1c947b367782fb4b3eddbb4f3c0
model : Granite docling + Idefics3 preprocessing (SmolVLM) (#16206) * feat: Add granite-docling conversion using trillion pretokenizer Branch: gabe-l-hart/GraniteDocling Signed-off-by: Gabe Goodhart <ghart@us.ibm.com> * feat: Add granite-docling vocab pre enum Branch: gabe-l-hart/GraniteDocling Signed-off-by: Gab...
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -891,6 +891,9 @@ def get_vocab_base_pre(self, tokenizer) -> str:\n if chkhsh == \"9b1be57e70d20d9501b2b3186e792d81181ae36ada3903c26f9fea418cf87206\":\n # ref: https://huggingface.co/inclusionAI/LLaDA-MoE-7B-A1B-Base\n res = \"ll...
2025-10-05T12:57:47
rust-lang/rust
d5f0aa49e711db038d7bd30ceb76ba260de8b1fd
0484d23465eb8b977e7549cd8ee7b12c7a62b54d
Fix safety of windows uwp functions These functions were changed to be safe in https://github.com/rust-lang/rust/pull/127763, but this particular UWP version was missed. Otherwise this causes unnecessary unsafe block warnings/errors.
[ { "path": "library/std/src/sys/pal/windows/stack_overflow_uwp.rs", "patch": "@@ -1,4 +1,4 @@\n #![cfg_attr(test, allow(dead_code))]\n \n-pub unsafe fn reserve_stack() {}\n-pub unsafe fn init() {}\n+pub fn reserve_stack() {}\n+pub fn init() {}", "additions": 2, "deletions": 2, "language": "Rust" ...
2025-02-12T22:15:19
huggingface/transformers
f0acf7b6d8053d57cc8c40fd16f2561cf5b95800
83f9196cc44a612ef2bd5a0f721d08cb24885c1f
Fix id2label assignment in run_classification.py (#28590)
[ { "path": "examples/pytorch/text-classification/run_classification.py", "patch": "@@ -545,7 +545,7 @@ def main():\n \"run. You can ignore this if you are doing finetuning.\"\n )\n model.config.label2id = label_to_id\n- model.config.id2label = {id: label for label, ...
2024-01-22T11:31:31
vuejs/vue
e68f83d0b5f9cf5203374d42f52a5df5dee5e500
a59e05c2ffe7d10dc55782baa41cb2c1cd605862
chore: fix typo in `bind-dynamic-keys.js` comment (#11262)
[ { "path": "src/core/instance/render-helpers/bind-dynamic-keys.js", "patch": "@@ -3,7 +3,7 @@\n // helper to process dynamic keys for dynamic arguments in v-bind and v-on.\n // For example, the following template:\n //\n-// <div id=\"foo\" :[key]=\"value\">\n+// <div id=\"app\" :[key]=\"value\">\n //\n // co...
2020-03-30T09:44:33
nodejs/node
2550152395f48ade5261dcc8d0d63e44acb89702
e78a79af8cfdd73dad0e676210eef4d73b361a7a
gyp: fix ninja build failure (GYP patch) Currently the files specified in libraries in node.gyp `cctest` target are getting a '.lib' extension on windows when generated with ninja. This commit adds a check to see if a file has a '.obj' extension and in that case no '.lib' extension will be added. Also, the LIBS speci...
[ { "path": "tools/gyp/pylib/gyp/generator/ninja.py", "patch": "@@ -2148,13 +2148,13 @@ def GenerateOutputForConfig(target_list, target_dicts, data, params,\n restat=True,\n command=mtime_preserving_solink_base % {'suffix': '@$link_file_list'},\n rspfile='$link_file_list',\n- rspfile_co...
2017-04-18T06:20:56
golang/go
7db566f9c26236f852fa0f980e6c4e8cf86890f3
430cee7cd2c2cd4b458fbf2b2dcc4604a3ed8c05
testing: fix reported caller name for funcs passed to Cleanup Record the caller when Cleanup is called to report it with t.Log instead of unhelpful line in testing.go. Fixes #38800 Change-Id: I3136f5d92a0e5a48f8b32a2e13b2521bc91d72d1 Reviewed-on: https://go-review.googlesource.com/c/go/+/232237 Run-TryBot: Tobias Kl...
[ { "path": "src/testing/helper_test.go", "patch": "@@ -33,6 +33,8 @@ helperfuncs_test.go:45: 5\n helperfuncs_test.go:21: 6\n helperfuncs_test.go:44: 7\n helperfuncs_test.go:56: 8\n+helperfuncs_test.go:64: 9\n+helperfuncs_test.go:60: 10\n `\n \tlines := strings.Split(buf.String(), \"\\n\")\n \tdurationRE := r...
2020-05-04T21:23:28
ggml-org/llama.cpp
35266573b968e1c947b367782fb4b3eddbb4f3c0
86df2c9ae4f2f1ee63d2558a9dc797b98524639b
ggml webgpu: actually add softmax, fix rms_norm offset (#16400) * implement soft_max * Fix soft_max data race * Temporary fix, wait on each submit
[ { "path": "ggml/src/ggml-webgpu/ggml-webgpu.cpp", "patch": "@@ -424,6 +424,7 @@ static void ggml_backend_webgpu_build_and_enqueue(webgpu_context &\n ctx->staged_param_bufs.push_back(params_bufs);\n if (ctx->staged_command_bufs.size() == WEBGPU_COMMAND_SUBMIT_BATCH_SIZE) {\n ggml_...
2025-10-05T03:59:31
rust-lang/rust
331911e699f91bc890074fa42374c63dbea06c44
e13928de93c142d2b4052d28d7ed0aaca192c0ee
panic_unwind: Apply unsafe_op_in_unsafe_fn
[ { "path": "library/panic_unwind/src/emcc.rs", "patch": "@@ -71,42 +71,46 @@ pub(crate) unsafe fn cleanup(ptr: *mut u8) -> Box<dyn Any + Send> {\n ptr: *mut u8,\n is_rust_panic: bool,\n }\n- let catch_data = &*(ptr as *mut CatchData);\n+ unsafe {\n+ let catch_data = &*(ptr as...
2025-02-13T20:44:32
vuejs/vue
98b9270ab50fe393111dd1e57f9259636e0d980c
caa33e0a2324c978ab992740dbbabb523884464b
chore: fix svg logos
[ { "path": "README.md", "patch": "@@ -1,12 +1,12 @@\n <p align=\"center\"><a href=\"https://vuejs.org\" target=\"_blank\" rel=\"noopener noreferrer\"><img width=\"100\" src=\"https://vuejs.org/images/logo.png\" alt=\"Vue logo\"></a></p>\n \n <p align=\"center\">\n- <a href=\"https://circleci.com/gh/vuejs/vu...
2020-03-11T01:07:39
huggingface/transformers
83f9196cc44a612ef2bd5a0f721d08cb24885c1f
3f69f415adcbdaedec154ba8eac220ef3276975d
[`GPTNeoX`] Fix BC issue with 4.36 (#28602) * fix dtype issue * add a test * update copied from mentions * nits * fixup * fix copies * Apply suggestions from code review
[ { "path": "src/transformers/models/gpt_neox/modeling_gpt_neox.py", "patch": "@@ -526,8 +526,8 @@ def attention_mask_func(attention_scores, ltor_mask):\n return attention_scores\n \n \n-# Copied from transformers.models.llama.modeling_llama.LlamaRotaryEmbedding with LlamaRotary->GPTNeoXRotary\n class GPT...
2024-01-21T17:01:19
golang/go
430cee7cd2c2cd4b458fbf2b2dcc4604a3ed8c05
0e617d3d5c7e89b1ad1b0285fc77314b8d056211
cmd/link: fix loop variable capturing in TestDeadcode Fixes #38884. Change-Id: Id5ab9977b6404d0dbf71f13e3e4fefb6868ac802 Reviewed-on: https://go-review.googlesource.com/c/go/+/232377 Run-TryBot: Cherry Zhang <cherryyz@google.com> Reviewed-by: Bryan C. Mills <bcmills@google.com> TryBot-Result: Gobot Gobot <gobot@golan...
[ { "path": "src/cmd/link/internal/ld/deadcode_test.go", "patch": "@@ -32,6 +32,7 @@ func TestDeadcode(t *testing.T) {\n \t\t{\"typedesc\", \"type.main.T\"},\n \t}\n \tfor _, test := range tests {\n+\t\ttest := test\n \t\tt.Run(test.src, func(t *testing.T) {\n \t\t\tt.Parallel()\n \t\t\tsrc := filepath.Join(\...
2020-05-05T20:20:56
nodejs/node
4cc78917a88a9cf19a600aab49c7ee501378bf49
3debbc76057ae5df6780d4b639b67d759721c5ab
gyp: inherit parent for `*.host` Gyp defaults to gcc/g++ if CC.host/CXX.host is unset. This is not suitable for environments that only uses the clang toolchain. Since we already assume that the user will provide clang/clang++ through CC/CXX, lean against it (then drop to gcc/g++). Also apply the same logic for link/...
[ { "path": "tools/gyp/pylib/gyp/generator/make.py", "patch": "@@ -2074,10 +2074,10 @@ def CalculateMakefilePath(build_file, base_name):\n 'AR.target': GetEnvironFallback(('AR_target', 'AR'), '$(AR)'),\n 'CXX.target': GetEnvironFallback(('CXX_target', 'CXX'), '$(CXX)'),\n 'LINK.target': GetEnvi...
2016-04-13T02:34:22
ggml-org/llama.cpp
86df2c9ae4f2f1ee63d2558a9dc797b98524639b
f39283960b58a92ecc0c72567711318b20e22b55
vulkan: use a more appropriate amount of threads when generating shaders (#16418) * use a more flexible amount of threads * fix windows compile and 0 thread case * nominmax
[ { "path": "ggml/src/ggml-vulkan/vulkan-shaders/vulkan-shaders-gen.cpp", "patch": "@@ -1,5 +1,3 @@\n-\n-\n #include <iostream>\n #include <fstream>\n #include <sstream>\n@@ -22,6 +20,7 @@\n #include <sys/types.h>\n \n #ifdef _WIN32\n+ #define NOMINMAX\n #include <windows.h>\n #include <direct.h> /...
2025-10-04T20:04:27
rust-lang/rust
e13928de93c142d2b4052d28d7ed0aaca192c0ee
4e36f46464d6473ca1f2c8612b7aed4ea0141bcf
panic_abort: Apply unsafe_op_in_unsafe_fn
[ { "path": "library/panic_abort/src/android.rs", "patch": "@@ -16,9 +16,10 @@ type SetAbortMessageType = unsafe extern \"C\" fn(*const libc::c_char) -> ();\n // Weakly resolve the symbol for android_set_abort_message. This function is only available\n // for API >= 21.\n pub(crate) unsafe fn android_set_abor...
2025-02-13T20:42:29
huggingface/transformers
3f69f415adcbdaedec154ba8eac220ef3276975d
948ffff407ff2263ce04071fd53b86e67abda3b8
Fix auxiliary loss related code in transformers (#28406) * [DETA] fix freeze/unfreeze function * Update src/transformers/models/deta/modeling_deta.py Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com> * Update src/transformers/models/deta/modeling_deta.py Co-authored-by: Arthur <485959...
[ { "path": "src/transformers/models/conditional_detr/modeling_conditional_detr.py", "patch": "@@ -1874,8 +1874,8 @@ def forward(\n intermediate = outputs.intermediate_hidden_states if return_dict else outputs[4]\n outputs_class = self.class_labels_classifier(intermediate)\n \n...
2024-01-19T14:12:01
vuejs/vue
841bb084ca288e142b1958346bb1182bf6f0a564
7d8c4f69d319cb265ce49770900d727eacb074a2
chore: fix typo in element test (#11085)
[ { "path": "test/unit/modules/vdom/patch/element.spec.js", "patch": "@@ -41,7 +41,7 @@ describe('vdom patch: element', () => {\n expect(elm.innerHTML).toBe('hello world')\n })\n \n- it('should create create an elements which having span and text content', () => {\n+ it('should create an elements whic...
2020-02-06T16:22:26
golang/go
0e617d3d5c7e89b1ad1b0285fc77314b8d056211
8627b4c9b50138c75cc7730af7f8db692d33451e
net/http: update link to chrome documentation on connection management The previous link at https://insouciant.org/tech/connection-management-in-chromium/ is no longer accessible. This CL changes it to https://www.chromium.org/developers/design-documents/network-stack#TOC-Connection-Management. Fixes #38885. Change-...
[ { "path": "src/net/http/transport.go", "patch": "@@ -843,7 +843,7 @@ func (t *Transport) tryPutIdleConn(pconn *persistConn) error {\n \t// Deliver pconn to goroutine waiting for idle connection, if any.\n \t// (They may be actively dialing, but this conn is ready first.\n \t// Chrome calls this socket late ...
2020-05-05T19:30:22
nodejs/node
3debbc76057ae5df6780d4b639b67d759721c5ab
327077ce43866020eadaf3b58f7280a09ed0c348
gyp: fix gyp to work on MacOSX without XCode This issue has already submitted to the upstream in https://code.google.com/p/gyp/issues/detail?id=477 Use this commit until the upstream is to be fixed. PR-URL: https://github.com/iojs/io.js/pull/1325 Reviewed-By: Fedor Indutny <fedor@indutny.com> Reviewed-By: Ben Noordhu...
[ { "path": "tools/gyp/pylib/gyp/xcode_emulation.py", "patch": "@@ -1662,6 +1662,8 @@ def _GetXcodeEnv(xcode_settings, built_products_dir, srcroot, configuration,\n sdk_root = xcode_settings._SdkRoot(configuration)\n if not sdk_root:\n sdk_root = xcode_settings._XcodeSdkPath('')\n+ if sdk_roo...
2015-02-10T00:27:52
ggml-org/llama.cpp
898acba6816ad23b6a9491347d30e7570bffadfd
e29acf74fea996014380d59d31aa504ae8964258
rpc : add support for multiple devices (#16276) * rpc : add support for multiple devices Allow rpc-server to expose multiple devices from a single endpoint. Change RPC protocol to include device identifier where needed. closes: #15210 * fixes * use ggml_backend_reg_t * address review comments * fix llama-bench b...
[ { "path": "common/arg.cpp", "patch": "@@ -1615,18 +1615,14 @@ static void add_rpc_devices(const std::string & servers) {\n if (!rpc_reg) {\n throw std::invalid_argument(\"failed to find RPC backend\");\n }\n- typedef ggml_backend_dev_t (*ggml_backend_rpc_add_device_t)(const char * endpoin...
2025-10-04T09:49:16
huggingface/transformers
948ffff407ff2263ce04071fd53b86e67abda3b8
9efec1140044c9afc2c717b785dca36ee8ccee66
RWKV: raise informative exception when attempting to manipulate `past_key_values` (#28600)
[ { "path": "src/transformers/models/rwkv/modeling_rwkv.py", "patch": "@@ -778,6 +778,24 @@ def get_output_embeddings(self):\n def set_output_embeddings(self, new_embeddings):\n self.head = new_embeddings\n \n+ def generate(self, *args, **kwargs):\n+ # Thin wrapper to raise exceptions wh...
2024-01-19T14:09:36
vuejs/vue
468c323af1f7e296886d5df1a05d3793f60f9e8f
b07087deae060244fe5d9651b38dc5f1e79667a9
docs: fix typo (#11050)
[ { "path": "dist/README.md", "patch": "@@ -9,7 +9,7 @@\n \n ### Terms\n \n-- **Full**: builds that contains both the compiler and the runtime.\n+- **Full**: builds that contain both the compiler and the runtime.\n \n - **Compiler**: code that is responsible for compiling template strings into JavaScript rend...
2020-01-26T14:08:17
golang/go
8627b4c9b50138c75cc7730af7f8db692d33451e
a8e83d51a0cc709c836fe8836b10155342aa2ac4
cmd/compile: use ReadFull to read fingerprint Don't fail on partial read. May fix #38849. Change-Id: Icf075d454e1bfe9299b07eea47bbc4d448c3bd5e Reviewed-on: https://go-review.googlesource.com/c/go/+/232317 Run-TryBot: Cherry Zhang <cherryyz@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad F...
[ { "path": "src/cmd/compile/internal/gc/iimport.go", "patch": "@@ -15,6 +15,7 @@ import (\n \t\"cmd/internal/src\"\n \t\"encoding/binary\"\n \t\"fmt\"\n+\t\"io\"\n \t\"math/big\"\n \t\"os\"\n \t\"strings\"\n@@ -191,7 +192,7 @@ func iimport(pkg *types.Pkg, in *bio.Reader) (fingerprint goobj2.FingerprintType\n...
2020-05-05T17:12:01
huggingface/transformers
9efec1140044c9afc2c717b785dca36ee8ccee66
d15781597a23a215306e4192ba22b7e949e12c13
Fix `_speculative_sampling` implementation (#28508)
[ { "path": "src/transformers/generation/candidate_generator.py", "patch": "@@ -171,12 +171,16 @@ def get_candidates(self, input_ids: torch.LongTensor) -> Tuple[torch.LongTensor,\n \"\"\"\n input_ids = input_ids.to(self.assistant_model.device)\n \n+ # Don't generate more than `max_lengt...
2024-01-19T14:07:31
nodejs/node
9e5d0e3d76a9ae23a43e1849e37e945a6326a0c6
da1af3d3fc1b6c780070167527ef1964fcfc81f6
test: add known issue for vm module GlobalPropertySetterCallback() does not check the property on the sandbox. It wrongly throws an error instead of updating `x`. PR-URL: https://github.com/nodejs/node/pull/14661 Ref: https://github.com/nodejs/node/issues/12300 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed...
[ { "path": "test/known_issues/test-vm-strict-mode.js", "patch": "@@ -0,0 +1,17 @@\n+'use strict';\n+// https://github.com/nodejs/node/issues/12300\n+\n+require('../common');\n+const assert = require('assert');\n+const vm = require('vm');\n+\n+const ctx = vm.createContext({ x: 42 });\n+\n+// The following lin...
2017-08-07T09:13:01
ggml-org/llama.cpp
e29acf74fea996014380d59d31aa504ae8964258
128d522c04286e019666bd6ee4d18e3fbf8772e2
vulkan : incremental shader builds (#16341) * vulkan (DRAFT): split shader generation by GLSL source file, to improve incremental build times * support dep-files so shaders are recompiled if their included files change * rename shader files which are used as "headers" to use .glsl extension * move glslc extension de...
[ { "path": "ggml/src/ggml-vulkan/CMakeLists.txt", "patch": "@@ -1,5 +1,6 @@\n cmake_minimum_required(VERSION 3.19)\n cmake_policy(SET CMP0114 NEW)\n+cmake_policy(SET CMP0116 NEW)\n \n find_package(Vulkan COMPONENTS glslc REQUIRED)\n \n@@ -54,25 +55,25 @@ if (Vulkan_FOUND)\n # Test all shader extensions\n...
2025-10-04T09:42:56
vuejs/vue
4821149b8bbd4650b1d9c9c3cfbb539ac1e24589
9f5563c0e1a4f32188a293e72052bc48a340d4b1
fix(types): fix prop constructor type inference (#10779)
[ { "path": "package.json", "patch": "@@ -74,7 +74,7 @@\n \"@babel/plugin-transform-flow-strip-types\": \"^7.0.0\",\n \"@babel/preset-env\": \"^7.0.0\",\n \"@babel/register\": \"^7.0.0\",\n- \"@types/node\": \"^10.12.18\",\n+ \"@types/node\": \"^12.12.0\",\n \"@types/webpack\": \"^4.4.22...
2019-10-30T14:45:29
huggingface/transformers
d15781597a23a215306e4192ba22b7e949e12c13
5b7f4bc6c1c12111623261e03db480a50a90aa89
Allow add_tokens for ESM (#28535) * Allow non-special tokens to be added * Add test, fix token adding code * Revert changes to id_to_token and token_to_id * Update the ESM tokenizer to be a bit more standardized * Update src/transformers/models/esm/tokenization_esm.py Co-authored-by: Arthur <48595927+Ar...
[ { "path": "src/transformers/models/esm/tokenization_esm.py", "patch": "@@ -14,10 +14,9 @@\n # limitations under the License.\n \"\"\"Tokenization classes for ESM.\"\"\"\n import os\n-from typing import List, Optional, Union\n+from typing import List, Optional\n \n from ...tokenization_utils import PreTraine...
2024-01-19T12:32:05
golang/go
a8e83d51a0cc709c836fe8836b10155342aa2ac4
a6c6e59655e2599bd6dabce51a3a68accff433f8
crypto/rsa,crypto/ecdsa,crypto/ed25519: implement PrivateKey.Equal Fixes #38190 Change-Id: I10766068ee18974e81b3bd78ee0b4d83cc9d1a8c Reviewed-on: https://go-review.googlesource.com/c/go/+/231417 Run-TryBot: Filippo Valsorda <filippo@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Katie Hockman ...
[ { "path": "src/crypto/ecdsa/ecdsa.go", "patch": "@@ -62,6 +62,9 @@ type PublicKey struct {\n \tX, Y *big.Int\n }\n \n+// Any methods implemented on PublicKey might need to also be implemented on\n+// PrivateKey, as the latter embeds the former and will expose its methods.\n+\n // Equal reports whether pub a...
2020-05-01T03:52:48
vuejs/vue
d7d8ff06b70cf1a2345e3839c503fdb08d75ba49
e8ca21ff1d7af92649902952c97418ad3ffd014f
chore: fix typo in `next-tick.js` comment (#10607)
[ { "path": "src/core/util/next-tick.js", "patch": "@@ -72,7 +72,7 @@ if (typeof Promise !== 'undefined' && isNative(Promise)) {\n isUsingMicroTask = true\n } else if (typeof setImmediate !== 'undefined' && isNative(setImmediate)) {\n // Fallback to setImmediate.\n- // Techinically it leverages the (macr...
2019-10-08T08:41:17
ggml-org/llama.cpp
f6dcda390004b627ef30af378d0c01ad2519289e
606a73f53175077429484b23dcf799f69a31d0bd
server : context checkpointing for hybrid and recurrent models (#16382) * initial commit for branch 3 * generalize `swa_checkpoint` to `ctx_checkpoint` this extends `llama-server`'s SWA checkpointing logic to include hybrid/recurrent models such as Jamba, Granite * oops * disable debug prints * keep backwards com...
[ { "path": "common/arg.cpp", "patch": "@@ -1932,13 +1932,13 @@ common_params_context common_params_parser_init(common_params & params, llama_ex\n }\n ).set_env(\"LLAMA_ARG_SWA_FULL\"));\n add_opt(common_arg(\n- {\"--swa-checkpoints\"}, \"N\",\n- string_format(\"max number of SWA...
2025-10-03T18:34:51
nodejs/node
da1af3d3fc1b6c780070167527ef1964fcfc81f6
779a480bf171148a47fab6822076837825726746
lib: instantiate console methods eagerly Before this commit they were instantiated lazily but that fails when the first call is under stack overflow conditions. PR-URL: https://github.com/nodejs/node/pull/14791 Fixes: https://github.com/nodejs/help#778 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Timothy...
[ { "path": "lib/internal/bootstrap_node.js", "patch": "@@ -26,7 +26,8 @@\n setupProcessICUVersions();\n \n setupGlobalVariables();\n- if (!process._noBrowserGlobals) {\n+ const browserGlobals = !process._noBrowserGlobals;\n+ if (browserGlobals) {\n setupGlobalTimeouts();\n setupG...
2017-08-12T13:49:41
huggingface/transformers
5b7f4bc6c1c12111623261e03db480a50a90aa89
faf03541e260c27db94b114a8ab1f125c0f790bf
[`Llava`] Fix convert_llava_weights_to_hf.py script (#28570) * Update convert_llava_weights_to_hf.py Fix call to `tokenizer.add_tokens` * Add special_tokens to tokenizer.add_tokens in convert_vipllava_weights_to_hf.py
[ { "path": "src/transformers/models/llava/convert_llava_weights_to_hf.py", "patch": "@@ -55,7 +55,7 @@ def convert_llava_llama_to_hf(text_model_id, vision_model_id, output_hub_path, o\n text_config = AutoConfig.from_pretrained(text_model_id)\n \n tokenizer = AutoTokenizer.from_pretrained(text_model_i...
2024-01-19T12:31:25
vuejs/vue
e8ca21ff1d7af92649902952c97418ad3ffd014f
78aefcf6d5f56935e67d6c2b6443342f8c381d67
chore: fix sponsor link
[ { "path": "BACKERS.md", "patch": "@@ -21,7 +21,7 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu\n <img width=\"260px\" src=\"https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/stdlib.png\">\n </a>\n </p>\n- \n+\n <!--special end-->\n...
2019-10-07T14:49:43
golang/go
a6c6e59655e2599bd6dabce51a3a68accff433f8
b4ecafc986268d171776603537d40c8dff3fae61
crypto/tls: enforce TLS 1.3 (and TLS 1.2) downgrade protection checks Fixes #37763 Change-Id: Ic6bcc9af0d164966f4ae31087998e5b546540038 Reviewed-on: https://go-review.googlesource.com/c/go/+/231038 Run-TryBot: Filippo Valsorda <filippo@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Katie Hockm...
[ { "path": "src/crypto/tls/common.go", "patch": "@@ -207,6 +207,10 @@ const (\n \tdowngradeCanaryTLS11 = \"DOWNGRD\\x00\"\n )\n \n+// testingOnlyForceDowngradeCanary is set in tests to force the server side to\n+// include downgrade canaries even if it's using its highers supported version.\n+var testingOnly...
2020-04-29T21:54:24
ggml-org/llama.cpp
606a73f53175077429484b23dcf799f69a31d0bd
946f71ed9ade07e319859b5ce656144140e066fb
metal : fix loop bound in ggml_mem_ranges (#16412)
[ { "path": "ggml/src/ggml-metal/ggml-metal-common.cpp", "patch": "@@ -112,7 +112,7 @@ static bool ggml_mem_ranges_add_dst(ggml_mem_ranges_t mrs, const ggml_tensor * t\n }\n \n bool ggml_mem_ranges_add(ggml_mem_ranges_t mrs, const ggml_tensor * tensor) {\n- for (int i = 0; i < GGML_MAX_DIMS; i++) {\n+ f...
2025-10-03T16:18:56
nodejs/node
779a480bf171148a47fab6822076837825726746
58831b2f24a6b71b172e5f5876cb77096408142e
test: do not modify fixtures in test-fs-chmod `test-fs-chmod` modifies the permissions on files in `test/fixtures`. This change has the test use the temp directory instead. One of the fixture files is not used by any other test, so it has been deleted. I took this opportunity to remove `console.log()` statements from...
[ { "path": "test/fixtures/a1.js", "patch": "@@ -1,46 +0,0 @@\n-// Copyright Joyent, Inc. and other Node contributors.\n-//\n-// Permission is hereby granted, free of charge, to any person obtaining a\n-// copy of this software and associated documentation files (the\n-// \"Software\"), to deal in the Softwar...
2017-08-18T20:03:20
vuejs/vue
3dcd85b82693765b13e866132bcaa318ef086fe5
235064ebe19648420295f5ee57cf5ed5b72bbc16
chore: fix typo in <template v-slot> warning (#10585)
[ { "path": "src/compiler/parser/index.js", "patch": "@@ -654,7 +654,7 @@ function processSlotContent (el) {\n if (el.parent && !maybeComponent(el.parent)) {\n warn(\n `<template v-slot> can only appear at the root level inside ` +\n- `the receiving the compone...
2019-10-01T07:07:36
huggingface/transformers
8db64367b2316673cf649a2a8a48b0a927928c4b
690fe73f2091bac0d3bb80d4f787ef75e033dd60
Fix wrong xpu device in DistributedType.MULTI_XPU mode (#28386) * remove elif xpu * remove redudant code
[ { "path": "src/transformers/training_args.py", "patch": "@@ -1844,11 +1844,6 @@ def _setup_devices(self) -> \"torch.device\":\n device = torch.device(\"cuda\", local_rank)\n self._n_gpu = 1\n torch.cuda.set_device(device)\n- elif is_torch_xpu_available() and \"ACCE...
2024-01-19T12:28:53
ggml-org/llama.cpp
946f71ed9ade07e319859b5ce656144140e066fb
638d330246954e88dffc22ce01fec15e6894e544
llama : fix shapes for bert/mpt q/k norm (#16409)
[ { "path": "src/llama-model.cpp", "patch": "@@ -7843,6 +7843,8 @@ struct llm_build_bert : public llm_graph_context {\n }\n \n if (model.layers[il].attn_q_norm) {\n+ Qcur = ggml_reshape_2d(ctx0, Qcur, n_embd_head*n_head, n_tokens);\n+\n Qc...
2025-10-03T12:40:25
golang/go
9a097ea8f2e7d00606481c4a5dcddfb8c519ce1b
afbf9d47dd993fe235c58df611a3fdb4eb526bfc
[dev.link] cmd/link: remove elderly ld bug workaround on arm64 The arm64 archreloc method contains a workaround for a 2015-era binutils/linker bug, https://sourceware.org/bugzilla/show_bug.cgi?id=18270. This bug has been fixed for some time now, so remove the workaround for it (the workaround includes some code that m...
[ { "path": "src/cmd/link/internal/arm64/asm.go", "patch": "@@ -445,37 +445,8 @@ func archreloc(target *ld.Target, syms *ld.ArchSyms, r *sym.Reloc, s *sym.Symbol\n \t\tswitch r.Type {\n \t\tdefault:\n \t\t\treturn val, false\n-\t\tcase objabi.R_ARM64_GOTPCREL:\n-\t\t\tvar o1, o2 uint32\n-\t\t\tif target.IsBig...
2020-05-04T18:24:03
nodejs/node
58831b2f24a6b71b172e5f5876cb77096408142e
5e7c69716ecbb7a0ebceaed7cc1c6847f9bc5058
uv: improvements to process.binding('uv') * ensure that UV_... props are constants * improve error message ... the error message when passing in `err >= 0` to `util._errnoException()` was less than useful. * refine uses of process.binding('uv') PR-URL: https://github.com/nodejs/node/pull/14933 Reviewed-By: Anna ...
[ { "path": "lib/_stream_wrap.js", "patch": "@@ -129,20 +129,18 @@ StreamWrap.prototype.doWrite = function doWrite(req, bufs) {\n // Ensure that this is called once in case of error\n pending = 0;\n \n+ let errCode = 0;\n+ if (err) {\n+ const code = uv[`UV_${err.code}`];\n+ errCode = (...
2017-08-18T22:37:35