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 |
|---|---|---|---|---|---|
golang/go | 5ca43acdb3e27117e6994141e518b8d55e4d32aa | 8eb846fd37eb7bded8a1cf6932be2c59069863e5 | runtime: allow physical page aligned stacks to be allocated
Add a physPageAlignedStack boolean which if set, results in over allocation
by a physical page, the allocation being rounded to physical page alignment
and the unused memory surrounding the allocation being freed again.
OpenBSD/octeon has 16KB physical pages... | [
{
"path": "src/runtime/mheap.go",
"patch": "@@ -44,6 +44,11 @@ const (\n \t// Must be a multiple of the pageInUse bitmap element size and\n \t// must also evenly divide pagesPerArena.\n \tpagesPerReclaimerChunk = 512\n+\n+\t// physPageAlignedStacks indicates whether stack allocations must be\n+\t// physical... | 2020-11-01T16:58:08 |
ggml-org/llama.cpp | 3d5acab3e774c3d30748d1e60093f19f0c80506e | 9900b29c3abc5fa0b70dd5a3a68696912250d69a | convert : add RuGPT3XL (RuGPT3XLForCausalLM) support (#21011)
* Support of ruGPT3XL model added
* Update convert_hf_to_gguf.py
Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com>
* Update convert_hf_to_gguf.py
Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com>
* Update convert_hf_to_gguf.py... | [
{
"path": "convert_hf_to_gguf.py",
"patch": "@@ -1311,6 +1311,9 @@ def get_vocab_base_pre(self, tokenizer) -> str:\n if chkhsh == \"b3d1dd861f1d4c5c0d2569ce36baf3f90fe8a102db3de50dd71ff860d91be3df\":\n # ref: https://huggingface.co/aari1995/German_Semantic_V3\n res = \"jina-v... | 2026-03-26T15:49:09 |
huggingface/transformers | 574e68d554b1b52503e49708faa3cb88e86447fb | 52585019a17f6033df64e6ad4222d22a1f993c61 | Allow `Trainer.get_optimizer_cls_and_kwargs` to be overridden (#31875)
* Change `Trainer.get_optimizer_cls_and_kwargs` to `self.`
* Make `get_optimizer_cls_and_kwargs` an instance method
* Fixing typo
* Revert `get_optimizer_cls_and_kwargs` to staticmethod
* restore newline to trainer.py eof | [
{
"path": "src/transformers/trainer.py",
"patch": "@@ -1079,7 +1079,7 @@ def create_optimizer(self):\n },\n ]\n \n- optimizer_cls, optimizer_kwargs = Trainer.get_optimizer_cls_and_kwargs(self.args, opt_model)\n+ optimizer_cls, optimizer_kwargs = self.get_opt... | 2024-07-11T21:13:06 |
ggml-org/llama.cpp | dc8d14c5821c4244800fbdf2baf84b0c801d6487 | 93dfbc1291406978bc0f565303e775a51a56f63e | fix(ggml): correct RISC-V ISA string canonical ordering for RVV in CMake (#20888)
Signed-off-by: ihb2032 <hebome@foxmail.com> | [
{
"path": "ggml/src/ggml-cpu/CMakeLists.txt",
"patch": "@@ -460,27 +460,32 @@ function(ggml_add_cpu_backend_variant_impl tag_name)\n endif()\n if(NOT GGML_CPU_ALL_VARIANTS)\n set(MARCH_STR \"rv64gc\")\n+ if (GGML_RVV)\n+ string(APPEND MARCH_STR \"v\")\n+... | 2026-03-26T11:08:41 |
rust-lang/rust | 97275d523ce22491fa5843596593414e58be4411 | 819f3c7c6761cca808f110b84b6b6fc9964cf265 | fix: `unnecessary_safety_comment` FP on desugared assign | [
{
"path": "clippy_lints/src/undocumented_unsafe_blocks.rs",
"patch": "@@ -312,6 +312,25 @@ fn expr_has_unnecessary_safety_comment<'tcx>(\n },\n _,\n ) => ControlFlow::Break(()),\n+ // `_ = foo()` is desugared to `{ let _ = foo(); }`\n+ hir::ExprKind::Block(\n+ ... | 2025-03-07T11:06:38 |
golang/go | e1b305af028544e00a22c905e68049c98c10a1cc | da7aa86917811a571e6634b45a457f918b8e6561 | strconv: revert ParseFloat/ParseComplex error on incorrect bitSize
This is a partial revert of https://go-review.googlesource.com/c/go/+/248219
because we found that a non-trivial amount of code erroneously calls
ParseFloat(s, 10) or even ParseFloat(s, 0) and expects it to work --
before that change was merged, ParseF... | [
{
"path": "src/strconv/atoc.go",
"patch": "@@ -40,10 +40,10 @@ func convErr(err error, s string) (syntax, range_ error) {\n // away from the largest floating point number of the given component's size,\n // ParseComplex returns err.Err = ErrRange and c = ±Inf for the respective component.\n func ParseComple... | 2020-11-03T21:13:42 |
huggingface/transformers | 52585019a17f6033df64e6ad4222d22a1f993c61 | 6a05f68f51ef620eb85b6f4f2681bf5bacf15ae7 | 🚨 fix(SigLip): remove spurious exclusion of first vision output token (#30952)
fix(SigLip): remove spurious exclusion of first vision output token in classifier | [
{
"path": "src/transformers/models/siglip/modeling_siglip.py",
"patch": "@@ -1527,7 +1527,7 @@ def forward(\n sequence_output = outputs[0]\n \n # average pool the patch tokens\n- sequence_output = torch.mean(sequence_output[:, 1:, :], dim=1)\n+ sequence_output = torch.mean(sequ... | 2024-07-11T18:40:57 |
ollama/ollama | cf442cd57e9e8cee1e56e4635520ced4926c0c33 | 0e1ba65855c7e63eb75c823526f4b023f835467a | fix typo | [
{
"path": "llm/server.go",
"patch": "@@ -218,7 +218,7 @@ func NewLlamaServer(gpus gpu.GpuInfoList, model string, ggml *GGML, adapters, pr\n \t\tif dir == \"\" {\n \t\t\t// Shouldn't happen\n \t\t\tfinalErr = fmt.Errorf(\"[%d] server %s not listed in available servers %v\", i, servers[i], availableServers)\n... | 2024-05-09T23:23:37 |
ggml-org/llama.cpp | 3cba8bba18462be32604a2c6a824cac400802587 | 112c78159f917c88ca08f74e67359599c3311829 | common : fix split model migration (#21019)
Sadly the manifest does not list all required files, i honestly thought
it was the case
Without the files listed we don't have the sha256, so if the first file
is valid, and all others have the correct size, then we can assume we
are good and do the migration...
Here my te... | [
{
"path": "common/hf-cache.cpp",
"patch": "@@ -325,9 +325,15 @@ hf_files get_repo_files(const std::string & repo_id,\n if (item[\"lfs\"].contains(\"oid\") && item[\"lfs\"][\"oid\"].is_string()) {\n file.oid = item[\"lfs\"][\"oid\"].get<std::string>();\n }\... | 2026-03-26T11:04:37 |
rust-lang/rust | 295c70ef03d442c608d0dda0c14c06598c034411 | 385970f0c1fd0c09bac426b02f38300c0b1ba9a2 | Fix O(tests) stack usage in edition 2024 mergeable doctests | [
{
"path": "src/librustdoc/doctest/runner.rs",
"patch": "@@ -45,11 +45,8 @@ impl DocTestRunner {\n self.crate_attrs.insert(line.to_string());\n }\n }\n- if !self.ids.is_empty() {\n- self.ids.push(',');\n- }\n self.ids.push_str(&format!(\n- ... | 2025-03-09T17:03:06 |
golang/go | 393f2bb067088cdbdb8d5848e6880b2ce65ddaf9 | 974def803ee9fd03a755014dcb62d55105c846f1 | cmd/dist,cmd/go,runtime: add support for cgo on linux/riscv64
Fixes #36641
Change-Id: I51868d83ce341d78d33b221d184c5a5110c60d14
Reviewed-on: https://go-review.googlesource.com/c/go/+/263598
Trust: Joel Sing <joel@sing.id.au>
Run-TryBot: Joel Sing <joel@sing.id.au>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by:... | [
{
"path": "misc/cgo/test/testdata/issue9400/asm_riscv64.s",
"patch": "@@ -0,0 +1,31 @@\n+// Copyright 2020 The Go Authors. All rights reserved.\n+// Use of this source code is governed by a BSD-style\n+// license that can be found in the LICENSE file.\n+\n+// +build riscv64\n+// +build !gccgo\n+\n+#include... | 2020-05-19T08:56:01 |
huggingface/transformers | 6a05f68f51ef620eb85b6f4f2681bf5bacf15ae7 | e314395277d784a34ee99526f48155d4d62cff3d | Generate: fix `SlidingWindowCache.reset()` (#31917)
fix sliding cache | [
{
"path": "src/transformers/cache_utils.py",
"patch": "@@ -971,13 +971,14 @@ def update(\n return k_out, v_out\n \n def get_max_length(self) -> Optional[int]:\n- # in theory there is no limit because the sliding window size is fixed\n- # no matter how long the sentence is\n+ ... | 2024-07-11T18:35:46 |
ggml-org/llama.cpp | 0fac87b157305eb82a70902327abffbbce25bd3e | 0a524f240456d7727570043f97757ea2c249003b | imatrix : fix crash when using --show-statistics with zero counts (#19532)
* imatrix: fix crash when using --show-statistics with zero counts
Fixes division by zero that caused floating point exceptions when processing imatrix files with zero count values. Added checks to skip zero counts and handle empty activation ... | [
{
"path": "tools/imatrix/imatrix.cpp",
"patch": "@@ -143,11 +143,20 @@ static void compute_statistics(std::vector<tensor_statistics> & tstats, const st\n activations.reserve(e.values.size());\n \n for (int i = 0; i < n_mat; ++i) {\n+ if (e.counts[i] == 0) {\n+ LOG_DBG(\"%s: skippin... | 2026-03-26T07:14:36 |
rust-lang/rust | 279377f87aa1871e1011366b6cf997cfa24e3d65 | 6a38322d2608a480b38da6efd926627950bc0537 | Fix pretty printing of parsed attrs in hir_pretty | [
{
"path": "compiler/rustc_attr_data_structures/src/lib.rs",
"patch": "@@ -125,7 +125,7 @@ macro_rules! print_tup {\n let ($t, $($ts),*) = self;\n let parens = print_tup!(num_should_render $t $($ts)*) > 1;\n if parens {\n- p.word(\"(\");\n+ ... | 2025-03-05T15:20:16 |
golang/go | cc0930cd1d200a126a3ae8ac3d1bea986cfc30fe | 45205bc47b88f49020edabed18f99153cadf718e | cmd/doc: adding validation before adding comment marker
Previous fix in issue #20929 for adding comment marker does
not check whether string field have // prefix or not.
This commit ensures string field does not contain // before adding
prefix to the line. Test also included in this commit.
Fixes #40992
Change-Id: I... | [
{
"path": "src/go/doc/comment.go",
"patch": "@@ -487,7 +487,7 @@ func (l *lineWrapper) write(text string) {\n \t\t\tl.out.Write(nl)\n \t\t\tl.n = 0\n \t\t\tl.pendSpace = 0\n-\t\t\tneedsPrefix = isComment\n+\t\t\tneedsPrefix = isComment && !strings.HasPrefix(f, \"//\")\n \t\t}\n \t\tif l.n == 0 {\n \t\t\tl.o... | 2020-08-27T23:39:43 |
nodejs/node | e98da3d0307b288f254e6e2dfcb3a7ce7bc4d555 | 6fc8765e4e4b5241fe17c55beaa77e23fa152045 | doc: fix typo occuring -> occurring
PR-URL: https://github.com/nodejs/node/pull/17350
Reviewed-By: Yosuke Furukawa <yosuke.furukawa@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Vse Mozhe... | [
{
"path": "doc/api/util.md",
"patch": "@@ -692,7 +692,7 @@ supported encodings or an alias.\n * Returns: {string}\n \n Decodes the `input` and returns a string. If `options.stream` is `true`, any\n-incomplete byte sequences occuring at the end of the `input` are buffered\n+incomplete byte sequences occurrin... | 2017-11-27T11:47:27 |
ollama/ollama | 3ae2f441e05af8e42f3030920b087b7c2e2afc7b | 83d6d46e29a8f83fd3e2830f66e7421071657dc2 | Fix race in shutdown logic
Ensure the runners are terminated | [
{
"path": "server/routes.go",
"patch": "@@ -1036,7 +1036,8 @@ func Serve(ln net.Listener) error {\n \t}\n \n \tctx, done := context.WithCancel(context.Background())\n-\tsched := InitScheduler(ctx)\n+\tschedCtx, schedDone := context.WithCancel(ctx)\n+\tsched := InitScheduler(schedCtx)\n \ts := &Server{addr: ... | 2024-05-09T22:47:02 |
ggml-org/llama.cpp | a970515bdb0b1d09519106847660b0d0c84d2472 | 056b50c319724ef4788da46c605673b94dc2374e | mtmd: Add DeepSeekOCR Support (#17400)
* mtmd: llama.cpp DeepSeekOCR support
init commit
* loading sam tensors
* mtmd: fix vision model processing
* deepseek-ocr clip-vit model impl
* mtmd: add DeepSeek-OCR LM support with standard attention
* mtmd: successfully runs DeepSeek-OCR LM in llama-cli
* mtmd: Fix RoPE... | [
{
"path": "convert_hf_to_gguf.py",
"patch": "@@ -947,6 +947,9 @@ def load_hparams(dir_model: Path, is_mistral_format: bool):\n if \"thinker_config\" in config:\n # rename for Qwen2.5-Omni\n config[\"text_config\"] = config[\"thinker_config\"][\"text_config\"]\n+ if \"l... | 2026-03-25T18:57:40 |
huggingface/transformers | e314395277d784a34ee99526f48155d4d62cff3d | ad4ef3a29055269c229a67dcb01364818d0f0fb1 | Refactor flash attention implementation in transformers (#31446)
* dumb commit
* nit
* update
* something like this
* unpack in modeling utils
* safe import
* oups
* update
* nits
* diff convert gemma
* update
* start propagating
* udpate other modeling code as well
* update for ... | [
{
"path": "src/transformers/__init__.py",
"patch": "@@ -1285,6 +1285,7 @@\n \"WhisperTimeStampLogitsProcessor\",\n ]\n )\n+ _import_structure[\"modeling_flash_attention_utils\"]: []\n _import_structure[\"modeling_outputs\"] = []\n _import_structure[\"modeling_utils\"] = [\... | 2024-07-11T12:37:31 |
golang/go | 45205bc47b88f49020edabed18f99153cadf718e | ebc1b8ef2854e7006349275bc3b2306022200bbc | os: export ErrProcessDone variable in windows and plan9
Exposes ErrProcessDone variable in windows and plan9
also returns this error code instead of
errors.New("os: process already finished")
Fixes #42311
Change-Id: Ie807b6526e7b6c27636e6bffe5ff0c904b319be4
GitHub-Last-Rev: 2153e0d7020d8ee9e94087d02977ea049b7fd6a0
G... | [
{
"path": "src/os/exec.go",
"patch": "@@ -5,6 +5,7 @@\n package os\n \n import (\n+\t\"errors\"\n \t\"internal/testlog\"\n \t\"runtime\"\n \t\"sync\"\n@@ -13,6 +14,9 @@ import (\n \t\"time\"\n )\n \n+// ErrProcessDone indicates a Process has finished.\n+var ErrProcessDone = errors.New(\"os: process already ... | 2020-11-01T04:43:20 |
rust-lang/rust | 5d6eeea5f969a5a3478de3904e9e02df68ce8b89 | 3ea711f17e3946ac3f4df11691584e2c56b4b0cf | doctests: fix merging on stable
Fixes #137898
The generated multi-test harness relies on nightly-only APIs,
so the only way to run it on stable is to enable them. Since
tests that use crate attrs don't be merged, there's no way to use
nightly-only features on it anyway. | [
{
"path": "src/librustdoc/doctest.rs",
"patch": "@@ -550,7 +550,12 @@ fn run_test(\n }\n \n compiler.arg(\"--edition\").arg(doctest.edition.to_string());\n- if !doctest.is_multiple_tests {\n+ if doctest.is_multiple_tests {\n+ // The merged test harness uses the `test` crate, so we need ... | 2025-03-02T21:33:29 |
ggml-org/llama.cpp | 056b50c319724ef4788da46c605673b94dc2374e | f2c72b8f1f39ee189b8f4c161532080dbe8608f1 | common : fix verbosity setup (#20989)
The verbosity threshold was set at the end of common_params_parse_ex(),
after doing many things (like downloading files..)
Signed-off-by: Adrien Gallouët <angt@huggingface.co> | [
{
"path": "common/arg.cpp",
"patch": "@@ -423,6 +423,9 @@ static bool parse_bool_value(const std::string & value) {\n static bool common_params_parse_ex(int argc, char ** argv, common_params_context & ctx_arg) {\n common_params & params = ctx_arg.params;\n \n+ // setup log directly from params.verbos... | 2026-03-25T18:41:01 |
nodejs/node | 6fc8765e4e4b5241fe17c55beaa77e23fa152045 | 1c1ef3c3b0b3a8b4b95c5d6b854364f53f120555 | test: fix flaky parallel/test-http2-client-upload
In parallel/test-http2-client-upload, the `client.destroy()`
call could terminate the connection before all data was sent
over the wire successfully.
Using `client.shutdown()` removes the flakiness.
Also, listen on `req.on('finish')` rather than the file stream’s
`en... | [
{
"path": "test/parallel/test-http2-client-upload.js",
"patch": "@@ -38,7 +38,7 @@ fs.readFile(loc, common.mustCall((err, data) => {\n function maybeClose() {\n if (--remaining === 0) {\n server.close();\n- client.destroy();\n+ client.shutdown();\n }\n }\n \n@@ -47,... | 2017-11-27T21:55:14 |
huggingface/transformers | ad4ef3a29055269c229a67dcb01364818d0f0fb1 | 1499a55008b46e3683316534670e1051ebb6f0e8 | Fix fx tests with inputs_embeds (#31862)
* fix tests
* [test_all] check
* address review comments | [
{
"path": "src/transformers/utils/fx.py",
"patch": "@@ -997,11 +997,23 @@ def _generate_dummy_input(\n )\n elif \"inputs_embeds\" in input_name:\n batch_size = shape[0]\n- sequence_length = shape[-1]\n \n- inputs_dict[input_name] = torch.zeros(\n- ... | 2024-07-11T12:14:03 |
golang/go | 3a76627df4f6bd38a3cfa21aeddcb871f6df1881 | 39a5ee52b9b41b1e4f4cf821c78ef5b7be68d181 | cmd/link: use internal linking for -race mode on darwin/arm64
The code I wrote in ldmacho.go in CL 266373 was plainly wrong. It
didn't carry rAdd over correctly. Fixed. Also added sign extension
(as ld64 does).
Internal linking with -race mode now works. Enable it.
Updates #38485.
Change-Id: I78aa949687bf6a09879130... | [
{
"path": "src/cmd/link/internal/ld/config.go",
"patch": "@@ -206,7 +206,7 @@ func mustLinkExternal(ctxt *Link) (res bool, reason string) {\n \t// When the race flag is set, the LLVM tsan relocatable file is linked\n \t// into the final binary, which means external linking is required because\n \t// interna... | 2020-11-01T20:28:21 |
ggml-org/llama.cpp | f2c72b8f1f39ee189b8f4c161532080dbe8608f1 | ec54ac13a8e3977b3a5cfe75ee841226049ee1aa | common : fix gguf selection in common_list_cached_models (#20996)
Signed-off-by: Adrien Gallouët <angt@huggingface.co> | [
{
"path": "common/download.cpp",
"patch": "@@ -454,7 +454,9 @@ static gguf_split_info get_gguf_split_info(const std::string & path) {\n std::smatch m;\n \n std::string prefix = path;\n- string_remove_suffix(prefix, \".gguf\");\n+ if (!string_remove_suffix(prefix, \".gguf\")) {\n+ return... | 2026-03-25T18:18:06 |
nodejs/node | 1c1ef3c3b0b3a8b4b95c5d6b854364f53f120555 | 5fdf02b1e5c539ae86a91c19ff8941d44d1225a9 | module: add builtinModules
Provides list of all builtin modules in Node.
Includes modules of all types:
- prefixed (ex: _tls_common)
- deprecated (ex: sys)
- regular (ex: vm)
PR-URL: https://github.com/nodejs/node/pull/16386
Refs: https://github.com/nodejs/node/issues/3307
Reviewed-By: Ruben Bridgewater <ruben@bridg... | [
{
"path": "doc/api/modules.md",
"patch": "@@ -817,6 +817,28 @@ The `module.require` method provides a way to load a module as if\n `module` is typically *only* available within a specific module's code, it must\n be explicitly exported in order to be used.\n \n+## The `Module` Object\n+\n+<!-- YAML\n+added:... | 2017-11-24T21:29:38 |
golang/go | 39a5ee52b9b41b1e4f4cf821c78ef5b7be68d181 | ac766e37182f36cd0a3247e44a4143d2d2132e42 | runtime: decouple consistent stats from mcache and allow P-less update
This change modifies the consistent stats implementation to keep the
per-P sequence counter on each P instead of each mcache. A valid mcache
is not available everywhere that we want to call e.g. allocSpan, as per
issue #42339. By decoupling these t... | [
{
"path": "src/runtime/mcache.go",
"patch": "@@ -50,10 +50,6 @@ type mcache struct {\n \t// in this mcache are stale and need to the flushed so they\n \t// can be swept. This is done in acquirep.\n \tflushGen uint32\n-\n-\t// statsSeq is a counter indicating whether this P is currently\n-\t// writing any st... | 2020-11-02T19:03:16 |
ggml-org/llama.cpp | ec54ac13a8e3977b3a5cfe75ee841226049ee1aa | 80322ebdaf8ab41fe3e66a17d7a4ec9360c54eac | ci : fix parsing of vgpr counts in hip-quality-check (#20987)
* scripts: hip: gcn-cdna-vgpr-check: fix parsing of vgpr counts when an amdclang Remark block is interlieved with another from a different process
* Return warning ignore
* obay pep8 inline double space before inline commets
* add # noqa: NP100 for other... | [
{
"path": ".github/workflows/hip-quality-check.yml",
"patch": "@@ -8,15 +8,17 @@ on:\n paths: [\n '.github/workflows/hip-quality-check.yml',\n '**/*.cu',\n- '**/*.cuh'\n+ '**/*.cuh',\n+ 'scripts/hip/gcn-cdna-vgpr-check.py'\n ]\n \n pull_request:\n types: [opened, syn... | 2026-03-25T18:00:37 |
huggingface/transformers | 1499a55008b46e3683316534670e1051ebb6f0e8 | 23d6d0cc0614146b49a3cbdbee318de193dd1f30 | Add warning message for beta and gamma parameters (#31654)
* Add warning message for and parameters
* Fix when the warning is raised
* Formatting changes
* Improve testing and remove duplicated warning from _fix_key | [
{
"path": "src/transformers/modeling_utils.py",
"patch": "@@ -104,6 +104,8 @@\n \n XLA_USE_BF16 = os.environ.get(\"XLA_USE_BF16\", \"0\").upper()\n XLA_DOWNCAST_BF16 = os.environ.get(\"XLA_DOWNCAST_BF16\", \"0\").upper()\n+PARAM_RENAME_WARNING = \"A parameter name that contains `{}` will be renamed internal... | 2024-07-11T12:01:47 |
nodejs/node | 4a7487b171d4e22a8e8879bd424f4f605d44abaf | cc7fe6032163d6980cef949b3eb854993c228a8f | build: fix bsd build with gcc
BSD build with GCC was broken because it was checking for the
llvm_version variable on common.gypi, even though llvm wasn't
installed (or needed).
PR-URL: https://github.com/nodejs/node/pull/16737
Fixes: https://github.com/nodejs/node/issues/16257
Reviewed-By: Ben Noordhuis <info@bnoordh... | [
{
"path": "common.gypi",
"patch": "@@ -418,7 +418,7 @@\n }],\n ['OS==\"freebsd\"', {\n 'conditions': [\n- ['llvm_version < \"4.0\"', {\n+ ['\"0\" < llvm_version < \"4.0\"', {\n # Use this flag because on FreeBSD std::pairs copy constructor is non-trivial.\n ... | 2017-11-04T00:57:18 |
ollama/ollama | 8cc0ee2efe39b5096ab5a86418d3c067b3474db6 | d5eec16d2311b244e93f89027c3b716adfabee70 | Doc container usage and workaround for nvidia errors | [
{
"path": "docs/README.md",
"patch": "@@ -6,7 +6,7 @@\n * [Importing models](./import.md)\n * [Linux Documentation](./linux.md)\n * [Windows Documentation](./windows.md)\n-* [Docker Documentation](https://hub.docker.com/r/ollama/ollama)\n+* [Docker Documentation](./docker.md)\n \n ### Reference\n ",
"ad... | 2024-05-09T15:49:40 |
ggml-org/llama.cpp | 44c51e526b1f51dd9906cb49858eac9722829a0c | 1922f87c2f753d8f6630050a7ce8292994c27356 | model : allow causal_attn and pooling_type on all architectures (#20973)
* models : allow causal_attn and pooling_type on all architectures
* fix: move location | [
{
"path": "src/llama-model.cpp",
"patch": "@@ -370,6 +370,8 @@ void llama_model::load_hparams(llama_model_loader & ml) {\n ml.get_key(LLM_KV_CONTEXT_LENGTH, hparams.n_ctx_train);\n ml.get_key(LLM_KV_EMBEDDING_LENGTH, hparams.n_embd);\n ml.get_key(LLM_KV_EMBEDDING_LENGTH_OUT, h... | 2026-03-25T17:12:38 |
golang/go | ac766e37182f36cd0a3247e44a4143d2d2132e42 | 4fcb5068f6aa907166535531862cfd4a3dec6be7 | runtime: make getMCache inlineable
This change moves the responsibility of throwing if an mcache is not
available to the caller, because the inlining cost of throw is set very
high in the compiler. Even if it was reduced down to the cost of a usual
function call, it would still be too expensive, so just move it out.
... | [
{
"path": "src/cmd/compile/internal/gc/inl_test.go",
"patch": "@@ -51,6 +51,7 @@ func TestIntendedInlining(t *testing.T) {\n \t\t\t\"funcPC\",\n \t\t\t\"getArgInfoFast\",\n \t\t\t\"getm\",\n+\t\t\t\"getMCache\",\n \t\t\t\"isDirectIface\",\n \t\t\t\"itabHashFunc\",\n \t\t\t\"noescape\",",
"additions": 1,... | 2020-11-02T16:58:38 |
huggingface/transformers | 23d6d0cc0614146b49a3cbdbee318de193dd1f30 | 2e48b3e8725326abd3e9cf82718f7d6debdd8297 | add gather_use_object arguments II (#31799)
* add gather_use_object arguments
* fix name and pass the CI test for Seq2SeqTrainer
* make style
* make it to functools
* fix typo
* add accelerate version:
* adding warning
* Update src/transformers/trainer.py
Co-authored-by: Marc Sun <57196510+SunM... | [
{
"path": "src/transformers/training_args.py",
"patch": "@@ -788,7 +788,7 @@ class TrainingArguments:\n Whether to perform a evaluation step (sanity check) before the training to ensure the validation steps works correctly.\n \n eval_use_gather_object (`bool`, *optional*, defaults to `Fa... | 2024-07-11T11:23:02 |
nodejs/node | cc7fe6032163d6980cef949b3eb854993c228a8f | 4ca4db0d4cd5eb3e7eb0dafdfef9ee3e9d091e0d | doc: caution against removing pseudoheaders
PR-URL: https://github.com/nodejs/node/pull/17329
Fixes: https://github.com/nodejs/node/issues/15312
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Refael Ackerman... | [
{
"path": "doc/api/http2.md",
"patch": "@@ -2127,6 +2127,18 @@ console.log(request.headers);\n \n See [Headers Object][].\n \n+*Note*: In HTTP/2, the request path, host name, protocol, and method are\n+represented as special headers prefixed with the `:` character (e.g. `':path'`).\n+These special headers w... | 2017-11-26T19:12:03 |
ggml-org/llama.cpp | 1922f87c2f753d8f6630050a7ce8292994c27356 | 345de3cd870ef363398f3c3cffb4f34b398770ff | snapdragon: add missing features to WoS scripts to achieve parity with ADB scripts (#20884)
* Add missing features to WoS scripts to achieve parity with ADB scripts
* Fix line-ending in run-mtmd.ps1
Signed-off-by: Max Krasnyansky <maxk@qti.qualcomm.com>
---------
Signed-off-by: Max Krasnyansky <maxk@qti.qualcomm.c... | [
{
"path": "scripts/snapdragon/windows/run-bench.ps1",
"patch": "@@ -20,6 +20,14 @@ if ($null -ne $env:V) {\n $env:GGML_HEXAGON_VERBOSE=$env:V\n }\n \n+if ($null -ne $env:E) {\n+ $env:GGML_HEXAGON_EXPERIMENTAL=$env:E\n+}\n+\n+if ($null -ne $env:PROF) {\n+ $env:GGML_HEXAGON_PROFILE=$env:PROF; $env:G... | 2026-03-25T16:43:12 |
golang/go | 05e6d28849293266028c0bc9e9b0f8d0da38a2e2 | 33d9251530eb368850cc2066adab7c0cb380f052 | runtime: default to MADV_DONTNEED on Linux
In Go 1.12, we changed the runtime to use MADV_FREE when available on
Linux (falling back to MADV_DONTNEED) in CL 135395 to address issue
#23687. While MADV_FREE is somewhat faster than MADV_DONTNEED, it
doesn't affect many of the statistics that MADV_DONTNEED does until
the... | [
{
"path": "src/runtime/extern.go",
"patch": "@@ -91,10 +91,10 @@ It is a comma-separated list of name=val pairs setting these named variables:\n \t\t# bytes memory allocated on the heap\n \t\t# allocs number of heap allocations\n \n-\tmadvdontneed: setting madvdontneed=1 will use MADV_DONTNEED\n-\tin... | 2020-11-01T22:48:42 |
huggingface/transformers | 2e48b3e8725326abd3e9cf82718f7d6debdd8297 | 48c20700e1aa220c7db5ba5d274f7b96dadd96a9 | fix: Fixed the `1st argument` name in classmethods (#31907)
Fixed the first argument name in few classmethods. | [
{
"path": "src/transformers/models/layoutlmv2/configuration_layoutlmv2.py",
"patch": "@@ -177,7 +177,7 @@ def __init__(\n )\n \n @classmethod\n- def get_default_detectron2_config(self):\n+ def get_default_detectron2_config(cls):\n return {\n \"MODEL.MASK_ON\": True,\n ... | 2024-07-11T11:11:50 |
nodejs/node | bb4462681cd2812d718897ca7ac8b8d48bca68f0 | ff59fd7a73f6e7811f82b025c606a48923417bc4 | test: fix isNAN->Number.isNAN
PR-URL: https://github.com/nodejs/node/pull/17309
Reviewed-By: Yosuke Furukawa <yosuke.furukawa@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Reviewed-By: Gireesh Punathil ... | [
{
"path": "test/parallel/test-writedouble.js",
"patch": "@@ -189,8 +189,8 @@ function test(clazz) {\n // Darwin ia32 does the other kind of NaN.\n // Compiler bug. No one really cares.\n assert(0x7F === buffer[15] || 0xFF === buffer[15]);\n- assert.ok(isNaN(buffer.readDoubleBE(0)));\n- assert.ok(is... | 2017-11-26T08:30:40 |
ggml-org/llama.cpp | 345de3cd870ef363398f3c3cffb4f34b398770ff | 9c600bcd4b3b21f70c9d95cf8a938e43192eb492 | Use docker in build-android.yml (#20928)
* use docker instead of SDK separately
* fix whitespaces
* Update .github/workflows/build-android.yml
Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com>
---------
Co-authored-by: Max Krasnyansky <maxk@qti.qualcomm.com>
Co-authored-by: Sigbjørn Skjæret <sigbjorn... | [
{
"path": ".github/workflows/build-android.yml",
"patch": "@@ -40,13 +40,9 @@ jobs:\n steps:\n - name: Clone\n uses: actions/checkout@v6\n-\n- # Disabled due to size (400MB) and always 0 cache hits\n- # - name: ccache\n- # uses: ggml-org/ccache-action@v1.2.16\n- # w... | 2026-03-25T16:36:27 |
huggingface/transformers | 48c20700e1aa220c7db5ba5d274f7b96dadd96a9 | f4ec7a286a5d5feb07875b5a45e1f153f5a58ada | Fix missing methods for Fuyu (#31880)
* add missing methods for FuyuForCausalLM
* fix a typo
* format code
* add missing tie_weights
* format code | [
{
"path": "src/transformers/models/fuyu/modeling_fuyu.py",
"patch": "@@ -168,6 +168,21 @@ def get_input_embeddings(self):\n def set_input_embeddings(self, value):\n self.language_model.set_input_embeddings(value)\n \n+ def get_output_embeddings(self):\n+ return self.language_model.get_... | 2024-07-11T10:01:46 |
ggml-org/llama.cpp | b2704f90282f55b647f3a3cc0849847c46aff5c2 | 3fab96cd045fc114e697df5643ae84bdb33cd6f7 | ci: Allow ninja to be used during unit test (#20742)
* Remove make dependency
* Added option to specify Ninja generator
* use ninja-build as default for several CI
* Revert "use ninja-build as default for several CI"
This reverts commit f552c4559b85e222aab37f654da764af4283fee7.
* changed use plain string rather t... | [
{
"path": ".github/workflows/build.yml",
"patch": "@@ -87,7 +87,7 @@ jobs:\n -DGGML_METAL_EMBED_LIBRARY=OFF \\\n -DGGML_METAL_SHADER_DEBUG=ON \\\n -DGGML_RPC=ON\n- cmake --build build --config Release -j $(sysctl -n hw.logicalcpu)\n+ time cmake --build b... | 2026-03-25T13:00:49 |
nodejs/node | c9b94ff79e9b907619a6c54537fe5d5ef1ccec6d | e4f5c63a6b584af1b01cf4aab52276832cfac324 | test: use common.crashOnUnhandledRejection
Add common.crashOnUnhandledRejection to
test/sequential/test-inspector-break-e.js
PR-URL: https://github.com/nodejs/node/pull/17242
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Anatoli Papirovski <apa... | [
{
"path": "test/sequential/test-inspector-break-e.js",
"patch": "@@ -2,6 +2,7 @@\n const common = require('../common');\n \n common.skipIfInspectorDisabled();\n+common.crashOnUnhandledRejection();\n \n const assert = require('assert');\n const { NodeInstance } = require('../common/inspector-helper.js');",
... | 2017-11-22T08:18:37 |
golang/go | cb65c8d58ac76abdaa6d14cc0742ca23d00ff524 | d5388e23b5c75bf8189b173051d24a0176a5a303 | syscall: switch go:generate directives back to mksyscall_windows.go
Adjust mksyscall_windows.go to activate module mode and set
-mod=readonly, and to suppress its own deprecation warning when run
from within GOROOT/src.
We can't vendor the mkwinsyscall tool in to the std module directly,
because std-vendored dependen... | [
{
"path": "src/internal/syscall/windows/mksyscall.go",
"patch": "@@ -6,4 +6,4 @@\n \n package windows\n \n-//go:generate go run golang.org/x/sys/windows/mkwinsyscall -output zsyscall_windows.go syscall_windows.go security_windows.go psapi_windows.go symlink_windows.go\n+//go:generate go run ../../../syscall... | 2020-10-12T14:51:34 |
huggingface/transformers | f67e0f7fb70884c0aa1427420b24fc021aea6fb4 | 14d3b3f0f0cc8ba174d6d86f61b577bd31d0a99c | [`ConvertSlow`] make sure the order is preserved for addedtokens (#31902)
* preserve the order
* oups
* oups
* nit
* trick
* fix issues | [
{
"path": "src/transformers/convert_slow_tokenizer.py",
"patch": "@@ -622,17 +622,40 @@ def decoder(self, replacement, add_prefix_space):\n def converted(self) -> Tokenizer:\n tokenizer = self.tokenizer(self.proto)\n \n+ # control tokens are special\n+ # user defined symbols are no... | 2024-07-11T09:56:41 |
ggml-org/llama.cpp | 914eb5ff0c74c88c7ef8aec115878d8f64c81e56 | 8fc17493c3a2c39e6843e043e6227fb006668600 | jinja: fix macro with kwargs (#20960)
* jinja: fix macro with kwargs
* Apply suggestions from code review
Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com>
* fix newline problem
---------
Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com> | [
{
"path": "common/jinja/runtime.cpp",
"patch": "@@ -667,17 +667,19 @@ value macro_statement::execute_impl(context & ctx) {\n if (is_stmt<identifier>(this->args[i])) {\n // normal parameter\n std::string param_name = cast_stmt<identifier>(this->args[i])... | 2026-03-25T11:22:48 |
ollama/ollama | b25976aeb8542d56f48bcb97003b256cba0f6237 | 001f167aadd7bfdea2b13268a5850e336d3766dd | routes: fix show llava models | [
{
"path": "server/images.go",
"patch": "@@ -68,31 +68,31 @@ func (m *Model) String() string {\n \t\tArgs: m.ModelPath,\n \t})\n \n-\tif m.Template != \"\" {\n+\tfor _, adapter := range m.AdapterPaths {\n \t\tmodelfile.Commands = append(modelfile.Commands, model.Command{\n-\t\t\tName: \"template\",\n-\t\t\tA... | 2024-05-08T19:42:48 |
nodejs/node | e4f5c63a6b584af1b01cf4aab52276832cfac324 | bce5cba43e96da0a9ccd4b90cd94489304d885ec | test: use common.crashOnUnhandledRejection
Add common.crashOnUnhandledRejection to path:
- test/parallel/test-microtask-queue-run-immediate-domain.js
PR-URL: https://github.com/nodejs/node/pull/17235
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: ... | [
{
"path": "test/parallel/test-microtask-queue-run-immediate-domain.js",
"patch": "@@ -20,7 +20,7 @@\n // USE OR OTHER DEALINGS IN THE SOFTWARE.\n \n 'use strict';\n-require('../common');\n+const common = require('../common');\n const assert = require('assert');\n \n // Requiring the domain module here chang... | 2017-11-22T09:00:31 |
golang/go | 7be8358f70ff858f28b9aefe11986da25f1762bc | f2ee58b6bb3d8312dad2ed7826c1a0e67aea8483 | misc/wasm: check type of argument to Go.run
This results in a nicer error message if the argument to Go.run is
omitted or of the wrong type.
Fixes #37000
Change-Id: I7f36d007f41a79b2cea1cebf5cce127786341202
Reviewed-on: https://go-review.googlesource.com/c/go/+/266117
Trust: Richard Musiol <neelance@gmail.com>
Run-T... | [
{
"path": "misc/wasm/wasm_exec.js",
"patch": "@@ -503,6 +503,9 @@\n \t\t}\n \n \t\tasync run(instance) {\n+\t\t\tif (!(instance instanceof WebAssembly.Instance)) {\n+\t\t\t\tthrow new Error(\"Go.run: WebAssembly.Instance expected\");\n+\t\t\t}\n \t\t\tthis._inst = instance;\n \t\t\tthis.mem = new DataView(t... | 2020-10-28T23:07:04 |
huggingface/transformers | 14d3b3f0f0cc8ba174d6d86f61b577bd31d0a99c | a695c18649fc6ab4b1fb1d9c8cfa9258c5908e2a | Processor accepts any kwargs (#31889)
* accept kwargs in processors
* return unused kwargs
* fix tests
* typo
* update the other way | [
{
"path": "src/transformers/models/blip/processing_blip.py",
"patch": "@@ -39,10 +39,11 @@ class BlipProcessor(ProcessorMixin):\n \"\"\"\n \n attributes = [\"image_processor\", \"tokenizer\"]\n+ valid_kwargs = []\n image_processor_class = \"BlipImageProcessor\"\n tokenizer_class = (\"Bert... | 2024-07-11T08:20:30 |
ggml-org/llama.cpp | 8fc17493c3a2c39e6843e043e6227fb006668600 | 36dafba5c476297261692bfb24c49ec657030c62 | gguf-split : clarify operation of gguf-split (#19749)
* clarify operation of gguf-split
so that you don't have to find out by trial and error
* formatting | [
{
"path": "tools/gguf-split/README.md",
"patch": "@@ -7,4 +7,4 @@ CLI to split / merge GGUF files.\n - `--split`: split GGUF to multiple GGUF, default operation.\n - `--split-max-size`: max size per split in `M` or `G`, f.ex. `500M` or `2G`.\n - `--split-max-tensors`: maximum tensors in each split: default(... | 2026-03-25T11:12:50 |
huggingface/transformers | a695c18649fc6ab4b1fb1d9c8cfa9258c5908e2a | d625294d79341662784495551abdf45e6cb9372f | Fixes to alternating SWA layers in Gemma2 (#31775)
* HybridCache: Flip order of alternating global-attn/sliding-attn layers
* HybridCache: Read sliding_window argument from cache_kwargs
* Gemma2Model: Flip order of alternating global-attn/sliding-attn layers
* Code formatting | [
{
"path": "src/transformers/cache_utils.py",
"patch": "@@ -1148,7 +1148,7 @@ def __init__(self, config: PretrainedConfig, max_batch_size, max_cache_len, devi\n config.num_attention_heads if config.num_key_value_heads is None else config.num_key_value_heads\n )\n self.is_sliding =... | 2024-07-11T08:03:46 |
nodejs/node | bce5cba43e96da0a9ccd4b90cd94489304d885ec | 75186175ffce64e557c2063275f00425282befcd | test: add common.crashOnUnhandledRejection()
added to test-async-hooks-enable-during-promise.js
PR-URL: https://github.com/nodejs/node/pull/17234
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Sne... | [
{
"path": "test/parallel/test-async-hooks-enable-during-promise.js",
"patch": "@@ -2,6 +2,8 @@\n const common = require('../common');\n const async_hooks = require('async_hooks');\n \n+common.crashOnUnhandledRejection();\n+\n Promise.resolve(1).then(common.mustCall(() => {\n async_hooks.createHook({\n ... | 2017-11-22T08:28:14 |
golang/go | e463c28cc116fb1f40a4e203bddf93b6ef52c8d9 | 333d2010ec98aaea244b65b7bc4d7d80c71e21b1 | cmd/link: avoid exporting all symbols on windows buildmode=pie
Marking one functions with __declspec(dllexport) forces mingw to
create .reloc section without having to export all symbols.
See https://insights.sei.cmu.edu/cert/2018/08/when-aslr-is-not-really-aslr---the-case-of-incorrect-assumptions-and-bad-defaults.ht... | [
{
"path": "misc/cgo/testcshared/cshared_test.go",
"patch": "@@ -401,7 +401,7 @@ func main() {\n \tdefer f.Close()\n \tsection := f.Section(\".edata\")\n \tif section == nil {\n-\t\tt.Error(\".edata section is not present\")\n+\t\tt.Fatalf(\".edata section is not present\")\n \t}\n \n \t// TODO: deduplicate ... | 2020-10-22T20:32:20 |
ggml-org/llama.cpp | 36dafba5c476297261692bfb24c49ec657030c62 | 69e0ecef06bfef7d35c91f791b78651d4a3422e3 | llama: fix llama-model-saver (#20503)
* llama : add fd-based model loading via llama_model_load_from_fd
* llama : address review feedback for fd-based model loading
* llama : use FILE pointer instead of fd in public API
* llama : use FILE pointer consistently, address review feedback
* fixup
* fix tensor names
*... | [
{
"path": "ggml/include/gguf.h",
"patch": "@@ -77,6 +77,7 @@ extern \"C\" {\n };\n \n GGML_API struct gguf_context * gguf_init_empty(void);\n+ GGML_API struct gguf_context * gguf_init_from_file_ptr(FILE * file, struct gguf_init_params params);\n GGML_API struct gguf_context * gguf_init_from_f... | 2026-03-25T10:53:16 |
huggingface/transformers | c54af4c77ed5d72ddcb79d0cc4804d97f21deabc | 080e14b24c8923e4bc18fcd54010fc7396c67bc0 | Add a condition for nested_detach (#31855)
fix bug: https://github.com/huggingface/transformers/issues/31852 | [
{
"path": "src/transformers/trainer_pt_utils.py",
"patch": "@@ -192,7 +192,7 @@ def nested_detach(tensors):\n return type(tensors)(nested_detach(t) for t in tensors)\n elif isinstance(tensors, Mapping):\n return type(tensors)({k: nested_detach(t) for k, t in tensors.items()})\n- retur... | 2024-07-10T20:37:22 |
ollama/ollama | 486a2c1d947880d22275756f70b96953ee1a2e40 | 2a5302a1cf0e10ac76d7761178231b59a1d083ef | types/model: fix tag case | [
{
"path": "types/model/name.go",
"patch": "@@ -290,12 +290,14 @@ func (n Name) Filepath() string {\n \tif !n.IsFullyQualified() {\n \t\tpanic(\"illegal attempt to get filepath of invalid name\")\n \t}\n-\treturn strings.ToLower(filepath.Join(\n-\t\tn.Host,\n-\t\tn.Namespace,\n-\t\tn.Model,\n+\treturn filepa... | 2024-05-08T15:47:09 |
rust-lang/rust | 184feee826bb534a568bcea2cf35c93fa1a40549 | 8dd65e4098faf3fc7d97f297577b033d3c24d66b | Fix key function description | [
{
"path": "lintcheck/src/json.rs",
"patch": "@@ -29,7 +29,7 @@ struct LintJson {\n }\n \n impl LintJson {\n- /// Returns a tuple of name and file_line for sorting and comparison.\n+ /// Returns a tuple of name and `file_line` for sorting and comparison.\n fn key(&self) -> impl Ord + '_ {\n ... | 2025-03-09T14:29:07 |
nodejs/node | 75186175ffce64e557c2063275f00425282befcd | 3a4fe7791e1c2a1bcb7ac62ffbbcdefe41a45b92 | test: use common.crashOnUnhandledRejection
PR-URL: https://github.com/nodejs/node/pull/17215
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com> | [
{
"path": "test/parallel/test-microtask-queue-integration-domain.js",
"patch": "@@ -20,7 +20,7 @@\n // USE OR OTHER DEALINGS IN THE SOFTWARE.\n \n 'use strict';\n-require('../common');\n+const common = require('../common');\n const assert = require('assert');\n \n // Requiring the domain module here changes... | 2017-11-23T02:24:38 |
ggml-org/llama.cpp | 69e0ecef06bfef7d35c91f791b78651d4a3422e3 | 062cca58fcb085b9cd2abdf489588f76dcb702dd | webui: Fix editing assistant message without branching (#20944)
* fix: Editing assistant response without branching
* chore: update webui build output | [
{
"path": "tools/server/webui/src/lib/stores/chat.svelte.ts",
"patch": "@@ -1207,7 +1207,6 @@ class ChatStore {\n \t\t\t\tawait conversationsStore.updateCurrentNode(newMessage.id);\n \t\t\t} else {\n \t\t\t\tawait DatabaseService.updateMessage(msg.id, { content: newContent });\n-\t\t\t\tawait conversationsS... | 2026-03-25T10:47:33 |
golang/go | 5a267c840ae16c1cc7352caa14da5f500d03d338 | 063a91c0abef445154df1ba34ffb500eeccfe8bc | cmd/vet: bring in pass to catch invalid uses of testing.T in goroutines
Add "go/analysis/passes/testinggoroutine" from x/tools and vendor its source in.
This pass will catch misuses of:
* testing.T.Fail*
* testing.T.Fatal*
* testing.T.Skip*
inside goroutines explicitly started by the go keyword.
The pass was implemen... | [
{
"path": "src/cmd/vendor/golang.org/x/tools/go/analysis/passes/testinggoroutine/testinggoroutine.go",
"patch": "@@ -0,0 +1,154 @@\n+// Copyright 2020 The Go Authors. All rights reserved.\n+// Use of this source code is governed by a BSD-style\n+// license that can be found in the LICENSE file.\n+\n+package... | 2020-05-29T09:17:38 |
ollama/ollama | dc9b1111e0a1be0f10c35a5be8aa5d14c047e5ff | 06ac829e7096ca912aebaa8ef7b76cdefe4d1346 | fix invalid destination error message | [
{
"path": "server/routes.go",
"patch": "@@ -799,7 +799,7 @@ func (s *Server) CopyModelHandler(c *gin.Context) {\n \n \tdst := model.ParseName(r.Destination)\n \tif !dst.IsValid() {\n-\t\tc.AbortWithStatusJSON(http.StatusBadRequest, gin.H{\"error\": fmt.Sprintf(\"destination %q is invalid\", r.Source)})\n+\t... | 2024-05-08T00:35:52 |
nodejs/node | 3a4fe7791e1c2a1bcb7ac62ffbbcdefe41a45b92 | 29423b49c78f7880fa07f52447ce17c2c4aff5bc | deps: cherry-pick dbfe4a49d8 from upstream V8
Original commit message:
Introduce ScriptOrModule and HostDefinedOptions
This patch introduces a new container type ScriptOrModule which
provides the name and the host defined options of the script/module.
This patch also introduces a new PrimitivesArray... | [
{
"path": "common.gypi",
"patch": "@@ -27,7 +27,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.11',\n+ 'v8_embedder_string': '-node.12',\n \n # Enable disassembler for `--print-co... | 2017-11-09T14:46:20 |
ggml-org/llama.cpp | 062cca58fcb085b9cd2abdf489588f76dcb702dd | 406f4e3f61f95a7ed95db81d1b5be0ec7e9bfb70 | Add SLEEPING status to the WebUI model selector (#20949)
* webui: handle sleeping model status, fix favourite -> favorite
* Update tools/server/webui/src/lib/components/app/models/ModelsSelectorOption.svelte
Co-authored-by: Aleksander Grygier <aleksander.grygier@gmail.com>
* Update tools/server/webui/src/lib/compon... | [
{
"path": "tools/server/webui/src/lib/components/app/models/ModelsSelector.svelte",
"patch": "@@ -77,7 +77,7 @@\n \tlet filteredOptions = $derived(filterModelOptions(options, searchTerm));\n \n \tlet groupedFilteredOptions = $derived(\n-\t\tgroupModelOptions(filteredOptions, modelsStore.favouriteModelIds, (... | 2026-03-25T10:02:32 |
huggingface/transformers | 080e14b24c8923e4bc18fcd54010fc7396c67bc0 | ec03d97b27c6e817b0afaeeb0cfbb93d84950df9 | Modify `warnings` in a `with` block to avoid flaky tests (#31893)
* fix
* [test_all] check before merge
---------
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> | [
{
"path": "tests/trainer/test_trainer_callback.py",
"patch": "@@ -218,52 +218,53 @@ def test_event_flow(self):\n import warnings\n \n # XXX: for now ignore scatter_gather warnings in this test since it's not relevant to what's being tested\n- warnings.simplefilter(action=\"ignore\", c... | 2024-07-10T15:56:12 |
ollama/ollama | 06ac829e7096ca912aebaa8ef7b76cdefe4d1346 | 5d3f7fff26dc033cfa5659104b069338a4ad8695 | Fix help string for stop parameter (#2307) | [
{
"path": "cmd/interactive.go",
"patch": "@@ -162,7 +162,7 @@ func generateInteractive(cmd *cobra.Command, opts runOptions) error {\n \t\tfmt.Fprintln(os.Stderr, \" /set parameter repeat_penalty <float> How strongly to penalize repetitions\")\n \t\tfmt.Fprintln(os.Stderr, \" /set parameter repeat_last_n <... | 2024-05-07T23:48:35 |
golang/go | 063a91c0abef445154df1ba34ffb500eeccfe8bc | 715d4e2e014fa54f527ee109f26a31f941196381 | cmd/compile: fix recognition of unnamed return variables
In golang.org/cl/266199, I reused the existing code in inlining that
recognizes anonymous variables. However, it turns out that code
mistakenly recognizes anonymous return parameters as named when
inlining a function from the same package.
The issue is funcargs... | [
{
"path": "src/cmd/compile/internal/gc/inl.go",
"patch": "@@ -1054,7 +1054,7 @@ func mkinlcall(n, fn *Node, maxCost int32, inlMap map[*Node]bool) *Node {\n \tvar retvars []*Node\n \tfor i, t := range fn.Type.Results().Fields().Slice() {\n \t\tvar m *Node\n-\t\tif n := asNode(t.Nname); n != nil && !n.isBlank... | 2020-10-30T19:58:28 |
ggml-org/llama.cpp | 406f4e3f61f95a7ed95db81d1b5be0ec7e9bfb70 | 53dc8b59bf51eafe5d5d0be7b8d3a6039abf6862 | android : fix-pointer-dangling (#20974) | [
{
"path": "examples/llama.android/lib/src/main/cpp/ai_chat.cpp",
"patch": "@@ -365,13 +365,13 @@ Java_com_arm_aichat_internal_InferenceEngineImpl_processSystemPrompt(\n const auto *system_prompt = env->GetStringUTFChars(jsystem_prompt, nullptr);\n LOGd(\"%s: System prompt received: \\n%s\", __func__... | 2026-03-25T09:51:26 |
nodejs/node | 29423b49c78f7880fa07f52447ce17c2c4aff5bc | 07d34092b117c4b5bdad85cf916d9ae5e213651d | doc: fix typo in api doc of url.format(urlObject)
PR-URL: https://github.com/nodejs/node/pull/17295
Fixes: https://github.com/nodejs/node/issues/17294
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ev... | [
{
"path": "doc/api/url.md",
"patch": "@@ -971,7 +971,7 @@ changes:\n The `url.format()` method returns a formatted URL string derived from\n `urlObject`.\n \n-If `urlObject` is not an object or a string, `url.parse()` will throw a\n+If `urlObject` is not an object or a string, `url.format()` will throw a\n ... | 2017-11-25T10:35:42 |
huggingface/transformers | da79b18087433506ad32ad62e8c3a68892410afe | 9d98706b3f6f14940c713d1a84bac22ef1e083ed | fix: Removed `duplicate` field definitions in some classes (#31888)
Removed duplicate field definitions in classes. | [
{
"path": "examples/flax/language-modeling/run_clm_flax.py",
"patch": "@@ -225,9 +225,6 @@ class DataTrainingArguments:\n )\n },\n )\n- overwrite_cache: bool = field(\n- default=False, metadata={\"help\": \"Overwrite the cached training and evaluation sets\"}\n- )\n ... | 2024-07-10T12:46:31 |
ollama/ollama | 72700279e260694e6df0a24a672f0a6f3e3dc3bf | 2a5302a1cf0e10ac76d7761178231b59a1d083ef | Detect noexec and report a better error
This will bubble up a much more informative error message if noexec
is preventing us from running the subprocess | [
{
"path": "llm/server.go",
"patch": "@@ -307,6 +307,11 @@ func NewLlamaServer(gpus gpu.GpuInfoList, model string, ggml *GGML, adapters, pr\n \t\tslog.Debug(\"subprocess\", \"environment\", s.cmd.Env)\n \n \t\tif err = s.cmd.Start(); err != nil {\n+\t\t\t// Detect permission denied and augment them essage ab... | 2024-05-07T23:46:15 |
rust-lang/rust | ab21f716fc966d16d43cf8979fbdc58b5f0d2d5c | 81643e297cf44ce3c7648b8443fc4d6592fa81eb | fix broken CSS links | [
{
"path": "util/gh-pages/index_template.html",
"patch": "@@ -19,10 +19,10 @@\n <link id=\"githubDarkHighlight\" rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.6.0/styles/github-dark.min.css\" disabled=\"true\" /> {# #}\n \n <!-- The files are not copied over into th... | 2025-03-09T02:04:21 |
ggml-org/llama.cpp | 53dc8b59bf51eafe5d5d0be7b8d3a6039abf6862 | 403c9c9cef26b875691f1ec52a7aa73b464dfba8 | sycl : fix wrong variable check by assert (#20903)
* fix wrong variable check by assert
* use GGML api | [
{
"path": "ggml/src/ggml-sycl/add-id.cpp",
"patch": "@@ -56,7 +56,7 @@ void ggml_sycl_add_id(ggml_backend_sycl_context& ctx, ggml_tensor* dst) {\n float* dst_d = (float*)dst->data;\n \n const unsigned int max_work_group_size = ggml_sycl_info().max_work_group_sizes[ctx.device];\n- assert(work_group_size... | 2026-03-25T09:48:37 |
golang/go | f14119b561cfeefb93e8d773033caeea572dbe71 | 12a2e72065105a7c167d7f41500b5a80547f14d0 | os: export errFinished as ErrProcessDone
(*Process).Signal returns an error sentinel, previously errFinished,
when (*Process).done or syscall.ESRCH. Callers would like the ability to
test for this state, so the value has been exported as ErrProcessDone.
Fixes #39444
Change-Id: I510e7647cc032af290180de5149f35ab7b09a5... | [
{
"path": "src/os/exec_unix.go",
"patch": "@@ -59,7 +59,8 @@ func (p *Process) wait() (ps *ProcessState, err error) {\n \treturn ps, nil\n }\n \n-var errFinished = errors.New(\"os: process already finished\")\n+// ErrProcessDone indicates a Process has finished.\n+var ErrProcessDone = errors.New(\"os: proce... | 2020-07-16T17:42:47 |
huggingface/transformers | 9d98706b3f6f14940c713d1a84bac22ef1e083ed | a0a3e2f4692e7eef31ab6303def799d8bdf8906e | Fix failed tests in #31851 (#31879)
* Revert "Revert "Fix `_init_weights` for `ResNetPreTrainedModel`" (#31868)"
This reverts commit b45dd5de9c8426db5dbda1797a4790566a278919.
* fix
* [test_all] check
* fix
* [test_all] check
* fix
* [test_all] check
* fix
* [test_all] check
* fix
* [te... | [
{
"path": "src/transformers/models/bit/modeling_bit.py",
"patch": "@@ -660,6 +660,13 @@ class BitPreTrainedModel(PreTrainedModel):\n def _init_weights(self, module):\n if isinstance(module, nn.Conv2d):\n nn.init.kaiming_normal_(module.weight, mode=\"fan_out\", nonlinearity=\"relu\")\... | 2024-07-10T12:25:24 |
nodejs/node | 07d34092b117c4b5bdad85cf916d9ae5e213651d | 73154c0341145985ac7e9b61841a58805d82f533 | fs: throw fs.access errors in JS
- Migrate the type check of path to ERR_INVALID_ARG_TYPE
- Add template counterparts of ASYNC_CALL, ASYNC_DEST_CALL,
SYNC_CALL, SYNC_DEST_CALL
- Port StringFromPath and UVException to JavaScript
- Migrate the access binding to collect the error context in C++,
then throw the error ... | [
{
"path": "lib/fs.js",
"patch": "@@ -297,6 +297,11 @@ fs.access = function(path, mode, callback) {\n if (handleError((path = getPathFromURL(path)), callback))\n return;\n \n+ if (typeof path !== 'string' && !(path instanceof Buffer)) {\n+ throw new errors.TypeError('ERR_INVALID_ARG_TYPE', 'path',\... | 2017-11-20T20:47:57 |
ggml-org/llama.cpp | 9f102a1407ed5d73b8c954f32edab50f8dfa3f58 | 3fc6f1aed172602790e9088b57786109438c2466 | models : move the token embedding norms to the first layer (#20943)
* models : move the token embedding norms to the first layer
* cont : fix LLM_TENSOR_CONV1D + fix il indexing | [
{
"path": "src/llama-arch.cpp",
"patch": "@@ -2564,7 +2564,7 @@ static const std::map<llm_tensor, llm_tensor_info> LLM_TENSOR_INFOS = {\n {LLM_TENSOR_TOKEN_EMBD, {LLM_TENSOR_LAYER_INPUT, GGML_OP_GET_ROWS}},\n {LLM_TENSOR_POS_EMBD, {LLM_TENSOR_LAYER_INPUT, GGML_OP_GE... | 2026-03-24T15:00:30 |
ollama/ollama | 5d3f7fff26dc033cfa5659104b069338a4ad8695 | d77c1c5f9d619de9544d726da265a18edd6b0692 | Update langchainpy.md (#4236)
fixing pip code. | [
{
"path": "docs/tutorials/langchainpy.md",
"patch": "@@ -12,7 +12,7 @@ So let's figure out how we can use **LangChain** with Ollama to ask our question\n \n Let's start by asking a simple question that we can get an answer to from the **Llama2** model using **Ollama**. First, we need to install the **LangCh... | 2024-05-07T23:36:34 |
huggingface/transformers | a0a3e2f4692e7eef31ab6303def799d8bdf8906e | e9eeedaf3be650ef8875dc73d334c3a5b684eeb3 | Fix file type checks in data splits for contrastive training example script (#31720)
fix data split file type checks | [
{
"path": "examples/pytorch/contrastive-image-text/run_clip.py",
"patch": "@@ -190,9 +190,9 @@ def __post_init__(self):\n if self.validation_file is not None:\n extension = self.validation_file.split(\".\")[-1]\n assert extension in [\"csv\", \"json\"], \"`validat... | 2024-07-10T09:17:03 |
golang/go | 64a9a75ce9a353ef3d488b8e3ca977bf6df204f8 | f96b62be2edd8acc08b79777d692937e8ed79b4a | runtime: release worldsema with a direct G handoff
Currently worldsema is not released with direct handoff, so the
semaphore is an unfair synchronization mechanism. If, for example,
ReadMemStats is called in a loop, it can continuously stomp on attempts
by the GC to stop the world.
Note that it's specifically possibl... | [
{
"path": "src/runtime/proc.go",
"patch": "@@ -961,10 +961,26 @@ func stopTheWorld(reason string) {\n // startTheWorld undoes the effects of stopTheWorld.\n func startTheWorld() {\n \tsystemstack(func() { startTheWorldWithSema(false) })\n+\n \t// worldsema must be held over startTheWorldWithSema to ensure\n... | 2020-07-20T18:19:56 |
nodejs/node | 9d87082d7df8b509d3e035b0222899d9cd8e58a3 | 9ec78101fad90e6469677598b6bc3e8196d1b17f | http2: general cleanups in core.js
* fixup js debug messages
* simplify and improve rstStream
* improve and simplify _read
* simplify and improve priority
* simplify on ready a bit
* simplify and improve respond/push
* reduce duplication with _unrefActive
* simplify stream close handling
PR-URL: https://github.com/no... | [
{
"path": "lib/internal/http2/core.js",
"patch": "@@ -79,6 +79,7 @@ const kServer = Symbol('server');\n const kSession = Symbol('session');\n const kState = Symbol('state');\n const kType = Symbol('type');\n+const kUpdateTimer = Symbol('update-timer');\n \n const kDefaultSocketTimeout = 2 * 60 * 1000;\n con... | 2017-11-22T01:09:32 |
ggml-org/llama.cpp | 42ebce3bebeab64fbe71b667d1bafd9960e83cbf | a94fdb090a7fb9192749386f846176a9d8c97681 | common : fix get_gguf_split_info (#20946)
Signed-off-by: Adrien Gallouët <angt@huggingface.co> | [
{
"path": "common/download.cpp",
"patch": "@@ -460,9 +460,9 @@ static gguf_split_info get_gguf_split_info(const std::string & path) {\n int count = 1;\n \n if (std::regex_match(prefix, m, re_split)) {\n- prefix = m[1].str();\n index = std::stoi(m[2].str());\n count = std::stoi... | 2026-03-24T12:33:14 |
huggingface/transformers | 97aa3e2905aac867952d89a7d13851d8adb7861c | ad35309a6299f61f043c78f1d41da7e61800a30f | Add conversion for interleave llava (#31858)
* add conversion for interleave llava
* remove debug lines
* remove unused imports
* Update src/transformers/models/llava/convert_llava_weights_to_hf.py
Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>
* small changes + docs
----... | [
{
"path": "docs/source/en/model_doc/llava.md",
"patch": "@@ -40,8 +40,20 @@ The original code can be found [here](https://github.com/haotian-liu/LLaVA/tree/\n \n - Note the model has not been explicitly trained to process multiple images in the same prompt, although this is technically possible, you may exp... | 2024-07-10T07:12:21 |
ollama/ollama | d77c1c5f9d619de9544d726da265a18edd6b0692 | 2a5302a1cf0e10ac76d7761178231b59a1d083ef | api: fill up API documentation (#3596)
* api: fill up API documentation
Followup for #2878
Now that the documentation is more complete, mention it in the README.
Updates #2840
* fix typo/lint
* Update README.md
Co-authored-by: Jeffrey Morgan <jmorganca@gmail.com>
---------
Co-authored-by: Jeffr... | [
{
"path": "api/client.go",
"patch": "@@ -1,9 +1,16 @@\n // Package api implements the client-side API for code wishing to interact\n // with the ollama service. The methods of the [Client] type correspond to\n-// the ollama REST API as described in https://github.com/ollama/ollama/blob/main/docs/api.md\n-//... | 2024-05-07T23:27:46 |
golang/go | 420c68dd68c648af6642dd7e5cf6dacf9f067f6e | 84d7a85089009332756c18e876ec91f96b362ebf | runtime: tighten systemstack in lock assertions
We use systemstack on the locking path to avoid stack splits which could
cause locks to be recorded out of order (see comment on lockWithRank).
This concern is irrelevant on lock assertions, where we simply need to
see if a lock is held and don't care if another is take... | [
{
"path": "src/runtime/lockrank_on.go",
"patch": "@@ -95,7 +95,8 @@ func lockWithRank(l *mutex, rank lockRank) {\n \t})\n }\n \n-//go:systemstack\n+// nosplit to ensure it can be called in as many contexts as possible.\n+//go:nosplit\n func printHeldLocks(gp *g) {\n \tif gp.m.locksHeldLen == 0 {\n \t\tprint... | 2020-10-30T19:22:52 |
rust-lang/rust | 358355440598b138cb0af39977a90157507eb184 | a96fa317d78c78a9de996afd317603c6970efc0d | chore: Fix some comments
Signed-off-by: StevenMia <flite@foxmail.com> | [
{
"path": "compiler/rustc_borrowck/src/type_check/liveness/trace.rs",
"patch": "@@ -610,7 +610,7 @@ impl<'tcx> LivenessContext<'_, '_, '_, 'tcx> {\n Err(ErrorGuaranteed { .. }) => {\n // We don't run dropck on HIR, and dropck looks inside fields of\n // types, so ... | 2025-03-09T10:31:14 |
ggml-org/llama.cpp | a94fdb090a7fb9192749386f846176a9d8c97681 | c9dc43333f7b56fb7b1f306771f4a477602f6d81 | WebUI: fix edit msg form textarea height (#20830)
* autoresize textarea on mount
* allow textarea to grow to same height as rendered messages
* add UI build file | [
{
"path": "tools/server/webui/src/lib/components/app/chat/ChatForm/ChatFormTextarea.svelte",
"patch": "@@ -26,6 +26,7 @@\n \n \tonMount(() => {\n \t\tif (textareaElement) {\n+\t\t\tautoResizeTextarea(textareaElement);\n \t\t\ttextareaElement.focus();\n \t\t}\n \t});\n@@ -50,8 +51,9 @@\n \t<textarea\n \t\tbi... | 2026-03-24T12:17:45 |
huggingface/transformers | ad35309a6299f61f043c78f1d41da7e61800a30f | 6176d8f5eef29de1c6d9881fefa755d1eff26a60 | add warning when using gradient_checkpointing with FSDP full shard (#31578)
* add warning when using with FSDP full shard
* fix style
* Update src/transformers/training_args.py
Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>
* Update src/transformers/training_args.py
Co-auth... | [
{
"path": "src/transformers/training_args.py",
"patch": "@@ -1820,7 +1820,7 @@ def __post_init__(self):\n raise ValueError(\"warmup_steps must be either 0 or > 1\")\n \n if isinstance(self.fsdp, bool):\n- self.fsdp = \"full_shard\" if self.fsdp else \"\"\n+ self.fsd... | 2024-07-09T22:55:57 |
nodejs/node | 887e2327ee2666f28d0ca5facffd949d0ecff49c | 6f724e1563159fb332ed43068649958e99e7be28 | tools: fix gitignore for tools/doc/
PR-URL: https://github.com/nodejs/node/pull/17224
Fixes: https://github.com/nodejs/node/issues/17216
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gm... | [
{
"path": "Makefile",
"patch": "@@ -579,7 +579,7 @@ available-node = \\\n \t\texit 1; \\\n \tfi;\n \n-run-npm-install = $(PWD)/$(NPM) install\n+run-npm-install = $(PWD)/$(NPM) install --production\n \n tools/doc/node_modules/js-yaml/package.json:\n \tcd tools/doc && $(call available-node,$(run-npm-install))... | 2017-11-22T08:44:01 |
ollama/ollama | 2a5302a1cf0e10ac76d7761178231b59a1d083ef | ffbd3d173f2d903634513be8ec46bad4b0cec83e | Fix paste of text with line feed characters (#3043)
Some terminals may send line feed characters when pasting text with
newlines. | [
{
"path": "readline/readline.go",
"patch": "@@ -218,7 +218,7 @@ func (i *Instance) Readline() (string, error) {\n \t\tcase CharCtrlZ:\n \t\t\tfd := int(syscall.Stdin)\n \t\t\treturn handleCharCtrlZ(fd, i.Terminal.termios)\n-\t\tcase CharEnter:\n+\t\tcase CharEnter, CharCtrlJ:\n \t\t\toutput := buf.String()\... | 2024-05-07T22:26:07 |
rust-lang/rust | 965a0c016677dad9ee8141e7a446ce376b7177c1 | 0e4f189e80d6b8ec14cff20fba329a4332ce71a9 | fix: Prevent wrong invocations of `needs_parens_in` with non-ancestral "parent"s | [
{
"path": "src/tools/rust-analyzer/crates/ide-assists/src/handlers/apply_demorgan.rs",
"patch": "@@ -128,7 +128,9 @@ pub(crate) fn apply_demorgan(acc: &mut Assists, ctx: &AssistContext<'_>) -> Opti\n let parent = neg_expr.syntax().parent();\n editor = builder.make_edi... | 2025-03-09T09:42:46 |
golang/go | 7191f1136b1526703c5af7fc04ff948e3a6c26b9 | b53df56001a6bd375b1dc2026908f331729cd731 | cmd/compile: fix reassignVisitor
reassignVisitor was short-circuiting on assignment statements after
checking the LHS, but there might be further assignment statements
nested within the RHS expressions.
Fixes #42284.
Change-Id: I175eef87513b973ed5ebe6a6527adb9766dde6cf
Reviewed-on: https://go-review.googlesource.com... | [
{
"path": "src/cmd/compile/internal/gc/inl.go",
"patch": "@@ -839,14 +839,12 @@ func (v *reassignVisitor) visit(n *Node) *Node {\n \t\tif n.Left == v.name && n != v.name.Name.Defn {\n \t\t\treturn n\n \t\t}\n-\t\treturn nil\n \tcase OAS2, OAS2FUNC, OAS2MAPR, OAS2DOTTYPE:\n \t\tfor _, p := range n.List.Slice... | 2020-10-30T17:36:31 |
huggingface/transformers | b45dd5de9c8426db5dbda1797a4790566a278919 | c5bc2d5fd5c540a829a5f2b709db7d2f5097b95c | Revert "Fix `_init_weights` for `ResNetPreTrainedModel`" (#31868)
Revert "Fix `_init_weights` for `ResNetPreTrainedModel` (#31851)"
This reverts commit 4c8149d643576c23d4df559d4931ccf08fa7aee4. | [
{
"path": "src/transformers/models/regnet/modeling_regnet.py",
"patch": "@@ -14,7 +14,6 @@\n # limitations under the License.\n \"\"\"PyTorch RegNet model.\"\"\"\n \n-import math\n from typing import Optional\n \n import torch\n@@ -285,13 +284,6 @@ class RegNetPreTrainedModel(PreTrainedModel):\n def _in... | 2024-07-09T21:00:56 |
nodejs/node | 6f724e1563159fb332ed43068649958e99e7be28 | 05948d8e4e3fefb757ea8b8aa5160cacd07e0cf4 | lib,src: remove vm.runInDebugContext()
The V8 API it is based on is deprecated and scheduled for removal later
this year. Remove it.
PR-URL: https://github.com/nodejs/node/pull/13295
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Reviewed-By: James... | [
{
"path": "doc/api/deprecations.md",
"patch": "@@ -600,10 +600,9 @@ a V8-inspector based CLI debugger available through `node inspect`.\n <a id=\"DEP0069\"></a>\n ### DEP0069: vm.runInDebugContext(string)\n \n-Type: Runtime\n+Type: End-of-Life\n \n-The DebugContext will be removed in V8 soon and will not be... | 2017-11-23T23:13:44 |
ggml-org/llama.cpp | 8c7957ca33a40cd928146fd3f33a98180e486004 | e852eb490136dfa335586b9dd6efb94b02c8fdd3 | common : add standard Hugging Face cache support (#20775)
* common : add standard Hugging Face cache support
- Use HF API to find all files
- Migrate all manifests to hugging face cache at startup
Signed-off-by: Adrien Gallouët <angt@huggingface.co>
* Check with the quant tag
Signed-off-by: Adrien Gallouët <angt@h... | [
{
"path": "common/CMakeLists.txt",
"patch": "@@ -63,6 +63,8 @@ add_library(${TARGET} STATIC\n debug.h\n download.cpp\n download.h\n+ hf-cache.cpp\n+ hf-cache.h\n http.h\n json-partial.cpp\n json-partial.h",
"additions": 2,
"deletions": 0,
"language": "Plain Text"
... | 2026-03-24T06:30:33 |
ollama/ollama | 527e9be0587a4cf4942e828a2c9a935453681b27 | 34bea2e272f23229d68bdff2364c1c61ed831937 | fix: store accurate model parameter size (#4058)
- add test for number formatting
- fix bug where 1B and 1M were not stored correctly
- display 2 decimal points for million param sizes
- display 1 decimal point for billion param sizes | [
{
"path": "format/format.go",
"patch": "@@ -13,12 +13,20 @@ const (\n \n func HumanNumber(b uint64) string {\n \tswitch {\n-\tcase b > Billion:\n-\t\treturn fmt.Sprintf(\"%.0fB\", math.Round(float64(b)/Billion))\n-\tcase b > Million:\n-\t\treturn fmt.Sprintf(\"%.0fM\", math.Round(float64(b)/Million))\n-\tca... | 2024-05-07T21:41:53 |
golang/go | 6d087c807e558a7e4f7da29fd44998e6f605c27d | 8494a6243ee5c80da51da8f4e1ad4d719eddf409 | cmd/go/internal/modload: handle NotExist errors in (*mvsReqs).Previous
Previous is used during downgrading. If the module proxy does not
advertise any versions (for example, because it contains only
pseudo-versions), then Previous should return "none" instead of a
non-nil error.
For #37438
Change-Id: I4edfec19cfeb3f... | [
{
"path": "src/cmd/go/internal/modload/mvs.go",
"patch": "@@ -7,6 +7,7 @@ package modload\n import (\n \t\"context\"\n \t\"errors\"\n+\t\"os\"\n \t\"sort\"\n \n \t\"cmd/go/internal/modfetch\"\n@@ -102,6 +103,9 @@ func (*mvsReqs) Previous(m module.Version) (module.Version, error) {\n \t// TODO(golang.org/iss... | 2020-10-29T20:36:50 |
huggingface/transformers | 4c8149d643576c23d4df559d4931ccf08fa7aee4 | d094d8d9ec5c2b26515659933154b5d5452beb8b | Fix `_init_weights` for `ResNetPreTrainedModel` (#31851)
* init
* test
---------
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> | [
{
"path": "src/transformers/models/regnet/modeling_regnet.py",
"patch": "@@ -14,6 +14,7 @@\n # limitations under the License.\n \"\"\"PyTorch RegNet model.\"\"\"\n \n+import math\n from typing import Optional\n \n import torch\n@@ -284,6 +285,13 @@ class RegNetPreTrainedModel(PreTrainedModel):\n def _in... | 2024-07-09T18:09:08 |
ggml-org/llama.cpp | e852eb490136dfa335586b9dd6efb94b02c8fdd3 | 312d870a8988f73f14a46075ad6a1ac1c861fafd | llama-fit: fix regex pattern for gate_up tensors (#20910)
* llama-fit: fix regex pattern for gate_up tensors
* Apply suggestions from code review
Co-authored-by: Johannes Gäßler <johannesg@5d6.de>
---------
Co-authored-by: Johannes Gäßler <johannesg@5d6.de> | [
{
"path": "src/llama.cpp",
"patch": "@@ -365,14 +365,14 @@ static void llama_params_fit_impl(\n case LAYER_FRACTION_ATTN: {\n static std::array<std::string, n_strings> patterns;\n if (patterns[il].empty()) {\n- patterns[il] = \"blk\\\\.\" + std:... | 2026-03-24T04:57:57 |
Subsets and Splits
Assembly Language GitHub Issues
Retrieves a sample of assembly-language related commits with their details, but doesn't provide meaningful analysis or patterns beyond basic filtering.
Swift Compiler Issues Analysis
Retrieves all training data for the Swift programming language repository, providing basic filtering but offering limited analytical insight beyond identifying relevant code examples.