repo
stringclasses
15 values
fix_commit
stringlengths
40
40
buggy_commit
stringlengths
40
40
message
stringlengths
3
64.3k
files
listlengths
1
300
timestamp
timestamp[s]date
2013-03-13 20:45:00
2026-04-11 07:48:46
nodejs/node
7f0183e6c3971a2b3e4ccde768326a03cacb7d07
f547db131f527528d60c8bcc60cb43462937a794
http2: setting shuttingDown=true after validation In shutdown(), shuttingDown was set to true before validating options. If invalid options are passed, error was thrown and server remained in shuttingDown state. This code change fixes it. PR-URL: https://github.com/nodejs/node/pull/15676 Fixes: https://github.com/nod...
[ { "path": "lib/internal/http2/core.js", "patch": "@@ -983,9 +983,6 @@ class Http2Session extends EventEmitter {\n if (this[kState].shutdown || this[kState].shuttingDown)\n return;\n \n- debug(`[${sessionName(this[kType])}] initiating shutdown`);\n- this[kState].shuttingDown = true;\n-\n ...
2017-09-29T04:22:50
ggml-org/llama.cpp
a96283adc4295f1e4585a2795f0338deb444e057
4eba8d945163ff7523a302b438129fb6c1e22f6e
mtmd: fix --no-warmup (#17695)
[ { "path": "common/arg.cpp", "patch": "@@ -1226,7 +1226,7 @@ common_params_context common_params_parser_init(common_params & params, llama_ex\n [](common_params & params) {\n params.warmup = false;\n }\n- ).set_examples({LLAMA_EXAMPLE_MAIN, LLAMA_EXAMPLE_SERVER, LLAMA_EXAMPLE_E...
2025-12-02T21:48:08
huggingface/transformers
48fbab73303d7b20a4bb6e68548df784ef30a708
23db187d9223cfbd535a3a76fb518ca2c1429633
Allow apply_chat_template to pass kwargs to the template and support a dict of templates (#29658) * Allow apply_chat_template to pass kwargs to the template * Fix priority for template_kwargs * Fix docstring * style fix * Add the option for the model to have a dict of templates * Error message cleanup ...
[ { "path": "src/transformers/tokenization_utils_base.py", "patch": "@@ -1610,6 +1610,10 @@ def __init__(self, **kwargs):\n \n # Stores a Jinja template that formats chat histories into tokenizable strings\n self.chat_template = kwargs.pop(\"chat_template\", None)\n+ if isinstance(self....
2024-03-14T18:23:14
rust-lang/rust
aca5b5dd5260d4e2c1bf584fc6ba36b5fba239cb
8c1b49d5e92c035661459063a645b78a47b6346a
If the parent dependency is private, treat dependents as private Currently, marking a dependency private does not automatically make all its child dependencies private. Resolve this by making its children private by default as well. This also resolves some FIXMEs for tests that are intended to fail but previously pas...
[ { "path": "compiler/rustc_metadata/src/creader.rs", "patch": "@@ -168,7 +168,10 @@ impl<'a> std::fmt::Debug for CrateDump<'a> {\n enum CrateOrigin<'a> {\n /// This crate was a dependency of another crate.\n IndirectDependency {\n+ /// Where this dependency was included from.\n dep_roo...
2025-01-28T23:20:36
golang/go
e88ea87e7b886815cfdadc4cd3d70bf5ef833bd7
3a4322627e781c05418a8cc40ebb9f547a6c4ac8
cmd/go: include GOMODCACHE in 'go help environment' Updates #34527 Fixes #40089 Change-Id: Ie9c8573536e5c31e874d755f4d888ffc805b796f Reviewed-on: https://go-review.googlesource.com/c/go/+/241275 Run-TryBot: Jay Conrod <jayconrod@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Michael Matloob <m...
[ { "path": "src/cmd/go/alldocs.go", "patch": "@@ -1700,6 +1700,8 @@\n // \tGOCACHE\n // \t\tThe directory where the go command will store cached\n // \t\tinformation for reuse in future builds.\n+// \tGOMODCACHE\n+// \t\tThe directory where the go command will store downloaded modules.\n // \tGODEBUG\n // \t...
2020-07-07T18:17:30
ollama/ollama
c63f811909a662b0103fe429a22275377bd26c07
7c71c10d4fc51f2a26961d902f3ed660af789c93
return error if model fails to load
[ { "path": "llama/llama.go", "patch": "@@ -123,7 +123,14 @@ func New(model string, opts api.Options) (*llama, error) {\n \tdefer C.free(unsafe.Pointer(cModel))\n \n \tllm.model = C.llama_load_model_from_file(cModel, params)\n+\tif llm.model == nil {\n+\t\treturn nil, errors.New(\"failed to load model\")\n+\t...
2023-07-12T03:32:26
nodejs/node
34dbc9e4e8725d5ff28be918a2cb608ff0668e16
5dd65839a918e06aed3a16abe2e2392742e6c15b
stream: fix disparity between buffer and the count This changes the disparity of bufferedRequestCount and the actual buffer on file _stream_writable.js PR-URL: https://github.com/nodejs/node/pull/15661 Fixes: https://github.com/nodejs/node/issues/6758 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By:...
[ { "path": "lib/_stream_writable.js", "patch": "@@ -503,6 +503,7 @@ function clearBuffer(stream, state) {\n corkReq.finish = onCorkedFinish.bind(undefined, corkReq, state);\n state.corkedRequestsFree = corkReq;\n }\n+ state.bufferedRequestCount = 0;\n } else {\n // Slow case, write c...
2017-09-28T18:21:58
ggml-org/llama.cpp
4eba8d945163ff7523a302b438129fb6c1e22f6e
61bde8e21f4a1f9a98c9205831ca3e55457b4c78
ci : RVV1.0 builds with tests (#16682) * Added RISC-V supported tests * Added default value for LLAMA_FATAL_WARNINGS and option to specify by user * Added RISC-V supported tests * Added default value for LLAMA_FATAL_WARNINGS and option to specify by user * Removed apt prompt * Added RISC-V specific tests with cor...
[ { "path": ".github/workflows/build-riscv-native.yml", "patch": "@@ -1,120 +0,0 @@\n-name: Build on RISCV Linux Machine by Cloud-V\n-on:\n- pull_request:\n- workflow_dispatch:\n- workflow_call:\n-\n-jobs:\n- debian-13-riscv64-native: # Bianbu 2.2\n- runs-on: [self-hosted, RISCV64]\n-\n- steps:\n- ...
2025-12-02T20:46:10
huggingface/transformers
7b87ecb04712eed50793e65a2b39376f4570fcf2
2cc3cc835fcf9b872a160e4ab4accdbee1614f4f
Fix PVT v2 tests (#29660) * update --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/pvt_v2/test_modeling_pvt_v2.py", "patch": "@@ -19,7 +19,6 @@\n import unittest\n \n from transformers import PvtV2Backbone, PvtV2Config, is_torch_available, is_vision_available\n-from transformers.models.auto import get_values\n from transformers.testing_utils import (\n require_...
2024-03-14T16:00:32
rust-lang/rust
1412cfc987b2b6691367c2e7428c083bb207d722
83d70c029860e619f8cb91f15bfc34f7f2d7965f
Inject `compiler_builtins` during postprocessing rather than via AST `compiler_builtins` is currently injected as `extern crate compiler_builtins as _`. This has made gating via diagnostics difficult because it appears in the crate graph as a non-private dependency, and there isn't an easy way to differentiate between...
[ { "path": "compiler/rustc_builtin_macros/src/standard_library_imports.rs", "patch": "@@ -19,16 +19,12 @@ pub fn inject(\n let edition = sess.psess.edition;\n \n // the first name in this list is the crate name of the crate with the prelude\n- let names: &[Symbol] = if attr::contains_name(pre_conf...
2025-01-29T23:54:15
golang/go
3a4322627e781c05418a8cc40ebb9f547a6c4ac8
574dac9d9707ddd35d57aaea646710dfae67bd89
net: hangup TCP connection after Dial timeout in Plan 9 After Dial timeout, force close the TCP connection by writing "hangup" to the control file. This unblocks the "connect" command if the connection is taking too long to establish, and frees up the control file FD. Fixes #40118 Change-Id: I1cef8539cd9fe0793e32b49...
[ { "path": "src/net/ipsock_plan9.go", "patch": "@@ -206,9 +206,9 @@ func dialPlan9Blocking(ctx context.Context, net string, laddr, raddr Addr) (fd *\n \t\treturn nil, err\n \t}\n \tif la := plan9LocalAddr(laddr); la == \"\" {\n-\t\t_, err = f.WriteString(\"connect \" + dest)\n+\t\terr = hangupCtlWrite(ctx, p...
2020-07-08T20:57:10
ollama/ollama
7c71c10d4fc51f2a26961d902f3ed660af789c93
dcb6ba389a335096c62258cb37c17c61714d51e8
fix compilation issue in Dockerfile, remove from `README.md` until ready
[ { "path": ".gitignore", "patch": "@@ -2,6 +2,5 @@\n .vscode\n .env\n .venv\n-*.spec\n dist\n ollama", "additions": 0, "deletions": 1, "language": "Unknown" }, { "path": "Dockerfile", "patch": "@@ -1,8 +1,6 @@\n FROM golang:1.20\n-RUN apt-get update && apt-get install -y cmake\n WORKD...
2023-07-12T02:51:08
nodejs/node
2e215f169a6c7695473ae3609c760aa0bbfe448d
da40050b59046b615ae50c6dd8c71c315d8578de
test: fix and refactor test-http-invalid-urls When the second argument to `assert.throws()` is a string, it is not treated as the expected error message but rather the message that the assertion should display if no error is thrown. Ths change fixes that error in `test-http-invalid-urls.js`. Instead of skipping the t...
[ { "path": "test/parallel/test-http-invalid-urls.js", "patch": "@@ -1,20 +1,25 @@\n+/* eslint-disable crypto-check */\n+\n 'use strict';\n \n const common = require('../common');\n-if (!common.hasCrypto)\n- common.skip('missing crypto');\n \n-const assert = require('assert');\n const http = require('http');...
2017-09-29T05:59:14
ggml-org/llama.cpp
c4357dcc35ba3dc6bab1c9db4f49630d261a4353
e148380c7cb92f10dabff939ebfa567dcdadbde0
Server: Change Invalid Schema from Server Error (500) to User Error (400) (#17572) * Make invalid schema a user error (400) * Move invalid_argument exception handler to ex_wrapper * Fix test * Simplify test back to original pattern
[ { "path": "common/chat.cpp", "patch": "@@ -163,7 +163,7 @@ common_chat_tool_choice common_chat_tool_choice_parse_oaicompat(const std::strin\n if (tool_choice == \"required\") {\n return COMMON_CHAT_TOOL_CHOICE_REQUIRED;\n }\n- throw std::runtime_error(\"Invalid tool_choice: \" + tool_choi...
2025-12-02T16:33:50
huggingface/transformers
956f44f11aba7a54527ee7bc4fdec997dc0adad0
c9e3c0b45419804e11885120e25a35803d1fcf44
Fix TPU checkpointing inside Trainer (#29657) Manually call sync step
[ { "path": "src/transformers/trainer.py", "patch": "@@ -3012,6 +3012,7 @@ def _save_tpu(self, output_dir: Optional[str] = None):\n \n logger.info(f\"Saving model checkpoint to {output_dir}\")\n model = self.model\n+ xm.mark_step()\n model.to(\"cpu\")\n \n if xm.is_maste...
2024-03-14T15:43:16
golang/go
574dac9d9707ddd35d57aaea646710dfae67bd89
504db532971b703d52f0bd4ced3e36a403b49da4
doc/go1.15: fix TODO about -buildmode=pie Updates #37419. Change-Id: If77067eb348de47a4b101325de8a43502383b6d3 Reviewed-on: https://go-review.googlesource.com/c/go/+/241740 Reviewed-by: Cherry Zhang <cherryyz@google.com>
[ { "path": "doc/go1.15.html", "patch": "@@ -336,8 +336,10 @@ <h2 id=\"linker\">Linker</h2>\n </p>\n \n <p><!-- CL 207877 -->\n- TODO: <a href=\"https://golang.org/cl/207877\">https://golang.org/cl/207877</a>: Revert -buildmode=pie to internal linking.\n- The linker defaults to internal linking mode for PIE...
2020-07-09T18:16:44
ggml-org/llama.cpp
f3a9674ae896972154ec110b0c3da03438196189
2c453c6c7786df267b3ae6fd5019eee126a35a29
llama : fix signed comparison warning on FreeBSD (#17497) This ensures correct RLIM_INFINITY handling and compatibility on all platforms (32/64-bit). warning: comparison of integers of different signs: 'rlim_t' (aka 'long') and 'size_t' (aka 'unsigned long') [-Wsign-compare] 488 | if (suggest && (lo...
[ { "path": "src/llama-mmap.cpp", "patch": "@@ -485,7 +485,7 @@ struct llama_mlock::impl {\n if (suggest && getrlimit(RLIMIT_MEMLOCK, &lock_limit)) {\n suggest = false;\n }\n- if (suggest && (lock_limit.rlim_max > lock_limit.rlim_cur + size)) {\n+ if (suggest && ((uin...
2025-12-02T11:05:38
ollama/ollama
c5f7eadd8767aa0c394af26aedf2118c07ae0694
7226980fb6c8fdb6cf4f5112a00b4e05781365ea
error checking new model
[ { "path": "llama/llama.go", "patch": "@@ -123,7 +123,14 @@ func New(model string, opts api.Options) (*llama, error) {\n \tdefer C.free(unsafe.Pointer(cModel))\n \n \tllm.model = C.llama_load_model_from_file(cModel, params)\n+\tif llm.model == nil {\n+\t\treturn nil, errors.New(\"failed to load model\")\n+\t...
2023-07-12T00:07:41
nodejs/node
da40050b59046b615ae50c6dd8c71c315d8578de
564d7ef47381b0df5cb2151b5a588822de698927
repl: fix deprecation code This slipped through while landing. PR-URL: https://github.com/nodejs/node/pull/15668 Refs: https://github.com/nodejs/node/pull/15136 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Pr...
[ { "path": "lib/repl.js", "patch": "@@ -694,7 +694,7 @@ REPLServer.prototype.setPrompt = function setPrompt(prompt) {\n REPLServer.prototype.turnOffEditorMode = util.deprecate(\n function() { _turnOffEditorMode(this); },\n 'REPLServer.turnOffEditorMode() is deprecated',\n- 'DEP00XX');\n+ 'DEP0078');\n ...
2017-09-28T21:35:05
huggingface/transformers
c9e3c0b45419804e11885120e25a35803d1fcf44
b4b96251cdf07538e8f9fe578d131b2a4ecec1b6
[`PEFT`] Fix `save_pretrained` to make sure adapters weights are also saved on TPU (#29388) * Fix for saving ad apter weights when using PEFT * Change supported-classes to PushToHubMixin
[ { "path": "src/transformers/trainer.py", "patch": "@@ -134,6 +134,7 @@\n WEIGHTS_INDEX_NAME,\n WEIGHTS_NAME,\n PushInProgress,\n+ PushToHubMixin,\n can_return_loss,\n find_labels,\n is_accelerate_available,\n@@ -3019,9 +3020,10 @@ def _save_tpu(self, output_dir: Optional[str] = No...
2024-03-14T11:30:19
golang/go
504db532971b703d52f0bd4ced3e36a403b49da4
72735e7e05a79dd9272659e3095aa754c741a54e
net/textproto: correct documentation of empty line handling Fixes #32493 Change-Id: I9c93791c4cc5c0c14556802733066407de3181ca Reviewed-on: https://go-review.googlesource.com/c/go/+/185542 TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
[ { "path": "src/net/textproto/reader.go", "patch": "@@ -88,7 +88,7 @@ func (r *Reader) readLineSlice() ([]byte, error) {\n // The first call to ReadContinuedLine will return \"Line 1 continued...\"\n // and the second will return \"Line 2\".\n //\n-// A line consisting of only white space is never continued....
2019-07-10T22:31:00
rust-lang/rust
fc02cfd1c0237e0f927fb61aa6e5787ed1c15bc9
aa6f5ab18e67cb815f73e0d53d217bc54b0da924
Do not use CString in the examples of CStr. Fixes #83999.
[ { "path": "library/core/src/ffi/c_str.rs", "patch": "@@ -55,18 +55,15 @@ use crate::{fmt, ops, slice, str};\n /// Passing a Rust-originating C string:\n ///\n /// ```\n-/// use std::ffi::{CString, CStr};\n+/// use std::ffi::CStr;\n /// use std::os::raw::c_char;\n ///\n /// fn work(data: &CStr) {\n-/// # /...
2025-01-28T14:17:44
ggml-org/llama.cpp
2c453c6c7786df267b3ae6fd5019eee126a35a29
5d6bd842ead1fa8c67da078e503381bc012cd6ee
convert: add error message for mistral3 quantized weight (#17686)
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -2842,6 +2842,10 @@ def set_gguf_parameters(self):\n self.gguf_writer.add_attn_temperature_scale(rope_params[\"llama_4_scaling_beta\"])\n \n def modify_tensors(self, data_torch: Tensor, name: str, bid: int | None):\n+ # TODO: probably no...
2025-12-02T10:48:31
huggingface/transformers
b4b96251cdf07538e8f9fe578d131b2a4ecec1b6
f738ab3b5d30e30c43a4c3d00ca8939f8a4d4427
Add newly added PVTv2 model to all README files. (#29647) Add newly added models to all README files. Also fix one relative path in README_ru.md.
[ { "path": "README_de.md", "patch": "@@ -463,6 +463,7 @@ Aktuelle Anzahl der Checkpoints: ![](https://img.shields.io/endpoint?url=https:/\n 1. **[Pop2Piano](https://huggingface.co/docs/transformers/model_doc/pop2piano)** released with the paper [Pop2Piano : Pop Audio-based Piano Cover Generation](https://arx...
2024-03-14T10:54:17
nodejs/node
564d7ef47381b0df5cb2151b5a588822de698927
db7d1339c38805bbe5a6dbf2508f7273a0e81bf6
stream: fix todo With the update to v8 6.1 this todo can now be addressed. PR-URL: https://github.com/nodejs/node/pull/15667 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Benedikt Meurer <benedikt.meurer@gmail.com> Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com> Reviewed-By: Luigi Pinca <luigipinca@gma...
[ { "path": "lib/_stream_readable.js", "patch": "@@ -26,9 +26,7 @@ Readable.ReadableState = ReadableState;\n \n const EE = require('events');\n const Stream = require('stream');\n-// TODO(bmeurer): Change this back to const once hole checks are\n-// properly optimized away early in Ignition+TurboFan.\n-var Bu...
2017-09-28T20:32:56
ggml-org/llama.cpp
5d6bd842ead1fa8c67da078e503381bc012cd6ee
fd3abe849ee49ba199c62333e1c4bdb0badd6ebc
server: remove default "gpt-3.5-turbo" model name (#17668) * server: remove default "gpt-3.5-turbo" model name * do not reflect back model name from request * fix test
[ { "path": "tools/server/server-common.cpp", "patch": "@@ -1263,7 +1263,11 @@ json convert_anthropic_to_oai(const json & body) {\n return oai_body;\n }\n \n-json format_embeddings_response_oaicompat(const json & request, const json & embeddings, bool use_base64) {\n+json format_embeddings_response_oaicom...
2025-12-02T10:38:57
golang/go
076dc2111bd15476e03ee39d153bdd5a1fb0a3e8
8aa036e9135f6f24ab6a5f250a4fba47a5d3a083
[dev.link] cmd/compile: make compiler-generated ppc64 TOC symbols static Set the AttrStatic flag on compiler-emitted TOC symbols for ppc64; these symbols don't need to go into the final symbol table in Go binaries. This fixes a buglet introduced by CL 240539 that was causing failures on the aix builder. Change-Id: If...
[ { "path": "src/cmd/internal/obj/ppc64/obj9.go", "patch": "@@ -142,6 +142,7 @@ func (c *ctxt9) rewriteToUseTOC(p *obj.Prog) {\n \t\tsymtoc := c.ctxt.LookupInit(\"TOC.\"+sym.Name, func(s *obj.LSym) {\n \t\t\ts.Type = objabi.SDATA\n \t\t\ts.Set(obj.AttrDuplicateOK, true)\n+\t\t\ts.Set(obj.AttrStatic, true)\n \...
2020-07-08T22:32:36
huggingface/transformers
1fc505b8169f0306b6bd55a5c38ff41d7b4fc18f
fe085560d05b3a4a00464f9dd693dda34dc93d63
Add PvT-v2 Model (#26812) * Added pytests for pvt-v2, all passed * Added pvt_v2 to docs/source/end/model_doc * Ran fix-copies and fixup. All checks passed * Added additional ReLU for linear attention mode * pvt_v2_b2_linear converted and working * copied models/pvt to adapt to pvt_v2 * First commit o...
[ { "path": "README.md", "patch": "@@ -467,6 +467,7 @@ Current number of checkpoints: ![](https://img.shields.io/endpoint?url=https://h\n 1. **[Pop2Piano](https://huggingface.co/docs/transformers/model_doc/pop2piano)** released with the paper [Pop2Piano : Pop Audio-based Piano Cover Generation](https://arxiv....
2024-03-13T19:05:20
nodejs/node
db7d1339c38805bbe5a6dbf2508f7273a0e81bf6
4536128e7c9218f478354292f30720b39f6f4060
stream: migrate to internal/errors PR-URL: https://github.com/nodejs/node/pull/15665 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "lib/_stream_transform.js", "patch": "@@ -157,7 +157,7 @@ Transform.prototype.push = function(chunk, encoding) {\n // an error, then that'll put the hurt on the whole operation. If you\n // never call cb(), then you'll never get another chunk.\n Transform.prototype._transform = function(chunk, en...
2017-09-28T20:48:12
ggml-org/llama.cpp
fd3abe849ee49ba199c62333e1c4bdb0badd6ebc
682e6658bb8de53f56bfbf16efee98697db1b21f
server: fixing naming conflict res_error in server-models.cpp (#17679)
[ { "path": "tools/server/server-models.cpp", "patch": "@@ -642,26 +642,26 @@ static void res_ok(std::unique_ptr<server_http_res> & res, const json & response\n res->data = safe_json_to_str(response_data);\n }\n \n-static void res_error(std::unique_ptr<server_http_res> & res, const json & error_data) {\n+...
2025-12-02T10:18:39
golang/go
4f2a2d7e26f5aa07b1e4efe6ac04682cf3651a1d
9699086043ae0ea01f14eca827837ad15bea8072
crypto/x509/internal/macos: rename package to lowercase Also add a test to lock in this policy. Fixes #40065 Change-Id: Iedc4586f2f5598046d84132a8f3bba8f2e93ddc2 Reviewed-on: https://go-review.googlesource.com/c/go/+/241274 Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.o...
[ { "path": "src/crypto/x509/root_darwin_amd64.go", "patch": "@@ -8,7 +8,7 @@ package x509\n \n import (\n \t\"bytes\"\n-\t\"crypto/x509/internal/macOS\"\n+\tmacOS \"crypto/x509/internal/macos\"\n \t\"fmt\"\n \t\"os\"\n \t\"strings\"", "additions": 1, "deletions": 1, "language": "Go" }, { ...
2020-07-07T18:04:18
huggingface/transformers
fe085560d05b3a4a00464f9dd693dda34dc93d63
5ac264d8a8e014a7873c72fee91006d9e91a7bfd
Fix `multi_gpu_data_parallel_forward` for `MusicgenTest` (#29632) update Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/musicgen/test_modeling_musicgen.py", "patch": "@@ -103,7 +103,7 @@ class MusicgenDecoderTester:\n def __init__(\n self,\n parent,\n- batch_size=3, # need batch_size != num_hidden_layers\n+ batch_size=4, # need batch_size != num_hidden_layers\n ...
2024-03-13T18:12:20
nodejs/node
9910860a9395f85fa238d94b138d180c42599965
5be4dfaa13b0bb1ece79adc84822067a93b88600
deps: V8: cherry-pick 163d360 from upstream Original commit message [heap] Fix memory leak in the remembered set. Empty slot set buckets can leak in the following scenarios. Scenario 1 (large object space): 1) A large array is allocated in the large object space. 2) The array is filled with old->new refere...
[ { "path": "deps/v8/src/heap/heap.cc", "patch": "@@ -1814,7 +1814,11 @@ void Heap::Scavenge() {\n ArrayBufferTracker::FreeDeadInNewSpace(this);\n \n RememberedSet<OLD_TO_NEW>::IterateMemoryChunks(this, [](MemoryChunk* chunk) {\n- RememberedSet<OLD_TO_NEW>::PreFreeEmptyBuckets(chunk);\n+ if (chunk->...
2017-09-28T20:14:33
rust-lang/rust
2b6ea13c53521231a98ec778526309dd6bb72f76
629fa76c14c8022310a6e38887a35fd49599015f
fix
[ { "path": "src/tools/rust-analyzer/crates/rust-analyzer/src/lsp/to_proto.rs", "patch": "@@ -1884,7 +1884,7 @@ pub(crate) fn make_update_runnable(\n r.environment.extend(update_test.env().iter().map(|(k, v)| (k.to_string(), v.to_string())));\n \n if update_test.insta {\n- r.cargo_args.insert(0...
2025-02-21T13:31:23
huggingface/transformers
5ac264d8a8e014a7873c72fee91006d9e91a7bfd
31d01150add8a93c379352ea048f3494ce18c39d
Fix batching tests for new models (Mamba and SegGPT) (#29633) * fix batchinng tests for new models * Update tests/models/seggpt/test_modeling_seggpt.py Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com> --------- Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.githu...
[ { "path": "tests/models/seggpt/test_modeling_seggpt.py", "patch": "@@ -245,6 +245,60 @@ def check_hidden_states_output(inputs_dict, config, model_class):\n \n check_hidden_states_output(inputs_dict, config, model_class)\n \n+ def test_batching_equivalence(self):\n+ def recursive_check(...
2024-03-13T17:52:49
ollama/ollama
a3ec1ec2a0d210f9bd1991f2878dcb278f36f6f4
407a5cabf4c4a8ae1fe401d0c59785091117f998
consistent error handling for pull and generate
[ { "path": "api/client.go", "patch": "@@ -6,7 +6,6 @@ import (\n \t\"context\"\n \t\"encoding/json\"\n \t\"fmt\"\n-\t\"io\"\n \t\"net/http\"\n \t\"net/url\"\n )\n@@ -26,47 +25,18 @@ func NewClient(hosts ...string) *Client {\n \t}\n }\n \n-func StatusError(status int, message ...string) error {\n-\tif status ...
2023-07-11T04:34:15
ggml-org/llama.cpp
cee92af5532148328999da814fef75f6c17dc4ec
ed320899275ef9a193aa177d97a0d08745dc48fe
Add context info to server error (#17663) * fix: Add context info to server error * chore: update webui build output
[ { "path": "tools/server/webui/src/lib/components/app/chat/ChatScreen/ChatScreen.svelte", "patch": "@@ -575,6 +575,7 @@\n \n <DialogChatError\n \tmessage={activeErrorDialog?.message ?? ''}\n+\tcontextInfo={activeErrorDialog?.contextInfo}\n \tonOpenChange={handleErrorDialogOpenChange}\n \topen={Boolean(active...
2025-12-02T08:20:57
nodejs/node
af6af08482d2e7a4e20990bd67743e81a6be881c
27d8202db54ce3eda6ff47703169e577476c9dd2
url: const-ify APIs, and pass URL by ref Fixes warnings by Coverity Scan of inefficiences when passing by value instead of passing by const reference. PR-URL: https://github.com/nodejs/node/pull/15615 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James ...
[ { "path": "src/module_wrap.cc", "patch": "@@ -323,7 +323,7 @@ struct file_check {\n bool failed = true;\n uv_file file = -1;\n };\n-inline const struct file_check check_file(URL search,\n+inline const struct file_check check_file(const URL& search,\n bool close ...
2017-09-25T18:49:38
golang/go
9699086043ae0ea01f14eca827837ad15bea8072
0844ff8eef81e124c1fecba82dd5843745427fa4
runtime: mark OpenBSD raise function nosplit It is called by the signal handler before switching to gsignal (sigtrampgo -> sigfwdgo -> dieFromSignal -> raise) which means that it must not split the stack. All other instances of raise are already marked nosplit. Fixes #40076 Change-Id: I4794491331af48c46d0d8ebc82d34...
[ { "path": "src/os/pipe_test.go", "patch": "@@ -104,6 +104,25 @@ func TestStdPipe(t *testing.T) {\n \t\t\t}\n \t\t}\n \t}\n+\n+\t// Test redirecting stdout but not stderr. Issue 40076.\n+\tcmd := osexec.Command(os.Args[0], \"-test.run\", \"TestStdPipeHelper\")\n+\tcmd.Stdout = w\n+\tvar stderr bytes.Buffer\...
2020-07-06T21:23:26
rust-lang/rust
eb4720dc8e09476d99a846b5e9f78137038e62aa
ad0810b73b0df9f727f2693391bdcb327dccf649
Fix review comments
[ { "path": "src/tools/miri/src/shims/aarch64.rs", "patch": "@@ -46,15 +46,15 @@ pub(super) trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {\n \n for lane_idx in 0..lane_count {\n let src = if lane_idx < (lane_count / 2) { &left } else { &right };\n- ...
2025-02-21T12:46:19
huggingface/transformers
350c5d15668aa2f0467699baa795ef751b1167d3
d3801aae2ebb44e5dcc27e8d8ad04376420e39c4
Add support for FSDP+QLoRA and DeepSpeed ZeRO3+QLoRA (#29587) * fsdp+qlora related changes * fixes * Update quantization_config.py * support fsdp+qlora and dsz3+qlora * Update quantization_config.py * Update modeling_utils.py * Update modeling_utils.py * Update modeling_utils.py * Update modeling_utils.py * U...
[ { "path": "src/transformers/integrations/bitsandbytes.py", "patch": "@@ -1,6 +1,7 @@\n import importlib.metadata\n import warnings\n from copy import deepcopy\n+from inspect import signature\n \n from packaging import version\n \n@@ -179,13 +180,19 @@ def _replace_with_bnb_linear(\n ...
2024-03-13T16:33:02
ggml-org/llama.cpp
7b6d7453649be7e7aa37589a2da6d2f60ca9e548
98bd9ab1e4fdef1497da628574bb90d0890539e7
release: fix duplicate libs, store symbolic links (#17299)
[ { "path": ".github/workflows/release.yml", "patch": "@@ -66,14 +66,21 @@ jobs:\n id: pack_artifacts\n run: |\n cp LICENSE ./build/bin/\n- zip -r llama-${{ steps.tag.outputs.name }}-bin-macos-arm64.zip ./build/bin/*\n+ zip -y -r llama-${{ steps.tag.outputs.name }}-...
2025-12-02T03:52:05
nodejs/node
ccd3afc84303247b32c011fea7630d150f07849d
dcd890a1355c8b4165d631155048051ddd2d83f3
http2: adjust error emit in core, add tests Use the ability of nextTick and setImmediate to pass arguments instead of creating closures or binding. Add tests that cover the vast majority of error emits. PR-URL: https://github.com/nodejs/node/pull/15586 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben...
[ { "path": "lib/internal/http2/core.js", "patch": "@@ -130,8 +130,8 @@ const {\n } = constants;\n \n // Top level to avoid creating a closure\n-function emit() {\n- this.emit.apply(this, arguments);\n+function emit(self, ...args) {\n+ self.emit(...args);\n }\n \n // Called when a new block of headers has b...
2017-09-30T14:06:21
golang/go
0844ff8eef81e124c1fecba82dd5843745427fa4
4b09c8ad6fb9d30b9c3417b5364809ff0006749d
os: fix regression with handling of nil *File Use of a nil *File as an argument should not result in a panic, but result in the ErrInvalid error being returned. Fix the copy_file_range implementation to preserve this semantic. Fixes #40115 Change-Id: Iad5ac39664a3efb7964cf55685be636940a8db13 Reviewed-on: https://go-...
[ { "path": "src/os/readfrom_linux.go", "patch": "@@ -32,6 +32,11 @@ func (f *File) readFrom(r io.Reader) (written int64, handled bool, err error) {\n \tif !ok {\n \t\treturn 0, false, nil\n \t}\n+\tif src.checkValid(\"ReadFrom\") != nil {\n+\t\t// Avoid returning the error as we report handled as false,\n+\t...
2020-07-08T05:18:17
huggingface/transformers
b340d90738fa14bd6f81b65e4148173cbec62ff6
1e21c4fbe04a77e1bb414ed7869bc69219d955eb
[PyTorch/XLA] Fix extra TPU compilations introduced by recent changes (#29158) * tmp * Remove debug step * Fix a typo * Move to is_torch_xla_available
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -1364,7 +1364,7 @@ def _autoset_attn_implementation(\n hard_check_only=False,\n check_device_map=check_device_map,\n )\n- elif requested_attn_implementation in [None, \"sdpa\"]:\n+ elif req...
2024-03-13T15:30:32
ollama/ollama
edba935d6708a7bc7f9589007da5de1aee8138cc
2d49197b3bfffc89df869c4855839b83b17efcb2
return error in generate response
[ { "path": "api/client.go", "patch": "@@ -5,6 +5,7 @@ import (\n \t\"bytes\"\n \t\"context\"\n \t\"encoding/json\"\n+\t\"fmt\"\n \t\"io\"\n \t\"net/http\"\n \t\"net/url\"\n@@ -25,6 +26,18 @@ func NewClient(hosts ...string) *Client {\n \t}\n }\n \n+func StatusError(status int, message ...string) error {\n+\ti...
2023-07-07T21:04:43
ggml-org/llama.cpp
00c361fe53e5fc105a077f90a0a22d4c60936ffe
ec18edfcba94dacb166e6523612fc0129cead67a
fix: llama arch implementation (#17665)
[ { "path": "src/llama-model.cpp", "patch": "@@ -626,6 +626,8 @@ void llama_model::load_hparams(llama_model_loader & ml) {\n switch (arch) {\n case LLM_ARCH_LLAMA:\n {\n+ ml.get_key(LLM_KV_ATTENTION_LAYERNORM_RMS_EPS, hparams.f_norm_rms_eps);\n+\n if (hpa...
2025-12-01T20:21:13
nodejs/node
dcd890a1355c8b4165d631155048051ddd2d83f3
08802932b069fa48cd18de1b7280fb684989df98
src: fixup node_platform blocking task drain https://github.com/nodejs/node/pull/15428 was supposed to account for upcoming changes in V8 upstream, but while addressing review comments a bug was introduced; `DrainBackgroundTasks()` should always at least perform one blocking drain on the background task queue. PR-URL...
[ { "path": "src/node_platform.cc", "patch": "@@ -86,8 +86,9 @@ static void RunForegroundTask(uv_timer_t* handle) {\n }\n \n void NodePlatform::DrainBackgroundTasks() {\n- while (FlushForegroundTasksInternal())\n+ do {\n background_tasks_.BlockingDrain();\n+ } while (FlushForegroundTasksInternal());\n ...
2017-09-27T14:19:31
huggingface/transformers
88a4f68fe594d28059eb0e7872ad9945dd792583
624788570c8a0313f1f059ac82ae806ad289274c
[`MaskFormer`, `Mask2Former`] Use einsum where possible (#29544) * Use einsum where possible * Fix
[ { "path": "src/transformers/models/mask2former/modeling_mask2former.py", "patch": "@@ -34,6 +34,7 @@\n )\n from ...modeling_outputs import BaseModelOutput, BaseModelOutputWithCrossAttentions\n from ...modeling_utils import PreTrainedModel\n+from ...pytorch_utils import is_torch_greater_or_equal_than_2_1\n f...
2024-03-13T14:52:37
golang/go
4b09c8ad6fb9d30b9c3417b5364809ff0006749d
2336d127e137fd877283eb691494cd97cb0b9d71
crypto: fix PKCS space in docs Change-Id: Iee53acb963a889410f8c6daaa9a7841f1b12c6fb Reviewed-on: https://go-review.googlesource.com/c/go/+/241497 Run-TryBot: Katie Hockman <katie@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Filippo Valsorda <filippo@golang.org>
[ { "path": "src/crypto/crypto.go", "patch": "@@ -164,7 +164,7 @@ type Signer interface {\n \n \t// Sign signs digest with the private key, possibly using entropy from\n \t// rand. For an RSA key, the resulting signature should be either a\n-\t// PKCS#1 v1.5 or PSS signature (as indicated by opts). For an (EC...
2020-07-08T13:40:33
ollama/ollama
268e362fa73c1a98fcc1b51d335b5cb2cb991822
07a4c1e3fba6eda753d56fa63b7df0f2e103b57a
fix binding build
[ { "path": "llama/binding/binding.h", "patch": "@@ -20,8 +20,12 @@\n // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n // SOFTWARE.\n \n+#ifdef __cplusplus\n+\n extern \"C\" {\n \n+#endif\n+\n #include <stdbool.h>\n \n extern unsigned char tokenCallback(void *, char *);\n@@ -...
2023-07-10T18:33:43
nodejs/node
08802932b069fa48cd18de1b7280fb684989df98
ee90959071e2d9f41b1cebe631aebaf25724600a
test: update es-module.status prefix PR-URL: https://github.com/nodejs/node/pull/15690 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "test/es-module/es-module.status", "patch": "@@ -1,4 +1,4 @@\n-prefix parallel\n+prefix es-module\n \n # To mark a test as flaky, list the test name in the appropriate section\n # below, without \".js\", followed by \": PASS,FLAKY\". Example:", "additions": 1, "deletions": 1, "language...
2017-09-29T21:12:35
huggingface/transformers
624788570c8a0313f1f059ac82ae806ad289274c
fafe90930de2abf8738a7a064ad9a26728a720d5
Fix minor typo: infenrece => inference (#29621)
[ { "path": "docs/source/en/model_doc/seggpt.md", "patch": "@@ -27,7 +27,7 @@ The abstract from the paper is the following:\n Tips:\n - One can use [`SegGptImageProcessor`] to prepare image input, prompt and mask to the model.\n - It's highly advisable to pass `num_labels` (not considering background) during ...
2024-03-13T14:49:09
ggml-org/llama.cpp
ec18edfcba94dacb166e6523612fc0129cead67a
773340973473952df872b179f97b5a484a0b063d
server: introduce API for serving / loading / unloading multiple models (#17470) * server: add model management and proxy * fix compile error * does this fix windows? * fix windows build * use subprocess.h, better logging * add test * fix windows * feat: Model/Router server architecture WIP * more stable * fi...
[ { "path": "README.md", "patch": "@@ -613,3 +613,4 @@ $ echo \"source ~/.llama-completion.bash\" >> ~/.bashrc\n - [linenoise.cpp](./tools/run/linenoise.cpp/linenoise.cpp) - C++ library that provides readline-like line editing capabilities, used by `llama-run` - BSD 2-Clause License\n - [curl](https://curl.se...
2025-12-01T18:41:04
ollama/ollama
f533f85d44e84124eddbcf4e4a1833bed0b04f96
61dd87bd907162804263472c92fbcd2a7335421b
pr feedback - move error check to api client pull - simplify error check in generate - return nil on any pull error
[ { "path": "api/client.go", "patch": "@@ -106,6 +106,11 @@ func (c *Client) Pull(ctx context.Context, req *PullRequest, fn PullProgressFunc\n \t\t\t\treturn err\n \t\t\t}\n \n+\t\t\tif resp.Error.Message != \"\" {\n+\t\t\t\t// couldn't pull the model from the directory, proceed anyway\n+\t\t\t\treturn nil\n+...
2023-07-07T21:12:02
ggml-org/llama.cpp
90c72a614a6dc99064fe245b6ab85235c5f2de6a
6eea6669125af4a6c6a8e186ba5a019152e4e868
ggml : extend the GGML_SCHED_NO_REALLOC debug logic of the scheduler (#17617)
[ { "path": "ggml/src/ggml-backend.cpp", "patch": "@@ -723,6 +723,12 @@ struct ggml_backend_sched {\n bool op_offload;\n \n int debug;\n+\n+ // used for debugging graph reallocations [GGML_SCHED_DEBUG_REALLOC]\n+ // ref: https://github.com/ggml-org/llama.cpp/pull/17617\n+ int debug_realloc;\n...
2025-12-01T10:49:33
huggingface/transformers
11bbb505c77a1d29370cf16a964cfe73b7a76340
38bff8c84f81a7aec58ac1f0d6463de2584f4a52
Adds pretrained IDs directly in the tests (#29534) * Adds pretrained IDs directly in the tests * Fix tests * Fix tests * Review!
[ { "path": "tests/models/albert/test_tokenization_albert.py", "patch": "@@ -27,6 +27,7 @@\n @require_sentencepiece\n @require_tokenizers\n class AlbertTokenizationTest(TokenizerTesterMixin, unittest.TestCase):\n+ from_pretrained_id = \"albert/albert-base-v1\"\n tokenizer_class = AlbertTokenizer\n ...
2024-03-13T13:53:27
ollama/ollama
39e946f25668324d2be2382d20013b9ff2cbf618
049295d9bacddfa094d7fc8be53e2f752677cd24
fix download url
[ { "path": "README.md", "patch": "@@ -16,7 +16,7 @@ Run large language models with `llama.cpp`.\n \n ## Install\n \n-- [Download](https://github.com/jmorganca/ollama/releases/latest) for macOS\n+- [Download](https://ollama.ai/download) for macOS\n - Download for Windows (coming soon)\n - Docker: `docker run ...
2023-07-07T20:07:10
nodejs/node
2e59ec0c2d27baa0f0bc140ead72d15b1ed9b29c
3e4f34cdb95bd05f84393ed8c0d3559edc90eb8f
child_process: fix memory leak in .fork() Entries in the `net.Server#_workers` array that is used to track handles sent from the master to workers were not deleted when a worker exited, resulting in a slow but inexorable memory leak. PR-URL: https://github.com/nodejs/node/pull/15679 Fixes: https://github.com/nodejs/n...
[ { "path": "lib/internal/socket_list.js", "patch": "@@ -10,6 +10,7 @@ class SocketListSend extends EventEmitter {\n super();\n this.key = key;\n this.child = child;\n+ child.once('exit', () => this.emit('exit', this));\n }\n \n _request(msg, cmd, callback) {", "additions": 1, "dele...
2017-09-29T09:29:58
ggml-org/llama.cpp
2ba719519d950c5a62c00cdb8b119cc0914c1fa3
7f8ef50cce40e3e7e4526a3696cb45658190e69a
model: LFM2-VL fixes (#17577) * Adjust to pytorch * Add antialiasing upscale * Increase number of patches to 1024 * Handle default marker insertion for LFM2 * Switch to flag * Reformat * Cuda implementation of antialias kernel * Change placement in ops.cpp * consistent float literals * Pad only for LFM2 * Ad...
[ { "path": "ggml/include/ggml.h", "patch": "@@ -2148,7 +2148,8 @@ extern \"C\" {\n };\n \n enum ggml_scale_flag {\n- GGML_SCALE_FLAG_ALIGN_CORNERS = (1 << 8)\n+ GGML_SCALE_FLAG_ALIGN_CORNERS = (1 << 8),\n+ GGML_SCALE_FLAG_ANTIALIAS = (1 << 9),\n };\n \n // interpolate...
2025-11-30T20:57:31
golang/go
cd10f5f632983e63b156478abdfa0bd57e93898c
c769a47291249bd0901d20b58f10ba62c444c926
crypto/tls: relax the docs of InsecureSkipVerify Fixes #39074 Change-Id: I72ec95f4b190253bb82d52a03a769b0399170b93 Reviewed-on: https://go-review.googlesource.com/c/go/+/239746 Reviewed-by: Katie Hockman <katie@golang.org>
[ { "path": "src/crypto/tls/common.go", "patch": "@@ -600,12 +600,12 @@ type Config struct {\n \t// by the policy in ClientAuth.\n \tClientCAs *x509.CertPool\n \n-\t// InsecureSkipVerify controls whether a client verifies the\n-\t// server's certificate chain and host name.\n-\t// If InsecureSkipVerify is tru...
2020-06-24T18:31:49
huggingface/transformers
9acce7de1cb8229304a467938ebb47727d60cdb2
be3fd8a262fb1bfdbe2aaf1b00ab78e243632cba
Core: Fix copies on main (#29624) fix fix copies
[ { "path": "src/transformers/models/gptj/modeling_gptj.py", "patch": "@@ -454,7 +454,7 @@ def _flash_attention_forward(\n attention_mask (`torch.Tensor`):\n The padding mask - corresponds to a tensor of size `(batch_size, seq_len)` where 0 stands for the\n position...
2024-03-13T08:16:59
ggml-org/llama.cpp
7f8ef50cce40e3e7e4526a3696cb45658190e69a
3c136b21a35b0efc7282b12857b4e8cba26ddae5
clip: fix nb calculation for qwen3-vl (#17594)
[ { "path": "tools/mtmd/clip.cpp", "patch": "@@ -987,12 +987,20 @@ struct clip_graph {\n cur = ggml_mul_mat(ctx0, layer.qkv_w, cur);\n cur = ggml_add(ctx0, cur, layer.qkv_b);\n \n- ggml_tensor * Qcur = ggml_view_3d(ctx0, cur, d_head, n_head, n_pos, d_head*sizeof(...
2025-11-30T14:33:55
nodejs/node
3e4f34cdb95bd05f84393ed8c0d3559edc90eb8f
6be96c70f5642ac07b9f505f464f958245df03d0
test: fix flaky test-crypto-classes.js On non-FIPS, we can instantiate DiffieHellman with 256 instead of 1024. This should be quite a bit faster, and therefore prevent the timeouts. PR-URL: https://github.com/nodejs/node/pull/15662 Fixes: https://github.com/nodejs/node/issues/15655 Reviewed-By: Refael Ackermann <refa...
[ { "path": "test/parallel/test-crypto-classes.js", "patch": "@@ -25,6 +25,7 @@ const TEST_CASES = {\n if (!common.hasFipsCrypto) {\n TEST_CASES.Cipher = ['aes192', 'secret'];\n TEST_CASES.Decipher = ['aes192', 'secret'];\n+ TEST_CASES.DiffieHellman = [256];\n }\n \n for (const [clazz, args] of Object.en...
2017-09-28T18:57:36
huggingface/transformers
be3fd8a262fb1bfdbe2aaf1b00ab78e243632cba
d522afea1324b8156c929f3896df14762c9ea716
[Flash Attention 2] Add flash attention 2 for GPT-J (#28295) * initial implementation of flash attention for gptj * modify flash attention and overwrite test_flash_attn_2_generate_padding_right * update flash attention support list * remove the copy line in the `CodeGenBlock` * address copy mechanism * ...
[ { "path": "docs/source/en/perf_infer_gpu_one.md", "patch": "@@ -44,6 +44,7 @@ FlashAttention-2 is currently supported for the following architectures:\n * [GPTBigCode](https://huggingface.co/docs/transformers/model_doc/gpt_bigcode#transformers.GPTBigCodeModel)\n * [GPTNeo](https://huggingface.co/docs/transf...
2024-03-13T07:43:00
golang/go
c769a47291249bd0901d20b58f10ba62c444c926
12debf4a6574c8fa521e76629f20f8ff77a35e0e
net: correct address when listening on IPv4zero tcp4/udp4 on Plan 9 Since Plan 9 doesn't allow us to listen on 0.0.0.0, the Listener address that's read in from /net is the IPv6 address ::. Convert this address to 0.0.0.0 when the network is tcp4 or udp4. Fixes #40045 Change-Id: Icfb69b823e5b80603742d23c3762a812996f...
[ { "path": "src/net/ipsock_plan9.go", "patch": "@@ -67,7 +67,7 @@ func parsePlan9Addr(s string) (ip IP, iport int, err error) {\n \treturn addr, p, nil\n }\n \n-func readPlan9Addr(proto, filename string) (addr Addr, err error) {\n+func readPlan9Addr(net, filename string) (addr Addr, err error) {\n \tvar buf ...
2020-07-05T05:03:16
ollama/ollama
303982b56e5b81369f597fe7b18f2d3c392fc617
0fea50cd42c418d07e694b0a2e65579057d61c85
fix run generate
[ { "path": "api/types.go", "patch": "@@ -32,55 +32,55 @@ type GenerateRequest struct {\n \tModel string `json:\"model\"`\n \tPrompt string `json:\"prompt\"`\n \n-\tModelOptions `json:\"model_opts\"`\n-\tPredictOptions `json:\"predict_opts\"`\n+\tModelOptions `json:\"model_opts,omitempty\"`\n+\tPredictOp...
2023-07-07T18:24:50
ggml-org/llama.cpp
beb1f0c50379608f84e89f876479f868c92eaffe
def5404f26bd89545641ba8484a8d17b056b765c
common : throttle download progress output to reduce IO flush (#17427) This change limits progress updates to approximately every 0.1% of the file size to minimize stdio overhead. Also fixes compiler warnings regarding __func__ in lambdas. Signed-off-by: Adrien Gallouët <angt@huggingface.co>
[ { "path": "common/download.cpp", "patch": "@@ -517,36 +517,43 @@ static bool common_pull_file(httplib::Client & cli,\n headers.emplace(\"Range\", \"bytes=\" + std::to_string(existing_size) + \"-\");\n }\n \n- std::atomic<size_t> downloaded{existing_size};\n+ const char * func = __func__; /...
2025-11-30T12:22:44
huggingface/transformers
d522afea1324b8156c929f3896df14762c9ea716
d47966536cd5ac1ed7e140edac65f00f471f656f
[`Gemma`] Supports converting directly in half-precision (#29529) * Update convert_gemma_weights_to_hf.py * Update src/transformers/models/gemma/convert_gemma_weights_to_hf.py * fixup
[ { "path": "src/transformers/models/gemma/convert_gemma_weights_to_hf.py", "patch": "@@ -65,7 +65,7 @@\n LAYER_NAME_MAPPING = {\"embedder.weight\": \"model.embed_tokens.weight\"}\n \n \n-def write_model(save_path, input_base_path, config, safe_serialization=True, push_to_hub=False):\n+def write_model(save_pa...
2024-03-12T21:44:49
golang/go
12debf4a6574c8fa521e76629f20f8ff77a35e0e
6ba3e6a8c76c3266d75e62c6ecf47b2f795ba371
crypto/x509/pkix: print non-standard parsed Names at the end This doesn't change how ExtraNames are printed, so as not to cause unnecessary churn of current outputs. Switched the ExtraNames check to a nil check as we are checking for just-parsed values. Fixes #39924 Fixes #39873 Change-Id: Ifa07cfc1a057d73643710a774...
[ { "path": "doc/go1.15.html", "patch": "@@ -553,11 +553,11 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n \n <dl id=\"crypto/x509/pkix\"><dt><a href=\"/pkg/crypto/x509/pkix/\">crypto/x509/pkix</a></dt>\n <dd>\n- <p><!-- CL 229864 -->\n+ <p><!-- CL 229864, CL 240543 -->\n ...
2020-06-30T16:04:46
nodejs/node
6be96c70f5642ac07b9f505f464f958245df03d0
cec6e21668be70cbd18b4672c4c3d29d4f953ab8
doc: fix links in some intra-repository docs PR-URL: https://github.com/nodejs/node/pull/15675 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
[ { "path": "COLLABORATOR_GUIDE.md", "patch": "@@ -8,7 +8,7 @@\n - [Internal vs. Public API](#internal-vs-public-api)\n - [Breaking Changes](#breaking-changes)\n - [Deprecations](#deprecations)\n- - [Involving the TSC](#involving-the-TSC)\n+ - [Involving the TSC](#involving-the-tsc)\n * [Landing ...
2017-09-29T02:37:51
rust-lang/rust
76b04437be91069260c72a6d59d130a4e127a9a8
c7981d64117a4e1228e94ddc47a16d171a011c0b
Remove `NtTy`. Notes about tests: - tests/ui/parser/macro/trait-object-macro-matcher.rs: the syntax error is duplicated, because it occurs now when parsing the decl macro input, and also when parsing the expanded decl macro. But this won't show up for normal users due to error de-duplication. - tests/ui/associ...
[ { "path": "compiler/rustc_ast/src/ast_traits.rs", "patch": "@@ -203,7 +203,6 @@ impl HasTokens for Nonterminal {\n Nonterminal::NtStmt(stmt) => stmt.tokens(),\n Nonterminal::NtExpr(expr) | Nonterminal::NtLiteral(expr) => expr.tokens(),\n Nonterminal::NtPat(pat) => pat.tok...
2024-04-17T03:17:44
ollama/ollama
c3168935459465daa5f1c286bee550aed8dcd385
3d73ad0c5613be5f613a0a6fc500c92c2495753c
fix resume download
[ { "path": "cmd/cmd.go", "patch": "@@ -43,27 +43,23 @@ func RunRun(cmd *cobra.Command, args []string) error {\n }\n \n func pull(model string) error {\n-\t// TODO: check if the local model is up to date with remote\n-\t_, err := os.Stat(cacheDir() + \"/models/\" + model + \".bin\")\n-\tswitch {\n-\tcase erro...
2023-07-07T18:26:58
ggml-org/llama.cpp
fa0465954faef9d7170b967ad89f8bc5303a32f3
5a6241feb0313513411d32b63bbaa62b34792ada
ggml: fix: macOS build with `-DGGML_BACKEND_DL=ON` (#17581)
[ { "path": "ggml/src/CMakeLists.txt", "patch": "@@ -274,10 +274,13 @@ function(ggml_add_backend_library backend)\n endif()\n \n # Set versioning properties for all backend libraries\n- set_target_properties(${backend} PROPERTIES\n- VERSION ${GGML_VERSION}\n- SOVERSION ${GGML_VERSION_...
2025-11-30T02:00:59
huggingface/transformers
6b660d5ed561cc7326e77e3d833cde8085b23663
8e64ba2890bd3231916cddcec77ba6331c306031
Fix: handle logging of scalars in Weights & Biases summary (#29612) fix: handle logging of scalars in wandb summary fixes: #29430
[ { "path": "src/transformers/integrations/integration_utils.py", "patch": "@@ -802,13 +802,25 @@ def on_train_end(self, args, state, control, model=None, tokenizer=None, **kwarg\n self._wandb.run.log_artifact(artifact)\n \n def on_log(self, args, state, control, model=None, logs=None, **k...
2024-03-12T18:26:09
rust-lang/rust
46f7a7d378972b4034118f798657a6d35091a4ca
79f41c773aaad6a10c2c752d223bd5aba0371f9b
rust-analyzer: use new function in (incorrect) layout computation This is only to fix the build.
[ { "path": "src/tools/rust-analyzer/crates/hir-ty/src/layout.rs", "patch": "@@ -179,7 +179,7 @@ fn layout_of_simd_ty(\n .size\n .checked_mul(e_len, dl)\n .ok_or(LayoutError::BadCalc(LayoutCalculatorError::SizeOverflow))?;\n- let align = dl.vector_align(size);\n+ let align = dl.l...
2025-02-19T03:27:26
nodejs/node
cec6e21668be70cbd18b4672c4c3d29d4f953ab8
98077446f9ed2baeb434e616edac7f970c34941f
n-api: add check for large strings n-api uses size_t for the size of strings when specifying string lengths. V8 only supports a size of int. Add a check so that an error will be returned if the user passes in a string with a size larger than will fit into an int. PR-URL: https://github.com/nodejs/node/pull/15611 Re...
[ { "path": "src/node_api.cc", "patch": "@@ -10,6 +10,7 @@\n \n #include <node_buffer.h>\n #include <node_object_wrap.h>\n+#include <limits.h> // INT_MAX\n #include <string.h>\n #include <algorithm>\n #include <cmath>\n@@ -125,6 +126,9 @@ struct napi_env__ {\n do { ...
2017-09-25T15:37:18
golang/go
3b6b86d1fe4275c0d5f89019a0170fa203c0d105
18d042e08e46f9d9b55d7347f2dac28277060ef9
go/build: rewrite TestDependencies to be cleaner, more correct TestDependencies defines the dependency policy (what can depend on what) for the standard library. The standard library has outgrown the idea of writing the policy as a plain map literal. Also, the checker was ignoring vendored packages, which makes it mi...
[ { "path": "src/go/build/deps_test.go", "patch": "@@ -20,475 +20,470 @@ import (\n \t\"testing\"\n )\n \n-// pkgDeps defines the expected dependencies between packages in\n+// depsRules defines the expected dependencies between packages in\n // the Go source tree. It is a statement of policy.\n-// Changes sh...
2020-07-06T12:54:12
ollama/ollama
7974ad58ffbb2dfde18eb4de8ac20dbc2548e44e
ad841384693afb1505e7b294ebf4e8160be2d13b
fix env var loading
[ { "path": "app/package-lock.json", "patch": "@@ -29,7 +29,7 @@\n \"@electron-forge/plugin-webpack\": \"^6.2.1\",\n \"@electron-forge/publisher-github\": \"^6.2.1\",\n \"@types/chmodr\": \"^1.0.0\",\n- \"@types/node\": \"^20.3.1\",\n+ \"@types/node\": \"^20.4.0\",\n ...
2023-07-07T14:27:16
ggml-org/llama.cpp
c7af376c298b7d09c280233548668ba6fcc17deb
00425e2ed1d1ec35976710f81a9337c7b2d34d96
CUDA: add stream-based concurrency (#16991) * CUDA: add stream-based concurrency * HIP: fix hipStreamWaitEvent define and nodiscard warnings * ggml-cuda: fix fusion inside stream * ggml-cuda: fix bug w.r.t first stream launch * ggml-cuda: format * ggml-cuda: improve assert message * ggml-cuda: use lambda instead...
[ { "path": "ggml/src/ggml-cuda/common.cuh", "patch": "@@ -21,10 +21,12 @@\n #include \"ggml-common.h\"\n \n #include <array>\n+#include <algorithm>\n #include <cassert>\n #include <cfloat>\n #include <cstdio>\n #include <string>\n+#include <unordered_map>\n #include <vector>\n \n #if defined(GGML_USE_HIP)\n@...
2025-11-30T00:17:55
rust-lang/rust
c2d75cff47e208280ce9c8d81331639dbb1ae086
a81c2648dc5e3bc190ebdc9c8fd32c7998001b44
Move methods from Map to TyCtxt, part 3. Continuing the work from #137162. Every method gains a `hir_` prefix.
[ { "path": "clippy_lints/src/assigning_clones.rs", "patch": "@@ -107,7 +107,7 @@ impl<'tcx> LateLintPass<'tcx> for AssigningClones {\n && !cx.tcx.is_builtin_derived(resolved_impl)\n // Don't suggest calling a function we're implementing.\n && resolved_impl.as_local().is_no...
2025-02-20T20:54:35
nodejs/node
98077446f9ed2baeb434e616edac7f970c34941f
dd83b5f2ac3a9684044b4aa5ad0b3832ea63694b
doc: fix link in the test/README.md PR-URL: https://github.com/nodejs/node/pull/15642 Reviewed-By: Bryan English <bryan@bryanenglish.com> Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <...
[ { "path": "test/README.md", "patch": "@@ -6,7 +6,7 @@ For a detailed guide on how to write tests in this\n directory, see [the guide on writing tests](../doc/guides/writing-tests.md).\n \n On how to run tests in this directory, see\n-[the contributing guide](../CONTRIBUTING.md#step-5-test).\n+[the contribut...
2017-09-27T19:22:11
huggingface/transformers
8e64ba2890bd3231916cddcec77ba6331c306031
11163fff587810d6feec9c3b1d7013fb8a8777a0
Add tests for batching support (#29297) * add tests for batching support * Update src/transformers/models/fastspeech2_conformer/modeling_fastspeech2_conformer.py Co-authored-by: Joao Gante <joaofranciscocardosogante@gmail.com> * Update src/transformers/models/fastspeech2_conformer/modeling_fastspeech2_conform...
[ { "path": "src/transformers/models/clipseg/modeling_clipseg.py", "patch": "@@ -1292,7 +1292,7 @@ def forward(\n batch_size = conditional_embeddings.shape[0]\n output = output.view(batch_size, output.shape[1], size, size)\n \n- logits = self.transposed_convolution(output).squeeze()\n+ ...
2024-03-12T17:46:19
golang/go
18d042e08e46f9d9b55d7347f2dac28277060ef9
bff372793a6bb685b6338eb84ddb5583d57c7f9c
all: go get golang.org/x/net@ab3426394381 Pull in dns/dnsmessage fix to drop fmt dependency. Also pulled in minor bug fix in x/crypto (dep of net). Change-Id: I0f618e81a24ac24a5adae00af34b728b243dfdbb Reviewed-on: https://go-review.googlesource.com/c/go/+/241257 Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Go...
[ { "path": "src/cmd/go.mod", "patch": "@@ -6,7 +6,7 @@ require (\n \tgithub.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3\n \tgithub.com/ianlancetaylor/demangle v0.0.0-20200414190113-039b1ae3a340 // indirect\n \tgolang.org/x/arch v0.0.0-20200511175325-f7c78586839d\n-\tgolang.org/x/crypto v0.0.0-2020042...
2020-07-07T03:46:17
ggml-org/llama.cpp
00425e2ed1d1ec35976710f81a9337c7b2d34d96
385c3da5e6be372e86023d640115514187137ce4
cuda : add error checking for cudaMemcpyAsync in argsort (#17599) * cuda : add error checking for cudaMemcpyAsync in argsort (#12836) * fix indentation
[ { "path": "ggml/src/ggml-cuda/argsort.cu", "patch": "@@ -44,7 +44,7 @@ static void argsort_f32_i32_cuda_cub(ggml_cuda_pool & pool,\n const dim3 offset_grid((nrows + block_size - 1) / block_size);\n init_offsets<<<offset_grid, block_size, 0, stream>>>(d_offsets, ncols, nrows);\n \n- cudaMemcpyAsyn...
2025-11-30T00:16:28
huggingface/transformers
11163fff587810d6feec9c3b1d7013fb8a8777a0
a15bd3af4eb93fb07e6b8368b410e3a7150ac64f
Fix typo ; Update quantization.md (#29615) Update quantization.md
[ { "path": "docs/source/en/main_classes/quantization.md", "patch": "@@ -16,7 +16,7 @@ rendered properly in your Markdown viewer.\n \n # Quantization\n \n-Quantization techniques reduces memory and computational costs by representing weights and activations with lower-precision data types like 8-bit integers ...
2024-03-12T16:32:50
nodejs/node
09b703bd3c903e246b31bf4cf4ae1cb7dfd51089
e0edb007623c6168531e8f1cf7050477ca89d74e
url: fix remaining calculation Fix remaining calculation in the PercentDecode function to match the definition in URL standard: https://url.spec.whatwg.org/#remaining PR-URL: https://github.com/nodejs/node/pull/15637 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com>
[ { "path": "src/node_url.cc", "patch": "@@ -518,7 +518,7 @@ static inline void PercentDecode(const char* input,\n \n while (pointer < end) {\n const char ch = pointer[0];\n- size_t remaining = (end - pointer) + 1;\n+ const size_t remaining = end - pointer - 1;\n if (ch != '%' || remaining < 2...
2017-09-27T08:51:35
golang/go
6b344170db8fad38df941fe97db0348f6f1bb4d0
6a167c73977384f3646f4651901fe38347711b10
path/filepath: add explicit comment marking elided errors The errors on these lines are meant to be discarded. Add a comment to make that extra clear. Change-Id: I38f72af6dfbb0e86677087baf47780b3cc6e7d40 Reviewed-on: https://go-review.googlesource.com/c/go/+/241083 Reviewed-by: Ian Lance Taylor <iant@golang.org>
[ { "path": "src/path/filepath/match.go", "patch": "@@ -310,14 +310,14 @@ func glob(dir, pattern string, matches []string) (m []string, e error) {\n \tm = matches\n \tfi, err := os.Stat(dir)\n \tif err != nil {\n-\t\treturn\n+\t\treturn // ignore I/O error\n \t}\n \tif !fi.IsDir() {\n-\t\treturn\n+\t\treturn ...
2020-07-06T15:28:15
ggml-org/llama.cpp
385c3da5e6be372e86023d640115514187137ce4
ab49f094d29057b2c4d2b0f1e822c9140df1b0e1
vulkan : fix FA mask load with bounds check (coopmat2) (#17606)
[ { "path": "ggml/src/ggml-vulkan/vulkan-shaders/flash_attn_cm2.comp", "patch": "@@ -156,7 +156,7 @@ void main() {\n tensorLayoutM = setTensorLayoutStrideNV(tensorLayoutM, m_stride, 1);\n tensorLayoutM = setTensorLayoutClampValueNV(tensorLayoutM, 0xfc00); // -inf in float16_t\n...
2025-11-30T00:03:21
rust-lang/rust
806be25fc9d519d32db1941b0c67a06c8a6faa40
43c2b0086a60ad9864af5ead49b058e8d8ef1de8
Move methods from Map to TyCtxt, part 3. Continuing the work from #137162. Every method gains a `hir_` prefix.
[ { "path": "compiler/rustc_borrowck/src/diagnostics/conflict_errors.rs", "patch": "@@ -386,7 +386,6 @@ impl<'infcx, 'tcx> MirBorrowckCtxt<'_, 'infcx, 'tcx> {\n }\n }\n let tcx = self.infcx.tcx;\n- let hir = self.infcx.tcx.hir();\n if let Some(body) = tcx.hir_maybe_b...
2025-02-20T20:54:35
ollama/ollama
15c114decba14d0c9786ffc1cace13ab8066383e
963c20254e487afa851e05a891153a1e9da1a857
fix prompt templates
[ { "path": "server/routes.go", "patch": "@@ -6,6 +6,7 @@ import (\n \t\"fmt\"\n \t\"io\"\n \t\"log\"\n+\t\"math\"\n \t\"net\"\n \t\"net/http\"\n \t\"path\"\n@@ -48,7 +49,7 @@ func generate(c *gin.Context) {\n \t\ttemplateNames = append(templateNames, template.Name())\n \t}\n \n-\tmatch, _ := matchRankOne(pat...
2023-07-07T00:03:00
huggingface/transformers
df1542581ee89107eea0569ee044fa8797b66ab0
b6404866cda2952942a39e424206aed0cd6aeb5c
Set env var to hold Keras at Keras 2 (#29598) * Set env var to hold Keras at Keras 2 * Add Amy's update * make fixup * Use a warning instead
[ { "path": "src/transformers/modeling_tf_utils.py", "patch": "@@ -78,6 +78,16 @@\n if TYPE_CHECKING:\n from . import PreTrainedTokenizerBase\n \n+logger = logging.get_logger(__name__)\n+\n+if \"TF_USE_LEGACY_KERAS\" not in os.environ:\n+ os.environ[\"TF_USE_LEGACY_KERAS\"] = \"1\" # Compatibility fix...
2024-03-12T13:49:57
ggml-org/llama.cpp
ab49f094d29057b2c4d2b0f1e822c9140df1b0e1
8c32d9d96d9ae345a0150cae8572859e9aafea0b
server: move server-context to its own cpp|h (#17595) * git mv * add server-context.h * add server-context.h * clean up headers * cont : cleanup * also expose server_response_reader (to be used by CLI) * fix windows build * decouple server_routes and server_http --------- Co-authored-by: Georgi Gerganov <gger...
[ { "path": "tools/server/CMakeLists.txt", "patch": "@@ -21,6 +21,8 @@ set(TARGET_SRCS\n server-queue.h\n server-common.cpp\n server-common.h\n+ server-context.cpp\n+ server-context.h\n )\n set(PUBLIC_ASSETS\n index.html.gz", "additions": 2, "deletions": 0, "language": "Plain...
2025-11-29T21:04:44
golang/go
6a167c73977384f3646f4651901fe38347711b10
20afbe86beda00676a608399638887538bd8f669
cmd/go: display test binary output if invoked with -help Fixes #39997 Change-Id: I87ea616bac809b96fcd40f3bbdbbf1c603b9d00e Reviewed-on: https://go-review.googlesource.com/c/go/+/240878 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Jay Conrod <jayconrod@googl...
[ { "path": "src/cmd/go/internal/test/test.go", "patch": "@@ -487,6 +487,8 @@ var (\n \tpkgArgs []string\n \tpkgs []*load.Package\n \n+\ttestHelp bool // -help option passed to test via -args\n+\n \ttestKillTimeout = 100 * 365 * 24 * time.Hour // backup alarm; defaults to about a century if no timeout is...
2020-07-02T19:32:13
ollama/ollama
f93ffb969537aec4e48ab5b61af60850e618bb4d
da74384a3e6502a0d263c55d34a721970afccafc
fix missing string crash
[ { "path": "app/src/index.ts", "patch": "@@ -28,10 +28,7 @@ const createSystemtray = () => {\n })\n }\n \n-\n- const contextMenu = Menu.buildFromTemplate([\n- { role: 'quit', label: 'Quit Ollama', accelerator: 'Command+Q' },\n- ])\n+ const contextMenu = Menu.buildFromTemplate([{ role: 'quit', lab...
2023-07-06T22:02:37
huggingface/transformers
b6404866cda2952942a39e424206aed0cd6aeb5c
f1a565a39f239c6549b4e6f98c898d191bb922fd
Update legacy Repository usage in various example files (#29085) * Update legacy Repository usage in `examples/pytorch/text-classification/run_glue_no_trainer.py` Marked for deprecation here https://huggingface.co/docs/huggingface_hub/guides/upload#legacy-upload-files-with-git-lfs * Fix import order * Replace...
[ { "path": "examples/flax/image-captioning/run_image_captioning_flax.py", "patch": "@@ -42,7 +42,7 @@\n from flax.jax_utils import unreplicate\n from flax.training import train_state\n from flax.training.common_utils import get_metrics, onehot, shard, shard_prng_key\n-from huggingface_hub import Repository, ...
2024-03-12T13:20:49
ggml-org/llama.cpp
8c32d9d96d9ae345a0150cae8572859e9aafea0b
0874693b449a847de2d052f2afb5d0cbe9409f92
server: explicitly set the function name in lambda (#17538) As [1] explained, the real debug message will be like: "res operator(): operator() : queue result stop" Set the name explicitly, the message is easy for debugging: "res operator(): recv : queue result stop" The left "operator()" is generated by 'RES...
[ { "path": "tools/server/server-queue.cpp", "patch": "@@ -199,7 +199,7 @@ server_task_result_ptr server_response::recv(const std::unordered_set<int> & id_\n std::unique_lock<std::mutex> lock(mutex_results);\n condition_results.wait(lock, [&]{\n if (!running) {\n- RE...
2025-11-29T17:43:29
golang/go
20afbe86beda00676a608399638887538bd8f669
fcf1cb2cf51bae37a8d5d0425a39e21ce5073bff
cmd/oldlink: port bug fixes to old linker This CL ports CL 234105 and CL 240621 to the old linker, which fix critical bugs (runtime crashes). Updates #39049. Updates #39927. Change-Id: I47afc84349119e320d2e60d64b7188a410835d2b Reviewed-on: https://go-review.googlesource.com/c/go/+/241087 Run-TryBot: Cherry Zhang <ch...
[ { "path": "src/cmd/oldlink/internal/arm/asm.go", "patch": "@@ -390,8 +390,12 @@ func trampoline(ctxt *ld.Link, r *sym.Reloc, s *sym.Symbol) {\n \t\t\toffset := (signext24(r.Add&0xffffff) + 2) * 4\n \t\t\tvar tramp *sym.Symbol\n \t\t\tfor i := 0; ; i++ {\n-\t\t\t\tname := r.Sym.Name + fmt.Sprintf(\"%+d-tramp...
2020-07-06T18:22:38
ollama/ollama
fdb93ef2aaf078e45ff0e42d4705a6aaced8a39b
97ab37095d1171f2319593d47a4bef8a018d1304
fix dockerfile
[ { "path": "Dockerfile", "patch": "@@ -2,15 +2,15 @@ FROM golang:1.20\n RUN apt-get update && apt-get install -y cmake\n WORKDIR /go/src/github.com/jmorganca/ollama\n COPY . .\n-RUN go generate ./...\n+RUN cmake -S llama -B llama/build && cmake --build llama/build\n RUN CGO_ENABLED=1 go build -ldflags '-link...
2023-07-06T20:34:14
huggingface/transformers
50ec493363e82859325fef5b67cd2557860d19ee
81ec8028f97e7c3cc3fb03536f408c88db14c6f7
Fix typo (determine) (#29606) * Fix type (determine) * ruff * Update src/transformers/models/mamba/configuration_mamba.py Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com> --------- Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>
[ { "path": "src/transformers/models/mamba/configuration_mamba.py", "patch": "@@ -12,7 +12,8 @@\n # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n # See the License for the specific language governing permissions and\n # limitations under the License.\n-\"\"\" MAMBA configuration\"...
2024-03-12T12:56:51