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
a01267265ac8f0c10a8a4d78015c9744352ae003
3c62f33d7ba0f0ec6124d5dc721811808803b8b7
src: remove `ClearFatalExceptionHandlers()` At its call sites, `ClearFatalExceptionHandlers()` was used to make the process crash as soon as possible once an exception occurred, without giving JS land a chance to interfere. `ClearFatalExceptionHandlers()` awkwardly removed the current domain and any `uncaughtExceptio...
[ { "path": "src/async_wrap.cc", "patch": "@@ -140,7 +140,7 @@ RetainedObjectInfo* WrapperInfo(uint16_t class_id, Local<Value> wrapper) {\n static void DestroyAsyncIdsCallback(Environment* env, void* data) {\n Local<Function> fn = env->async_hooks_destroy_function();\n \n- TryCatch try_catch(env->isolate()...
2017-11-27T00:31:24
ollama/ollama
8800c8a59b3175b096a6e22c1ee58b3e5344ee0c
b4dce13309d3dd185939a6a7705f31beb36499e3
chore: fix typo in docs (#4536)
[ { "path": "docs/troubleshooting.md", "patch": "@@ -86,7 +86,7 @@ OLLAMA_TMPDIR=/usr/share/ollama/\n \r\n ## Container fails to run on NVIDIA GPU\r\n \r\n-Make sure you've set up the conatiner runtime first as described in [docker.md](./docker.md)\r\n+Make sure you've set up the container runtime first as de...
2024-05-20T21:19:03
ggml-org/llama.cpp
e2eb39e81cbd43ff95dfc46bddb5155b582ccdfd
abf9a62161f232cfb88509005d2e6b65774d9a3e
ci : bump ty to 0.0.26 (#21156) * fix incorrect type ignore comments * bump ty to 0.0.26
[ { "path": ".github/workflows/python-type-check.yml", "patch": "@@ -31,7 +31,7 @@ jobs:\n uses: actions/setup-python@v6\n with:\n python-version: \"3.11\"\n- pip-install: -r requirements/requirements-all.txt ty==0.0.24\n+ pip-install: -r requirements/requirements-a...
2026-03-30T07:29:15
huggingface/transformers
72fb02c47dbbe1999ae105319f24631cad6e2e00
691586b0dcd503afb2a7fc878a408f086e46288b
Fixed `log messages` that are resulting in TypeError due to too many arguments (#32017) * Fixed log messages that are resulting in TypeErrors due to too many arguments. * Removed un-necessary imports.
[ { "path": "examples/flax/text-classification/run_flax_glue.py", "patch": "@@ -484,7 +484,7 @@ def main():\n label_to_id = {i: label_name_to_id[label_list[i]] for i in range(num_labels)}\n else:\n logger.warning(\n- \"Your model seems to have been trained with l...
2024-07-17T09:56:44
nodejs/node
597b3d1941b09d20781b56c6f154cd39acb8dcb0
6c470330248c7df02ef90e7278f6a11b8b6a43f8
module: print better message on esm syntax error Include the offending line in the output and underline the bad token. Before this commit, it printed "SyntaxError: Unexpected reserved word" without indicating where the syntax error is. Now it prints the line and underlines the offending token, like it does for synta...
[ { "path": ".eslintignore", "patch": "@@ -3,6 +3,7 @@ lib/internal/v8_prof_polyfill.js\n lib/punycode.js\n test/addons/??_*\n test/fixtures\n+test/message/esm_display_syntax_error.mjs\n tools/eslint\n tools/icu\n tools/remark-*", "additions": 1, "deletions": 0, "language": "Unknown" }, { ...
2017-11-24T00:50:28
golang/go
f42bd50779dea8d8e46de14e2f00cfe716f52d6d
ceda58bfd0d79830e400196e6667ca1fde1977c2
[dev.boringcrypto] crypto/internal/boring: update BoringCrypto module to certificate 3678 Replace the chroot scaffolding with Docker, which brings its own caching and works on macOS. Fixes #40188 Change-Id: I5c96417932e952cbaf1e2991d131c1d5dd7d9921 Reviewed-on: https://go-review.googlesource.com/c/go/+/263997 Review...
[ { "path": "README.boringcrypto.md", "patch": "@@ -2,13 +2,13 @@\n \n We have been working inside Google on a fork of Go that uses\n BoringCrypto (the core of [BoringSSL][]) for various crypto\n-primitives, in furtherance of some [work related to FIPS 140-2][3318].\n+primitives, in furtherance of some [work ...
2020-10-20T17:52:21
ggml-org/llama.cpp
abf9a62161f232cfb88509005d2e6b65774d9a3e
7c203670f8d746382247ed369fea7fbf10df8ae0
server: wrap headers for mcp proxy (#21072) * server: wrap headers for mcp proxy * Update tools/server/server-cors-proxy.h Co-authored-by: Georgi Gerganov <ggerganov@gmail.com> * fix build * chore: update webui build output * chore: update webui build output --------- Co-authored-by: Georgi Gerganov <ggerganov@...
[ { "path": "tools/server/server-cors-proxy.h", "patch": "@@ -32,13 +32,22 @@ static server_http_res_ptr proxy_request(const server_http_req & req, std::strin\n \n SRV_INF(\"proxying %s request to %s://%s:%i%s\\n\", method.c_str(), parsed_url.scheme.c_str(), parsed_url.host.c_str(), parsed_url.port, parse...
2026-03-30T06:59:16
ggml-org/llama.cpp
f5d1c4179fedf726bec744d3125a55df8d02496a
2405d59cb613f7b9f98ecbc9eb25f8a45188ee06
hexagon: dma optimizations (mostly fixing regressions) (#21137) * hex-fa: add simple dma cache for Mask I noticed that we were refetch the mask rows over and over. This simple cache avoids that. * hex-dma: unset in-order desc bit which caused signficant perf regression We don't rely on true in order processing of t...
[ { "path": "ggml/src/ggml-hexagon/htp/flash-attn-ops.c", "patch": "@@ -346,6 +346,9 @@ static void flash_attn_ext_f16_thread(unsigned int nth, unsigned int ith, void *\n \n const HVX_Vector logit_cap = hvx_vec_splat_f32(factx->logit_softcap);\n \n+ dma_cache m_cache;\n+ dma_cache_init(&m_cache, spa...
2026-03-29T13:40:13
ollama/ollama
02b31c9dc803e6c14a0d781d276f179b6c34d6f2
5bece945090b94a3f1eab03be48fb6f6b25e1e79
Don't return error on signal exit
[ { "path": "server/routes.go", "patch": "@@ -1086,7 +1086,7 @@ func Serve(ln net.Listener) error {\n \t\treturn err\n \t}\n \t<-ctx.Done()\n-\treturn err\n+\treturn nil\n }\n \n func waitForStream(c *gin.Context, ch chan interface{}) {", "additions": 1, "deletions": 1, "language": "Go" } ]
2024-05-16T23:25:38
huggingface/transformers
691586b0dcd503afb2a7fc878a408f086e46288b
24cfcc2114b5daf6ca1cce6e838ee9aa17096e62
Fix tests skip (#32012) * [run-slow] clip * [run-slow] clip * Fix skip -> skipTest * [run-slow] clip
[ { "path": "tests/models/big_bird/test_modeling_big_bird.py", "patch": "@@ -716,7 +716,7 @@ def test_block_sparse_attention_probs(self):\n \"\"\"\n \n if not self.test_attention_probs:\n- self.skip(\"test_attention_probs is set to False\")\n+ self.skipTest(\"test_attenti...
2024-07-17T07:37:43
ggml-org/llama.cpp
65097181e4c8358e7b570b48a2ae7b759f12bf26
98ae0a0d3600f08fbd8d938bc8de0436755e50c3
fix **/x glob matching (#21129)
[ { "path": "common/common.cpp", "patch": "@@ -703,7 +703,6 @@ static inline bool glob_match(const char * pattern, const char * str) {\n }\n if (pattern[0] == '*' && pattern[1] == '*') {\n const char * p = pattern + 2;\n- if (*p == '/') p++;\n if (glob_match(p, str)) return true...
2026-03-28T21:27:38
golang/go
06538fa723fc358462c5d7ae385b5b64ac76827b
67bf1c9979180da6dba7dd523df7d7917fe04048
cmd/go/internal/modget: resolve paths at the requested versions Previously, we resolved each argument to 'go get' to a package path or module path based on what was in the build list at existing versions, even if the argument specified a different version explicitly. That resulted in bugs like #37438, in which we vari...
[ { "path": "doc/go1.16.html", "patch": "@@ -110,6 +110,16 @@ <h4 id=\"go-test\"><code>go</code> <code>test</code></h4>\n See <code>go</code> <code>help</code> <code>environment</code> for details.\n </p>\n \n+<h4 id=\"go-get\"><code>go</code> <code>get</code></h4>\n+\n+<p><!-- golang.org/cl/263267 -->\n+ ...
2020-09-18T16:10:58
nodejs/node
6c470330248c7df02ef90e7278f6a11b8b6a43f8
af78840b194528a147e4683aed27a320f9764ea5
build: fix test-v8 target Clean the deps/v8 directory before rebuilding node for the hash seed test. It is necessary to avoid the script added in [1] to use ignored files while generating `node-debug-support.cc`. [1]: https://github.com/nodejs/node/pull/14901 PR-URL: https://github.com/nodejs/node/pull/17269 Fixes: ...
[ { "path": "Makefile", "patch": "@@ -501,6 +501,7 @@ test-v8: v8\n --no-presubmit \\\n --shell-dir=$(PWD)/deps/v8/out/$(V8_ARCH).$(BUILDTYPE_LOWER) \\\n \t $(TAP_V8)\n+\tgit clean -fdxq -- deps/v8\n \t@echo Testing hash seed\n \t$(MAKE) test-hash-seed\n ", "additions": 1, "deletions":...
2017-11-23T07:47:20
ollama/ollama
5e46c5c43502ef6174dde00dbdd9008d8f713cd1
583c1f472cbc22bd4869bc5f774c7ac777deedc7
Updating software for read me (#4467) * Update README.md Added chat/moderation bot to list of software. * Update README.md Fixed link error.
[ { "path": "README.md", "patch": "@@ -391,6 +391,7 @@ See the [API documentation](./docs/api.md) for all endpoints.\n - [AI Telegram Bot](https://github.com/tusharhero/aitelegrambot) (Telegram bot using Ollama in backend)\n - [AI ST Completion](https://github.com/yaroslavyaroslav/OpenAI-sublime-text) (Sublim...
2024-05-16T20:55:14
rust-lang/rust
ce512c2e4d0dc72f0b7cd17896c2c4e4ea8acfe5
4374d5461e9a4041dcbd7413c79fced0bec333fc
Fix rust-analyzer for 16-bit fmt width and precision.
[ { "path": "src/tools/rust-analyzer/crates/hir-def/src/hir/format_args.rs", "patch": "@@ -137,7 +137,7 @@ pub enum FormatAlignment {\n #[derive(Clone, Debug, PartialEq, Eq)]\n pub enum FormatCount {\n /// `{:5}` or `{:.5}`\n- Literal(usize),\n+ Literal(u16),\n /// `{:.*}`, `{:.5$}`, or `{:a$}`,...
2025-02-12T17:17:28
ggml-org/llama.cpp
98ae0a0d3600f08fbd8d938bc8de0436755e50c3
3a14a542f5ce8666713c6e6ea44f7f3e01dd6e45
common/parser: fix handling of tool definition with missing properties key (#21128)
[ { "path": "common/chat-auto-parser-generator.cpp", "patch": "@@ -65,7 +65,7 @@ common_chat_params peg_generator::generate_parser(const common_chat_template &\n data.grammar = build_grammar([&](const common_grammar_builder & builder) {\n foreach_function(inputs.tools, [&](const json ...
2026-03-28T19:41:32
huggingface/transformers
24cfcc2114b5daf6ca1cce6e838ee9aa17096e62
4037a2b5b1278736e566aec12e169100275545ea
Chameleon: add model (#31534) * Chameleon model integration Co-authored-by: Jacob Kahn <jacobkahn1@gmail.com> Co-authored-by: Leonid Shamis <leonid.shamis@gmail.com> * fix 7B, again. mask away image tokens * Apply suggestions from code review Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.git...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -326,6 +326,8 @@\n title: CamemBERT\n - local: model_doc/canine\n title: CANINE\n+ - local: model_doc/chameleon\n+ title: chameleon\n - local: model_doc/codegen\n title: CodeGen\n - local: model_doc/c...
2024-07-17T05:41:43
golang/go
67bf1c9979180da6dba7dd523df7d7917fe04048
a19a4dcb987d010b5ed0cecc4b377382f42a6ecc
cmd/go/internal/modload: fix (*mvsReqs).Max when the second argument is the empty string As far as I can tell, this bug had gone unnoticed because everything that uses Max so far happened to only ever present the empty string as the first argument. For #37438 Change-Id: Ie8c42313157d2c2c17e4058c53b5bb026b95a1c1 Revi...
[ { "path": "src/cmd/go/internal/modload/mvs.go", "patch": "@@ -58,7 +58,7 @@ func (r *mvsReqs) Required(mod module.Version) ([]module.Version, error) {\n // be chosen over other versions of the same module in the module dependency\n // graph.\n func (*mvsReqs) Max(v1, v2 string) string {\n-\tif v1 != \"\" &&...
2020-10-31T01:00:41
nodejs/node
fea1e05ba5588eeedc670c5bcfff9a362874deed
ecbae568b7818ef056fc3fe9cc6e5502fb9c9269
module: rename internalModuleReadFile to internalModuleReadJSON PR-URL: https://github.com/nodejs/node/pull/17084 Fixes: https://github.com/nodejs/node/issues/17076 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "lib/module.js", "patch": "@@ -31,7 +31,7 @@ const fs = require('fs');\n const internalFS = require('internal/fs');\n const path = require('path');\n const {\n- internalModuleReadFile,\n+ internalModuleReadJSON,\n internalModuleStat\n } = process.binding('fs');\n const preserveSymlinks = !!pro...
2017-11-16T21:12:04
ollama/ollama
17b1e81ca13bc386be182fdc93d59d50e978fb85
f2cf97d6f111031a712881eccb5fbe90fac787c7
fixed width and word count for double spacing
[ { "path": "cmd/cmd.go", "patch": "@@ -25,7 +25,7 @@ import (\n \t\"time\"\n \n \t\"github.com/containerd/console\"\n-\n+\t\"github.com/mattn/go-runewidth\"\n \t\"github.com/olekukonko/tablewriter\"\n \t\"github.com/spf13/cobra\"\n \t\"golang.org/x/crypto/ssh\"\n@@ -739,25 +739,32 @@ type displayResponseStat...
2024-05-15T23:29:33
ggml-org/llama.cpp
e397d3885c40fac0b91bc2784c2d948a259de8a4
e6f2ec01ff808b60f80ffcb46c748f871576c8f3
common/json-schema: fix: handle non-capturing groups (?:...) in JSON schema pattern converter (#21124) The regex-to-grammar converter in _visit_pattern() crashes with SIGSEGV when a JSON schema "pattern" field contains a non-capturing group (?:...). Root cause: when the parser sees '(' followed by '?', it pushes a wa...
[ { "path": "common/json-schema-to-grammar.cpp", "patch": "@@ -416,15 +416,30 @@ class common_schema_converter {\n i++;\n } else if (c == '(') {\n i++;\n- if (i < length) {\n- if (sub_pattern[i] == '?') {\n+ ...
2026-03-28T16:55:38
huggingface/transformers
6f40a213eb10e38a5f242d0645519d413d32d798
e391706420934f6c87cebe9997fc85a757aa4353
Fix if else and *actually* enable superfast init (#32007) * Fix if else * rm err raise
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -349,7 +349,7 @@ def check_support_param_buffer_assignment(model_to_load, state_dict, start_prefi\n return False\n \n # Some models explicitly do not support param buffer assignment\n- if not getattr(model_to_load, \"_supports_param...
2024-07-16T18:35:57
golang/go
a19a4dcb987d010b5ed0cecc4b377382f42a6ecc
4a3339223c82b6d184d2fd990b996ed0b365653c
cmd/go/internal/mvs: in Upgrade, pass upgrades to buildList as upgrades This has no impact on the resulting build list, but provides clearer diagnostics if reqs.Required returns an error for one of the upgraded modules. For #37438 Change-Id: I5cd8f72a9b7b9a0b185e1a728f46fefbd2f09b4a Reviewed-on: https://go-review.go...
[ { "path": "src/cmd/go/internal/mvs/mvs.go", "patch": "@@ -108,19 +108,21 @@ func buildList(target module.Version, reqs Reqs, upgrade func(module.Version) (m\n \t\tnode := &modGraphNode{m: m}\n \t\tmu.Lock()\n \t\tmodGraph[m] = node\n-\t\tif v, ok := min[m.Path]; !ok || reqs.Max(v, m.Version) != v {\n-\t\t\t...
2020-10-31T02:13:51
rust-lang/rust
680e6f35bcd3f23b9f98e05a3c193405bb69c510
52f39ffe8320955868ce03eb22d9020c568472da
Fix diagnostics being cleared right after being received
[ { "path": "src/tools/rust-analyzer/crates/rust-analyzer/src/flycheck.rs", "patch": "@@ -401,7 +401,9 @@ impl FlycheckActor {\n package_id = package_id.as_ref().map(|it| &it.repr),\n \"diagnostic received\"\n );\n- ...
2025-03-10T09:43:28
nodejs/node
5ebcb7fcaff25e982d1d800f428682152ffa9298
093a87032984e3279ba585cdb935d4e5f92ebb68
doc: fix typo in stream.md PR-URL: https://github.com/nodejs/node/pull/17357 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
[ { "path": "doc/api/stream.md", "patch": "@@ -2229,7 +2229,7 @@ object mode has an interesting side effect. Because it *is* a call to\n However, because the argument is an empty string, no data is added to the\n readable buffer so there is nothing for a user to consume.\n \n-### `highWaterMark` discrepency a...
2017-11-27T20:33:36
ollama/ollama
d1692fd3e0b4a80ff55ba052b430207134df4714
5fa36a083351727e3264b8f3636d323671398a59
fix the cpu estimatedTotal memory + get the expiry time for loading models (#4461)
[ { "path": "llm/server.go", "patch": "@@ -89,6 +89,7 @@ func NewLlamaServer(gpus gpu.GpuInfoList, model string, ggml *GGML, adapters, pr\n \n \t\tcpuRunner = serverForCpu()\n \t\tgpuCount = 0\n+\t\t_, _, estimatedTotal = EstimateGPULayers(gpus, ggml, projectors, opts)\n \t} else {\n \t\tif gpus[0].Library ==...
2024-05-15T22:43:16
ggml-org/llama.cpp
edfb440a2f469ea3abaf397627bdc7d40b7777d8
3d66da1809651543001d37f2b6cb3a172adc2557
server : fix processing of multiple back-to-back mtmd chunks (#21107)
[ { "path": "tools/server/server-context.cpp", "patch": "@@ -2493,7 +2493,7 @@ struct server_context_impl {\n bool has_mtmd = false;\n \n // check if we should process the image\n- if (slot.prompt.n_tokens() < slot.task->n_tokens() && input_tokens[slo...
2026-03-28T14:27:36
huggingface/transformers
e391706420934f6c87cebe9997fc85a757aa4353
c22efa61968a6aad93709594583610482b689836
Fix gather when collecting 'num_input_tokens_seen' (#31974) * Move token count to device before gathering * Run 'make style; make quality'
[ { "path": "src/transformers/trainer.py", "patch": "@@ -2245,12 +2245,17 @@ def _inner_training_loop(\n \"a `main_input_name` attribute to the model class you are using.\"\n )\n else:\n- input_device = inputs[main_...
2024-07-16T18:35:10
golang/go
0c861724a05009a75eaa2a3f187101bd13a583b5
04b5b4f740a34a95a10253a0e34779bb259ec9c4
cmd/go/internal/modload: add structured errors for queries matching the main module For #37438 Change-Id: I7df80ae0917b0b4ecad98947da39ddf8554b07c7 Reviewed-on: https://go-review.googlesource.com/c/go/+/266717 Trust: Bryan C. Mills <bcmills@google.com> Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Go...
[ { "path": "src/cmd/go/internal/modload/query.go", "patch": "@@ -109,8 +109,8 @@ func queryProxy(ctx context.Context, proxy, path, query, current string, allowed\n \t}\n \n \tif path == Target.Path {\n-\t\tif query != \"latest\" {\n-\t\t\treturn nil, fmt.Errorf(\"can't query specific version (%q) for the mai...
2020-10-30T18:42:56
rust-lang/rust
c372c55f2b9fa1997619f7569e3a88b9d8a92024
87d5bf2b9287287f59f015558e090fbe35d5292b
Fix simd layout test
[ { "path": "src/tools/rust-analyzer/crates/hir-ty/src/layout/tests.rs", "patch": "@@ -342,7 +342,7 @@ fn simd_types() {\n check_size_and_align(\n r#\"\n #[repr(simd)]\n- struct SimdType(i64, i64);\n+ struct SimdType([i64; 2]);\n struct Goal(SimdType);...
2025-03-10T09:21:03
nodejs/node
093a87032984e3279ba585cdb935d4e5f92ebb68
973b8e0b151b2a54ef85001030374db6fce3e3cf
http2: use more descriptive names PR-URL: https://github.com/nodejs/node/pull/17328 Fixes: https://github.com/nodejs/node/issues/15303 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Sebastiaan Deckers <sebdeckers83@gmail.com>
[ { "path": "lib/internal/http2/core.js", "patch": "@@ -582,15 +582,15 @@ function doShutdown(options) {\n function submitShutdown(options) {\n const type = this[kType];\n debug(`Http2Session ${sessionName(type)}: submitting shutdown request`);\n- const fn = doShutdown.bind(this, options);\n+ const shut...
2017-11-26T20:02:14
ggml-org/llama.cpp
0eb4764182df1f031f92b4121f3bf8fbe8026565
1f5d15e6657c119251e2a2c2c69333660f8cb553
vulkan: add noncontiguous GLU support (#21081) * vulkan: add noncontiguous GLU support * fix compile issue
[ { "path": "ggml/src/ggml-vulkan/ggml-vulkan.cpp", "patch": "@@ -1112,6 +1112,16 @@ struct vk_op_glu_push_constants {\n uint32_t mode; // 0: default, 1: swapped, 2: split\n float alpha; // for swiglu_oai\n float limit;\n+ uint32_t nb01;\n+ uint32_t nb02;\n+ uint32_t nb03;\n+ uint32_t...
2026-03-28T07:44:56
huggingface/transformers
c22efa61968a6aad93709594583610482b689836
88e0813d8dde26b43a427c5d1a519f0e6ce3392f
Bug report update -- round 2 (#32006) * like this? * Update .github/ISSUE_TEMPLATE/bug-report.yml Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com> --------- Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>
[ { "path": ".github/ISSUE_TEMPLATE/bug-report.yml", "patch": "@@ -1,6 +1,17 @@\n name: \"\\U0001F41B Bug Report\"\n-description: Submit a bug report to help us improve transformers. Be sure to check our [bug report guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#did-you-find...
2024-07-16T18:22:45
golang/go
db8142fb8631df3ee56983cbc13db997c16f2f6f
8ab8125fbd70e439f677c37832a678e6ce1067d7
runtime: fix file references in hiter's comments The file "cmd/internal/gc/range.go" does not exist, but should be "cmd/compile/internal/gc/range.go". Change-Id: I26e5560b9d0b7eea8502c6b375e45fc87aed1276 GitHub-Last-Rev: 5f19dca7e9dab942a54257c5da05bce780744b19 GitHub-Pull-Request: golang/go#42391 Reviewed-on: https:...
[ { "path": "src/runtime/map.go", "patch": "@@ -162,8 +162,8 @@ type bmap struct {\n // If you modify hiter, also change cmd/compile/internal/gc/reflect.go to indicate\n // the layout of this structure.\n type hiter struct {\n-\tkey unsafe.Pointer // Must be in first position. Write nil to indicate i...
2020-11-05T08:27:55
nodejs/node
973b8e0b151b2a54ef85001030374db6fce3e3cf
5fe111a1d59076747e25af83e6929851ea59d691
http2: remove unnecessary event handlers PR-URL: https://github.com/nodejs/node/pull/17328 Fixes: https://github.com/nodejs/node/issues/15303 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Sebastiaan Deckers <sebdeckers83@gmail.com>
[ { "path": "lib/internal/http2/compat.js", "patch": "@@ -122,20 +122,6 @@ function onStreamDrain() {\n response.emit('drain');\n }\n \n-// TODO Http2Stream does not emit 'close'\n-function onStreamClosedRequest() {\n- const request = this[kRequest];\n- if (request !== undefined)\n- request.push(null...
2017-11-26T19:50:59
ollama/ollama
853ae490e162e8703fde5425fead1ea8da09fdcf
f2cf97d6f111031a712881eccb5fbe90fac787c7
Sanitize the env var debug log Only dump env vars we care about in the logs
[ { "path": "llm/server.go", "patch": "@@ -317,8 +317,22 @@ func NewLlamaServer(gpus gpu.GpuInfoList, model string, ggml *GGML, adapters, pr\n \t\t}\n \n \t\tslog.Info(\"starting llama server\", \"cmd\", s.cmd.String())\n-\t\t// Log at debug as the environment is inherited and might contain sensitive informat...
2024-05-15T21:42:57
ggml-org/llama.cpp
1f5d15e6657c119251e2a2c2c69333660f8cb553
c46758d28fa9846893f37e8cec03b73fee120604
common/parser: fix reasoning whitespace bugs + extra parser tests (#21085) * fix whitespace reasoning issues + add reconstruction tests * Proper fix * fix Nemotron autoparser test expectations to include newline in marker
[ { "path": "common/chat-diff-analyzer.cpp", "patch": "@@ -287,7 +287,7 @@ void analyze_reasoning::compare_reasoning_presence() {\n return p.literal(reasoning_content) + p.space() + p.optional(p.tag(\"post\", (p.marker() + p.space())) + p.rest());\n });\n auto parser_wrapped = buil...
2026-03-28T06:29:26
huggingface/transformers
88e0813d8dde26b43a427c5d1a519f0e6ce3392f
036d3de23d8d682f5436bc36f6653d90b411c764
fix: Fixed incorrect dictionary assignment in `src/transformers/__init__.py` (#31993) Fixed incorrect dictionary assignment.
[ { "path": "src/transformers/__init__.py", "patch": "@@ -1286,7 +1286,7 @@\n \"WhisperTimeStampLogitsProcessor\",\n ]\n )\n- _import_structure[\"modeling_flash_attention_utils\"]: []\n+ _import_structure[\"modeling_flash_attention_utils\"] = []\n _import_structure[\"modeling...
2024-07-16T16:28:14
golang/go
05568315f2ae8fb86112e63966b46c2dcc8ab6e2
3510a1e32cbc86b73db143aefcc00aadc44c27bd
go/types: simplify error messages for untyped value assignability CL 242083 corrected an inaccurate error message related to the assignability of untyped constant values. Previously the error message was of the form "cannot convert ... to ...", which is misleading when there is no explicit conversion in the syntax. Th...
[ { "path": "src/go/types/assignments.go", "patch": "@@ -45,14 +45,21 @@ func (check *Checker) assignment(x *operand, T Type, context string) {\n \t\t\ttarget = Default(x.typ)\n \t\t}\n \t\tif err := check.canConvertUntyped(x, target); err != nil {\n-\t\t\tvar internalErr Error\n-\t\t\tmsg := err.Error()\n+\t...
2020-11-03T22:54:24
ggml-org/llama.cpp
c46758d28fa9846893f37e8cec03b73fee120604
bf934f28db9da38d1ecfdd0380a94170c34f42ff
cli : add /glob command (#21084) * add /glob command * output error when max files reached * support globbing outside curdir
[ { "path": "common/common.cpp", "patch": "@@ -656,6 +656,38 @@ bool string_parse_kv_override(const char * data, std::vector<llama_model_kv_over\n return true;\n }\n \n+// simple glob: * matches non-/ chars, ** matches anything including /\n+static inline bool glob_match(const char * pattern, const char *...
2026-03-28T01:33:04
nodejs/node
5fe111a1d59076747e25af83e6929851ea59d691
1b99542ea49b302c7e13f16b81cd7420eb76fc2e
test: fixup test-http2-create-client-secure-session General improvements to test and verify that a secureConnect handler is present PR-URL: https://github.com/nodejs/node/pull/17328 Fixes: https://github.com/nodejs/node/issues/15303 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Sebastiaan Deckers...
[ { "path": "test/parallel/test-http2-create-client-secure-session.js", "patch": "@@ -20,10 +20,7 @@ function loadKey(keyname) {\n function onStream(stream, headers) {\n const socket = stream.session[kSocket];\n assert(headers[':authority'].startsWith(socket.servername));\n- stream.respond({\n- 'conte...
2017-11-26T19:40:50
rust-lang/rust
fa183ad8275db2523eac80ce2b2a2acb961064ee
55c658b242ca6bbd49eb33c01410b7fed7db4d6e
fix copy typo
[ { "path": "library/alloc/src/rc.rs", "patch": "@@ -1331,7 +1331,7 @@ impl<T: ?Sized> Rc<T> {\n /// same layout requirements specified in [`Rc::from_raw_in`][from_raw_in].\n /// The associated `Rc` instance must be valid (i.e. the strong count must be at\n /// least 1) for the duration of this me...
2025-03-10T08:46:18
huggingface/transformers
036d3de23d8d682f5436bc36f6653d90b411c764
89eec5cf2068cc871b094b60f66f19dd252cb6b3
add flash-attn deterministic option to flash-attn>=2.4.1 (#31961) * add flash-attn deterministic option to flash-attn>=2.4.1 * Add Missing Import * Fix ruff linting issues * Replace `is_flash_attn_greater_or_equal_2_41` with the existing `is_flash_attn_greater_or_equal` --------- Co-authored-by: jun.4 <...
[ { "path": "src/transformers/modeling_flash_attention_utils.py", "patch": "@@ -14,12 +14,13 @@\n # limitations under the License.\n \n import inspect\n+import os\n from typing import Optional, Tuple\n \n import torch\n import torch.nn.functional as F\n \n-from .utils import is_flash_attn_2_available\n+from ....
2024-07-16T15:55:41
ollama/ollama
f2cf97d6f111031a712881eccb5fbe90fac787c7
c344da4c5a09521fce0c825dcef4df1c155b150d
fix typo in modelfile generation (#4439)
[ { "path": "server/routes.go", "patch": "@@ -709,7 +709,7 @@ func GetModelInfo(req api.ShowRequest) (*api.ShowResponse, error) {\n \t}\n \n \tvar sb strings.Builder\n-\tfmt.Fprintln(&sb, \"# Modelfile generate by \\\"ollama show\\\"\")\n+\tfmt.Fprintln(&sb, \"# Modelfile generated by \\\"ollama show\\\"\")\n...
2024-05-14T22:34:29
ggml-org/llama.cpp
bf934f28db9da38d1ecfdd0380a94170c34f42ff
5c1a7b83550b4f1e0954007556f9b28f7db1a427
docker : fix and enable ARM64 image build (#20929) * CI: fix ARM64 image build error & enable compilation * Update .github/workflows/docker.yml Co-authored-by: Aaron Teo <taronaeo@gmail.com> * CI: revert ggml/src/ggml-cpu/CMakeLists.txt * Update .github/workflows/docker.yml Co-authored-by: Aaron Teo <taronaeo@gma...
[ { "path": ".devops/cpu.Dockerfile", "patch": "@@ -1,11 +1,13 @@\n-ARG UBUNTU_VERSION=22.04\n+ARG UBUNTU_VERSION=24.04\n \n FROM ubuntu:$UBUNTU_VERSION AS build\n \n ARG TARGETARCH\n \n RUN apt-get update && \\\n- apt-get install -y build-essential git cmake libssl-dev\n+ apt-get install -y gcc-14 g++-...
2026-03-28T00:45:09
golang/go
3510a1e32cbc86b73db143aefcc00aadc44c27bd
3ef8562c9c2c7f6897572b05b70ac936a99fd043
internal/cpu: fix and cleanup ARM64 cpu feature fields and options Remove all cpu features from the ARM64 struct that are not initialized to reduce cache lines used and to avoid those features being accidentially used without actual detection if they are present. Add missing option to mask the CPUID feature. Change-...
[ { "path": "src/internal/cpu/cpu.go", "patch": "@@ -57,30 +57,13 @@ var ARM struct {\n // The struct is padded to avoid false sharing.\n var ARM64 struct {\n \t_ CacheLinePad\n-\tHasFP bool\n-\tHasASIMD bool\n-\tHasEVTSTRM bool\n \tHasAES bool\n \tHasPMULL bool\n \tHasSHA1 ...
2020-11-05T04:59:34
huggingface/transformers
89eec5cf2068cc871b094b60f66f19dd252cb6b3
999981daf4acf21cd80d843ee5069123aadf4796
Bug report update (#31983)
[ { "path": ".github/ISSUE_TEMPLATE/bug-report.yml", "patch": "@@ -1,5 +1,5 @@\n name: \"\\U0001F41B Bug Report\"\n-description: Submit a bug report to help us improve transformers\n+description: Submit a bug report to help us improve transformers. Be sure to check our [bug report guidelines](https://github.c...
2024-07-16T15:51:05
nodejs/node
1b99542ea49b302c7e13f16b81cd7420eb76fc2e
df33d8d0b39be893ad7864cc5e1b65bc448ba1f4
http2: use 'close' event instead of 'streamClosed' PR-URL: https://github.com/nodejs/node/pull/17328 Fixes: https://github.com/nodejs/node/issues/15303 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Sebastiaan Deckers <sebdeckers83@gmail.com>
[ { "path": "doc/api/http2.md", "patch": "@@ -633,7 +633,7 @@ All [`Http2Stream`][] instances are destroyed either when:\n When an `Http2Stream` instance is destroyed, an attempt will be made to send an\n `RST_STREAM` frame will be sent to the connected peer.\n \n-Once the `Http2Stream` instance is destroyed,...
2017-11-25T21:02:16
ollama/ollama
c344da4c5a09521fce0c825dcef4df1c155b150d
0e331c7168ebc045d6ff61efecb138a57c9d3e96
fix keepalive for non-interactive mode (#4438)
[ { "path": "cmd/cmd.go", "patch": "@@ -905,14 +905,15 @@ func generate(cmd *cobra.Command, opts runOptions) error {\n \t}\n \n \trequest := api.GenerateRequest{\n-\t\tModel: opts.Model,\n-\t\tPrompt: opts.Prompt,\n-\t\tContext: generateContext,\n-\t\tImages: opts.Images,\n-\t\tFormat: opts.Format,\...
2024-05-14T22:17:04
ggml-org/llama.cpp
5c1a7b83550b4f1e0954007556f9b28f7db1a427
59d840209a5195c2f6e2e81b5f8339a0637b59d9
server : add custom socket options to disable SO_REUSEPORT (#21056) * server : add custom socket options to disable SO_REUSEPORT Signed-off-by: Adrien Gallouët <angt@huggingface.co> * Add --reuse-port $ strace -e trace=setsockopt,bind build/bin/llama-server -lv 2 --reuse-port setsockopt(3, SOL_TCP, TCP_NODE...
[ { "path": "common/arg.cpp", "patch": "@@ -2807,6 +2807,13 @@ common_params_context common_params_parser_init(common_params & params, llama_ex\n params.port = value;\n }\n ).set_examples({LLAMA_EXAMPLE_SERVER}).set_env(\"LLAMA_ARG_PORT\"));\n+ add_opt(common_arg(\n+ {\"--reu...
2026-03-28T00:12:43
rust-lang/rust
55c658b242ca6bbd49eb33c01410b7fed7db4d6e
c8a50720289378f735a0f6fc07cf5ee9dabab08c
fix ptr inconsistency in Rc Arc
[ { "path": "library/alloc/src/rc.rs", "patch": "@@ -1327,10 +1327,13 @@ impl<T: ?Sized> Rc<T> {\n ///\n /// # Safety\n ///\n- /// The pointer must have been obtained through `Rc::into_raw`, the\n- /// associated `Rc` instance must be valid (i.e. the strong count must be at\n+ /// The poi...
2025-03-10T08:39:38
huggingface/transformers
693cb828ff5e0e530db4f054092b6687439ede15
25e5e3fa56d73d07d6a1c46306a5f3f1fd862463
Fix bad test about slower init (#32002) Bronked main
[ { "path": "tests/utils/test_modeling_utils.py", "patch": "@@ -20,7 +20,6 @@\n import sys\n import tempfile\n import threading\n-import time\n import unittest\n import unittest.mock as mock\n import uuid\n@@ -895,28 +894,22 @@ def test_from_pretrained_low_cpu_mem_usage_functional(self):\n @require_usr_bi...
2024-07-16T14:33:05
golang/go
3ef8562c9c2c7f6897572b05b70ac936a99fd043
1e3b535b6eb7f13eb6d903f7998c384a36e9bba8
net/mail: avoid ParseDate confusion if day name includes "T" Fixes the check for RFC 5322 "obsolete time zone" to ensure that we correctly extract the entire date from the "T" of the implied time zone. Obsolete Time zones come in the form: * GMT * PST * MDT etc, as per Section 4.3 of RFC 5322, https://tools.ietf.org/...
[ { "path": "src/net/mail/message.go", "patch": "@@ -112,11 +112,25 @@ func ParseDate(date string) (time.Time, error) {\n \tif ind := strings.IndexAny(p.s, \"+-\"); ind != -1 && len(p.s) >= ind+5 {\n \t\tdate = p.s[:ind+5]\n \t\tp.s = p.s[ind+5:]\n-\t} else if ind := strings.Index(p.s, \"T\"); ind != -1 && le...
2020-05-26T21:14:08
nodejs/node
df33d8d0b39be893ad7864cc5e1b65bc448ba1f4
d4111d0286638ed97bd230dd38afc065d7b2017d
http2: reduce code duplication in settings PR-URL: https://github.com/nodejs/node/pull/17328 Fixes: https://github.com/nodejs/node/issues/15303 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Sebastiaan Deckers <sebdeckers83@gmail.com>
[ { "path": "lib/internal/http2/core.js", "patch": "@@ -661,6 +661,33 @@ function pingCallback(cb) {\n };\n }\n \n+function validateSettings(settings) {\n+ settings = Object.assign({}, settings);\n+ assertWithinRange('headerTableSize',\n+ settings.headerTableSize,\n+ ...
2017-11-25T20:44:07
ollama/ollama
798b107f19ed832d33a6816f11363b42888aaed3
6a1b4713658bc34d071af60e8e6420b6886b3d44
Fixed the API endpoint /api/tags when the model list is empty. (#4424) * Fixed the API endpoint /api/tags to return {models: []} instead of {models: null} when the model list is empty. * Update server/routes.go --------- Co-authored-by: Jeffrey Morgan <jmorganca@gmail.com>
[ { "path": "server/routes.go", "patch": "@@ -725,7 +725,7 @@ func (s *Server) ListModelsHandler(c *gin.Context) {\n \t\treturn\n \t}\n \n-\tvar models []api.ModelResponse\n+\tmodels := []api.ModelResponse{}\n \tif err := filepath.Walk(manifests, func(path string, info os.FileInfo, _ error) error {\n \t\tif !...
2024-05-14T18:18:10
huggingface/transformers
25e5e3fa56d73d07d6a1c46306a5f3f1fd862463
e0dfd7bcaf7ff0723085f23244a755cc2ed92466
[tests] fix deepspeed zero3 config for `test_stage3_nvme_offload` (#31881) fix config
[ { "path": "tests/deepspeed/test_deepspeed.py", "patch": "@@ -545,6 +545,7 @@ def test_stage3_nvme_offload(self):\n ds_config_zero3_dict = self.get_config_dict(ZERO3)\n ds_config_zero3_dict[\"zero_optimization\"][\"offload_optimizer\"] = nvme_config\n ds_config_zero3_dict[...
2024-07-16T14:11:37
ggml-org/llama.cpp
59d840209a5195c2f6e2e81b5f8339a0637b59d9
ff934e29bc1d102bb77418f4c83a79d954220753
common : inhibit lazy grammar sampler while reasoning is active (#20970) * common : inhibit grammar while reasoning budget is active * cont : update force_pos in accept * cont : fix tests * cont : tweak should apply logic * cont : return early not using grammar sampler * Add tests * cont : prevent backend sampli...
[ { "path": "common/reasoning-budget.cpp", "patch": "@@ -115,9 +115,11 @@ static void common_reasoning_budget_accept(struct llama_sampler * smpl, llama_to\n break;\n }\n case REASONING_BUDGET_FORCING:\n- // force_pos is advanced in apply(), not here.\n- // Thi...
2026-03-27T17:30:40
golang/go
1e3b535b6eb7f13eb6d903f7998c384a36e9bba8
c018eec1f3ab3af28dae0bdf588e25d5e2ba3418
syscall: expose bInheritHandles of CreateProcess Certain use cases require this parameter to be false. This includes spawning a child process in a different windows session than session 0. Docs regarding the behavior of this parameter to CreateProcess: https://docs.microsoft.com/en-us/windows/win32/api/processthreads...
[ { "path": "doc/go1.16.html", "patch": "@@ -378,6 +378,14 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n </dd>\n </dl><!-- runtime/debug -->\n \n+<dl id=\"syscall\"><dt><a href=\"/pkg/syscall/\">syscall</a></dt>\n+ <dd>\n+ <p><!-- CL 261917 -->\n+ <a href=\"/pkg/syscall/#S...
2020-10-21T18:45:03
nodejs/node
d4111d0286638ed97bd230dd38afc065d7b2017d
f3686f2a4dc017d998a057f7fa6107e36a721641
http2: general cleanups PR-URL: https://github.com/nodejs/node/pull/17328 Fixes: https://github.com/nodejs/node/issues/15303 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Sebastiaan Deckers <sebdeckers83@gmail.com>
[ { "path": "lib/internal/http2/core.js", "patch": "@@ -28,6 +28,8 @@ const { _connectionListener: httpConnectionListener } = require('http');\n const { createPromise, promiseResolve } = process.binding('util');\n const debug = util.debuglog('http2');\n \n+const kMaxFrameSize = (2 ** 24) - 1;\n+const kMaxInt ...
2017-11-25T16:26:46
huggingface/transformers
e0dfd7bcaf7ff0723085f23244a755cc2ed92466
03a3becc48f14a481b578c4d1c02273da9a1cc81
Speedup model init on CPU (by 10x+ for llama-3-8B as one example) (#31771) * 1,100%! * Clean * Don't touch DS * Experiment with dtype allocation * skip test_load_save_without_tied_weights test * A little faster * Include proper upscaling? * Fixup tests * Potentially skip? * Let's see if this...
[ { "path": "docs/source/en/main_classes/model.md", "patch": "@@ -40,6 +40,10 @@ for text generation, [`~generation.GenerationMixin`] (for the PyTorch models),\n - push_to_hub\n - all\n \n+Custom models should also include a `_supports_assign_param_buffer`, which determines if superfast init can apply...
2024-07-16T13:32:01
ollama/ollama
41ba3017fd74dfce9a3dc00160f29befec85a41b
8080fbce35dab9087c1bd9eb6e75f44facd006df
Fix OpenAI `finish_reason` values when empty (#4368)
[ { "path": "openai/openai.go", "patch": "@@ -107,9 +107,14 @@ func toChatCompletion(id string, r api.ChatResponse) ChatCompletion {\n \t\tModel: r.Model,\n \t\tSystemFingerprint: \"fp_ollama\",\n \t\tChoices: []Choice{{\n-\t\t\tIndex: 0,\n-\t\t\tMessage: Message{Role: r.Message.Role, ...
2024-05-11T22:31:41
ggml-org/llama.cpp
ee051c1e4e6ceddc2fa516eb067496328ac1a2dd
e6f6770515d4b5db2300f32ec6bb504e997774df
hexagon: support for IQ4_NL and MXFP4 (#21018) * ggml-hexagon: add IQ4_NL and MXFP4 HMX matmul support - Add IQ4_NL quantization type support to Hexagon backend (buffer set/get tensor repack, mul_mat, mul_mat_id dispatch) - Implement HVX IQ4_NL vec_dot kernels (1x1, 2x1, 2x2) with LUT-based 4-bit index to int8 kv...
[ { "path": "ggml/src/ggml-hexagon/ggml-hexagon.cpp", "patch": "@@ -1406,6 +1406,13 @@ static void ggml_backend_hexagon_buffer_set_tensor(ggml_backend_buffer_t buffer,\n repack_q8_0_q8x4x2(tensor, data, size);\n break;\n \n+ case GGML_TYPE_IQ4_NL:\n+ GGML_ASSERT(offse...
2026-03-27T16:22:41
golang/go
c018eec1f3ab3af28dae0bdf588e25d5e2ba3418
63fd764502e08d067293a93d6d1a566951255ce5
cmd/go: add GOVCS setting to control version control usage The go command runs commands like git and hg to download modules. In the past, we have had problems with security bugs in version control systems becoming security bugs in “go get”. The original modules draft design removed use of these commands entirely, say...
[ { "path": "src/cmd/go/alldocs.go", "patch": "@@ -49,10 +49,11 @@\n // \tmodules modules, module versions, and more\n // \tmodule-get module-aware go get\n // \tmodule-auth module authentication using go.sum\n-// \tmodule-private module configuration for non-public modules\n // \tpackages ...
2020-10-29T14:57:38
nodejs/node
f3686f2a4dc017d998a057f7fa6107e36a721641
0fb1e0768945fa5f4d232a77e3303d1e25e89a5f
http2: use correct connect event for TLS Socket PR-URL: https://github.com/nodejs/node/pull/17328 Fixes: https://github.com/nodejs/node/issues/15303 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Sebastiaan Deckers <sebdeckers83@gmail.com>
[ { "path": "lib/internal/http2/core.js", "patch": "@@ -707,7 +707,9 @@ class Http2Session extends EventEmitter {\n const setupFn = setupHandle(this, socket, type, options);\n if (socket.connecting) {\n this[kState].connecting = true;\n- socket.once('connect', setupFn);\n+ const connec...
2017-11-24T20:43:05
huggingface/transformers
03a3becc48f14a481b578c4d1c02273da9a1cc81
ac946aac257cadfa8264fa4a284cd0ea1061c5b5
Cambricon MLUs support SDPA and flash_attn (#31102) * add Cambricon MLUs support * fix mlu device rng state * up for quality check * up mlu to support fp16 * fix mlu device dependency error * fix mlu device dependency error * enable mlu device for bf16 * fix mlu device memory tracker * Cambrico...
[ { "path": "src/transformers/utils/import_utils.py", "patch": "@@ -329,6 +329,9 @@ def is_torch_sdpa_available():\n # NOTE: We require torch>=2.1 (and not torch>=2.0) to use SDPA in Transformers for two reasons:\n # - Allow the global use of the `scale` argument introduced in https://github.com/pytor...
2024-07-16T12:33:22
ggml-org/llama.cpp
ba38f3becce7d1283585c73d796eb47d72bbbd30
37f230dd7cff6732580bec976ca9e378af230d20
rpc : proper handling of data pointers to CPU buffers (#21030) The compute graph may contain tensors pointing to CPU buffers. In these cases the buffer address is serialized as 0 and sent over the wire. However, the data pointer is serialized as-is and this prevents proper validation on the server side. This patches f...
[ { "path": "ggml/src/ggml-rpc/ggml-rpc.cpp", "patch": "@@ -589,8 +589,10 @@ static rpc_tensor serialize_tensor(const ggml_tensor * tensor) {\n ggml_backend_buffer_t buffer = tensor->buffer;\n ggml_backend_rpc_buffer_context * ctx = (ggml_backend_rpc_buffer_context *)buffer->context;\n ...
2026-03-27T08:59:35
ollama/ollama
8080fbce35dab9087c1bd9eb6e75f44facd006df
ec14f6ceda63183987deb328686f85ad3194e7b0
fix `ollama create`'s usage string (#4362)
[ { "path": "cmd/cmd.go", "patch": "@@ -1050,7 +1050,7 @@ func NewCLI() *cobra.Command {\n \t\tRunE: CreateHandler,\n \t}\n \n-\tcreateCmd.Flags().StringP(\"file\", \"f\", \"Modelfile\", \"Name of the Modelfile (default \\\"Modelfile\\\")\")\n+\tcreateCmd.Flags().StringP(\"file\", \"f\", \"Modelfile\", \"N...
2024-05-11T21:47:49
nodejs/node
0fb1e0768945fa5f4d232a77e3303d1e25e89a5f
59ed40a8a6a53a8fadf882f1f491792c257b5a8d
test: mock the lookup function in parallel tests These tests should not make any DNS calls. The lookup would fail when the DNS requests are hijacked and time out instead of erroring out. PR-URL: https://github.com/nodejs/node/pull/17296 Refs: https://github.com/nodejs/help/issues/687 Reviewed-By: Refael Ackermann <re...
[ { "path": "test/parallel/test-http-client-req-error-dont-double-fire.js", "patch": "@@ -1,11 +1,21 @@\n 'use strict';\n+\n+// This tests that the error emitted on the socket does\n+// not get fired again when the 'error' event handler throws\n+// an error.\n+\n const assert = require('assert');\n const http...
2017-11-25T14:58:24
golang/go
63fd764502e08d067293a93d6d1a566951255ce5
fd841f65368906923e287afab91857043036459d
cmd/internal/obj: add prologue_end DWARF stmt for ppc64 This patch adds a prologue_end statement to the DWARF information for the ppc64 arch. Prologue end is used by the Delve debugger in order to determine where to set a breakpoint to avoid the stacksplit prologue. Updates #36612 Change-Id: Ifb16c1476fe716a0bf493c...
[ { "path": "src/cmd/internal/obj/ppc64/obj9.go", "patch": "@@ -32,6 +32,7 @@ package ppc64\n import (\n \t\"cmd/internal/obj\"\n \t\"cmd/internal/objabi\"\n+\t\"cmd/internal/src\"\n \t\"cmd/internal/sys\"\n )\n \n@@ -672,6 +673,7 @@ func preprocess(ctxt *obj.Link, cursym *obj.LSym, newprog obj.ProgAlloc) {\n...
2020-10-28T20:54:27
huggingface/transformers
ac946aac257cadfa8264fa4a284cd0ea1061c5b5
6fbea6d237cbdfc3c229cdadfa3c968cfb2d5142
Fix the incorrect permutation of gguf (#31788) * Fix the incorrect permutation of gguf * rename num_kv_heads Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.com> * add typing to num_kv_heads Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.com> * rename variables * refa...
[ { "path": "src/transformers/modeling_gguf_pytorch_utils.py", "patch": "@@ -14,6 +14,8 @@\n # See the License for the specific language governing permissions and\n # limitations under the License.\n \n+from typing import Optional\n+\n import numpy as np\n from tqdm import tqdm\n \n@@ -147,10 +149,11 @@ def l...
2024-07-16T06:20:34
nodejs/node
59ed40a8a6a53a8fadf882f1f491792c257b5a8d
cbaf59c5b9a6063ee384b848aeb0aceb89082179
test: add common.dns.errorLookupMock PR-URL: https://github.com/nodejs/node/pull/17296 Refs: https://github.com/nodejs/help/issues/687 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "test/common/README.md", "patch": "@@ -419,7 +419,26 @@ called before the callback is invoked.\n \n ## DNS Module\n \n-The `DNS` module provides a naïve DNS parser/serializer.\n+The `DNS` module provides utilities related to the `dns` built-in module.\n+\n+### errorLookupMock(code, syscall)\n+\n+*...
2017-11-25T14:58:05
golang/go
fd841f65368906923e287afab91857043036459d
5ed81a3d14aa4eda5de87d7fe074b4c913b58511
path/filepath: add WalkDir WalkDir is like Walk but can use ReadDir to read directories, instead of Readdirnames + Lstat on every entry, which is usually a significant performance improvement. (The Lstat can still happen if the walk function calls d.Info.) Fixes #42027. Change-Id: Ie11024b23be2656e320d41fd81ff0d8810...
[ { "path": "src/path/filepath/export_test.go", "patch": "@@ -5,3 +5,5 @@\n package filepath\n \n var LstatP = &lstat\n+\n+type DirEntryFromInfo = dirEntryFromInfo", "additions": 2, "deletions": 0, "language": "Go" }, { "path": "src/path/filepath/path.go", "patch": "@@ -336,25 +336,130...
2020-10-29T16:20:53
huggingface/transformers
556a4205f00594a852bdda237211a24cb09715a6
907500423d240cd660944960dd32a6d56d4ca693
fix: Fixed the arguments in `create_repo()` function call (#31947) * Fixed the arguments in create_repo() function call. * Formatted the code properly using ruff. * Formatted the code more clearly.
[ { "path": "src/transformers/commands/user.py", "patch": "@@ -185,7 +185,7 @@ def run(self):\n print(\"Abort\")\n exit()\n try:\n- url = create_repo(token, name=self.args.name, organization=self.args.organization)\n+ url = create_repo(repo_id=full...
2024-07-15T14:56:17
ollama/ollama
824ee5446f498092653e647fdef2167d28e33b4b
879e2caf8ccd93e4ff758089f50f985d3b470f4e
Fix envconfig unit test
[ { "path": "server/envconfig/config_test.go", "patch": "@@ -1,20 +1,20 @@\n package envconfig\n \n import (\n-\t\"os\"\n \t\"testing\"\n \n \t\"github.com/stretchr/testify/require\"\n )\n \n func TestConfig(t *testing.T) {\n-\tos.Setenv(\"OLLAMA_DEBUG\", \"\")\n+\tDebug = false // Reset whatever was loaded i...
2024-05-10T23:49:48
nodejs/node
1f5ee33dcb74202a0f29ed1ee2e941b36138f9b0
c2d738db8053a0e090aabbeeb088b34c3da7b7ad
module: fix for #17130 shared loader cjs dep PR-URL: https://github.com/nodejs/node/pull/17131 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Bradley Farias <brad...
[ { "path": "lib/internal/loader/ModuleRequest.js", "patch": "@@ -2,6 +2,7 @@\n \n const fs = require('fs');\n const internalCJSModule = require('internal/module');\n+const CJSModule = require('module');\n const internalURLModule = require('internal/url');\n const internalFS = require('internal/fs');\n const ...
2017-11-22T10:01:11
golang/go
5ed81a3d14aa4eda5de87d7fe074b4c913b58511
f532f19d94365d803e68568eb82d0dd19c81cc5b
cmd/asm: fix rlwnm reg,reg,const,reg encoding on ppc64 The wrong value for the first reg parameter was selected. Likewise the wrong opcode was selected. This should match rlwnm (rrr type), not rlwinm (irr type). Similarly, fix the optab matching rules so clrlslwi does not match reg,reg,const,reg arguments. This is ...
[ { "path": "src/cmd/asm/internal/asm/testdata/ppc64.s", "patch": "@@ -282,7 +282,9 @@ TEXT asmtest(SB),DUPOK|NOSPLIT,$0\n \tRLWMI $7, R3, $65535, R6 // 50663c3e\n \tRLWMICC $7, R3, $65535, R6 // 50663c3f\n \tRLWNM $3, R4, $7, R6 // 54861f7e\n+\tRLWNM R3, R4, $7, R6 // 5c861f...
2020-11-03T22:59:25
huggingface/transformers
454bc14d90ddf8eca69c6721a2dbd0af834804d0
a5c642fe7a1f25d3bdcd76991443ba6ff7ee34b2
fix: Removed a wrong key-word argument in `sigmoid_focal_loss()` function call (#31951) Removed a wrong key-word argument in sigmoid_focal_loss() function call.
[ { "path": "src/transformers/models/rt_detr/modeling_rt_detr.py", "patch": "@@ -2163,7 +2163,7 @@ def loss_labels_focal(self, outputs, targets, indices, num_boxes, log=True):\n target_classes[idx] = target_classes_original\n \n target = F.one_hot(target_classes, num_classes=self.num_classes +...
2024-07-15T09:05:08
ggml-org/llama.cpp
a308e584cae3fa8cee1d739a858a2d780f1de009
d0fa2c9fbb8414a509fc8c4f534ad3c03e591735
completion : Fix segfault on model load failure (#21049)
[ { "path": "tools/completion/completion.cpp", "patch": "@@ -146,13 +146,19 @@ int main(int argc, char ** argv) {\n \n ctx = llama_init->context();\n model = llama_init->model();\n- smpl = llama_init->sampler(0);\n \n if (ctx == NULL) {\n LOG_ERR(\"%s: error: unable to create context...
2026-03-27T08:01:13
nodejs/node
06ab6f2f13981babe71f3a9fe577bebc3c7cb5ac
8075d82ecf0677c52dfc246a4f888a1f46239a48
doc: improve assert documentation 1) Separate all loose and strict functions. 2) Stronger outline the used comparison rules in (not)deepStrictEqual 3) Fix SameValue comparison info PR-URL: https://github.com/nodejs/node/pull/17002 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gm...
[ { "path": "doc/api/assert.md", "patch": "@@ -104,7 +104,7 @@ assert.deepEqual(obj1, obj4);\n If the values are not equal, an `AssertionError` is thrown with a `message`\n property set equal to the value of the `message` parameter. If the `message`\n parameter is undefined, a default error message is assigne...
2017-11-13T18:44:30
golang/go
f532f19d94365d803e68568eb82d0dd19c81cc5b
e4b4e4b733624a4922741f13dcdaa493c01fe9fd
os: avoid nil returns from Readdirnames, Readdir, ReadDir The refactoring of this code while adding ReadDir stopped pre-allocating a 100-entry slice for the results. That seemed like a good idea in general, since many directories have nowhere near 100 entries, but it had the side effect of returning a nil slice for an...
[ { "path": "src/os/dir.go", "patch": "@@ -36,6 +36,12 @@ func (f *File) Readdir(n int) ([]FileInfo, error) {\n \t\treturn nil, ErrInvalid\n \t}\n \t_, _, infos, err := f.readdir(n, readdirFileInfo)\n+\tif infos == nil {\n+\t\t// Readdir has historically always returned a non-nil empty slice, never nil,\n+\t\...
2020-11-04T11:55:59
ggml-org/llama.cpp
9bcb4eff4d7e7755276645c767948c25c00481b8
6861f6509a2b5b3b1b21d04fc502ba55f1326a7d
metal : Fix dimension constraint violation in matmul2d descriptor (#21048) Updates Metal tensor API test probe to fix the dimension constraint violation in the matmul2d descriptor (at least one value must be a multiple of 16).
[ { "path": "ggml/src/ggml-metal/ggml-metal-device.m", "patch": "@@ -690,7 +690,7 @@ ggml_metal_device_t ggml_metal_device_init(int device) {\n \" auto tB = B.slice((int)tgid.x, 0); \\n\"\n \" \\n\"\n \" matmul2d< \\n\"\n- \"...
2026-03-27T07:05:21
ollama/ollama
074dc3b9d87f03de21a1c599caa5980d2a28f586
86f9b582d5d8ccd44ba6bb8daddea5774209ef7c
Integration fixes
[ { "path": "integration/concurrency_test.go", "patch": "@@ -217,7 +217,7 @@ func TestMultiModelStress(t *testing.T) {\n \t\t\tdefer wg.Done()\n \t\t\tfor j := 0; j < 3; j++ {\n \t\t\t\tslog.Info(\"Starting\", \"req\", i, \"iter\", j, \"model\", req[i].Model)\n-\t\t\t\tDoGenerate(ctx, t, client, req[i], resp[...
2024-05-10T21:13:26
rust-lang/rust
7ee9ce8480305fdb5362145f80d5a4abfe087d78
60da021da3574203f1e4ad37d8f01a0439f9b9e3
Fix `path` macro hygiene
[ { "path": "src/tools/rust-analyzer/crates/hir-expand/src/lib.rs", "patch": "@@ -5,6 +5,8 @@\n //! expansion.\n #![cfg_attr(feature = \"in-rust-tree\", feature(rustc_private))]\n \n+pub use intern;\n+\n pub mod attrs;\n pub mod builtin;\n pub mod change;", "additions": 2, "deletions": 0, "languag...
2025-03-10T06:19:14
nodejs/node
8075d82ecf0677c52dfc246a4f888a1f46239a48
f31cf569721e64486ac1593479fe73aadebf1883
test: add es6 module global leakage tests * created testing es6 module for global leakage tests * fixed a couple basic errors (vars -> lets, ...) * added globals leakage detection to es module tests * reversed whitespace change * whitespace change reversed PR-URL: https://github.com/nodejs/node/pull/16341 Reviewed-By...
[ { "path": "test/common/index.mjs", "patch": "@@ -0,0 +1,109 @@\n+// Flags: --experimental-modules\n+/* eslint-disable required-modules */\n+\n+import assert from 'assert';\n+\n+let knownGlobals = [\n+ Buffer,\n+ clearImmediate,\n+ clearInterval,\n+ clearTimeout,\n+ console,\n+ constructor, // Enumerab...
2017-10-17T18:34:27
huggingface/transformers
739a63166d30f35b77afda2f968974164b05f33b
8480fda6eec437e77d8548c215148cd6c11dab89
Generate: remove deprecated code due to `Cache` and `cache_position` being default (#31898) * tmp commit * shorter * nit * explicit kwargs * propagate changes * mass propagation with a few manual touches (let's see how CI behaves) * fix cacheless case * Update src/transformers/generation/utils.py ...
[ { "path": "src/transformers/generation/utils.py", "patch": "@@ -689,13 +689,14 @@ def _update_model_kwargs_for_generation(\n dim=-1,\n )\n \n- if (\n- model_kwargs.get(\"use_cache\", True)\n- and \"cache_position\" in model_kwargs\n- ...
2024-07-14T14:16:58
ggml-org/llama.cpp
6861f6509a2b5b3b1b21d04fc502ba55f1326a7d
1743d9805706fba86e89bff1de0b6410dd56252d
CANN: update docker images to 8.5.0 and improve CANN.md (#20801) * cann: update docker images to 8.5.0 - bump CANN base image from 8.3.rc2 to 8.5.0 - bump ASCEND_VERSION from 8.1.RC1.alpha001 to 8.5.0 Move to newer stable releases. * cann: update CANN.md * Update CANN.md to include BF16 support Added BF16 support...
[ { "path": ".devops/cann.Dockerfile", "patch": "@@ -4,7 +4,7 @@\n \n # Define the CANN base image for easier version updates later\n ARG CHIP_TYPE=910b\n-ARG CANN_BASE_IMAGE=quay.io/ascend/cann:8.3.rc2-${CHIP_TYPE}-openeuler24.03-py3.11\n+ARG CANN_BASE_IMAGE=quay.io/ascend/cann:8.5.0-${CHIP_TYPE}-openeuler24...
2026-03-27T00:53:00
huggingface/transformers
8480fda6eec437e77d8548c215148cd6c11dab89
7f79a97399bb52aad8460e1da2f36577d5dccfed
Fix `GenerationMixin.generate` compatibility with pytorch profiler (#31935) use torch.compiler.is_compiling() when possible
[ { "path": "src/transformers/utils/import_utils.py", "patch": "@@ -642,12 +642,8 @@ def is_torch_mlu_available(check_device=False):\n def is_torchdynamo_available():\n if not is_torch_available():\n return False\n- try:\n- import torch._dynamo as dynamo # noqa: F401\n \n- return...
2024-07-14T13:44:38
nodejs/node
f31cf569721e64486ac1593479fe73aadebf1883
e8a26e783e2e33514d44d8b2725d5f048e1314ce
test: Enable specifying flaky tests on fips Adds a way to mark a specified test as 'flaky' on fips compliant systems. Earlier, the ``tools/test.py`` script supported only 'mode', 'system' and 'arch' for test environment specification. This limits the ability to specify the behavior of tests and setting pre-determined...
[ { "path": "tools/test.py", "patch": "@@ -1410,6 +1410,9 @@ def BuildOptions():\n result.add_option('--abort-on-timeout',\n help='Send SIGABRT instead of SIGTERM to kill processes that time out',\n default=False, action=\"store_true\", dest=\"abort_on_timeout\")\n+ result.add_option(\"--type\"...
2017-10-16T21:39:30
ggml-org/llama.cpp
1743d9805706fba86e89bff1de0b6410dd56252d
7ca0c9cca72061806ae48c9a90ef1311b2259a2c
mtmd: fix "v.patch_embd" quant and unsupported im2col ops on Metal for deepseek-ocr (#21027) * mtmd: fix "v.patch_embd" quant and unsupported im2col ops on Metal for deepseek-ocr * Update src/llama-quant.cpp Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com> --------- Co-authored-by: Sigbjørn Skjæret <...
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -7150,6 +7150,8 @@ def tensor_force_quant(self, name, new_name, bid, n_dims):\n return gguf.GGMLQuantizationType.F32\n if \".rel_pos_h\" in name or '.rel_pos_w' in name:\n return gguf.GGMLQuantizationType.F32\n+ if \".nec...
2026-03-26T23:07:55
huggingface/transformers
7f79a97399bb52aad8460e1da2f36577d5dccfed
d1a1bcf56aeb8593b9cc613b21422e6311875599
fix prompt strip to support tensors and np arrays (#27818) * fix prompt strip to support tensors and np arrays * framework agnostic * change logic check before converting prompt into list Co-authored-by: Sanchit Gandhi <93869735+sanchit-gandhi@users.noreply.github.com> * adding _convert_to_list to tokeniza...
[ { "path": "src/transformers/models/whisper/tokenization_whisper.py", "patch": "@@ -851,9 +851,16 @@ def get_prompt_ids(self, text: str, return_tensors=\"np\"):\n batch_encoding.convert_to_tensors(tensor_type=return_tensors)\n return batch_encoding[\"input_ids\"]\n \n- @staticmethod\n- ...
2024-07-12T19:07:10
nodejs/node
e8a26e783e2e33514d44d8b2725d5f048e1314ce
0319a5e1805bf7728d6116990cb9b7f00f726653
lib: add `process` to internal module wrapper Share `process` through the module wrapper rather than relying on nobody messing with `global.process`. PR-URL: https://github.com/nodejs/node/pull/17198 Fixes: https://github.com/nodejs/node/issues/6802 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M...
[ { "path": "lib/internal/bootstrap_node.js", "patch": "@@ -608,7 +608,7 @@\n };\n \n NativeModule.wrapper = [\n- '(function (exports, require, module, internalBinding) {',\n+ '(function (exports, require, module, internalBinding, process) {',\n '\\n});'\n ];\n \n@@ -627,7 +627,7 @@\n co...
2017-11-21T18:24:09
golang/go
3a1d84b393e4192c413a45824304381625c09fbc
594b4a3bfef24ed207e058fb522ed51e65cb93bf
cmd/go/internal/modfetch/codehost: add support for new fossil info hash prefix A recent update of the Fossil SCM application changes the line prefix when the fossil info command is used. Instead of the revision hash starting with "uuid:", it has been changed to "hash:". Fossil check-in introducing this change: https...
[ { "path": "src/cmd/go/internal/modfetch/codehost/vcs.go", "patch": "@@ -568,7 +568,7 @@ func bzrParseStat(rev, out string) (*RevInfo, error) {\n \n func fossilParseStat(rev, out string) (*RevInfo, error) {\n \tfor _, line := range strings.Split(out, \"\\n\") {\n-\t\tif strings.HasPrefix(line, \"uuid:\") {\n...
2020-11-03T20:26:17
ggml-org/llama.cpp
a73bbd5d92ee16f0dcdf5c7db90b319fa4ed022e
ded446b34c0cd803a0122446b848619adbb458cf
mtmd: refactor image preprocessing (#21031) * mtmd: refactor image pre-processing * correct some places * correct lfm2 * fix deepseek-ocr on server * add comment to clarify about mtmd_image_preprocessor_dyn_size
[ { "path": "tools/mtmd/CMakeLists.txt", "patch": "@@ -5,6 +5,7 @@ find_package(Threads REQUIRED)\n add_library(mtmd\n mtmd.cpp\n mtmd-audio.cpp\n+ mtmd-image.cpp\n mtmd.h\n mtmd-helper.cpp\n mtmd-helper.h", "additions": 1, "deleti...
2026-03-26T18:49:20
huggingface/transformers
aec1ca3a588bc6c65f7886e3d3eaa74901a6356f
c1e139c2b0ea6417b7306b3bff742f59b16f84e7
[Bug Fix] fix qa pipeline tensor to numpy (#31585) * fix qa pipeline * fix tensor to numpy
[ { "path": "src/transformers/pipelines/question_answering.py", "patch": "@@ -118,7 +118,7 @@ def select_starts_ends(\n max_answer_len (`int`): Maximum size of the answer to extract from the model's output.\n \"\"\"\n # Ensure padded tokens & question tokens cannot belong to the set of candida...
2024-07-11T21:22:26
nodejs/node
0319a5e1805bf7728d6116990cb9b7f00f726653
2219859675743f158c46178464b2db042a6b3294
tools: add lint fixer for `require-buffer` Adds `require-buffer` lint fixer. If the buffer module is not required while `Buffer` is used, require the `buffer` module. If the file has a `'use strict';` line, add the require after it on a separate line. If the file does not have any (currently impossible with the `stric...
[ { "path": "test/parallel/test-eslint-require-buffer.js", "patch": "@@ -12,15 +12,36 @@ const ruleTester = new RuleTester({\n const message = \"Use const Buffer = require('buffer').Buffer; \" +\n 'at the beginning of this file';\n \n+const useStrict = '\\'use strict\\';\\n\\n';\n+const buffer...
2017-11-20T01:22:28
golang/go
633f9e206045176a12c301eb2c249c1c1d9a5d2e
5ca43acdb3e27117e6994141e518b8d55e4d32aa
internal/poll: treat copy_file_range EIO as not-handled Fixes #42334 Change-Id: Ife51df4e7d2539a04393abfdec45e3f902975fca Reviewed-on: https://go-review.googlesource.com/c/go/+/266940 Trust: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Go Bot <gobot@go...
[ { "path": "src/internal/poll/copy_file_range_linux.go", "patch": "@@ -41,7 +41,7 @@ func CopyFileRange(dst, src *FD, remain int64) (written int64, handled bool, err\n \t\t\t// use copy_file_range(2) again.\n \t\t\tatomic.StoreInt32(&copyFileRangeSupported, 0)\n \t\t\treturn 0, false, nil\n-\t\tcase syscall....
2020-11-02T11:01:33
ggml-org/llama.cpp
f8d4abae86740bed849c1d2a664dc4f56e35ff0a
3d5acab3e774c3d30748d1e60093f19f0c80506e
convert : support Qwen3.5/Qwen3.5 Moe NVFP4 and add input scales (#20505) * convert : fix Qwen3.5 NVFP4 conversion * Updated copilot concerns and rebased * move into _LinearAttentionVReorderBase and simplify * --flake * new_name not needed * Added input_scale to gguf * Fixed input_scale addition as tensor * Add...
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -486,15 +486,15 @@ def dequant_packed(w: Tensor, scale: Tensor, shape_tensor: Tensor, zero_point: T\n elif quant_method == \"modelopt\":\n # Mixed-precision ModelOpt models: NVFP4 tensors are handled by\n # _generate...
2026-03-26T15:52:06
ollama/ollama
e03637176d90cc5e298e13dfd5e583b2989b3aee
c02db93243353855b983db2a1562a02b57e66db1
fix(routes): skip bad manifests
[ { "path": "server/routes.go", "patch": "@@ -735,24 +735,27 @@ func (s *Server) ListModelsHandler(c *gin.Context) {\n \n \t\t\tn := model.ParseNameFromFilepath(rel)\n \t\t\tif !n.IsValid() {\n-\t\t\t\tslog.Info(\"invalid model filepath\", \"path\", rel)\n+\t\t\t\tslog.Warn(\"bad manifest filepath\", \"path\"...
2024-05-10T00:44:34
huggingface/transformers
c1e139c2b0ea6417b7306b3bff742f59b16f84e7
574e68d554b1b52503e49708faa3cb88e86447fb
Adding hiera (#30356) * initialized Structure * Updated variable names * Added Config class, basic HF setup, convert_to_hf * Fixed Convert function, added hiera to HF files, Initilized test files * better naming for x in forward pass * Moved utils to hiera * Change hiera -> hiera_model * Fixed int...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -603,6 +603,8 @@\n title: FocalNet\n - local: model_doc/glpn\n title: GLPN\n+ - local: model_doc/hiera\n+ title: Hiera\n - local: model_doc/imagegpt\n title: ImageGPT\n - local: model_doc/levit\n@@ -6...
2024-07-11T21:13:56
nodejs/node
7dc24062fc786f9a6bf92c16c832cc55d13df2b0
6d1f8a31e4474f66cdee0ce19d8027569298b18a
build: add make lint-js-fix PR-URL: https://github.com/nodejs/node/pull/17283 Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Michaël Zasso <targos@protonmail.co...
[ { "path": "Makefile", "patch": "@@ -1031,6 +1031,13 @@ LINT_JS_CMD = tools/eslint/bin/eslint.js --cache \\\n \t--rulesdir=tools/eslint-rules --ext=.js,.mjs,.md \\\n \t$(LINT_JS_TARGETS)\n \n+lint-js-fix:\n+\t@if [ -x $(NODE) ]; then \\\n+\t\t$(NODE) $(LINT_JS_CMD) --fix; \\\n+\telse \\\n+\t\tnode $(LINT_JS_...
2017-11-24T02:50:19