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
ollama/ollama
d1f89778e92e00dc2e5dd2ee5f2bfee407ef0718
df67a90e644f0c406b2c03d60741e4c19ef6da34
fix css on smaller screen
[ { "path": "web/app/download/page.tsx", "patch": "@@ -29,7 +29,7 @@ export default async function Download() {\n return (\n <>\n <Header />\n- <main className='flex min-h-screen max-w-6xl flex-col p-20 lg:p-32 items-center mx-auto'>\n+ <main className='flex min-h-screen max-w-6xl flex-c...
2023-07-18T20:17:42
rust-lang/rust
e1819a889a2606b79dc9cc790205da1497d617b7
7f6873f64c17cfa53a10a7751c7213f6ed0215c1
Fix overcapturing, unsafe extern blocks, and new unsafe ops
[ { "path": "compiler/rustc/src/main.rs", "patch": "@@ -65,7 +65,7 @@ fn main() {\n // linking, so we need to explicitly depend on the function.\n #[cfg(target_os = \"macos\")]\n {\n- extern \"C\" {\n+ unsafe extern \"C\" {\n fn _rjem_je_zone_regis...
2025-02-20T18:28:42
ggml-org/llama.cpp
8160b38a5fa8a25490ca33ffdd200cda51405688
c41bde6fbda169b504a37e590798be6cd058f60f
rpc : fix alloc size logic (#17116) * rpc : fix alloc size logic * rpc : bump version
[ { "path": "ggml/include/ggml-rpc.h", "patch": "@@ -1,14 +1,13 @@\n #pragma once\n \n-#include \"ggml.h\"\n #include \"ggml-backend.h\"\n \n #ifdef __cplusplus\n extern \"C\" {\n #endif\n \n #define RPC_PROTO_MAJOR_VERSION 3\n-#define RPC_PROTO_MINOR_VERSION 5\n+#define RPC_PROTO_MINOR_VERSION 6\n ...
2025-12-05T17:39:04
huggingface/transformers
66ce9593fdb8e340df546ddd0774eb444f17a12c
4294f0c3583c3a361406b2b6e8bda05ad1af459e
Fix `check_copies` not capturing the diff in model/paper title and link (#29724) * fix * update --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "README_es.md", "patch": "@@ -380,7 +380,7 @@ Número actual de puntos de control: ![](https://img.shields.io/endpoint?url=htt\n 1. **[LeViT](https://huggingface.co/docs/transformers/model_doc/levit)** (from Meta AI) released with the paper [LeViT: A Vision Transformer in ConvNet's Clothing for Fas...
2024-03-19T17:52:36
ollama/ollama
df67a90e644f0c406b2c03d60741e4c19ef6da34
576ae644de669e36606ee32dc0e0963477a14403
fix css
[ { "path": "web/app/download/signup.tsx", "patch": "@@ -28,7 +28,7 @@ export default function Signup() {\n \n return false\n }}\n- className='flex self-stretch flex-col gap-3 h-32 md:mx-[10rem] lg:mx-[18rem]'\n+ className='flex self-stretch flex-col gap-3 h-32 md:mx-40 lg:mx-72'\n ...
2023-07-18T20:02:45
nodejs/node
fca6c5839a6154275913656dfedb3242959031e3
b9a55a93c91fb7fd7ac81e182f843f28014179ca
deps: upgrade libuv to 1.15.0 PR-URL: https://github.com/nodejs/node/pull/15745 Refs: https://github.com/nodejs/node/pull/15380 Refs: https://github.com/nodejs/node/issues/15683 Fixes: https://github.com/nodejs/node/issues/15394 Fixes: https://github.com/nodejs/node/issues/15770 Reviewed-By: Refael Ackermann <refack@g...
[ { "path": "deps/uv/.mailmap", "patch": "@@ -31,6 +31,7 @@ Rasmus Christian Pedersen <zerhacken@yahoo.com> <ruysch@outlook.com>\n Robert Mustacchi <rm@joyent.com> <rm@fingolfin.org>\n Ryan Dahl <ryan@joyent.com> <ry@tinyclouds.org>\n Ryan Emery <seebees@gmail.com>\n+Sakthipriyan Vairamani <thechargingvolcano...
2017-10-02T23:44:44
rust-lang/rust
7f6873f64c17cfa53a10a7751c7213f6ed0215c1
76d341fa09c423e601e2c47f8e4d165fcb7c21aa
Fix builtin lints
[ { "path": "compiler/rustc_lint/src/builtin.rs", "patch": "@@ -975,10 +975,8 @@ declare_lint! {\n /// ### Example\n ///\n /// ```rust\n- /// #[no_mangle]\n- /// fn foo<T>(t: T) {\n- ///\n- /// }\n+ /// #[unsafe(no_mangle)]\n+ /// fn foo<T>(t: T) {}\n /// ```\n ///\n ...
2024-09-18T19:39:23
golang/go
7f8608047644ca34bad1728d5e2dbef041a1b3f2
54e75e8f9db09868db61f97edb98ace3aab7234f
cmd/compile: don't addLocalInductiveFacts if there is no direct edge from if block to phi block Currently in addLocalInductiveFacts, we only check whether direct edge from if block to phi block exists. If not, the following logic will treat the phi block as the first successor, which is wrong. This patch makes prove ...
[ { "path": "src/cmd/compile/internal/ssa/prove.go", "patch": "@@ -1051,6 +1051,11 @@ func addLocalInductiveFacts(ft *factsTable, b *Block) {\n \t//\n \t// If all of these conditions are true, then i1 < max and i1 >= min.\n \n+\t// To ensure this is a loop header node.\n+\tif len(b.Preds) != 2 {\n+\t\treturn\...
2020-07-24T03:00:36
ggml-org/llama.cpp
6016d0bd414d0512a78aebccded6af50bc6d71aa
1be97831e44a6335aca9c3f4f3edbb0e35bea98f
HIP : fix RDNA4 build (#17792)
[ { "path": "ggml/src/ggml-cuda/mma.cuh", "patch": "@@ -560,7 +560,7 @@ namespace ggml_cuda_mma {\n xi[0] = xs[0];\n xi[1] = xs[1];\n #endif // defined(RDNA4)\n- }else if constexpr (I == 16 && J == 8) {\n+ } else if constexpr (I == 16 && J == 8) {\n ...
2025-12-05T12:47:52
huggingface/transformers
425ba56cdfef13841b6949a15a5ec575acc19fb5
56baa03380fc17d85705240ebbc57c075a9b3f23
Clean-up generation tests after moving methods to private (#29582) * clean-up tests * refine comments * fix musicgen tests * make style * remove slow decorator from a test * more clean-up * fix other failing tests
[ { "path": "tests/generation/test_utils.py", "patch": "@@ -59,33 +59,21 @@\n BeamSampleEncoderDecoderOutput,\n BeamSearchDecoderOnlyOutput,\n BeamSearchEncoderDecoderOutput,\n- BeamSearchScorer,\n- ConstrainedBeamSearchScorer,\n DisjunctiveConstraint,\n- F...
2024-03-19T17:03:31
nodejs/node
ad652afbe3800ce2064ac05b7c74f2f56e5a89f6
ddbf07ab89b501e0ee41c69655920757fb561ca0
test: fix flaky async-hooks/test-tlswrap There is a race condition in async-hooks/test-tlswrap. This addresses it by waiting 5 more ticks if the client has not been destroyed yet. PR-URL: https://github.com/nodejs/node/pull/15744 Fixes: https://github.com/nodejs/node/issues/14404 Reviewed-By: Refael Ackermann <refack...
[ { "path": "test/async-hooks/test-tlswrap.js", "patch": "@@ -91,6 +91,10 @@ function onsecureConnect() {\n // TODO: why is client not destroyed here even after 5 ticks?\n // or could it be that it isn't actually destroyed until\n // the server is closed?\n+ if (client.before.length < 3) {\n+ ...
2017-10-02T22:16:10
golang/go
54e75e8f9db09868db61f97edb98ace3aab7234f
6b4dcf19fa493905689dedc27f2232b74c366057
crypto/ed25519: remove s390x KDSA implementation This reverts CL 202578 and CL 230677 which added an optimization to use KDSA when available on s390x. Inconsistencies have been found between the two implementations in their handling of certain edge cases. Since the Go 1.15 release is extremely soon it seems prudent t...
[ { "path": "src/crypto/ed25519/ed25519.go", "patch": "@@ -154,7 +154,7 @@ func Sign(privateKey PrivateKey, message []byte) []byte {\n \treturn signature\n }\n \n-func signGeneric(signature, privateKey, message []byte) {\n+func sign(signature, privateKey, message []byte) {\n \tif l := len(privateKey); l != Pr...
2020-07-29T13:02:56
ggml-org/llama.cpp
1be97831e44a6335aca9c3f4f3edbb0e35bea98f
a6cfc212ed21b1cf6746827390160ba26c160ee9
fix: prevent segfault in tokenizer on highly repetitive input (#17786) Add nosubs|optimize flags to std::regex constructors to prevent catastrophic backtracking when processing prompts with repeated identical characters (e.g., 'A' * 10000). The nosubs flag disables subgroup capture, significantly reducing memory usag...
[ { "path": "src/unicode.cpp", "patch": "@@ -499,7 +499,7 @@ static std::vector<size_t> unicode_regex_split_custom_llama3(const std::string &\n \n // use std::wregex to split the text\n static std::vector<size_t> unicode_regex_split_stl(const std::wstring & wtext, const std::wstring & regex_expr, const std::v...
2025-12-05T11:52:23
ollama/ollama
f20426a7681c068eff841921583c9c867104506d
a9cc270b4da9bac2b2ffbc05c809b49e56649816
fix mkdir blob path
[ { "path": "cmd/cmd.go", "patch": "@@ -9,7 +9,6 @@ import (\n \t\"net\"\n \t\"net/http\"\n \t\"os\"\n-\t\"path/filepath\"\n \t\"strings\"\n \t\"time\"\n \n@@ -24,15 +23,6 @@ import (\n \t\"github.com/jmorganca/ollama/server\"\n )\n \n-func cacheDir() string {\n-\thome, err := os.UserHomeDir()\n-\tif err != n...
2023-07-18T18:24:19
nodejs/node
9569ca8721a0c53ca016f9435f2dbb5daebf1f4b
463484b330d689252a4af0291dcbf403338a9823
test: refactor test-internal-errors Use block-scoping rather than `err1`, `err2`, etc. PR-URL: https://github.com/nodejs/node/pull/15721 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Tobias Nießen <...
[ { "path": "test/parallel/test-internal-errors.js", "patch": "@@ -12,36 +12,45 @@ function invalidKey(key) {\n errors.E('TEST_ERROR_1', 'Error for testing purposes: %s');\n errors.E('TEST_ERROR_2', (a, b) => `${a} ${b}`);\n \n-const err1 = new errors.Error('TEST_ERROR_1', 'test');\n-const err2 = new errors.T...
2017-10-02T02:54:37
huggingface/transformers
56baa03380fc17d85705240ebbc57c075a9b3f23
2f9a3edbb93ab5b7ec2b107a67e9b6c980277a38
Implementation of SuperPoint and AutoModelForKeypointDetection (#28966) * Added SuperPoint docs * Added tests * Removed commented part * Commit to create and fix add_superpoint branch with a new branch * Fixed dummy_pt_objects * Committed missing files * Fixed README.md * Apply suggestions from co...
[ { "path": "README.md", "patch": "@@ -498,6 +498,7 @@ Current number of checkpoints: ![](https://img.shields.io/endpoint?url=https://h\n 1. **[SqueezeBERT](https://huggingface.co/docs/transformers/model_doc/squeezebert)** (from Berkeley) released with the paper [SqueezeBERT: What can computer vision teach NL...
2024-03-19T14:43:02
ggml-org/llama.cpp
a6cfc212ed21b1cf6746827390160ba26c160ee9
3a0d10533abcd63d7815c481d1ae93c302dc93aa
ci : fix winget workflow (#17790)
[ { "path": ".github/workflows/winget.yml", "patch": "@@ -9,7 +9,7 @@ jobs:\n update:\n name: Update Winget Package\n runs-on: ubuntu-latest\n- if: ${{ github.repository.owner.login == 'ggml-org' }}\n+ if: github.repository_owner == 'ggml-org'\n \n steps:\n - name: Install cargo bins...
2025-12-05T11:44:17
golang/go
6b4dcf19fa493905689dedc27f2232b74c366057
85afa2eb190d5d1a06584803bde4b4ee9b0e79b0
runtime: hold sched.lock over globrunqputbatch in runqputbatch globrunqputbatch should never be called without sched.lock held. runqputbatch's documentation even says it may acquire sched.lock in order to call it. Fixes #40457. Change-Id: I5421b64f1da3a6087dfebbef7203db0c95d213a8 Reviewed-on: https://go-review.googl...
[ { "path": "src/runtime/proc.go", "patch": "@@ -5225,7 +5225,9 @@ func runqputbatch(pp *p, q *gQueue, qsize int) {\n \n \tatomic.StoreRel(&pp.runqtail, t)\n \tif !q.empty() {\n+\t\tlock(&sched.lock)\n \t\tglobrunqputbatch(q, int32(qsize))\n+\t\tunlock(&sched.lock)\n \t}\n }\n ", "additions": 2, "dele...
2020-07-28T20:02:57
ollama/ollama
c7dd52271c5ab1d5182549d2a0e8d2340ad68bc0
53d0052c6c588cfe91a7cd0622ab4800ccf6f6ad
remove debugging messages
[ { "path": "server/images.go", "patch": "@@ -821,13 +821,11 @@ func downloadBlob(registryURL, repoName, digest string, username, password strin\n \tfor {\n \t\tfn(fmt.Sprintf(\"Downloading %s\", digest), digest, int(total), int(completed), float64(completed)/float64(total))\n \t\tif completed >= total {\n-\t...
2023-07-17T19:39:55
nodejs/node
42a2a9badb6974e47b98aaee052e9710f34b93e8
6e172beaf0390b037549c8484f4513bb79ccc84e
errors: make `code` and `name` properties settable For internal errors, make `code` and `name` settable while keeping them non-own properties by default. PR-URL: https://github.com/nodejs/node/pull/15694 Fixes: https://github.com/nodejs/node/issues/15658 Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: James M...
[ { "path": "lib/internal/errors.js", "patch": "@@ -11,9 +11,8 @@\n const kCode = Symbol('code');\n const messages = new Map();\n \n-const {\n- kMaxLength\n-} = process.binding('buffer');\n+const { kMaxLength } = process.binding('buffer');\n+const { defineProperty } = Object;\n \n // Lazily loaded\n var util...
2017-10-01T23:14:45
huggingface/transformers
2f9a3edbb93ab5b7ec2b107a67e9b6c980277a38
8e2fc52ea3c80d858cc7e7e5f835d4ce795c900d
[`GemmaConverter`] use user_defined_symbols (#29473) * use user_defined_symbols * fixup * nit * add a very robust test * make sure all models are tested with the `pretrained_tokenizer_to_test` * should we make sure we test all of them? * merge * remove the id * fix test * update * ousies ...
[ { "path": "src/transformers/convert_slow_tokenizer.py", "patch": "@@ -1319,7 +1319,10 @@ def tokenizer(self, proto):\n raise Exception(\n \"You're trying to run a `Unigram` model but you're file was trained with a different algorithm\"\n )\n-\n+ user_defined_sy...
2024-03-19T14:13:56
ggml-org/llama.cpp
e95d0bc8fdb4141d98e9224399dcda8cff4b52ce
668ed765742065f82c2899e101ee4384d6669f11
CUDA: fix FA VKQ accumulator overflow (#17746)
[ { "path": "ggml/src/ggml-cuda/fattn-common.cuh", "patch": "@@ -10,6 +10,12 @@\n #define HALF_MAX_HALF __float2half(65504.0f/2) // Use neg. of this instead of -INFINITY to initialize KQ max vals to avoid NaN upon subtraction.\n #define SOFTMAX_FTZ_THRESHOLD -20.0f // Softmax exp. of...
2025-12-05T08:18:10
golang/go
2369e01234d97e85e9919ef7d30bc0f8f4111f69
4b3cfcee5877b55049948c8e2c393d5a3ae39466
[dev.link] cmd/link: fix accidental escape in extreloc We accidentally passed the address of a local to a function pointer, where we should pass the address of a global. Linking cmd/compile with external linking: Asmb2_GC 32.5ms ± 5% 21.6ms ± 3% -33.57% (p=0.016 n=5+4) Asmb2_GC 29.2MB ± 0% 6.4MB...
[ { "path": "src/cmd/link/internal/ld/data.go", "patch": "@@ -540,7 +540,7 @@ func (st *relocSymState) relocsym(s loader.Sym, P []byte) {\n // Convert a Go relocation to an external relocation.\n func extreloc(ctxt *Link, ldr *loader.Loader, s loader.Sym, r loader.Reloc2, ri int) (loader.ExtReloc, bool) {\n \...
2020-07-28T17:33:47
nodejs/node
6e172beaf0390b037549c8484f4513bb79ccc84e
806857712f76398a786874d77aa65e2f3cbf7dab
errors: make properties mutable Userland code can break if it depends on a mutable `code` property for errors. Allow users to change the `code` property but do not propagate changes to the error `name`. Additionally, make `message` and `name` consistent with `Error` object (non-enumerable). Test that `console.log()` ...
[ { "path": "lib/internal/errors.js", "patch": "@@ -22,15 +22,13 @@ function makeNodeError(Base) {\n return class NodeError extends Base {\n constructor(key, ...args) {\n super(message(key, args));\n- this[kCode] = key;\n- }\n-\n- get name() {\n- return `${super.name} [${this[kCode...
2017-09-30T00:06:28
huggingface/transformers
8e2fc52ea3c80d858cc7e7e5f835d4ce795c900d
229ac72b1e941551b6650c3abc06a2a4c8bf4763
[`Gemma`] final fixes to the modeling (#29729) * gelu_pytorch_tanh * Force config.hidden_act to be approx gelu * Gemma bug fixes * force_use_exact_gelu * Update configuration_gemma.py * Update modeling_gemma.py * update * update for simpler handling * nit * nit * fixpup * update * ...
[ { "path": "src/transformers/modeling_flax_utils.py", "patch": "@@ -78,6 +78,7 @@ def quick_gelu(x):\n \"swish\": nn.swish,\n \"gelu_new\": partial(nn.gelu, approximate=True),\n \"quick_gelu\": quick_gelu,\n+ \"gelu_pytorch_tanh\": partial(nn.gelu, approximate=True),\n }\n \n ", "additions...
2024-03-19T13:47:42
golang/go
85afa2eb190d5d1a06584803bde4b4ee9b0e79b0
c4fed25553ee266ed9cb3a98e7a33a82af110ed4
runtime: ensure startm new M is consistently visible to checkdead If no M is available, startm first grabs an idle P, then drops sched.lock and calls newm to start a new M to run than P. Unfortunately, that leaves a window in which a G (e.g., returning from a syscall) may find no idle P, add to the global runq, and t...
[ { "path": "src/runtime/proc.go", "patch": "@@ -132,7 +132,7 @@ func main() {\n \n \tif GOARCH != \"wasm\" { // no threads on wasm yet, so no sysmon\n \t\tsystemstack(func() {\n-\t\t\tnewm(sysmon, nil)\n+\t\t\tnewm(sysmon, nil, -1)\n \t\t})\n \t}\n \n@@ -562,7 +562,7 @@ func schedinit() {\n \tstackinit()\n \...
2020-07-27T19:04:17
ggml-org/llama.cpp
668ed765742065f82c2899e101ee4384d6669f11
03d9a77b85dd00efd807c65435bdb51bbb6a77d0
HIP: enable WMMA-MMQ INT kernels for RDNA 3 (#17576) * enabled wmma instructions for most quantizations other than q2k * fixed the last q2_k test case failure * address comments: fix out of bound write for RDNA4, add comments after #endif * clean up rebase: fix ne error in half2 * fix the EditorConfig CI
[ { "path": "ggml/src/ggml-cuda/common.cuh", "patch": "@@ -226,7 +226,7 @@ static const char * cu_get_error_str(CUresult err) {\n #define AMD_MFMA_AVAILABLE\n #endif // defined(GGML_USE_HIP) && defined(CDNA) && !defined(GGML_HIP_NO_MMQ_MFMA)\n \n-#if defined(GGML_USE_HIP) && defined(RDNA4)\n+#if defined(GGML_...
2025-12-05T08:17:37
ollama/ollama
bcb612a30a6df608cfcb3005c5b3c5ceb9dc1195
59fa93cdd4bda4cdf66ac58d729ffc94e3c77c4b
fix file paths for windows
[ { "path": "server/images.go", "patch": "@@ -66,7 +66,7 @@ func GetManifest(name string) (*ManifestV2, error) {\n \t\treturn nil, err\n \t}\n \n-\tfp := filepath.Join(home, \".ollama/models/manifests\", name)\n+\tfp := filepath.Join(home, \".ollama\", \"models\", \"manifests\", name)\n \t_, err = os.Stat(fp)...
2023-07-17T17:45:12
nodejs/node
806857712f76398a786874d77aa65e2f3cbf7dab
a3cd8ed1681d39e9ce65b90f52ee6d67fc7d3fdc
src: do not add .domain to promises in VM contexts The promises are still tracked, and their handlers will still execute in the correct domain. The creation domain is simply hidden. PR-URL: https://github.com/nodejs/node/pull/15695 Fixes: https://github.com/nodejs/node/issues/15673 Reviewed-By: Anna Henningsen <anna@...
[ { "path": "doc/api/domain.md", "patch": "@@ -1,6 +1,12 @@\n # Domain\n <!-- YAML\n changes:\n+ - version: REPLACEME\n+ pr-url: https://github.com/nodejs/node/pull/REPLACEME\n+ description: Any `Promise`s created in VM contexts no longer have a\n+ `.domain` property. Their handlers are...
2017-09-30T05:15:24
huggingface/transformers
f6261d7d81edd036fc53bfede65fe91f01a661aa
484e10f7f26b62452ba96488811a0c3f6eaf58df
FEAT / Optim: Add GaLore optimizer (#29588) * add galore v1 * add import * add tests and doc * fix doctest * forward contrib credits from discussions * forward contrib credits from discussions * Apply suggestions from code review Co-authored-by: Zach Mueller <muellerzr@gmail.com> * fix failing ...
[ { "path": "docs/source/en/trainer.md", "patch": "@@ -252,6 +252,136 @@ trainer = Trainer(..., args=training_args)\n \n NEFTune is disabled after training to restore the original embedding layer to avoid any unexpected behavior.\n \n+## GaLore\n+\n+Gradient Low-Rank Projection (GaLore) is a memory-efficient ...
2024-03-19T10:40:23
golang/go
c4fed25553ee266ed9cb3a98e7a33a82af110ed4
19a932ceb8dc0059754e1f986c86daba3a4fb14e
cmd/compile: add floating point load+op operations to addressing modes pass They were missed as part of the refactoring to use a separate addressing modes pass. Fixes #40426 Change-Id: Ie0418b2fac4ba1ffe720644ac918f6d728d5e420 Reviewed-on: https://go-review.googlesource.com/c/go/+/244859 Run-TryBot: Keith Randall <k...
[ { "path": "src/cmd/compile/internal/amd64/ssa.go", "patch": "@@ -874,7 +874,11 @@ func ssaGenValue(s *gc.SSAGenState, v *ssa.Value) {\n \t\tssa.OpAMD64SUBLloadidx1, ssa.OpAMD64SUBLloadidx4, ssa.OpAMD64SUBLloadidx8, ssa.OpAMD64SUBQloadidx1, ssa.OpAMD64SUBQloadidx8,\n \t\tssa.OpAMD64ANDLloadidx1, ssa.OpAMD64A...
2020-07-27T16:45:21
ggml-org/llama.cpp
96fe9badfc5235ff0a049aca647bff8c448055aa
bde188d60f58012ada0725c6dd5ba7c69fe4dd87
Add support for CUMSUM and TRI for CUDA. (#17584) * Add support for CUMSUM and TRI for CUDA. * Minor optimizations. * Correct warp_prefix_inclusive_sum in float2 variant to return float2 * Optimize TRI * Whitespace * Fix strides. * Implement double loop * Whitespace * Fix HIP compilation bugs * Optimizations ...
[ { "path": "ggml/src/ggml-cuda/common.cuh", "patch": "@@ -463,6 +463,53 @@ static __device__ __forceinline__ float warp_reduce_max(float x) {\n return x;\n }\n \n+template<typename T, int width = WARP_SIZE>\n+static __device__ __forceinline__ T warp_prefix_inclusive_sum(T x) {\n+ const int lane_id = t...
2025-12-04T21:19:51
nodejs/node
a3cd8ed1681d39e9ce65b90f52ee6d67fc7d3fdc
d545c948c238f66cf673f156983b7c1b18b4bf28
test: skip test if host is too slow test-http-server-consumed-timeout will fail if the host is sufficiently loaded that a 25ms interval takes more than 200ms to be invoked. Skip the test in that situation. PR-URL: https://github.com/nodejs/node/pull/15688 Fixes: https://github.com/nodejs/node/issues/14312 Reviewed-By...
[ { "path": "test/sequential/test-http-server-consumed-timeout.js", "patch": "@@ -3,18 +3,26 @@\n const common = require('../common');\n const http = require('http');\n \n+let time = Date.now();\n+let intervalWasInvoked = false;\n+const TIMEOUT = common.platformTimeout(200);\n+\n const server = http.createSer...
2017-09-29T18:09:19
ollama/ollama
2fb52261adb031039fe927350a257da84b9a5854
6fdea03049eb433a7cc1002ec85438707e70341f
basic distribution w/ push/pull (#78) * basic distribution w/ push/pull * add the parser * add create, pull, and push * changes to the parser, FROM line, and fix commands * mkdirp new manifest directories * make `blobs` directory if it does not exist * fix go warnings * add progressbar for model p...
[ { "path": "api/client.go", "patch": "@@ -116,3 +116,29 @@ func (c *Client) Pull(ctx context.Context, req *PullRequest, fn PullProgressFunc\n \t\treturn fn(resp)\n \t})\n }\n+\n+type PushProgressFunc func(PushProgress) error\n+\n+func (c *Client) Push(ctx context.Context, req *PushRequest, fn PushProgressFun...
2023-07-17T00:02:22
ggml-org/llama.cpp
bde188d60f58012ada0725c6dd5ba7c69fe4dd87
9d0229967a0538840368547ee7ddc637fc28142d
metal: TRI, FILL, EXPM1, SOFTPLUS (#16623) * feat(wip): Port initial TRI impl from pervious work The kernel does not work and is not optimized, but the code compiles and runs, so this will be the starting point now that the core op has been merged. Branch: ggml-cumsum-tri Signed-off-by: Gabe Goodhart <ghart@us.ibm....
[ { "path": "ggml/src/ggml-metal/ggml-metal-device.cpp", "patch": "@@ -175,6 +175,7 @@ ggml_metal_pipeline_with_params ggml_metal_library_get_pipeline_unary(ggml_metal\n const char * op_str = \"undefined\";\n switch (op->op) {\n case GGML_OP_SCALE: op_str = \"scale\"; break;\n+ ...
2025-12-04T17:12:19
golang/go
19a932ceb8dc0059754e1f986c86daba3a4fb14e
8696ae82c94f0a7707cbbbdf2cec44e93edf5b23
cmd/link: don't mark shared library symbols reachable unconditionally During the transitioning period, we mark symbols from Go shared libraries reachable unconditionally. That might be useful when there was still a large portion of the linker using sym.Symbols, and only reachable symbols were converted to sym.Symbols....
[ { "path": "misc/cgo/testshared/shared_test.go", "patch": "@@ -462,6 +462,7 @@ func TestTrivialExecutable(t *testing.T) {\n \trun(t, \"trivial executable\", \"../../bin/trivial\")\n \tAssertIsLinkedTo(t, \"../../bin/trivial\", soname)\n \tAssertHasRPath(t, \"../../bin/trivial\", gorootInstallDir)\n+\tcheckSi...
2020-07-27T15:36:41
nodejs/node
e00a488731ed333c3cd0952acdfe85729b734fa5
9e8f4b3834263f0c66fb0f5483c4284a4d8ea682
test: mark test-bindings and test-debug-end flaky PR-URL: https://github.com/nodejs/node/pull/15747 Refs: https://github.com/nodejs/node/issues/15558 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <c...
[ { "path": "test/inspector/inspector.status", "patch": "@@ -10,5 +10,7 @@ prefix inspector\n test-stop-profile-after-done: PASS, FLAKY\n \n [$system==win32]\n+test-bindings : PASS, FLAKY\n+test-debug-end : PASS, FLAKY\n test-stop-profile-after-done: PASS, FLAKY\n ", "additions"...
2017-10-03T03:53:38
ggml-org/llama.cpp
c4c10bfb86569ccb070d0dbe1a621a8f186baa16
817d743cc17cf644dab8408eb0f1e6eac89562c1
server: move msg diffs tracking to HTTP thread (#17740) * server: move msg diffs tracking to HTTP thread * wip * tool call tests ok * minor : style * cont : fix * move states to server_response_reader * add safe-guard * fix * fix 2 --------- Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
[ { "path": "tools/server/server-context.cpp", "patch": "@@ -101,8 +101,6 @@ struct server_slot {\n std::string generated_text;\n llama_tokens generated_tokens;\n \n- common_chat_msg chat_msg;\n-\n std::vector<completion_token_output> generated_token_probs;\n \n bool has_next_token = true;...
2025-12-04T14:46:08
golang/go
8696ae82c94f0a7707cbbbdf2cec44e93edf5b23
9591515f515a76f627bc1cfc6d71f98f43526faf
syscall: use correct file descriptor in dup2 fallback path This fixes a mistake in CL 220422. This changes code that is only executed on Linux kernel versions earlier than 2.6.27. Change-Id: I01280184f4d7b75e06387c38f1891e8f0a81f793 Reviewed-on: https://go-review.googlesource.com/c/go/+/244630 Run-TryBot: Ian Lance T...
[ { "path": "src/syscall/exec_linux.go", "patch": "@@ -465,7 +465,7 @@ func forkAndExecInChild1(argv0 *byte, argv, envv []*byte, chroot, dir *byte, att\n \t\t\t}\n \t\t\t_, _, err1 = RawSyscall(SYS_DUP3, uintptr(fd[i]), uintptr(nextfd), O_CLOEXEC)\n \t\t\tif _SYS_dup != SYS_DUP3 && err1 == ENOSYS {\n-\t\t\t\t...
2020-07-24T22:13:43
huggingface/transformers
c852d4fba6a46f8b71c608041a10691b66f174e5
87e2ea33aab6454be3afbd4f0342b518f15bccef
FIX [`bnb`] Make `unexpected_keys` optional (#29420) * make `unexpected_keys` optional * push * Apply suggestions from code review Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com> --------- Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -3769,7 +3769,7 @@ def _fix_key(key):\n ):\n set_module_tensor_to_device(model, key, \"cpu\", value)\n else:\n- hf_quantizer.create_quantized_param(model, value...
2024-03-18T14:50:56
ggml-org/llama.cpp
bd4ef134763d81e251fd097019578f2df571dfef
87a2084c45188d54a554c305a397e778759545ed
common : skip model validation when --help is requested (#17755) This commit skips the model validation check when the user specifies the --help option. The motivation for this is that currently and error is thrown before the --help could be processed. Now skips validation if params.usage is set, allowing help to dis...
[ { "path": "common/arg.cpp", "patch": "@@ -427,7 +427,7 @@ static bool common_params_parse_ex(int argc, char ** argv, common_params_context\n \n // model is required (except for server)\n // TODO @ngxson : maybe show a list of available models in CLI in this case\n- if (params.model.path.empty() &...
2025-12-04T12:36:50
nodejs/node
7cff6e80bfd2f61ed67ff07af87af3ab63860273
2f8ddb27340a5e7e914dc1160846d4822e6352a2
async_hooks: fix reference in code comment PR-URL: https://github.com/nodejs/node/pull/15748 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Andreas Madsen <amwebdk@gmail.com>
[ { "path": "lib/async_hooks.js", "patch": "@@ -7,8 +7,8 @@ const errors = require('internal/errors');\n * hooks for each type.\n *\n * async_id_fields is a Float64Array wrapping the double array of\n- * Environment::AsyncHooks::uid_fields_[]. Each index contains the ids for the\n- * various asynchronous s...
2017-10-03T05:14:01
ollama/ollama
40c9dc0a3191dbb85f6dbfbdd1a1952b5e8073d0
0142660bd4ef778860d47dfaf7a6f51ff82bb348
fix multibyte responses
[ { "path": "llama/llama.go", "patch": "@@ -78,12 +78,14 @@ llama_token llama_sample(\n */\n import \"C\"\n import (\n+\t\"bytes\"\n \t\"errors\"\n \t\"fmt\"\n \t\"io\"\n \t\"os\"\n \t\"strings\"\n \t\"time\"\n+\t\"unicode/utf8\"\n \t\"unsafe\"\n \n \t\"github.com/jmorganca/ollama/api\"\n@@ -204,6 +206,7 @@ f...
2023-07-15T01:30:32
golang/go
ea708dc94cf35ce73f66de9c05fee66d30615c4d
ee8541e5b83252fd025ce0ef3f02b3abd23b80f5
[dev.link] cmd/link: avoid reading symbol Data in archreloc on ARM64 The previous CL changed it to drop the Data when writing out a symbol. Don't read the data. Fix ARM64 build. Change-Id: I121e9b0ebef123dbbc4ddffc02bf1a42788532f4 Reviewed-on: https://go-review.googlesource.com/c/go/+/244038 Reviewed-by: Jeremy Fall...
[ { "path": "src/cmd/link/internal/arm64/asm.go", "patch": "@@ -605,8 +605,7 @@ func archreloc(target *ld.Target, ldr *loader.Loader, syms *ld.ArchSyms, r loade\n \t\treturn val | ((t >> 2) & 0x03ffffff), noExtReloc, true\n \n \tcase objabi.R_ARM64_GOT:\n-\t\tsData := ldr.Data(s)\n-\t\tif sData[r.Off()+3]&0x9...
2020-07-21T21:59:48
huggingface/transformers
87e2ea33aab6454be3afbd4f0342b518f15bccef
c43b380e70136c65e4f2c0644fa50e1fb21b4fee
Fix `filter_models` (#29710) * update * update * update * check --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "utils/tests_fetcher.py", "patch": "@@ -68,6 +68,10 @@\n PATH_TO_TRANFORMERS = PATH_TO_REPO / \"src/transformers\"\n PATH_TO_TESTS = PATH_TO_REPO / \"tests\"\n \n+# The value is just a heuristic to determine if we `guess` all models are impacted.\n+# This variable has effect only if `filter_models...
2024-03-18T13:32:42
ggml-org/llama.cpp
3659aa28e963ef3f782cd27258e97ddef678c776
2a73f81f8a810783db5794256e5ba79f298adee7
convert: use existing local chat_template if mistral-format model has one. (#17749) * conversion: use existing local chat_template.jinja file if mistral-format model has one. * fix --mistral-format mistakenly assuming some <=v7 chat template names are file paths and reading them. * Update convert_hf_to_gguf.py - cha...
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -2341,19 +2341,31 @@ def _set_vocab_mistral(self):\n self.gguf_writer.add_add_bos_token(True)\n self.gguf_writer.add_add_eos_token(False)\n \n- template_dir = Path(__file__).parent / \"models/templates/\"\n+ local_template_file_pa...
2025-12-04T11:12:45
nodejs/node
1261b94a3facbf486c58b8e8b2682f0de8b4d107
7092a6ca93c24608a9b816d82c16926c9ab970f0
doc: fix unassigned deprecation code Forgot to assign the deprecation code when landing 1f8d527e94ad97e7db14d18406fe0e12983358cb PR-URL: https://github.com/nodejs/node/pull/15741 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
[ { "path": "doc/api/deprecations.md", "patch": "@@ -710,8 +710,8 @@ function for [`util.inspect()`][] is deprecated. Use [`util.inspect.custom`][]\n instead. For backwards compatibility with Node.js prior to version 6.4.0, both\n may be specified.\n \n-<a id=\"DEP00XX\"></a>\n-### DEP00XX: path.\\_makeLong()...
2017-10-02T19:39:41
golang/go
71218dbc401cbb8f7e052e7a64372d9732082d5d
11f92e9dae96939c2d784ae963fa7763c300660b
runtime: don't mlock on Ubuntu 5.4 systems For #35777 For #37436 Fixes #40184 Change-Id: I68561497d9258e994d1c6c48d4fb41ac6130ee3a Reviewed-on: https://go-review.googlesource.com/c/go/+/244059 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Austin Clements <au...
[ { "path": "src/runtime/os_linux_x86.go", "patch": "@@ -7,7 +7,10 @@\n \n package runtime\n \n-import \"runtime/internal/atomic\"\n+import (\n+\t\"runtime/internal/atomic\"\n+\t\"unsafe\"\n+)\n \n //go:noescape\n func uname(utsname *new_utsname) int\n@@ -55,6 +58,36 @@ func osArchInit() {\n \t\treturn\n \t}\...
2020-07-22T04:37:58
ggml-org/llama.cpp
a67ef0f47f1afb67b1d8ec05e6d803e2d9b3faa3
ef75a89fdb39ba33a6896ba314026e1b6826caba
llama : fix sanity checks during quantization (#17721)
[ { "path": "src/llama-quant.cpp", "patch": "@@ -726,21 +726,19 @@ static void llama_model_quantize_impl(const std::string & fname_inp, const std::\n // sanity checks for models that have attention layers\n if (qs.n_attention_wv != 0 && !is_clip_model)\n {\n- const auto & n_head_kv_iter = m...
2025-12-04T08:33:42
ollama/ollama
5ade3db040b96b4c618e080aaf273aeec9f8edd1
965f9ad033de7f26b9d2178976fea85c57664ff2
fix race block on write which only returns when the channel is closed. this is contrary to the previous arrangement where the handler may return but the stream hasn't finished writing. it can lead to the client receiving unexpected responses (since the request has been handled) or worst case a nil-pointer dereference ...
[ { "path": "server/routes.go", "patch": "@@ -58,9 +58,6 @@ func generate(c *gin.Context) {\n \t\treq.Model = path.Join(cacheDir(), \"models\", req.Model+\".bin\")\n \t}\n \n-\tch := make(chan any)\n-\tgo stream(c, ch)\n-\n \ttemplateNames := make([]string, 0, len(templates.Templates()))\n \tfor _, template :...
2023-07-14T21:15:53
huggingface/transformers
c43b380e70136c65e4f2c0644fa50e1fb21b4fee
bf3dfd11605d8aa9e87bf872f076ef517399c7e4
Add MusicGen Melody (#28819) * first modeling code * make repository * still WIP * update model * add tests * add latest change * clean docstrings and copied from * update docstrings md and readme * correct chroma function * correct copied from and remove unreleated test * add doc to toct...
[ { "path": "README.md", "patch": "@@ -442,6 +442,7 @@ Current number of checkpoints: ![](https://img.shields.io/endpoint?url=https://h\n 1. **[MRA](https://huggingface.co/docs/transformers/model_doc/mra)** (from the University of Wisconsin - Madison) released with the paper [Multi Resolution Analysis (MRA) f...
2024-03-18T13:06:12
golang/go
0e3114871e221485d89bf94dc019fcfa3df9c21a
526d99a49ae67bfde15134b96159680988615d2d
[dev.link] cmd/link: fix hash collision check For content-addressable symbols, we build its content hash based on the symbol data and relocations. When the compiler builds the symbol data, it may not always include the trailing zeros, e.g. the data of [10]int64{1,2,3} is only the first 24 bytes. Therefore, we may end ...
[ { "path": "src/cmd/link/internal/loader/loader.go", "patch": "@@ -434,24 +434,46 @@ func (l *Loader) addSym(name string, ver int, r *oReader, li uint32, kind int, o\n \t\tl.symsByName[ver][name] = i\n \t\taddToGlobal()\n \t\treturn i, true\n-\tcase hashed64Def:\n+\tcase hashed64Def, hashedDef:\n \t\t// Hash...
2020-07-20T22:07:00
ggml-org/llama.cpp
424c5794557597c8bbd9ea318570962b9ad00e22
e9f9483464e6f01d843d7f0293bd9c7bc6b2221c
convert : support latest mistral-common (fix conversion with --mistral-format) (#17712) * fix convert_hf_to_gguf.py failing with --mistral-format using later mistral-common versions. * use get_one_valid_tokenizer_file from mistral-common if available and fallback to old logic otherwise. * use file name instead of fi...
[ { "path": "gguf-py/gguf/vocab.py", "patch": "@@ -31,6 +31,14 @@\n else:\n _mistral_common_installed = True\n \n+try:\n+ from mistral_common.tokens.tokenizers.utils import ( # pyright: ignore[reportMissingImports]\n+ get_one_valid_tokenizer_file,\n+ )\n+except ImportError:\n+ # We still w...
2025-12-03T20:15:04
nodejs/node
74891412f1db2ceae7249d116f980cabc437a43d
1f8d527e94ad97e7db14d18406fe0e12983358cb
zlib: migrate to internal/errors PR-URL: https://github.com/nodejs/node/pull/15618 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Minwoo Jung <minwoo@nodesource.com> Reviewed-By: Michael Dawson <michael...
[ { "path": "doc/api/errors.md", "patch": "@@ -609,6 +609,12 @@ also able to define their own types when using the public embedder API.\n \n Used when attempting to perform an operation outside the bounds of a `Buffer`.\n \n+<a id=\"ERR_BUFFER_TOO_LARGE\"></a>\n+### ERR_BUFFER_TOO_LARGE\n+\n+Used when an atte...
2017-09-25T23:48:57
huggingface/transformers
00c1d87a7d5c8dfb4554370983b5a3f7c069edd7
5011908e10d9592eeb634f4940e0bc130d3edc69
[docs] Spanish translation of attention.md (#29681) * add attention to es/ and edit es/_toctree.yml * translate attention.md * fix transformers * fix transformers
[ { "path": "docs/source/es/_toctree.yml", "patch": "@@ -92,6 +92,8 @@\n title: Lo que 🤗 Transformers puede hacer\n - local: tasks_explained\n title: Como los 🤗 Transformers resuelven tareas\n+ - local: attention\n+ title: Mecanismos de atención\n - local: pad_truncation\n title: Relleno...
2024-03-15T18:55:35
golang/go
11f92e9dae96939c2d784ae963fa7763c300660b
0951939fd9e4a6bc83f23c42e8ddff02b29c997e
cmd/compile: add test for fixed ICE on untyped conversion The ICE reported as #33308 was fixed by a related CL; this change adds a regression test with the crasher. Fixes #33308 Change-Id: I3260075dbe3823b56b8825e6269e57a0fad185a6 Reviewed-on: https://go-review.googlesource.com/c/go/+/243458 Reviewed-by: Matthew Dem...
[ { "path": "test/fixedbugs/issue33308.go", "patch": "@@ -0,0 +1,12 @@\n+// errorcheck\n+\n+// Copyright 2020 The Go Authors. All rights reserved. Use of this\n+// source code is governed by a BSD-style license that can be found in\n+// the LICENSE file.\n+\n+// Test that the compiler does not crash on a []b...
2020-07-20T16:32:53
rust-lang/rust
6366cca43958bedcfcc1b980061793e1f6664c43
649cef0e81d1c095e9a643cac4998e1ff1910c6d
add `io_other_error` lint
[ { "path": "CHANGELOG.md", "patch": "@@ -5726,6 +5726,7 @@ Released 2018-09-13\n [`invalid_utf8_in_unchecked`]: https://rust-lang.github.io/rust-clippy/master/index.html#invalid_utf8_in_unchecked\n [`inverted_saturating_sub`]: https://rust-lang.github.io/rust-clippy/master/index.html#inverted_saturating_sub\...
2025-01-18T10:40:39
ggml-org/llama.cpp
41c5e02f426e91a98e25dee822d5eecb7d224fbf
2e1c9cd814227c576da56379d79b15d7dfd199b2
webui: Fix zero pasteLongTextToFileLen to disable conversion being overridden (#17445) * webui: Fix zero pasteLongTextToFileLen to disable conversion being overridden Zero pasteLongTextToFileLen should disable the conversion, but it was overwritten with 2500. * Apply suggestions from code review * Update webui buil...
[ { "path": "tools/server/webui/src/lib/components/app/chat/ChatForm/ChatForm.svelte", "patch": "@@ -64,7 +64,10 @@\n \tlet fileInputRef: ChatFormFileInputInvisible | undefined = $state(undefined);\n \tlet isRecording = $state(false);\n \tlet message = $state('');\n-\tlet pasteLongTextToFileLength = $derived(...
2025-12-03T19:45:17
nodejs/node
95c8503d8866187a003aba01187877ad8ebd38df
e517bc97d48da199e5e3af858e19173a209063c4
doc: fix typo in tls.md PR-URL: https://github.com/nodejs/node/pull/15738 Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
[ { "path": "doc/api/tls.md", "patch": "@@ -474,7 +474,7 @@ changes:\n \n * `socket` {net.Socket} An instance of [`net.Socket`][]\n * `options` {Object}\n- * `isServer`: The SSL/TLS protocol is asymetrical, TLSSockets must know if\n+ * `isServer`: The SSL/TLS protocol is asymmetrical, TLSSockets must know i...
2017-10-02T16:10:44
ollama/ollama
5fefaa5d4dc3445417d155b639a9657ef6378115
77dc1a6d744ffa14a4875a790e725725ca6476d1
fix typo
[ { "path": "api/types.go", "patch": "@@ -57,7 +57,7 @@ func (r *GenerateResponse) Summary() {\n \t}\n \n \tif r.EvalDuration > 0 {\n-\t\tfmt.Fprintf(os.Stderr, \"eval duraiton: %s\\n\", r.EvalDuration)\n+\t\tfmt.Fprintf(os.Stderr, \"eval duration: %s\\n\", r.EvalDuration)\n \t\tfmt.Fprintf(os.S...
2023-07-14T17:47:18
huggingface/transformers
5011908e10d9592eeb634f4940e0bc130d3edc69
4e98d594430eb2d24f766ad4e3ef83aa03ce0105
Revert "Fix wrong condition used in `filter_models`" (#29682) Revert "Fix wrong condition used in `filter_models` (#29673)" This reverts commit 174aecd099764920cf173703961d99d814fe9a75.
[ { "path": "utils/tests_fetcher.py", "patch": "@@ -1244,7 +1244,7 @@ def parse_commit_message(commit_message: str) -> Dict[str, bool]:\n args.output_file,\n diff_with_last_commit=diff_with_last_commit,\n json_output_file=args.json_output_file,\n- ...
2024-03-15T17:59:37
golang/go
6f264801a76bbf1a0defacba4230efaefc47598c
4469f5446ad754d87afb340f59c213aec2dc4fb8
go/printer: remove exported StdFormat flag The StdFormat flag was added as part of CL 231461, where the primary aim was to fix the bug #37476. It's expected that the existing printer modes only adjust spacing but do not change any of the code text itself. A new printing flag served as a way for cmd/gofmt and go/format...
[ { "path": "api/go1.15.txt", "patch": "@@ -112,8 +112,6 @@ pkg debug/pe, const IMAGE_SUBSYSTEM_WINDOWS_GUI = 2\n pkg debug/pe, const IMAGE_SUBSYSTEM_WINDOWS_GUI ideal-int\n pkg debug/pe, const IMAGE_SUBSYSTEM_XBOX = 14\n pkg debug/pe, const IMAGE_SUBSYSTEM_XBOX ideal-int\n-pkg go/printer, const StdFormat = 1...
2020-07-01T16:49:43
ggml-org/llama.cpp
e7c2cf1356c8127140915a5f313e02dff4b07be8
1257491047aed0f56b81f532a5a4865add918821
server: add router multi-model tests (#17704) (#17722) * llama-server: add router multi-model tests (#17704) Add 4 test cases for model router: - test_router_unload_model: explicit model unloading - test_router_models_max_evicts_lru: LRU eviction with --models-max - test_router_no_models_autoload: --no-models-autoloa...
[ { "path": "tools/server/tests/unit/test_basic.py", "patch": "@@ -65,6 +65,7 @@ def test_server_slots():\n \n def test_load_split_model():\n global server\n+ server.offline = False\n server.model_hf_repo = \"ggml-org/models\"\n server.model_hf_file = \"tinyllamas/split/stories15M-q8_0-00001-of...
2025-12-03T14:10:37
rust-lang/rust
ec88bc2e00985e99923ff3de966a947daa63c567
28b83ee59698ae069f5355b8e03f976406f410f5
fix: naming convention "ferris" suggestion for idents named 🦀 test: add tests for correct ferris capitalization fix: add "struct" style: use rustfmt style: remove newline fix: _ _ _ _ _
[ { "path": "compiler/rustc_interface/src/errors.rs", "patch": "@@ -24,8 +24,9 @@ pub(crate) struct CrateNameInvalid<'a> {\n pub struct FerrisIdentifier {\n #[primary_span]\n pub spans: Vec<Span>,\n- #[suggestion(code = \"ferris\", applicability = \"maybe-incorrect\")]\n+ #[suggestion(code = \"{...
2025-02-21T01:00:19
nodejs/node
a6b47a29f2035de3342b917eacb4607a4f6a5f00
f55005514c350bbcba77b9664140e1518d7586a7
doc: fix dead link in doc/releases.md PR-URL: https://github.com/nodejs/node/pull/15733 Fixes: https://github.com/nodejs/node/issues/15730 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
[ { "path": "doc/releases.md", "patch": "@@ -32,7 +32,7 @@ Release builds require manual promotion by an individual with SSH access to the\n \n A SHASUMS256.txt file is produced for every promoted build, nightly, and releases. Additionally for releases, this file is signed by the individual responsible for th...
2017-10-02T12:33:01
huggingface/transformers
4e98d594430eb2d24f766ad4e3ef83aa03ce0105
9e4df7c4246a8510e0b0c92721ce4f28ba1f50f9
[FIX] Fix speech2test modeling tests (#29672) * fix speech_to_test generation tests * Add details to comment * Update tests/models/speech_to_text/test_modeling_speech_to_text.py Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com> --------- Co-authored-by: Yih-Dar <2521628+ydshieh...
[ { "path": "tests/models/speech_to_text/test_modeling_speech_to_text.py", "patch": "@@ -284,6 +284,18 @@ class Speech2TextModelTest(ModelTesterMixin, GenerationTesterMixin, PipelineTest\n \n input_name = \"input_features\"\n \n+ def _get_input_ids_and_config(self, batch_size=2):\n+ config, inpu...
2024-03-15T17:58:11
ollama/ollama
31590284a7bc02ca1a2bec4755f3026323f0d835
f2863cc7f805b0c03f2e297900048a4e50d5dd08
fix route
[ { "path": "server/routes.go", "patch": "@@ -147,7 +147,7 @@ func Serve(ln net.Listener) error {\n \t\tc.String(http.StatusOK, \"Ollama is running\")\n \t})\n \n-\tr.POST(\"api/pull\", pull)\n+\tr.POST(\"/api/pull\", pull)\n \tr.POST(\"/api/generate\", generate)\n \n \tlog.Printf(\"Listening on %s\", ln.Addr...
2023-07-13T00:19:03
golang/go
4469f5446ad754d87afb340f59c213aec2dc4fb8
8d4330742c1866faa8b1ef575877e5afb8a4355c
compress/flate: fix another deflate Reset inconsistency While investigating #34121, fixed by CL 193605, I discovered another case where Reset was not quite resetting enough. This specific case is not a problem in Reset itself but rather that the Huffman bit writer in one code path is using uninitialized memory left o...
[ { "path": "src/compress/flate/deflate_test.go", "patch": "@@ -512,33 +512,57 @@ func TestWriterReset(t *testing.T) {\n \t\t\tt.Errorf(\"level %d Writer not reset after Reset\", level)\n \t\t}\n \t}\n-\ttestResetOutput(t, func(w io.Writer) (*Writer, error) { return NewWriter(w, NoCompression) })\n-\ttestRese...
2020-07-16T20:56:53
nodejs/node
f55005514c350bbcba77b9664140e1518d7586a7
d9d46e7757be0b76ab53c83e489e347511b10e97
doc: fix v8.6 changelog entry PR-URL: https://github.com/nodejs/node/pull/15716 Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Evan Lucas <evanlucas@me.com> Rev...
[ { "path": "doc/changelogs/CHANGELOG_V8.md", "patch": "@@ -193,7 +193,6 @@\n * [[`9e8b1b3ec6`](https://github.com/nodejs/node/commit/9e8b1b3ec6)] - **util**: refactor inspect for performance and more (Ruben Bridgewater) [#14881](https://github.com/nodejs/node/pull/14881)\n * [[`539445890b`](https://github.co...
2017-10-01T21:52:55
rust-lang/rust
6ed53a624b41d0973ffe4efc1fe4ee642cdc166e
71e06b9c59d6af50fdc55aed75620493d29baf98
Fix(lib/fs/tests): Disable rename POSIX semantics FS tests under Windows 7 Would otherwise fail there. The Windows7-specific parts were left pretty much untouched by the changes introduced by 51df98ddb094b39b2e17d24f887cd66c52560ef6, so it is expected that these tests fail under Windows 7 as they were probably written...
[ { "path": "library/std/src/fs/tests.rs", "patch": "@@ -1914,8 +1914,11 @@ fn test_hidden_file_truncation() {\n assert_eq!(metadata.len(), 0);\n }\n \n+// See https://github.com/rust-lang/rust/pull/131072 for more details about why\n+// these two tests are disabled under Windows 7 here.\n #[cfg(windows)]...
2025-02-21T15:02:40
huggingface/transformers
28de2f4de3f7bf5dbe995237b039e95b446038c3
f02aea27378dd57c2ced4b28ff9e58ec3876340a
[Quantization] Quanto quantizer (#29023) * start integration * fix * add and debug tests * update tests * make pytorch serialization works * compatible with device_map and offload * fix tests * make style * add ref * guard against safetensors * add float8 and style * fix is_serializabl...
[ { "path": "docker/transformers-quantization-latest-gpu/Dockerfile", "patch": "@@ -45,6 +45,9 @@ RUN python3 -m pip install --no-cache-dir aqlm[gpu]==1.0.2\n # Add autoawq for quantization testing\n RUN python3 -m pip install --no-cache-dir https://github.com/casper-hansen/AutoAWQ/releases/download/v0.2.0/au...
2024-03-15T15:51:29
ggml-org/llama.cpp
1257491047aed0f56b81f532a5a4865add918821
083e18b11c24fff9e306801cd6f226eecbbb225c
server : fix bad fmt, size() is a size_type (#17735) Signed-off-by: Adrien Gallouët <angt@huggingface.co>
[ { "path": "tools/server/server-common.cpp", "patch": "@@ -791,7 +791,7 @@ static void handle_media(\n SRV_INF(\"downloading image from '%s'\\n\", url.c_str());\n auto res = common_remote_get_content(url, params);\n if (200 <= res.first && res.first < 300) {\n- SRV_INF(\"do...
2025-12-03T13:47:22
golang/go
8d4330742c1866faa8b1ef575877e5afb8a4355c
c5d7f2f1cbaca8938a31a022058b1a3300817e33
compress/flate: fix deflate Reset consistency Modify the overflow detection logic to shuffle the contents of the table to a lower offset to avoid leaking the effects of a previous use of compress.Writer past Reset calls. Fixes #34121 Change-Id: I9963eadfa5482881e7b7adbad4c2cae146b669ab GitHub-Last-Rev: 8b35798cdd4d5...
[ { "path": "src/compress/flate/deflatefast.go", "patch": "@@ -4,6 +4,8 @@\n \n package flate\n \n+import \"math\"\n+\n // This encoding algorithm, which prioritizes speed over output size, is\n // based on Snappy's LZ77-style encoder: github.com/golang/snappy\n \n@@ -12,6 +14,13 @@ const (\n \ttableSize = 1...
2020-05-07T12:50:00
rust-lang/rust
31febc684ba8847494b1d1e223e8fc2cc87f3dcc
8ef535e03d8f34c7ad7aab14eea6a73bf4445b4c
Point at type that doesn't implement needed trait ``` error[E0277]: `?` couldn't convert the error: `E: std::error::Error` is not satisfied --> $DIR/bad-question-mark-on-trait-object.rs:7:13 | LL | fn foo() -> Result<(), Box<dyn std::error::Error>> { | -------------------------------------- require...
[ { "path": "compiler/rustc_trait_selection/src/error_reporting/traits/fulfillment_errors.rs", "patch": "@@ -966,6 +966,7 @@ impl<'a, 'tcx> TypeErrCtxt<'a, 'tcx> {\n };\n let self_ty = trait_pred.skip_binder().self_ty();\n let found_ty = trait_pred.skip_binder().trait_ref.args.get(1).a...
2025-02-20T19:47:31
huggingface/transformers
03847ef45189d328a51f428b0a61a6b891e69f88
174aecd099764920cf173703961d99d814fe9a75
fix: typos (#29653) Signed-off-by: guoguangwu <guoguangwug@gmail.com>
[ { "path": "examples/research_projects/jax-projects/wav2vec2/run_wav2vec2_pretrain_flax.py", "patch": "@@ -144,7 +144,7 @@ class FlaxDataCollatorForWav2Vec2Pretraining:\n The Wav2Vec2 model used for pretraining. The data collator needs to have access\n to config and ``_get_feat_extrac...
2024-03-15T15:02:50
ggml-org/llama.cpp
3d94e967a10ac901392c6abc8747aed204a09bdb
7feb0a1005307cb6733278ea8ec8ce41a3dd739b
metal : fix data race in pipeline library (#17731)
[ { "path": "ggml/src/ggml-metal/ggml-metal-device.cpp", "patch": "@@ -50,7 +50,7 @@ void ggml_metal_pipelines_add(ggml_metal_pipelines_t ppls, const char * name, gg\n }\n \n ggml_metal_pipeline_t ggml_metal_pipelines_get(ggml_metal_pipelines_t ppls, const char * name) {\n- if (ppls->data.find(name) == pp...
2025-12-03T12:03:40
nodejs/node
d9d46e7757be0b76ab53c83e489e347511b10e97
3f1cca4817653606a5d78fa3653427ffd211dd43
src: fix windows-only build breakage Commit af6af08 introduced a build error in a Windows-only code path in src/node_url.cc. Fix it by making the code a little nicer in general: const-ify the `input` parameter to `ToASCII()` and `ToUnicode()`. PR-URL: https://github.com/nodejs/node/pull/15724 Refs: https://github.co...
[ { "path": "src/node_url.cc", "patch": "@@ -573,30 +573,30 @@ static inline int NormalizePort(std::string scheme, int p) {\n }\n \n #if defined(NODE_HAVE_I18N_SUPPORT)\n-static inline bool ToUnicode(std::string* input, std::string* output) {\n+static inline bool ToUnicode(const std::string& input, std::strin...
2017-10-02T07:07:10
ollama/ollama
2666d3c206f31e2ee3cf6cc8ef6643816edac75b
5571ed52483fb48a6a9bcfb1a0751b6148db94e2
fix pull race
[ { "path": "server/models.go", "patch": "@@ -76,22 +76,10 @@ func saveModel(model *Model, fn func(total, completed int64)) error {\n \t\treturn fmt.Errorf(\"failed to download model: %w\", err)\n \t}\n \n-\t// check if completed file exists\n-\tfi, err := os.Stat(model.FullName())\n-\tswitch {\n-\tcase error...
2023-07-13T02:07:15
golang/go
c5d7f2f1cbaca8938a31a022058b1a3300817e33
fa98f46741f818913a8c11b877520a548715131f
cmd/link: skip TestOldLink if the old linker does not exist We don't ship the old linker in binary releases. Skip the test if we cannot find the old linker. Fixes #39509. Change-Id: I1af5552bc56aff5314a384bcb5f3717b725d68e5 Reviewed-on: https://go-review.googlesource.com/c/go/+/242604 Run-TryBot: Cherry Zhang <cherr...
[ { "path": "src/cmd/link/link_test.go", "patch": "@@ -541,6 +541,13 @@ func TestOldLink(t *testing.T) {\n \n \ttestenv.MustHaveGoBuild(t)\n \n+\t// Check that the old linker exists (we don't ship it in binary releases,\n+\t// see issue 39509).\n+\tcmd := exec.Command(testenv.GoToolPath(t), \"tool\", \"-n\", ...
2020-07-14T22:55:29
rust-lang/rust
f1c21c9fc6211576c422d5cd6bf7e07182235883
a3f389745e1b07a7fe652a6f23ea5a99a1e6a0ca
Fix unbounded_shifts tests
[ { "path": "library/coretests/tests/num/int_macros.rs", "patch": "@@ -479,24 +479,23 @@ macro_rules! int_module {\n }\n }\n \n- const SHIFT_AMOUNT_OVERFLOW: $T = <$T>::BITS;\n- const SHIFT_AMOUNT_OVERFLOW2: $T = <$T>::BITS + 3;\n- const SHIFT_AMOUNT_OVERFLOW3: $T = <$...
2025-02-21T18:13:30
huggingface/transformers
174aecd099764920cf173703961d99d814fe9a75
272f48e734300cf6df66b5fcdaf462e47de3ccd6
Fix wrong condition used in `filter_models` (#29673) update Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "utils/tests_fetcher.py", "patch": "@@ -1244,7 +1244,7 @@ def parse_commit_message(commit_message: str) -> Dict[str, bool]:\n args.output_file,\n diff_with_last_commit=diff_with_last_commit,\n json_output_file=args.json_output_file,\n- ...
2024-03-15T14:38:36
nodejs/node
c8a21436c9f2b74eecb2d7e99879ec1bc3d72a4c
50e580df210109b87190d5dff84e0d62a74d60a9
doc: update fs.utimes{,Sync} changelog Specify that `NaN`, `Infinity`, and `-Infinity` are no longer valid values for the `atime` and `mtime` arguments. PR-URL: https://github.com/nodejs/node/pull/15680 Fixes: https://github.com/nodejs/node/issues/15453 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James ...
[ { "path": "doc/api/fs.md", "patch": "@@ -2339,6 +2339,10 @@ and `fs.unwatchFile()` when possible.\n <!-- YAML\n added: v0.4.2\n changes:\n+ - version: v8.0.0\n+ pr-url: https://github.com/nodejs/node/pull/11919\n+ description: `NaN`, `Infinity`, and `-Infinity` are no longer valid time\n+ ...
2017-09-29T10:24:10
ollama/ollama
e6eee0732c22154846551ff402f91157f1e80239
4c2b4589ac8799b045851252e8603210e46b1a62
web: fix `npm build`
[ { "path": "web/app/download/downloader.tsx", "patch": "@@ -2,7 +2,7 @@\n \n import { useEffect } from 'react'\n \n-export default function ({ url }: { url: string }) {\n+export default function Downloader({ url }: { url: string }) {\n useEffect(() => {\n window.location.href = url\n }, [])", "ad...
2023-07-13T00:28:00
golang/go
fa98f46741f818913a8c11b877520a548715131f
82175e699a2e2cd83d3aa34949e9b922d66d52f5
net/http: synchronize "100 Continue" write and Handler writes The expectContinueReader writes to the connection on the first Request.Body read. Since a Handler might be doing a read in parallel or before a write, expectContinueReader needs to synchronize with the ResponseWriter, and abort if a response already went ou...
[ { "path": "src/net/http/server.go", "patch": "@@ -425,6 +425,16 @@ type response struct {\n \twants10KeepAlive bool // HTTP/1.0 w/ Connection \"keep-alive\"\n \twantsClose bool // HTTP request has Connection \"close\"\n \n+\t// canWriteContinue is a boolean value accessed a...
2020-07-13T17:27:22
huggingface/transformers
272f48e734300cf6df66b5fcdaf462e47de3ccd6
8a3cfaac0ddaa2be66cf128961e772165f1018d5
[tests] ensure device-required software is available in the testing environment before testing (#29477) * gix * fix style * add warning * revert * no newline * revert * revert * add CUDA as well
[ { "path": "src/transformers/testing_utils.py", "patch": "@@ -808,6 +808,19 @@ def require_torch_multi_xpu(test_case):\n \n if \"TRANSFORMERS_TEST_DEVICE\" in os.environ:\n torch_device = os.environ[\"TRANSFORMERS_TEST_DEVICE\"]\n+ if torch_device == \"cuda\" and not torch.cuda.is_availabl...
2024-03-15T14:28:52
nodejs/node
50e580df210109b87190d5dff84e0d62a74d60a9
9a0631dffe0204954ad65ff5fe5189b491d36864
deps: cherry-pick 0ef4a0c64b6 from c-ares upstream Original commit message: gethostbyaddr: fail with `ECANCELLED` for `ares_cancel()` When `ares_cancel()` was invoked, `ares_gethostbyaddr()` queries would fail with `ENOTFOUND` instead of `ECANCELLED`. It seems appropriate to treat `ares_cancel()` like `ares...
[ { "path": "deps/cares/src/ares_gethostbyaddr.c", "patch": "@@ -157,7 +157,7 @@ static void addr_callback(void *arg, int status, int timeouts,\n }\n end_aquery(aquery, status, host);\n }\n- else if (status == ARES_EDESTRUCTION)\n+ else if (status == ARES_EDESTRUCTION || status == ARES_ECA...
2017-08-14T16:12:30
huggingface/transformers
8a3cfaac0ddaa2be66cf128961e772165f1018d5
c1993e68b8338cc223c66459f87842cfd4ebe301
Fix AutoformerForPrediction example code (#29639) Removed static_real_features from AutoformerForPrediction example code Signed-off-by: Maciej Torhan <maciek97x@gmail.com>
[ { "path": "src/transformers/models/autoformer/modeling_autoformer.py", "patch": "@@ -1853,7 +1853,6 @@ def forward(\n ... past_time_features=batch[\"past_time_features\"],\n ... past_observed_mask=batch[\"past_observed_mask\"],\n ... static_categorical_features=batch[\"st...
2024-03-15T14:21:47
golang/go
82175e699a2e2cd83d3aa34949e9b922d66d52f5
efbe47b1625422f21bb2f130f916ce040756dbe3
crypto/x509: respect VerifyOptions.KeyUsages on Windows When using the platform verifier on Windows (because Roots is nil) we were always enforcing server auth EKUs if DNSName was set, and none otherwise. If an application was setting KeyUsages, they were not being respected. Started correctly surfacing IncompatibleU...
[ { "path": "src/crypto/x509/root_windows.go", "patch": "@@ -88,6 +88,9 @@ func checkChainTrustStatus(c *Certificate, chainCtx *syscall.CertChainContext) e\n \t\tswitch status {\n \t\tcase syscall.CERT_TRUST_IS_NOT_TIME_VALID:\n \t\t\treturn CertificateInvalidError{c, Expired, \"\"}\n+\t\tcase syscall.CERT_TR...
2020-06-19T02:45:52
ggml-org/llama.cpp
0a8026e768e65414a8969078f11d975c5811c33e
5ceed62421b0ba61527cb16b2a25b3bdd07422eb
common : introduce composable PEG parser combinators for chat parsing (#17136) * common : implement parser combinators to simplify chat parsing * add virtual destructor to parser_base * fix memory leak from circular references of rules * implement gbnf grammar building * remove unused private variable * create a ...
[ { "path": "CODEOWNERS", "patch": "@@ -10,13 +10,16 @@\n /common/arg.* @ggerganov\n /common/base64.hpp.* @ggerganov\n /common/build-info.* @ggerganov\n+/common/chat-peg-parser.* @aldehir\n /common/common.* @g...
2025-12-03T10:45:32
nodejs/node
9a0631dffe0204954ad65ff5fe5189b491d36864
34d125f16c77b953d002ab313aa029ac46d83c87
deps: cherry-pick 18ea996 from c-ares upstream Original commit message: ares_parse_naptr_reply: make buffer length check more accurate 9478908a490a6bf009ba58d81de8c1d06d50a117 introduced a length check for records parsed by `ares_parse_naptr_reply()`. However, that function is designed to parse repli...
[ { "path": "deps/cares/src/ares_parse_naptr_reply.c", "patch": "@@ -110,18 +110,19 @@ ares_parse_naptr_reply (const unsigned char *abuf, int alen,\n status = ARES_EBADRESP;\n break;\n }\n- /* RR must contain at least 7 bytes = 2 x int16 + 3 x name */\n- if (rr_len < 7)\n...
2017-07-15T06:55:06
ollama/ollama
0944b01e7d874eae18b93ac4804478c1f103a2e4
e1f0a0dc7488d4a38b687d4d894dce722de050aa
pull fixes
[ { "path": "cmd/cmd.go", "patch": "@@ -59,7 +59,7 @@ func pull(model string) error {\n \t\t&api.PullRequest{Model: model},\n \t\tfunc(progress api.PullProgress) error {\n \t\t\tif bar == nil {\n-\t\t\t\tif progress.Percent == 100 {\n+\t\t\t\tif progress.Percent >= 100 {\n \t\t\t\t\t// already downloaded\n \t...
2023-07-12T16:55:07
huggingface/transformers
c1993e68b8338cc223c66459f87842cfd4ebe301
0e4a1c3401421d3342938a183c7b021cdac6fd79
[tests] remove deprecated tests for model loading (#29450) * gix * fix style * remove equivalent tests * add back for image_processor * remove again
[ { "path": "tests/test_configuration_utils.py", "patch": "@@ -248,12 +248,6 @@ def test_cached_files_are_used_when_internet_is_down(self):\n # This check we did call the fake head request\n mock_head.assert_called()\n \n- def test_legacy_load_from_url(self):\n- # This test i...
2024-03-15T14:18:41
ggml-org/llama.cpp
5ceed62421b0ba61527cb16b2a25b3bdd07422eb
7ca5991d2b7238ab04bc3dca9c2a9b92f4548238
server: fix duplicate HTTP headers in multiple models mode (#17698) * llama-server: fix duplicate HTTP headers in multiple models mode (#17693) * llama-server: address review feedback from ngxson - restrict scope of header after std::move - simplify header check (remove unordered_set)
[ { "path": "tools/server/server-models.cpp", "patch": "@@ -7,6 +7,7 @@\n #include <sheredom/subprocess.h>\n \n #include <functional>\n+#include <algorithm>\n #include <thread>\n #include <mutex>\n #include <condition_variable>\n@@ -889,6 +890,28 @@ struct pipe_t {\n }\n };\n \n+static std::string to_lowe...
2025-12-03T09:28:43
golang/go
efbe47b1625422f21bb2f130f916ce040756dbe3
e88ea87e7b886815cfdadc4cd3d70bf5ef833bd7
html/template: add tests from text/template Copy and adapt tests from text/template, to exercise more of html/template's copy. Various differences in behavior are flagged with NOTE comments or t.Skip and documented in #40075. Many of them are probably bugs. One clarifying test case added to both text/template and htm...
[ { "path": "src/html/template/clone_test.go", "patch": "@@ -15,7 +15,7 @@ import (\n \t\"text/template/parse\"\n )\n \n-func TestAddParseTree(t *testing.T) {\n+func TestAddParseTreeHTML(t *testing.T) {\n \troot := Must(New(\"root\").Parse(`{{define \"a\"}} {{.}} {{template \"b\"}} {{.}} \"></a>{{end}}`))\n \...
2020-07-06T16:27:01
ollama/ollama
e1f0a0dc7488d4a38b687d4d894dce722de050aa
b227261f21c8946ae74e634520d5550d6834ed45
fix eof error in generate
[ { "path": "llama/llama.go", "patch": "@@ -199,10 +199,10 @@ func (llm *llama) generate(tokens []C.llama_token, fn func(string)) error {\n \n \t\ttoken, err := llm.sample(pastTokens, &opts)\n \t\tswitch {\n-\t\tcase err != nil:\n-\t\t\treturn err\n \t\tcase errors.Is(err, io.EOF):\n \t\t\treturn nil\n+\t\tca...
2023-07-12T16:35:56
nodejs/node
34d125f16c77b953d002ab313aa029ac46d83c87
af171b7ba2934c5ffd6bc2d253bed0e46904d5d3
deps: c-ares float, win ipv6 bad fec0 prefix Was 72c5458aee: PR-URL: https://github.com/nodejs/node/pull/5090 Reviewed-By: Fedor Indutny <fedor@indutny.com> Reimplemented for c-ares 1.13.0 PR-URL: https://github.com/nodejs/node/pull/15378 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgew...
[ { "path": "deps/cares/src/ares_init.c", "patch": "@@ -1196,6 +1196,11 @@ static int get_DNS_AdaptersAddresses(char **outptr)\n }\n else if (namesrvr.sa->sa_family == AF_INET6)\n {\n+ /* Windows apparently always reports some IPv6 DNS servers that\n+ * prefixed with fec0:0:0:...
2013-05-15T19:25:11
ggml-org/llama.cpp
7ca5991d2b7238ab04bc3dca9c2a9b92f4548238
b3e3060f4e20030438d6281035abf7d624f728c7
ggml webgpu: add support for emscripten builds (#17184) * Faster tensors (#8) Add fast matrix and matrix/vector multiplication. * Use map for shader replacements instead of pair of strings * Wasm (#9) * webgpu : fix build on emscripten * more debugging stuff * test-backend-ops: force single thread on wasm * fix...
[ { "path": ".github/workflows/build.yml", "patch": "@@ -547,6 +547,46 @@ jobs:\n # This is using llvmpipe and runs slower than other backends\n ctest -L main --verbose --timeout 3600\n \n+ ubuntu-24-wasm-webgpu:\n+ runs-on: ubuntu-24.04\n+\n+ steps:\n+ - name: Clone\n+ ...
2025-12-03T09:25:34
huggingface/transformers
0e4a1c3401421d3342938a183c7b021cdac6fd79
53d891247bd45f316d3d710c64b54964bea14a64
Cohere Model Release (#29622) * Cohere Model Release (#1) Cohere Model Release * Remove unnecessary files and code (#2) Some cleanup * Delete cohere-model directory (#3) * Make Fix (#5) * Pr fixes (#6) * fixes for pr * pr fixes for the format * pr fixes for the format * src/transformers/m...
[ { "path": "README.md", "patch": "@@ -331,6 +331,7 @@ Current number of checkpoints: ![](https://img.shields.io/endpoint?url=https://h\n 1. **[CLVP](https://huggingface.co/docs/transformers/model_doc/clvp)** released with the paper [Better speech synthesis through scaling](https://arxiv.org/abs/2305.07243) b...
2024-03-15T13:29:11
golang/go
5698ec36a86afcba0f7fe06e97e4cd5deaabe3f9
f3a29d3a34c498954c6d80059f3ba7d5ffbb46d9
[dev.link] cmd/link: dump symbol info on crash under -v If the linker panics, it usually helps dumping all symbols' information for debugging. Do it under -v. Change-Id: I66f9e32a0133e763a631f17a218dcdc805c5df2f Reviewed-on: https://go-review.googlesource.com/c/go/+/242078 Run-TryBot: Cherry Zhang <cherryyz@google.co...
[ { "path": "src/cmd/link/internal/ld/main.go", "patch": "@@ -136,6 +136,11 @@ func Main(arch *sys.Arch, theArch Arch) {\n \n \tobjabi.Flagparse(usage)\n \n+\tif ctxt.Debugvlog > 0 {\n+\t\t// dump symbol info on crash\n+\t\tdefer func() { ctxt.loader.Dump() }()\n+\t}\n+\n \tswitch *flagHeadType {\n \tcase \"\...
2020-07-10T22:53:12
rust-lang/rust
93925809eb2f4be76c7babcc7cdb73d10ef977bd
aca5b5dd5260d4e2c1bf584fc6ba36b5fba239cb
Replace some instances of `pub` with `pub(crate)` The recent fixes to private dependencies exposed some cases in the UEFI module where private dependencies are exposed in a public interface. These do not need to be crate-public, so change them to `pub(crate)`.
[ { "path": "library/std/src/sys/pal/uefi/process.rs", "patch": "@@ -388,7 +388,7 @@ mod uefi_command_internal {\n }\n }\n \n- pub fn start_image(&mut self) -> io::Result<r_efi::efi::Status> {\n+ pub(crate) fn start_image(&mut self) -> io::Result<r_efi::efi::Status> {\n ...
2025-01-30T02:52:39