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
rust-lang/rust
5c5ed92c37a70603e9d45c698898841afacfb25f
96d966b07aabbf0438489b848b8f039f88bb518e
Simplify trait error message for CoercePointee validation
[ { "path": "compiler/rustc_hir_analysis/messages.ftl", "patch": "@@ -99,6 +99,9 @@ hir_analysis_coerce_pointee_not_struct = `derive(CoercePointee)` is only applica\n \n hir_analysis_coerce_pointee_not_transparent = `derive(CoercePointee)` is only applicable to `struct` with `repr(transparent)` layout\n \n+hi...
2025-02-19T19:51:06
ggml-org/llama.cpp
8ea958d4d9d5bd43f9f244950bf057b5227ce8d9
f9ec8858edea4a0ecfea149d6815ebfb5ecc3bcd
model : add ASR support for LFM2-Audio-1.5B (conformer) (#18106) * ASR with LFM2-Audio-1.5B * Set rope_theta * Fix comment * Remove rope_theta setting * Address PR feedback * rename functions to conformer * remove some redundant ggml_cont * fix missing tensor * add prefix "a." for conv tensors * remove redund...
[ { "path": "common/arg.cpp", "patch": "@@ -1196,7 +1196,7 @@ common_params_context common_params_parser_init(common_params & params, llama_ex\n [](common_params & params, const std::string & value) {\n params.system_prompt = value;\n }\n- ).set_examples({LLAMA_EXAMPLE_COMPLETIO...
2025-12-18T23:18:01
golang/go
fb5c3eabd16bbeea28ee8a11d29a31cf5ed124dd
494ec85d9fd6deea388c454dfd836d9f845f7153
net/http: set Content-Length:0 for empty PATCH requests as with POST, PATCH Sets Content-Length:0 for nil bodies in PATCH requests, as we already do for POST and PUT requests. RFC 2616 mentions that unless a method’s Content-Length is forbidden it can send one. In the wild, we’ve found that Microsoft Azure’s DataLak...
[ { "path": "src/net/http/requestwrite_test.go", "patch": "@@ -588,6 +588,26 @@ var reqWriteTests = []reqWriteTest{\n \t\t},\n \t\tWantError: errors.New(\"net/http: can't write control character in Request.URL\"),\n \t},\n+\n+\t26: { // Request with nil body and PATCH method. Issue #40978\n+\t\tReq: Request{\...
2020-08-24T13:42:45
huggingface/transformers
41579763ee47a68d0c15fd798db1a309723d94d2
6cdbd73e01a9719bfaec07d91fd108e8d932bbbb
Fix length related warnings in speculative decoding (#29585) * avoid generation length warning * add tests * Update src/transformers/generation/candidate_generator.py Co-authored-by: Joao Gante <joaofranciscocardosogante@gmail.com> * add tests and minor fixes * refine `min_new_tokens` * Update src/tr...
[ { "path": "src/transformers/generation/candidate_generator.py", "patch": "@@ -148,6 +148,11 @@ def __init__(\n self.generation_config.return_dict_in_generate = True\n self.generation_config.output_scores = True\n \n+ # avoid unnecessary warnings that min_length is larger than max_new_...
2024-04-10T07:45:07
nodejs/node
c4cb06195deaccf05cc8f4896000b2141a4b26e0
b7fec86bf24b62344a404c96e3535c630d0ce5b1
test: replace fixturesDir with fixtures module PR-URL: https://github.com/nodejs/node/pull/15848 Reviewed-By: Ryan Graham <r.m.graham@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <t...
[ { "path": "test/parallel/test-tls-disable-renegotiation.js", "patch": "@@ -1,7 +1,7 @@\n 'use strict';\n const common = require('../common');\n const assert = require('assert');\n-const fs = require('fs');\n+const fixtures = require('../common/fixtures');\n \n // Tests that calling disableRenegotiation on a...
2017-10-06T16:52:35
rust-lang/rust
96d966b07aabbf0438489b848b8f039f88bb518e
b6899ab9216d63762ba7f97c8a457dc9047e0a2b
Consolidate and rework CoercePointee and DispatchFromDyn errors
[ { "path": "compiler/rustc_error_codes/src/error_codes/E0374.md", "patch": "@@ -1,5 +1,5 @@\n-`CoerceUnsized` was implemented on a struct which does not contain a field with\n-an unsized type.\n+`CoerceUnsized` or `DispatchFromDyn` was implemented on a struct which does not\n+contain a field that is being un...
2025-02-19T19:10:01
ggml-org/llama.cpp
f716588e63224b2f33bb5d13b397fbcfabefa888
4d1316c440e7ee7b854423aea8db6ffcd92caeaf
ggml-cpu: extend support for RVV floating-point kernels (#17318) * cmake: add BF16 RVV flag for ggml-cpu * ggml-cpu: add floating-point conversion kernels * ggml: add floating-point kernels Co-authored-by: Rehan Qasim <rehan.qasim@10xengineers.ai> * ggml-cpu: fix lmul in vec_dot_bf16 * ggml-cpu: change redsum to ...
[ { "path": "ggml/src/ggml-cpu/CMakeLists.txt", "patch": "@@ -458,13 +458,17 @@ function(ggml_add_cpu_backend_variant_impl tag_name)\n if (GGML_RV_ZFH)\n string(APPEND MARCH_STR \"_zfh\")\n endif()\n+\n if (GGML_XTHEADVECTOR)\n string(APPEND ...
2025-12-18T14:02:09
ollama/ollama
681f3c4c42a645fb3e9cbc4311ae6662d838a684
5d3f314b0bdcc7a599f65e947bee65e3cc4c73bd
fix num_keep
[ { "path": "server/routes.go", "patch": "@@ -117,12 +117,13 @@ func load(ctx context.Context, model *Model, reqOpts map[string]interface{}, ses\n \t\t\tif err != nil {\n \t\t\t\treturn err\n \t\t\t}\n+\n \t\t\ttokensNoSystem, err := llmModel.Encode(ctx, promptNoSystem)\n \t\t\tif err != nil {\n \t\t\t\tretur...
2023-09-03T21:36:14
huggingface/transformers
6cdbd73e01a9719bfaec07d91fd108e8d932bbbb
21e23ffca75575190a0a6088f2b51d38a098d4c4
[CI] Fix setup (#30147) * [CI] fix setup * fix * test * Revert "test" This reverts commit 7df416d45074439e2fa1b78afd24eacf37ce072f.
[ { "path": ".github/workflows/self-scheduled.yml", "patch": "@@ -33,6 +33,7 @@ env:\n \n jobs:\n setup:\n+ if: contains(fromJSON('[\"run_tests_gpu\", \"run_tests_quantization_torch_gpu\"]'), inputs.job)\n name: Setup\n strategy:\n matrix:", "additions": 1, "deletions": 0, "lang...
2024-04-09T16:10:00
golang/go
494ec85d9fd6deea388c454dfd836d9f845f7153
3a7f8ccf246a5929458a7f818c1d4c125ac72892
go/types: update test case to exercise mutually recursive interfaces Due to a typo, this test case was not actually exercising the bug described in golang/go#33656. Update it to do so. Interestingly, the comparison is now valid (as it should be) -- I suspect #33656 is actually fixed. Fixes #33656 Change-Id: If50a917...
[ { "path": "src/go/types/testdata/cycles2.src", "patch": "@@ -37,7 +37,7 @@ type A interface {\n }\n \n type B interface {\n-\ta() interface {\n+\tb() interface {\n \t\tAB\n \t}\n }\n@@ -59,8 +59,7 @@ var y interface {\n \tB\n }\n \n-// TODO(gri) This should be a valid compare. See #33656.\n-var _ = x /* ERR...
2020-07-06T20:45:46
ggml-org/llama.cpp
4d1316c440e7ee7b854423aea8db6ffcd92caeaf
ec7b9329aed15302cf22528a286df673f09e4280
arg: fix ASAN error on sampler_type_names empty (#18167)
[ { "path": "common/arg.cpp", "patch": "@@ -873,7 +873,9 @@ common_params_context common_params_parser_init(common_params & params, llama_ex\n sampler_type_chars += common_sampler_type_to_chr(sampler);\n sampler_type_names += common_sampler_type_to_str(sampler) + \";\";\n }\n- sampler_t...
2025-12-18T13:30:32
huggingface/transformers
21e23ffca75575190a0a6088f2b51d38a098d4c4
58a939c6b77ec36b890c441a6a07d3ef0b8dd874
[docs] Fix image segmentation guide (#30132) fixes
[ { "path": "docs/source/en/tasks/semantic_segmentation.md", "patch": "@@ -28,8 +28,9 @@ In this guide, we will:\n \n Before you begin, make sure you have all the necessary libraries installed:\n \n-```bash\n-pip install -q datasets transformers evaluate\n+```py\n+# uncomment to install the necessary librarie...
2024-04-09T16:08:37
nodejs/node
7da45f87da65c859dc40a2bf3eea3d9da064f41d
49577269e25fa2ea585d9005cff6e7167c85b258
build: ignore empty folders in test-addons Fixes: https://github.com/nodejs/node/issues/14843 PR-URL: https://github.com/nodejs/node/pull/16031 Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Anna He...
[ { "path": "Makefile", "patch": "@@ -267,7 +267,10 @@ test/addons/.buildstamp: config.gypi \\\n \ttest/addons/.docbuildstamp\n #\tCannot use $(wildcard test/addons/*/) here, it's evaluated before\n #\tembedded addons have been generated from the documentation.\n+#\tIgnore folders without binding.gyp (#14843)...
2017-10-06T19:21:51
ollama/ollama
59a705525c91bfa407c2f5fa58eac33c109bdd4a
5d3f314b0bdcc7a599f65e947bee65e3cc4c73bd
fix not forwarding last token
[ { "path": "llm/ggml_llama.go", "patch": "@@ -353,11 +353,6 @@ func (llm *llama) SetOptions(opts api.Options) {\n \tllm.Options = opts\n }\n \n-type Prediction struct {\n-\tContent string `json:\"content\"`\n-\tStop bool `json:\"stop\"`\n-}\n-\n type GenerationSettings struct {\n \tFrequencyPenalty floa...
2023-09-03T21:46:35
golang/go
0e031676288ddd56fb410b6b27807a180a585db3
ffbd8524ac4777e164ac20d80c1d8bd6a4ad5ccc
cmd/go: use verbose flag to log proxy activities Fixes #29515 Fixes #30604 Change-Id: Ie75a331cd6ca51806c5720443506d4fe0bec28cf Reviewed-on: https://go-review.googlesource.com/c/go/+/227162 Run-TryBot: Jay Conrod <jayconrod@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Jay Conrod <jayconrod@g...
[ { "path": "src/cmd/go/proxy_test.go", "patch": "@@ -91,7 +91,7 @@ func readModList() {\n \t\tencPath := strings.ReplaceAll(name[:i], \"_\", \"/\")\n \t\tpath, err := module.UnescapePath(encPath)\n \t\tif err != nil {\n-\t\t\tif encPath != \"example.com/invalidpath/v1\" {\n+\t\t\tif testing.Verbose() && encP...
2020-04-12T19:28:41
ggml-org/llama.cpp
9ce64aed7d74f6166dc17ad1d4bd544e76735418
900316da4e1443723d0d49835607c9fd218870e7
webui: Fix selecting generated output issues during active streaming (#18091) * draft: incremental markdown rendering with stable blocks * refactor: Logic improvements * refactor: DRY Markdown post-processing logic * refactor: ID generation improvements * fix: Remove runes * refactor: Clean up & add JSDocs * cho...
[ { "path": "tools/server/webui/package-lock.json", "patch": "@@ -2109,9 +2109,9 @@\n \t\t\t}\n \t\t},\n \t\t\"node_modules/@sveltejs/kit\": {\n-\t\t\t\"version\": \"2.48.5\",\n-\t\t\t\"resolved\": \"https://registry.npmjs.org/@sveltejs/kit/-/kit-2.48.5.tgz\",\n-\t\t\t\"integrity\": \"sha512-/rnwfSWS3qwUSzvHy...
2025-12-18T10:13:52
huggingface/transformers
58a939c6b77ec36b890c441a6a07d3ef0b8dd874
6487e9b370da32dde8819fbe4422878dabba5211
Fix quantization tests (#29914) * revert back to torch 2.1.1 * run test * switch to torch 2.2.1 * udapte dockerfile * fix awq tests * fix test * run quanto tests * update tests * split quantization tests * fix * fix again * final fix * fix report artifact * build docker again ...
[ { "path": ".github/workflows/self-scheduled.yml", "patch": "@@ -33,7 +33,6 @@ env:\n \n jobs:\n setup:\n- if: ${{ inputs.job == 'run_tests_gpu' }}\n name: Setup\n strategy:\n matrix:\n@@ -45,6 +44,7 @@ jobs:\n outputs:\n folder_slices: ${{ steps.set-matrix.outputs.folder_slices ...
2024-04-09T15:10:29
nodejs/node
c5f54b1fad19a35dc00322181650545d2961ccc4
07f1efc2aeb68d993c8e132e3c3c52881c7f6670
repl: remove internal frames from runtime errors When a user executes code in the REPLServer which generates an exception, there is no need to display the REPLServer internal stack frames. PR-URL: https://github.com/nodejs/node/pull/15351 Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com> Reviewed-By: James...
[ { "path": "lib/repl.js", "patch": "@@ -285,14 +285,16 @@ function REPLServer(prompt,\n self._domain.on('error', function debugDomainError(e) {\n debug('domain error');\n const top = replMap.get(self);\n-\n+ const pstrace = Error.prepareStackTrace;\n+ Error.prepareStackTrace = prepareStackTra...
2017-09-11T22:24:21
golang/go
aa49a0b37249fc1d4a7963b6f1119983eaae9f97
4220d670844e15f78041a9fa7dea1c2a89a9b139
runtime: add test for StorepNoWB param leaking CL 249962 added wasm StorepNoWB implementation in assembly, it's now like all other architectures. This CL adds a general test that the second param of StorepNoWB must be force to escape. Fixes #40975 Change-Id: I1eccc7e50a3ec742a1912d65f25b15f9f5ad9241 Reviewed-on: htt...
[ { "path": "src/runtime/internal/atomic/atomic_test.go", "patch": "@@ -220,3 +220,13 @@ func TestBitwiseContended(t *testing.T) {\n \t\t}\n \t}\n }\n+\n+func TestStorepNoWB(t *testing.T) {\n+\tvar p [2]*int\n+\tfor i := range p {\n+\t\tatomic.StorepNoWB(unsafe.Pointer(&p[i]), unsafe.Pointer(new(int)))\n+\t}\...
2020-08-22T11:21:14
ggml-org/llama.cpp
900316da4e1443723d0d49835607c9fd218870e7
57c1e0564365b76a954304812cc90d3e60939bc7
webui: fix chat screen shadow width (#18010) * webui: fix chat screen shadow width * chore: add index.html.gz
[ { "path": "tools/server/webui/src/lib/components/app/chat/ChatScreen/ChatScreen.svelte", "patch": "@@ -587,7 +587,7 @@\n \n \t\t&::after {\n \t\t\tcontent: '';\n-\t\t\tposition: fixed;\n+\t\t\tposition: absolute;\n \t\t\tbottom: 0;\n \t\t\tz-index: -1;\n \t\t\tleft: 0;", "additions": 1, "deletions":...
2025-12-18T10:08:42
rust-lang/rust
60fc2beebbc0509e89af89cb021bdd67ea6239df
f04bbc60f8c353ee5ba0677bc583ac4a88b2c180
run some tests on emscripten again these were ignored because of #45351, but that issue has long been fixed. Let's see if these pass, or if there is some issue lurking still
[ { "path": "tests/ui/simd/intrinsic/generic-arithmetic-pass.rs", "patch": "@@ -1,6 +1,5 @@\n //@ run-pass\n #![allow(non_camel_case_types)]\n-//@ ignore-emscripten FIXME(#45351) hits an LLVM assert\n #![feature(repr_simd, intrinsics)]\n \n #[repr(simd)]\n@@ -53,7 +52,6 @@ unsafe fn simd_or<T>(x: T, y: T) -> ...
2025-02-24T18:48:24
huggingface/transformers
08a194fcd615dcf9406a7e319d637cc303097f46
e9c23fa056f401a586a1691edf773d1b9b60f96d
Fix slow tests for important models to be compatible with A10 runners (#29905) * fix mistral and mixtral * add pdb * fix mixtral tesst * fix * fix mistral ? * add fix gemma * fix mistral * fix * test * anoter test * fix * fix * fix mistral tests * fix them again * final fixes ...
[ { "path": "tests/models/gemma/test_modeling_gemma.py", "patch": "@@ -21,6 +21,7 @@\n \n from transformers import AutoModelForCausalLM, AutoTokenizer, GemmaConfig, is_torch_available\n from transformers.testing_utils import (\n+ is_flaky,\n require_bitsandbytes,\n require_flash_attn,\n require...
2024-04-09T11:28:54
nodejs/node
07f1efc2aeb68d993c8e132e3c3c52881c7f6670
e791057ee7b19b29c13c878582ca5711f102ebef
test: common.fixturesDir -> common.fixtures Update test-https-agent-session-reuse.js PR-URL: https://github.com/nodejs/node/pull/16028 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: James M Snell <...
[ { "path": "test/parallel/test-dgram-send-empty-array.js", "patch": "@@ -14,7 +14,7 @@ let interval;\n \n client.on('message', common.mustCall(function onMessage(buf, info) {\n const expected = Buffer.alloc(0);\n- assert.ok(buf.equals(expected), 'message was received correctly');\n+ assert.ok(buf.equals(...
2017-10-06T17:58:33
golang/go
c0602603b20186228b4f89f265cb3f7665e06768
623652e73fa694eacac9e4b93049817615f1be1d
runtime: implement StorepNoWB for wasm in assembly The second argument of StorepNoWB must be forced to escape. The current Go code does not explicitly enforce that property. By implementing in assembly, and not using go:noescape, we force the issue. Test is in CL 249761. Issue #40975. This CL is needed for CL 249917...
[ { "path": "src/runtime/internal/atomic/asm_wasm.s", "patch": "@@ -0,0 +1,10 @@\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+#include \"textflag.h\"\n+\n+TEXT runtime∕internal∕atomic·S...
2020-08-23T18:52:53
rust-lang/rust
a4a9fb412e1b0420b570a2d6ac2cf81142c5cc11
e0be1a02626abef2878cb7f4aaef7ae409477112
Don't immediately panic if dropck fails without returning errors Type lowering can give non-fatal errors that dropck then uses to suppress its own errors. Assume this is the cases when we can't find the error in borrowck.
[ { "path": "compiler/rustc_borrowck/src/type_check/liveness/trace.rs", "patch": "@@ -4,15 +4,14 @@ use rustc_index::interval::IntervalSet;\n use rustc_infer::infer::canonical::QueryRegionConstraints;\n use rustc_infer::infer::outlives::for_liveness;\n use rustc_middle::mir::{BasicBlock, Body, ConstraintCateg...
2025-02-24T16:38:00
ggml-org/llama.cpp
0a0bba05e8390ab7e4a54bb8c0ed0a25da64cf62
5166aaf86898c5d5268b2c4f770a35cb7ca1a0f6
ggml-hexagon: swiglu_oai operation (#18114) * snapshot: debug ggml-hexagon swiglu-oai * fix: fix hvx_min_scalar_f32 * feat: working swiglu-oai * chore: fix formating isue
[ { "path": "ggml/src/ggml-hexagon/ggml-hexagon.cpp", "patch": "@@ -3312,7 +3312,7 @@ static bool ggml_backend_hexagon_device_supports_op(ggml_backend_dev_t dev, cons\n break;\n \n case GGML_OP_GLU:\n- if ((ggml_get_glu_op(op) == GGML_GLU_OP_SWIGLU) /* || (ggml_get_glu_op(op) ==...
2025-12-17T21:38:21
huggingface/transformers
ba1b24e07bebc8e36b464bf7a403feb4f3ccb807
ec59a4219254e0c7efe3ec9001c7a05efdeec010
[Trainer] Fix default data collator (#30142) * Fix data collator * Support feature extractors as well
[ { "path": "src/transformers/trainer.py", "patch": "@@ -58,6 +58,7 @@\n from .configuration_utils import PretrainedConfig\n from .data.data_collator import DataCollator, DataCollatorWithPadding, default_data_collator\n from .debug_utils import DebugOption, DebugUnderflowOverflow\n+from .feature_extraction_se...
2024-04-09T10:52:50
nodejs/node
e791057ee7b19b29c13c878582ca5711f102ebef
b33b3e1838c12e5071fba38fc6aaf6215711d921
test: normalize fixtures use This commit replaces the use of `common.fixturesDir` with `common.fixtures` & `fixtures.path` in `test-fs-read-stream-resume.js` PR-URL: https://github.com/nodejs/node/pull/15855 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-B...
[ { "path": "test/parallel/test-fs-read-stream-resume.js", "patch": "@@ -20,13 +20,13 @@\n // USE OR OTHER DEALINGS IN THE SOFTWARE.\n \n 'use strict';\n-const common = require('../common');\n+require('../common');\n+const fixtures = require('../common/fixtures');\n const assert = require('assert');\n \n cons...
2017-10-06T16:38:31
ollama/ollama
1c8fd627ad9e96f58bad346d5f5a13750700f76a
ae950b00f19ccef2c02523cc9519de535500d9b3
windows: fix create modelfile
[ { "path": "server/images.go", "patch": "@@ -235,8 +235,8 @@ func GetModel(name string) (*Model, error) {\n \n func filenameWithPath(path, f string) (string, error) {\n \t// if filePath starts with ~/, replace it with the user's home directory.\n-\tif strings.HasPrefix(f, \"~/\") {\n-\t\tparts := strings.Spl...
2023-08-30T20:01:23
rust-lang/rust
b2dee4226d55f94048be1f5800df73c1430f36b1
04c00585c36e6e74dbe998d7c3b190955f757469
Better error message for unsized pointers
[ { "path": "compiler/rustc_hir_analysis/src/check/intrinsicck.rs", "patch": "@@ -27,6 +27,7 @@ enum NonAsmTypeReason<'tcx> {\n UnevaluatedSIMDArrayLength(DefId, ty::Const<'tcx>),\n Invalid(Ty<'tcx>),\n InvalidElement(DefId, Ty<'tcx>),\n+ NotSizedPtr(Ty<'tcx>),\n }\n \n impl<'a, 'tcx> InlineAsm...
2025-02-24T16:20:50
golang/go
ea51acbabc687a2270438b05bf765ada2968b69a
e5da468c51ad13a08730dc7890311915eefd2199
cmd/internal/objfile: use pe.FileHeader.Machine to reliably determine GOARCH Current peFile.goarch looks for symbols like "_rt0_386_windows" to determine GOARCH. But "_rt0_386_windows" is not present in executables built with cgo. Use pe.FileHeader.Machine instead. This should work with any Windows executable, not ju...
[ { "path": "src/cmd/internal/objfile/pe.go", "patch": "@@ -182,18 +182,16 @@ func loadPETable(f *pe.File, sname, ename string) ([]byte, error) {\n }\n \n func (f *peFile) goarch() string {\n-\t// Not sure how to get the info we want from PE header.\n-\t// Look in symbol table for telltale rt0 symbol.\n-\tif ...
2020-06-28T06:28:52
ggml-org/llama.cpp
6ce3d857962e8183f1fbd7d5aeacf7534a427dc3
e85e9d7637268906d3fc75ec65bd2ef6ebea3a54
server: (webui) add --webui-config (#18028) * server/webui: add server-side WebUI config support Add CLI arguments --webui-config (inline JSON) and --webui-config-file (file path) to configure WebUI default settings from server side. Backend changes: - Parse JSON once in server_context::load_model() for performance ...
[ { "path": "common/arg.cpp", "patch": "@@ -2610,6 +2610,20 @@ common_params_context common_params_parser_init(common_params & params, llama_ex\n params.api_prefix = value;\n }\n ).set_examples({LLAMA_EXAMPLE_SERVER}).set_env(\"LLAMA_ARG_API_PREFIX\"));\n+ add_opt(common_arg(\n+ ...
2025-12-17T20:45:45
huggingface/transformers
ec59a4219254e0c7efe3ec9001c7a05efdeec010
841e87ef4f9ab52a2c5db62789bb625291be7f11
Revert workaround for TF safetensors loading (#30128) * See if we can get tests to pass with the fixed weights * See if we can get tests to pass with the fixed weights * Replace the revisions now that we don't need them anymore
[ { "path": "tests/generation/test_framework_agnostic.py", "patch": "@@ -111,7 +111,7 @@ def test_max_new_tokens_decoder_only(self):\n article = \"\"\"Justin Timberlake.\"\"\"\n gpt2_tokenizer = AutoTokenizer.from_pretrained(\"hf-internal-testing/tiny-random-gpt2\")\n \n- gpt2_model = m...
2024-04-09T10:04:18
rust-lang/rust
ae5f2c2d5cd7734d77c9b87de272b96783e5e18b
fb85ef70fc599827ed520df32eb486b0d80ce29e
Fix rustc test suite
[ { "path": "scripts/test_rustc_tests.sh", "patch": "@@ -57,7 +57,6 @@ rm tests/ui/asm/x86_64/issue-96797.rs # const and sym inline asm operands don't\n rm tests/ui/asm/x86_64/goto.rs # inline asm labels not supported\n rm tests/ui/simd/simd-bitmask-notpow2.rs # non-pow-of-2 simd vector sizes\n rm -r tests/ru...
2025-02-24T14:35:19
nodejs/node
4716a9d3494037beadef3400a8b3a8f3f5e2af91
d21a11dc23d6104b1d03fa2ddc1c808dcaf89c31
test: replace common.fixturesDir w/common.fixtures PR-URL: https://github.com/nodejs/node/pull/15853 Reviewed-By: Ryan Graham <r.m.graham@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias...
[ { "path": "test/parallel/test-module-require-depth.js", "patch": "@@ -1,13 +1,14 @@\n // Flags: --expose_internals\n 'use strict';\n-const common = require('../common');\n+require('../common');\n+const fixtures = require('../common/fixtures');\n const assert = require('assert');\n const internalModule = req...
2017-10-06T16:56:13
ggml-org/llama.cpp
8dcc3662a292c14f003be2c465895d40c9460511
d37fc935059211454e9ad2e2a44e8ed78fd6d1ce
llama-fit-params: fix memory print (#18136)
[ { "path": "src/llama.cpp", "patch": "@@ -542,6 +542,7 @@ static void llama_params_fit_impl(\n } else {\n assert(ngl_per_device_high[id].n_layer == n_unassigned);\n ngl_per_device = ngl_per_device_high;\n+ mem = mem_high;\n ...
2025-12-17T20:10:03
ollama/ollama
ae950b00f19ccef2c02523cc9519de535500d9b3
eeb40a672c80f0cc06b08faaebec67b954202e4f
windows: fix delete
[ { "path": "server/images.go", "patch": "@@ -859,38 +859,38 @@ func DeleteModel(name string) error {\n \tif err != nil {\n \t\treturn err\n \t}\n-\terr = filepath.Walk(fp, func(path string, info os.FileInfo, err error) error {\n-\t\tif err != nil {\n-\t\t\treturn err\n+\n+\twalkFunc := func(path string, info...
2023-08-30T18:31:12
golang/go
8535008765b4fcd5c7dc3fb2b73a856af4d51f9b
454300a617b35a417e7595ff93c6e2e059fe1374
cmd/go: clarify error for invalid proxy responses Add information that error comes from parsing module proxy responses. Fixes #38680 Change-Id: Ic318b9cdbca789c1b0d983e083e692a914892fbd Reviewed-on: https://go-review.googlesource.com/c/go/+/233437 Run-TryBot: Jay Conrod <jayconrod@google.com> TryBot-Result: Gobot Go...
[ { "path": "src/cmd/go/internal/modfetch/proxy.go", "patch": "@@ -242,8 +242,9 @@ func TryProxies(f func(proxy string) error) error {\n }\n \n type proxyRepo struct {\n-\turl *url.URL\n-\tpath string\n+\turl *url.URL\n+\tpath string\n+\tredactedURL string\n }\n \n func newProxyRepo(baseURL, p...
2020-05-11T21:57:26
huggingface/transformers
841e87ef4f9ab52a2c5db62789bb625291be7f11
af4c02622bfb4521367c459c6743014ef9be788d
Fix docs Pop2Piano (#30140) fix copies
[ { "path": "src/transformers/models/pop2piano/tokenization_pop2piano.py", "patch": "@@ -73,6 +73,16 @@ class Pop2PianoTokenizer(PreTrainedTokenizer):\n Determines the default velocity to be used while creating midi Notes.\n num_bars (`int`, *optional*, defaults to 2):\n Determ...
2024-04-09T09:58:02
rust-lang/rust
e5969976ddc8d4bd4887a071097756b6c66e6632
f53c07b3ffd8084dfe734d352b73f3c92a496665
fix doctest for __m128d
[ { "path": "library/stdarch/crates/core_arch/src/x86/mod.rs", "patch": "@@ -130,13 +130,13 @@ types! {\n /// use std::arch::x86_64::*;\n ///\n /// # fn main() {\n- /// # #[target_feature(enable = \"sse\")]\n+ /// # #[target_feature(enable = \"sse2\")]\n /// # unsafe fn foo() { unsafe {\...
2025-02-14T18:52:06
ggml-org/llama.cpp
d37fc935059211454e9ad2e2a44e8ed78fd6d1ce
4470a0764a8940e2c867070d086a3e0259decfa0
webui: fix chat header width when sidebar is closed (#17981) * webui: fix chat header width when sidebar is closed * chore: add index.html.gz
[ { "path": "tools/server/webui/src/lib/components/app/chat/ChatScreen/ChatScreenHeader.svelte", "patch": "@@ -2,6 +2,9 @@\n \timport { Settings } from '@lucide/svelte';\n \timport { DialogChatSettings } from '$lib/components/app';\n \timport { Button } from '$lib/components/ui/button';\n+\timport { useSideba...
2025-12-17T19:05:45
nodejs/node
acb36abf753e524b03c15558537ef52f53e8f170
2a74fed8ead3cc25123536212369e89dd9675576
test: fix lint error Fix lint error introduced 03550a5c1e. Unused module `fs` is removed. PR-URL: https://github.com/nodejs/node/pull/16145 Ref: https://github.com/nodejs/node/pull/15832#issuecomment-335808467 Reviewed-By: Bradley Farias <bradley.meck@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Review...
[ { "path": "test/parallel/test-tls-net-connect-prefer-path.js", "patch": "@@ -12,7 +12,6 @@ common.refreshTmpDir();\n \n const tls = require('tls');\n const net = require('net');\n-const fs = require('fs');\n const assert = require('assert');\n \n function libName(lib) {", "additions": 0, "deletions"...
2017-10-11T13:29:52
ollama/ollama
eeb40a672c80f0cc06b08faaebec67b954202e4f
0f541a03677863026ffa17367359a7f0bbfb6afe
fix list models for windows
[ { "path": "server/modelpath.go", "patch": "@@ -46,7 +46,7 @@ func ParseModelPath(name string) ModelPath {\n \t\tname = after\n \t}\n \n-\tparts := strings.Split(name, \"/\")\n+\tparts := strings.Split(name, string(os.PathSeparator))\n \tswitch len(parts) {\n \tcase 3:\n \t\tmp.Registry = parts[0]", "add...
2023-08-30T18:14:12
huggingface/transformers
4e3490f79b40248c53ee54365a9662611e880892
2f12e408225b1ebceb0d2f701ce419d46678dc31
Fix failing DeepSpeed model zoo tests (#30112) * fix sequence length errors * fix label column name error for vit * fix the lm_head embedding!=linear layer mismatches for Seq2Seq models
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -1932,7 +1932,10 @@ def _resize_token_embeddings(self, new_num_tokens, pad_to_multiple_of=None):\n # if word embeddings are not tied, make sure that lm head is resized as well\n if self.get_output_embeddings() is not None and not s...
2024-04-09T06:31:47
golang/go
e94544cf012535da6b3c9e735bc4026e2db1c99c
268dd2e5a7a8919bd26f0a59c847f8268a2437d1
cmd/compile: fix checkptr handling of &^ checkptr has code to recognize &^ expressions, but it didn't take into account that "p &^ x" gets rewritten to "p & ^x" during walk, which resulted in false positive diagnostics. This CL changes walkexpr to mark OANDNOT expressions with Implicit when they're rewritten to OAND,...
[ { "path": "src/cmd/compile/internal/gc/syntax.go", "patch": "@@ -141,8 +141,8 @@ const (\n \tnodeInitorder, _ // tracks state during init1; two bits\n \t_, _ // second nodeInitorder bit\n \t_, nodeHasBreak\n-\t_, nodeNoInline // used internally by inliner to i...
2020-08-20T04:39:12
rust-lang/rust
9c65672397bab45d2802d994b493353d09cd1535
bb029a1d3f819471722f32dd9fcfa2c83d4f24f4
std: Fix another new symlink test on Windows
[ { "path": "library/std/src/fs/tests.rs", "patch": "@@ -1962,6 +1962,10 @@ fn test_rename_directory_to_non_empty_directory() {\n #[test]\n fn test_rename_symlink() {\n let tmpdir = tmpdir();\n+ if !got_symlink_permission(&tmpdir) {\n+ return;\n+ };\n+\n let original = tmpdir.join(\"origi...
2025-02-24T14:10:52
ggml-org/llama.cpp
4470a0764a8940e2c867070d086a3e0259decfa0
4301e27319eadb8e129e91a0d9a4c96d9e2f6f15
ggml-hexagon: gelu operation (#17921) * feat: inital support for gelu using sigmoid approximation * snapshot: faster gelu using polynomial approximation * test: disable l2-block prefetch in polynomail approximation * Revert "test: disable l2-block prefetch in polynomail approximation" This reverts commit 72339994...
[ { "path": "ggml/src/ggml-hexagon/ggml-hexagon.cpp", "patch": "@@ -2161,8 +2161,14 @@ static bool ggml_hexagon_supported_activations(const struct ggml_hexagon_session\n }\n \n // src0, src1 & dst must be mapped to the same session\n- if (!hex_supported_buffer(sess, src0, src1, dst)) {\n- re...
2025-12-17T18:39:32
huggingface/transformers
2f12e408225b1ebceb0d2f701ce419d46678dc31
8c00b53eb01051e93942e99912455883b7ea47b2
[`StableLm`] Add QK normalization and Parallel Residual Support (#29745) * init: add StableLm 2 support * add integration test for parallel residual and qk layernorm * update(modeling): match qk norm naming for consistency with phi/persimmon * fix(tests): run fwd/bwd on random init test model to jitter norm w...
[ { "path": "src/transformers/models/stablelm/configuration_stablelm.py", "patch": "@@ -83,6 +83,11 @@ class StableLmConfig(PretrainedConfig):\n is an experimental feature, subject to breaking API changes in future versions.\n use_qkv_bias (`bool`, *optional*, defaults to `False`):\n ...
2024-04-08T21:51:58
nodejs/node
2a74fed8ead3cc25123536212369e89dd9675576
03550a5c18f77d4c956e11b2e5b982572c57d92e
test: replace common.fixturesDir In test/parallel/test-tls-junk-closes-server.js, replaced common.fixtruesDir with usage of the common.fixtrues module. PR-URL: https://github.com/nodejs/node/pull/15834 Reviewed-By: Ryan Graham <r.m.graham@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: ...
[ { "path": "test/parallel/test-tls-junk-closes-server.js", "patch": "@@ -21,17 +21,17 @@\n \n 'use strict';\n const common = require('../common');\n+const fixtures = require('../common/fixtures');\n \n if (!common.hasCrypto)\n common.skip('missing crypto');\n \n const tls = require('tls');\n-const fs = req...
2017-10-06T16:42:33
ollama/ollama
1363f537ce0331ab6c09238795960a01c8560d36
bc3e21fdc67f7d933bf4930b1ce8b38a0a585b0b
fix spelling errors in prompt
[ { "path": "examples/dockerit/Modelfile", "patch": "@@ -1,6 +1,6 @@\n FROM llama2\n SYSTEM \"\"\"\n-You are an experience Devops engineer focused on docker. When given specifications for a particular need or application you know the best way to host that within a docker container. For instance if someone tel...
2023-08-31T09:02:46
golang/go
268dd2e5a7a8919bd26f0a59c847f8268a2437d1
822dca4b383611335385ef05c2882d23f6f89d88
cmd/internal/obj: fix inline marker issue on s390x The optimization that replaces inline markers with pre-existing instructions assumes that 'Prog' values produced by the compiler are still reachable after the assembler has run. This was not true on s390x where the assembler was removing NOP instructions from the link...
[ { "path": "src/cmd/internal/obj/pcln.go", "patch": "@@ -278,6 +278,21 @@ func linkpcln(ctxt *Link, cursym *LSym) {\n \tfuncpctab(ctxt, &pcln.Pcfile, cursym, \"pctofile\", pctofileline, pcln)\n \tfuncpctab(ctxt, &pcln.Pcline, cursym, \"pctoline\", pctofileline, nil)\n \n+\t// Check that all the Progs used as...
2020-08-10T15:01:21
rust-lang/rust
443b0f5ccf3181f18afa6102008ab4536ef0e5eb
15820ecc2e61dd95ed6c12a260830bed5d321b4b
Fix rustdoc and clippy
[ { "path": "clippy_lints/src/attrs/inline_always.rs", "patch": "@@ -20,7 +20,7 @@ pub(super) fn check(cx: &LateContext<'_>, span: Span, name: Symbol, attrs: &[Att\n span_lint(\n cx,\n INLINE_ALWAYS,\n- attr.span,\n+ ...
2025-02-09T21:49:57
huggingface/transformers
8c00b53eb01051e93942e99912455883b7ea47b2
7afade208695f1a25dcc9656d553d51ace67264e
Adding `mps` as device for `Pipeline` class (#30080) * adding env variable for mps and is_torch_mps_available for Pipeline * fix linting errors * Remove environment overide Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com> --------- Co-authored-by: amyeroberts <22614925+amyerob...
[ { "path": "src/transformers/pipelines/base.py", "patch": "@@ -42,6 +42,7 @@\n is_torch_available,\n is_torch_cuda_available,\n is_torch_mlu_available,\n+ is_torch_mps_available,\n is_torch_npu_available,\n is_torch_xpu_available,\n logging,\n@@ -860,6 +861,8 @@ def __init__(\n ...
2024-04-08T17:07:30
ggml-org/llama.cpp
a2c199e479bc739222c3ef24e563935dbaaf077c
15dd67d86984b3a61c40aacff367c37757172cc8
common: clarify instructions for bug reports (#18134)
[ { "path": "common/common.cpp", "patch": "@@ -1092,7 +1092,7 @@ common_init_result::common_init_result(common_params & params) :\n auto cparams = common_context_params_to_llama(params);\n \n if (params.fit_params) {\n- LOG_INF(\"%s: fitting params to device memory, to report bugs during this s...
2025-12-17T17:44:13
nodejs/node
03550a5c18f77d4c956e11b2e5b982572c57d92e
20f8a222598b3e9659bd61e2cbb732d1e1afa43b
test:replace common.fixturesDir with commonfixtures PR-URL: https://github.com/nodejs/node/pull/15832 Reviewed-By: Ryan Graham <r.m.graham@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <...
[ { "path": "test/parallel/test-tls-net-connect-prefer-path.js", "patch": "@@ -1,5 +1,6 @@\n 'use strict';\n const common = require('../common');\n+const fixtures = require('../common/fixtures');\n \n // This tests that both tls and net will ignore host and port if path is\n // provided.\n@@ -28,8 +29,8 @@ fu...
2017-10-06T16:50:15
ollama/ollama
f4432e1dbac6ca8af83979bd324cc0483fc8db7a
982c535428efc1daa0d0ed82f004f0982932a99e
treat stop as stop sequences, not exact tokens (#442) The `stop` option to the generate API is a list of sequences that should cause generation to stop. Although these are commonly called "stop tokens", they do not necessarily correspond to LLM tokens (per the LLM's tokenizer). For example, if the caller sends a gener...
[ { "path": "docs/modelfile.md", "patch": "@@ -123,7 +123,7 @@ PARAMETER <parameter> <parametervalue>\n | repeat_last_n | Sets how far back for the model to look back to prevent repetition. (Default: 64, 0 = disabled, -1 = num_ctx) ...
2023-08-30T15:53:42
golang/go
822dca4b383611335385ef05c2882d23f6f89d88
3f568625980f6e23a603cfd1cb4fcd2bf5c895d7
cmd/go: add tracing for querying and downloading from the proxy This CL adds tracing spans for modload.queryPattern, modload.queryProxy, modload.QueryPattern, modload.QueryPattern.queryModule, modload.queryPrefixModules and modfetch.Download. Updates #38714 Change-Id: I91af3f022a6e18ab8d9c1d9b0ccf4928b6c236bd Review...
[ { "path": "src/cmd/go/internal/modcmd/download.go", "patch": "@@ -120,7 +120,7 @@ func runDownload(ctx context.Context, cmd *base.Command, args []string) {\n \t\t\treturn\n \t\t}\n \t\tmod := module.Version{Path: m.Path, Version: m.Version}\n-\t\tm.Zip, err = modfetch.DownloadZip(mod)\n+\t\tm.Zip, err = mod...
2020-07-15T21:38:36
rust-lang/rust
309b46ad68d15377edd95836796bceb196b2d1b8
80314b1de94b8e98498b5fec5763043b5b49e472
Fix test output expectations
[ { "path": "tests/ui-fulldeps/stable-mir/check_attribute.rs", "patch": "@@ -39,7 +39,7 @@ fn test_stable_mir() -> ControlFlow<()> {\n fn test_builtins(items: &CrateItems) {\n let target_fn = *get_item(&items, \"builtins_fn\").unwrap();\n let allow_attrs = target_fn.attrs_by_path(&[\"allow\".to_string...
2025-02-09T21:50:01
huggingface/transformers
7afade208695f1a25dcc9656d553d51ace67264e
ef38e2a7e550d062c382b6c6b8ed2e51e6ad27ae
Fix typo at ImportError (#30090) fix typo at ImportError
[ { "path": "src/transformers/quantizers/quantizer_quanto.py", "patch": "@@ -60,7 +60,9 @@ def validate_environment(self, *args, **kwargs):\n if not is_quanto_available():\n raise ImportError(\"Loading a quanto quantized model requires quanto library (`pip install quanto`)\")\n if ...
2024-04-08T16:45:21
ggml-org/llama.cpp
15dd67d86984b3a61c40aacff367c37757172cc8
bde461de8cff5a1e7b693b29e98db8db421ddd42
model: fix GLM-ASR-Nano-2512 load error (#18130) (#18142)
[ { "path": "tools/mtmd/mtmd.cpp", "patch": "@@ -329,6 +329,7 @@ struct mtmd_context {\n case PROJECTOR_TYPE_QWEN25O:\n case PROJECTOR_TYPE_ULTRAVOX:\n case PROJECTOR_TYPE_VOXTRAL:\n+ case PROJECTOR_TYPE_GLMA:\n audio_preproc = std::make_unique<mt...
2025-12-17T15:34:35
ollama/ollama
22ab7f5f88c3a1f1704f8f5652417b91fd2a0245
2ecc3a33c380cd7915a8541d629d7f21c2b8472a
default host to `127.0.0.1`, fixes #424
[ { "path": "api/client.go", "patch": "@@ -16,7 +16,7 @@ import (\n \t\"github.com/jmorganca/ollama/version\"\n )\n \n-const DefaultHost = \"localhost:11434\"\n+const DefaultHost = \"127.0.0.1:11434\"\n \n var (\n \tenvHost = os.Getenv(\"OLLAMA_HOST\")", "additions": 1, "deletions": 1, "language":...
2023-08-26T18:59:28
nodejs/node
20f8a222598b3e9659bd61e2cbb732d1e1afa43b
e04e9270cc73dea1324fa6f548afb1ffb365b958
doc: fix the description of 'close' event PR-URL: https://github.com/nodejs/node/pull/15800 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
[ { "path": "doc/api/fs.md", "patch": "@@ -279,8 +279,7 @@ added: v0.1.93\n added: v0.1.93\n -->\n \n-Emitted when the `ReadStream`'s underlying file descriptor has been closed\n-using the `fs.close()` method.\n+Emitted when the `ReadStream`'s underlying file descriptor has been closed.\n \n ### Event: 'open'...
2017-10-06T15:50:35
golang/go
c57c0212ebf44b7896477177c8e35be79ff3a586
8ec5a052ec8d4e628353fb5099b29341fae9b3a4
cmd/compile: define starting block before opening html writer Opening the html writer can fail, and the failure printer wants to use the entry block's line number. So make sure we set up the entry block first. Fixes #40919 Change-Id: I4ffa2839b45a721bbaf04ff84418e8108fa1cc37 Reviewed-on: https://go-review.googlesour...
[ { "path": "src/cmd/compile/internal/gc/ssa.go", "patch": "@@ -338,16 +338,17 @@ func buildssa(fn *Node, worker int) *ssa.Func {\n \ts.panics = map[funcLine]*ssa.Block{}\n \ts.softFloat = s.config.SoftFloat\n \n+\t// Allocate starting block\n+\ts.f.Entry = s.f.NewBlock(ssa.BlockPlain)\n+\ts.f.Entry.Pos = fn....
2020-08-20T06:01:58
huggingface/transformers
a71def025c374ca2f1f429e4407beb1742f56303
1897874edcba58e0e585305ca71f6ba727315219
Trainer / Core : Do not change init signature order (#30126) * Update trainer.py * fix copies
[ { "path": "src/transformers/trainer.py", "patch": "@@ -304,9 +304,6 @@ class Trainer:\n The tokenizer used to preprocess the data. If provided, will be used to automatically pad the inputs to the\n maximum length when batching inputs, and it will be saved along the model to make it e...
2024-04-08T14:57:38
ggml-org/llama.cpp
669696e00d60e7ffa0223ee61242318a51f33a79
982060fadcf2469363efeaab113d7f81eaff4bf6
ggml-cpu: ARM64: repack version of q8_0 (dotprod and i8mm) (#18096) * wip: skeleton for q8_0 repack * q8_0 repack GEMV implementations * GEMM implementations * Formatting * Fixed format consistency of repack gemm and gemv declarations * gemv and gemm generic location consistent with declarations * Removed non-co...
[ { "path": "ggml/src/ggml-cpu/arch-fallback.h", "patch": "@@ -43,6 +43,8 @@\n #define ggml_gemv_q2_K_8x8_q8_K_generic ggml_gemv_q2_K_8x8_q8_K\n #define ggml_gemv_iq4_nl_4x4_q8_0_generic ggml_gemv_iq4_nl_4x4_q8_0\n #define ggml_gemv_iq4_nl_8x8_q8_0_generic ggml_gemv_iq4_nl_8x8_q8_0\n+#define ggml_gemv_q8_0_4x...
2025-12-17T11:39:13
rust-lang/rust
f321f107e3af37996ac6cca74294d581f2fb20e7
7e0f5b50168c63bd1879067c043559ef0f01671e
Fix rustdoc and clippy
[ { "path": "compiler/rustc_hir/src/hir.rs", "patch": "@@ -1145,6 +1145,7 @@ impl AttributeExt for Attribute {\n }\n \n fn is_doc_comment(&self) -> bool {\n+ // FIXME(jdonszelmann): make the 2nd check unnecessary here\n matches!(self, Attribute::Parsed(AttributeKind::DocComment { .. }))...
2025-02-09T21:49:57
ollama/ollama
a9f6c56652dabbf77b64e695fb9bff6f0b6de797
0a892419ad377243f855053389fd26a42c431228
fix `FROM` instruction erroring when referring to a file
[ { "path": "cmd/cmd.go", "patch": "@@ -102,11 +102,15 @@ func RunHandler(cmd *cobra.Command, args []string) error {\n \t\treturn err\n \t}\n \n-\tmp, err := server.ParseModelPath(args[0], insecure)\n+\tmp := server.ParseModelPath(args[0])\n \tif err != nil {\n \t\treturn err\n \t}\n \n+\tif mp.ProtocolScheme...
2023-08-22T16:39:42
nodejs/node
e04e9270cc73dea1324fa6f548afb1ffb365b958
8c6c06091888785f33da453c3e4177f6364f3c88
test: replace fixturesDir to use fixtures module PR-URL: https://github.com/nodejs/node/pull/15831 iReviewed-By: Ryan Graham <r.m.graham@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
[ { "path": "test/parallel/test-fs-symlink.js", "patch": "@@ -21,6 +21,7 @@\n \n 'use strict';\n const common = require('../common');\n+const fixtures = require('../common/fixtures');\n if (!common.canCreateSymLink())\n common.skip('insufficient privileges');\n \n@@ -34,7 +35,7 @@ let fileTime;\n common.ref...
2017-10-06T16:29:45
huggingface/transformers
1897874edcba58e0e585305ca71f6ba727315219
1773afcec338c2b1a741a86b7431ad10be4518c7
Fix falcon with SDPA, alibi but no passed mask (#30123) * fix falcon without attention_mask & alibi * add test * Update tests/models/falcon/test_modeling_falcon.py Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com> --------- Co-authored-by: amyeroberts <22614925+amyeroberts@user...
[ { "path": "src/transformers/models/falcon/modeling_falcon.py", "patch": "@@ -1098,27 +1098,23 @@ def forward(\n elif head_mask is None:\n alibi = alibi.reshape(batch_size, -1, *alibi.shape[1:])\n \n- attention_mask_2d = attention_mask\n # We don't c...
2024-04-08T14:25:07
nodejs/node
2ddb2fad9435b1a4e7dec31983d93cab2149fc68
16ed116203288c6150fa0fc6493fe546c7becebb
test: switch to use common.fixtures module for fixturesDir PR-URL: https://github.com/nodejs/node/pull/15821 Reviewed-By: Ryan Graham <r.m.graham@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: G...
[ { "path": "test/parallel/test-tls-connect-given-socket.js", "patch": "@@ -23,16 +23,15 @@\n const common = require('../common');\n if (!common.hasCrypto)\n common.skip('missing crypto');\n+const fixtures = require('../common/fixtures');\n \n const assert = require('assert');\n const tls = require('tls');\...
2017-10-06T16:46:54
rust-lang/rust
dbd3b7928e91758296a0f6093d72f90214888133
115b3b03b09cf71aca67c974ea0d4888c86b3012
Introduce new parsing infrastructure and types for parsed attributes fixup docs in parser
[ { "path": "Cargo.lock", "patch": "@@ -3207,6 +3207,7 @@ dependencies = [\n \"rustc_abi\",\n \"rustc_ast\",\n \"rustc_ast_pretty\",\n+ \"rustc_attr_parsing\",\n \"rustc_data_structures\",\n \"rustc_errors\",\n \"rustc_feature\",\n@@ -3215,6 +3216,7 @@ dependencies = [\n \"rustc_index\",\n \"rustc_mac...
2025-02-09T21:49:31
huggingface/transformers
1773afcec338c2b1a741a86b7431ad10be4518c7
08c84433079439f41acce6da88c44cebcdbffbc7
fix learning rate display in trainer when using galore optimizer (#30085) fix learning rate display issue in galore optimizer
[ { "path": "src/transformers/trainer_pt_utils.py", "patch": "@@ -1279,7 +1279,7 @@ class LayerWiseDummyOptimizer(torch.optim.Optimizer):\n def __init__(self, optimizer_dict=None, *args, **kwargs):\n dummy_tensor = torch.randn(1, 1)\n self.optimizer_dict = optimizer_dict\n- super()....
2024-04-08T13:54:12
golang/go
8ec5a052ec8d4e628353fb5099b29341fae9b3a4
46ca7b5ee2a8582736f1ddac27d8660e1104c345
unicode: upgrade to Unicode 13.0.0 Fixes #40755 Change-Id: I14b3977317994095db8ae1bd873c174641209356 Reviewed-on: https://go-review.googlesource.com/c/go/+/248765 Run-TryBot: Marcel van Lohuizen <mpvl@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
[ { "path": "api/except.txt", "patch": "@@ -456,3 +456,4 @@ pkg syscall (freebsd-arm-cgo), type Statfs_t struct, Mntonname [88]int8\n pkg text/scanner, const GoTokens = 1012\n pkg unicode, const Version = \"10.0.0\"\n pkg unicode, const Version = \"11.0.0\"\n+pkg unicode, const Version = \"12.0.0\"", "add...
2020-08-17T17:10:12
nodejs/node
bafa2288d8fb73901ecc99a32e8a0f496b6dc953
327a871579f9ffde9637841721603aef18aaa148
test: replace common.fixturesDir with fixtures PR-URL: https://github.com/nodejs/node/pull/15845 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Punathil ...
[ { "path": "test/parallel/test-fs-copyfile.js", "patch": "@@ -1,9 +1,10 @@\n 'use strict';\n const common = require('../common');\n+const fixtures = require('../common/fixtures');\n const assert = require('assert');\n const fs = require('fs');\n const path = require('path');\n-const src = path.join(common.fi...
2017-10-06T16:46:23
ollama/ollama
5ca05c2e88c8d605b33bafc241fc84b77d322fc4
7eda70f23b08854a341542839c43e831acc976d1
fix ModelType()
[ { "path": "llm/llama.go", "patch": "@@ -117,7 +117,21 @@ func (llm *llamaModel) ModelFamily() ModelFamily {\n }\n \n func (llm *llamaModel) ModelType() ModelType {\n-\treturn ModelType30B\n+\tswitch llm.hyperparameters.NumLayer {\n+\tcase 26:\n+\t\treturn ModelType3B\n+\tcase 32:\n+\t\treturn ModelType7B\n+...
2023-08-18T18:23:31
huggingface/transformers
0201f6420b186664095844666b565dd0c5c897b3
7f9aff910b8fb0b1a2cec97298d1b121ef35d78a
[#29174] ImportError Fix: Trainer with PyTorch requires accelerate>=0.20.1 Fix (#29888) * ImportError: Trainer with PyTorch requires accelerate>=0.20.1 Fix Adding the evaluate and accelerate installs at the beginning of the cell to fix the issue * ImportError Fix: Trainer with PyTorch requires accelerate>=0.20.1...
[ { "path": "docs/source/_config.py", "patch": "@@ -1,7 +1,7 @@\n # docstyle-ignore\n INSTALL_CONTENT = \"\"\"\n # Transformers installation\n-! pip install transformers datasets evaluate\n+! pip install transformers datasets evaluate accelerate\n # To install from source instead of the last release, comment ...
2024-04-08T13:21:16
golang/go
46ca7b5ee2a8582736f1ddac27d8660e1104c345
b0cc02e8c2bdba5401838d9d70a859191af9bfa5
cmd/internal/obj: stop removing NOPs from instruction stream This has already been done for s390x, ppc64. This CL is for all the other architectures. Fixes #40796 Change-Id: Idd1816e057df63022d47e99fa06617811d8c8489 Reviewed-on: https://go-review.googlesource.com/c/go/+/248684 Run-TryBot: Cherry Zhang <cherryyz@goog...
[ { "path": "src/cmd/internal/obj/arm/asm5.go", "patch": "@@ -327,6 +327,9 @@ var optab = []Optab{\n \t{obj.APCDATA, C_LCON, C_NONE, C_LCON, 0, 0, 0, 0, 0, 0},\n \t{obj.AFUNCDATA, C_LCON, C_NONE, C_ADDR, 0, 0, 0, 0, 0, 0},\n \t{obj.ANOP, C_NONE, C_NONE, C_NONE, 0, 0, 0, 0, 0, 0},\n+\t{obj.ANOP, C_LCON, C_NONE...
2020-08-15T15:08:37
huggingface/transformers
7f9aff910b8fb0b1a2cec97298d1b121ef35d78a
f5658732d5bd38657b6cf3138f69373a94866c61
Patch fix - don't use safetensors for TF models (#30118) * Patch fix - don't use safetensors for TF models * Skip test for TF for now * Update for another test
[ { "path": "tests/generation/test_framework_agnostic.py", "patch": "@@ -111,7 +111,7 @@ def test_max_new_tokens_decoder_only(self):\n article = \"\"\"Justin Timberlake.\"\"\"\n gpt2_tokenizer = AutoTokenizer.from_pretrained(\"hf-internal-testing/tiny-random-gpt2\")\n \n- gpt2_model = m...
2024-04-08T12:29:20
nodejs/node
327a871579f9ffde9637841721603aef18aaa148
23b4bf88a3c214bcd5a315938bdff5254d66dd8a
test: fixturesDir replaced to fixtures module replaced fs and use of fixturesDir to fixtures module and readKey method PR-URL: https://github.com/nodejs/node/pull/15809 Reviewed-By: Ryan Graham <r.m.graham@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By...
[ { "path": "test/parallel/test-https-resume-after-renew.js", "patch": "@@ -3,14 +3,14 @@ const common = require('../common');\n if (!common.hasCrypto)\n common.skip('missing crypto');\n \n-const fs = require('fs');\n+const fixtures = require('../common/fixtures');\n const https = require('https');\n const ...
2017-10-06T16:39:02
ggml-org/llama.cpp
982060fadcf2469363efeaab113d7f81eaff4bf6
6853bee680a128231ff35d0152a7d38d42afa3ad
model: fix LFM2_MOE missing tensors (#18132)
[ { "path": "src/llama-arch.cpp", "patch": "@@ -2055,7 +2055,7 @@ static std::set<llm_tensor> llm_get_tensor_names(llm_arch arch) {\n LLM_TENSOR_SHORTCONV_INPROJ,\n LLM_TENSOR_SHORTCONV_OUTPROJ,\n LLM_TENSOR_TOKEN_EMBD,\n- LLM_TENSOR_OUTPUT_NORM,\...
2025-12-17T11:17:11
golang/go
b0cc02e8c2bdba5401838d9d70a859191af9bfa5
2d34f3d023586fc001d64b372bd709efaab54a18
internal/poll: treat copy_file_range EPERM as not-handled Fixes #40893 Change-Id: I938ea4796c1e1d1e136117fe78b06ad6da8e40de Reviewed-on: https://go-review.googlesource.com/c/go/+/249257 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Antonio Troina <tho...
[ { "path": "src/internal/poll/copy_file_range_linux.go", "patch": "@@ -41,7 +41,7 @@ func CopyFileRange(dst, src *FD, remain int64) (written int64, handled bool, err\n \t\t\t// use copy_file_range(2) again.\n \t\t\tatomic.StoreInt32(&copyFileRangeSupported, 0)\n \t\t\treturn 0, false, nil\n-\t\tcase syscall....
2020-08-19T14:54:36
huggingface/transformers
f5658732d5bd38657b6cf3138f69373a94866c61
d16f0abc3fed7c8c29050499e5252343d5fd6c57
fixing issue 30034 - adding data format for run_ner.py (#30088)
[ { "path": "examples/pytorch/token-classification/README.md", "patch": "@@ -25,6 +25,20 @@ customize it to your needs if you need extra processing on your datasets.\n It will either run on a datasets hosted on our [hub](https://huggingface.co/datasets) or with your own text files for\n training and validatio...
2024-04-08T11:49:59
ggml-org/llama.cpp
487674fbb31d20ad13f9dd7f81da00f650c34e25
acec774ef619c81d4c59adca0e548b3ba035554f
common: fix --override-kv to support comma-separated values (#18056) * common: fix --override-kv to support comma-separated values * Update common/arg.cpp Co-authored-by: Xuan-Son Nguyen <thichthat@gmail.com> * common: deprecate repeated arguments, suggest comma-separated values * common: add comma escape support ...
[ { "path": "common/arg.cpp", "patch": "@@ -420,6 +420,8 @@ static bool common_params_parse_ex(int argc, char ** argv, common_params_context\n }\n };\n \n+ std::set<std::string> seen_args;\n+\n for (int i = 1; i < argc; i++) {\n const std::string arg_prefix = \"--\";\n \n@@ -430,6 +...
2025-12-17T09:36:23
nodejs/node
23b4bf88a3c214bcd5a315938bdff5254d66dd8a
2ea902b47ba27fb4932a3418740725ad065ee88c
test: replace common.fixturesDir with fixtures PR-URL: https://github.com/nodejs/node/pull/16015 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "test/parallel/test-repl-tab-complete.js", "patch": "@@ -23,11 +23,12 @@\n \n const common = require('../common');\n const assert = require('assert');\n+const fixtures = require('../common/fixtures');\n \n // We have to change the directory to ../fixtures before requiring repl\n // in order to mak...
2017-10-06T18:49:42
ollama/ollama
3cbc6a5c01120b59cf38378d5f18836bcd90f6c9
54bb49a50264270e97ade94082691859668f99ee
fix push manifest
[ { "path": "server/images.go", "patch": "@@ -963,18 +963,12 @@ func PushModel(ctx context.Context, name string, regOpts *RegistryOptions, fn fu\n \t\treturn err\n \t}\n \n-\tresp, err := makeRequest(ctx, \"PUT\", url, headers, bytes.NewReader(manifestJSON), regOpts)\n+\tresp, err := makeRequestWithRetry(ctx,...
2023-08-17T19:35:29
golang/go
2d34f3d023586fc001d64b372bd709efaab54a18
6b420169d798c7ebe733487b56ea5c3fa4aab5ce
cmd/dist: fix tipo in comment Change-Id: I98fbf0dc94cf182adec5d414a56b9cc5126c38f4 Reviewed-on: https://go-review.googlesource.com/c/go/+/249437 Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Cherry Zhang <cherryyz@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
[ { "path": "src/cmd/dist/buildtool.go", "patch": "@@ -113,7 +113,7 @@ var ignorePrefixes = []string{\n \n // File suffixes that use build tags introduced since Go 1.4.\n // These must not be copied into the bootstrap build directory.\n-// Also igonore test files.\n+// Also ignore test files.\n var ignoreSuff...
2020-08-19T21:42:11
huggingface/transformers
76fa17c1663a0efeca7208c20579833365584889
9b5a6450d481b0f02834684ffd8b3ba4cbbd6fe0
Fix whisper kwargs and generation config (#30018) * clean-up whisper kwargs * failing test
[ { "path": "src/transformers/models/whisper/generation_whisper.py", "patch": "@@ -511,7 +511,6 @@ def generate(\n self._set_language_and_task(\n language=language, task=task, is_multilingual=is_multilingual, generation_config=generation_config\n )\n- self._set_token_ids(gen...
2024-04-05T16:28:58
ggml-org/llama.cpp
acec774ef619c81d4c59adca0e548b3ba035554f
5c0d18881e0e9794c96b2602736b758bac9d9388
HIP: Refactor mma for RDNA and CDNA (#17990) * mma.cuh for rdna4 * mma for rdna3 * mmq for rdna4 * mmq for rdna3 * align i-major and j-major * cdna * fix cuda error * add missing tile of mfma * fix j-major wrong ne on CDNA * fix gramma and empty spaces --------- Co-authored-by: zhang hui <you@example.com>
[ { "path": "ggml/src/ggml-cuda/mma.cuh", "patch": "@@ -76,15 +76,31 @@ namespace ggml_cuda_mma {\n // For the A/C matrices this means I major == row major, J major == column major.\n // For the B matrix this means I major == column major, J major == row major.\n // MIRRORED == Each da...
2025-12-17T08:34:54
nodejs/node
2ea902b47ba27fb4932a3418740725ad065ee88c
58d26e2421358698415f214f28d18b37ff77f12a
test: replaces common.fixturesDir usage In test/parallel/test-repl-require.js replaces usage of common.fixturesDir with common/fixtures. Part of Node.js Interactive 2017 Code & Learn PR-URL: https://github.com/nodejs/node/pull/15818 Reviewed-By: Ryan Graham <r.m.graham@gmail.com> Reviewed-By: Benjamin Gruenbaum <ben...
[ { "path": "test/parallel/test-repl-require.js", "patch": "@@ -1,10 +1,11 @@\n 'use strict';\n \n const common = require('../common');\n+const fixtures = require('../common/fixtures');\n const assert = require('assert');\n const net = require('net');\n \n-process.chdir(common.fixturesDir);\n+process.chdir(fi...
2017-10-06T16:23:27
golang/go
6b420169d798c7ebe733487b56ea5c3fa4aab5ce
18239be10a0b5caa1b3222b228ff590b1c036382
os, internal/poll: loop on EINTR for all file syscalls When using a FUSE file system, any system call that touches the file system can return EINTR. Fixes #40846 Change-Id: I25d32da22cec08dea81ab297291a85ad72db2df7 Reviewed-on: https://go-review.googlesource.com/c/go/+/249178 Run-TryBot: Ian Lance Taylor <iant@golan...
[ { "path": "src/internal/poll/fd_fsync_posix.go", "patch": "@@ -14,5 +14,7 @@ func (fd *FD) Fsync() error {\n \t\treturn err\n \t}\n \tdefer fd.decref()\n-\treturn syscall.Fsync(fd.Sysfd)\n+\treturn ignoringEINTR(func() error {\n+\t\treturn syscall.Fsync(fd.Sysfd)\n+\t})\n }", "additions": 3, "deleti...
2020-08-18T23:46:24
huggingface/transformers
9b5a6450d481b0f02834684ffd8b3ba4cbbd6fe0
d9fa13ce62711c5c4840d1faf0473bfb9237a508
Fix auto tests (#30067) * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/auto/test_modeling_auto.py", "patch": "@@ -141,7 +141,7 @@ def test_lmhead_model_from_pretrained(self):\n \n @slow\n def test_model_for_causal_lm(self):\n- model_name = \"google-bert/bert-base-uncased\"\n+ model_name = \"openai-community/gpt2\"\n config ...
2024-04-05T15:49:46
rust-lang/rust
5397431162022f6b360a71b0df9f5dcf9347b975
6d9b9c1363e00e02ee72a08ba4ab3dd9d28ad1a1
Fix event_name check in workflows
[ { "path": "src/tools/rust-analyzer/.github/workflows/autopublish.yaml", "patch": "@@ -11,7 +11,7 @@ on:\n \n jobs:\n publish:\n- if: ${{ github.repository == 'rust-lang/rust-analyzer' || github.event.action == 'workflow_dispatch' }}\n+ if: ${{ github.repository == 'rust-lang/rust-analyzer' || github...
2025-02-24T12:25:55
nodejs/node
7525df7af20b565220076deac932ec652da13304
0c9b267b1d8a1ccf4b3ce7f9cb3c451083603ee5
test: use common.fixtures.path() PR-URL: https://github.com/nodejs/node/pull/16112 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
[ { "path": "test/parallel/test-fs-readfile-fd.js", "patch": "@@ -1,9 +1,9 @@\n 'use strict';\n-const common = require('../common');\n+require('../common');\n+const fixtures = require('../common/fixtures');\n const assert = require('assert');\n-const path = require('path');\n const fs = require('fs');\n-const...
2017-10-09T23:38:31
huggingface/transformers
d9fa13ce62711c5c4840d1faf0473bfb9237a508
b17b54d3dd3093815d375c2a78d5b3a0661c3c8d
Add docstrings and types for MambaCache (#30023) * Add docstrings and types for MambaCache * Update src/transformers/models/mamba/modeling_mamba.py * Update src/transformers/models/mamba/modeling_mamba.py * Update src/transformers/models/mamba/modeling_mamba.py * make fixup * import copy in generation_w...
[ { "path": "src/transformers/models/mamba/modeling_mamba.py", "patch": "@@ -61,7 +61,23 @@\n \n \n class MambaCache:\n- def __init__(self, config, batch_size, dtype=torch.float16, device=None):\n+ \"\"\"\n+ Arguments:\n+ config: MambaConfig\n+ batch_size: int\n+ dtype: torch.dty...
2024-04-05T14:19:54
golang/go
18239be10a0b5caa1b3222b228ff590b1c036382
64350f1eabeb688e997c6cd0c103e21c02ab2a46
cmd/go/internal: remove some users of par.Work par.Work is used in a number of places as a parallel work queue. This change replaces it with goroutines and channels in a number of simpler places where it's used. This is the same CL as golang.org/cl/240062 and golang.org/cl/248326 except for the following changes in c...
[ { "path": "src/cmd/go/internal/modcmd/download.go", "patch": "@@ -8,12 +8,12 @@ import (\n \t\"context\"\n \t\"encoding/json\"\n \t\"os\"\n+\t\"runtime\"\n \n \t\"cmd/go/internal/base\"\n \t\"cmd/go/internal/cfg\"\n-\t\"cmd/go/internal/modfetch\"\n \t\"cmd/go/internal/modload\"\n-\t\"cmd/go/internal/par\"\n...
2020-06-25T23:11:28
ggml-org/llama.cpp
5c0d18881e0e9794c96b2602736b758bac9d9388
4b2a4778f81f222c12271ce3b1997990b3071faf
llama.android : Rewrite Android binding (w/o cpu_features dep) (#17413) * UI: implement basic UI components * util: implement performance monitor; wrap it with a viewmodel * util: implement user preferences utility * UI: implement core flow's screens * UI: add a new MainActivity; update manifest * [WIP] DI: imple...
[ { "path": "CODEOWNERS", "patch": "@@ -32,7 +32,7 @@\n /examples/export-docs/ @ggerganov\n /examples/gen-docs/ @ggerganov\n /examples/gguf/ @ggerganov\n-/examples/llama.android/ @ggerganov\n+/examples/llama.android/ @g...
2025-12-17T08:14:47
huggingface/transformers
17cd7a9d28e12ed3f1623d1193f0b3a2ad4aca92
48795317a21e9128d3ca877657acd855e9ba8477
Fix `torch.fx` symbolic tracing for LLama (#30047) * [WIP] fix fx * [WIP] fix fx * [WIP] fix fx * [WIP] fix fx * [WIP] fix fx * Apply changes to other models
[ { "path": "src/transformers/models/cohere/modeling_cohere.py", "patch": "@@ -908,7 +908,9 @@ def forward(\n if position_ids is None:\n position_ids = cache_position.unsqueeze(0)\n \n- causal_mask = self._update_causal_mask(attention_mask, inputs_embeds, cache_position)\n+ c...
2024-04-05T13:14:09
ollama/ollama
8ca50f24f3f980bf46a3c8ce1cf3c05f8f37b8c1
c149fc314364c48793c7ca365f3884aa074dbc9d
fix nous-hermes model file size listing in readme (#367) fix nous-hermes model file size listing in readme
[ { "path": "README.md", "patch": "@@ -41,7 +41,8 @@ Here are some example open-source models that can be downloaded:\n | Llama2 Uncensored | 7B | 3.8GB | `ollama pull llama2-uncensored` |\n | Orca Mini | 3B | 1.9GB | `ollama pull orca-mini` |\n | Vicuna ...
2023-08-17T03:42:00
ggml-org/llama.cpp
0e49a7b8b47aaa8995953ee7e3c0b5c39ead19fa
4164596c76cb4f62322fd1ff9d157cee5ba97b23
llama-fit-params: fix underflow for dense models (#18095)
[ { "path": "src/llama.cpp", "patch": "@@ -481,8 +481,13 @@ static void llama_params_fit_impl(\n } else {\n LLAMA_LOG_INFO(\"%s: filling dense-only layers back-to-front:\\n\", __func__);\n }\n- uint32_t n_unassigned = hp_ngl;\n for (int id = nd - 1; id >= 0; id--) {\n+ uint32_t n...
2025-12-16T23:47:37
golang/go
64350f1eabeb688e997c6cd0c103e21c02ab2a46
01aad9ea939fed313d5c51778485349435302ead
cmd/asm,cmd/internal/obj/ppc64: add {l,st}xvx power9 instructions These are the indexed vsx load operations with the same endian and alignment benefits of {l,st}vx. Likewise, cleanup redundant comments in op{load,store}x and fix ISA 3.0 typos nearby. Change-Id: Ie1ace17c6150cf9168a834e435114028ff6eb07c Reviewed-on: ...
[ { "path": "src/cmd/asm/internal/asm/testdata/ppc64.s", "patch": "@@ -1037,6 +1037,7 @@ label1:\n // VSX load with length X-form (also left-justified)\n \tLXVL R3,R4, VS0\n \tLXVLL R3,R4, VS0\n+\tLXVX R3,R4, VS0\n // VSX load, DQ-form\n // <MNEMONIC> DQ(RA), XS produces\n // <mnemonic> XS...
2020-08-18T21:26:42