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 |
|---|---|---|---|---|---|
huggingface/transformers | cff06aac6fad28019930be03f5d467055bf62177 | 28952248b19db29ca25ccf34a5eec413376494a9 | Fix: use `torch.from_numpy()` to create tensors for np.ndarrays (#33201)
use torch.from_numpy for np.ndarrays | [
{
"path": "src/transformers/agents/agent_types.py",
"patch": "@@ -105,7 +105,7 @@ def __init__(self, value):\n elif isinstance(value, torch.Tensor):\n self._tensor = value\n elif isinstance(value, np.ndarray):\n- self._tensor = torch.tensor(value)\n+ self._t... | 2024-09-02T16:45:55 |
golang/go | 7f9a2bc2bc6201d7ffb3b5066b88a19d2da96592 | ac0ba6707c1655ea4316b41d06571a0303cc60eb | doc/go1.16: fix typo
For #40700
Change-Id: Idea442d45d18ca8cedc0b160df23eac6b86755ef
Reviewed-on: https://go-review.googlesource.com/c/go/+/275677
Trust: Alberto Donizetti <alb.donizetti@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com> | [
{
"path": "doc/go1.16.html",
"patch": "@@ -194,7 +194,7 @@ <h4 id=\"go-get\"><code>go</code> <code>get</code></h4>\n The <code>go</code> <code>get</code> <code>-insecure</code> flag is\n deprecated and will be removed in a future version. This flag permits\n fetching from repositories and resolving cu... | 2020-12-07T17:10:56 |
vercel/next.js | 64bb520332b083600996616604870d198cbd0058 | 796f6053012437c77dec1446daa22cb50043501e | add `open-browser` option (vercel/turbo#199)
Fixes https://github.com/vercel/turbo-tooling/issues/171 | [
{
"path": "packages/next-swc/crates/next-dev/src/main.rs",
"patch": "@@ -36,6 +36,10 @@ struct Cli {\n /// parent asset is requested\n #[clap(long)]\n eager_compile: bool,\n+\n+ /// Don't open the browser automatically when the dev server has started.\n+ #[clap(long)]\n+ no_open: bool,\... | 2022-08-04T21:58:19 |
rust-lang/rust | a3e4dff1839e9ba70953b8a9ac8572a6cdb160b9 | 8b87fefd76665236a304d3c0998e1021710ce1b0 | Use `strip_{prefix|suffix}` instead of `{starts|ends}_with`+indexing | [
{
"path": "compiler/rustc_borrowck/src/diagnostics/mutability_errors.rs",
"patch": "@@ -1632,8 +1632,8 @@ fn get_mut_span_in_struct_field<'tcx>(\n /// If possible, suggest replacing `ref` with `ref mut`.\n fn suggest_ref_mut(tcx: TyCtxt<'_>, span: Span) -> Option<Span> {\n let pattern_str = tcx.sess.sou... | 2025-03-16T15:54:04 |
nodejs/node | c84582cbb6362fa8b2eb2d3bc153617fef2982d1 | 4d4ef147f71c74cd0f6dbd1c1a95a3ee6f9ca93e | test: add common.crashOnUnhandledRejection to addons/callback-scope
PR-URL: https://github.com/nodejs/node/pull/18076
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed... | [
{
"path": "test/addons/callback-scope/test-resolve-async.js",
"patch": "@@ -4,6 +4,8 @@ const common = require('../../common');\n const assert = require('assert');\n const { testResolveAsync } = require(`./build/${common.buildType}/binding`);\n \n+common.crashOnUnhandledRejection();\n+\n let called = false;... | 2018-01-13T22:50:03 |
huggingface/transformers | 28952248b19db29ca25ccf34a5eec413376494a9 | 9ea1eacd11b10acedd489c9a44c4ae45a358508d | Fixed typo repeated word in DETR docs (#33250) | [
{
"path": "docs/source/en/model_doc/detr.md",
"patch": "@@ -153,7 +153,7 @@ In short, one should prepare the data either in COCO detection or COCO panoptic\n [`~transformers.DetrImageProcessor`] to create `pixel_values`, `pixel_mask` and optional\n `labels`, which can then be used to train (or fine-tune) a ... | 2024-09-02T15:19:18 |
ollama/ollama | 450acb71a6366ca22eada96ab08c0527a6914c5e | 55ea963c9e9033d01c7c20a54c5ede5babb6878e | readme: fix llama3.1 -> llama3.2 typo (#6962) | [
{
"path": "README.md",
"patch": "@@ -50,7 +50,7 @@ Here are some example models that can be downloaded:\n | Model | Parameters | Size | Download |\n | ------------------ | ---------- | ----- | ------------------------------ |\n | Llama 3.2 | 3B | 2.0GB | ... | 2024-09-25T18:53:47 |
golang/go | cd15a48036b7c0e8369b18d6def93a950c35ff0a | 02820d61a9d0027140e6da567323e0822d513358 | [dev.typeparams] cmd/compile/internal/types2: correct error position for inherited const init expression
Enabled fixedbugs/issue8183.go for run.go with new typechecker
now that issue is fixed.
Fixes #42992.
Updates #42991.
Change-Id: I23451999983b740d5f37ce3fa75ee756daf1a44f
Reviewed-on: https://go-review.googlesour... | [
{
"path": "src/cmd/compile/internal/types2/check.go",
"patch": "@@ -51,6 +51,7 @@ type context struct {\n \tscope *Scope // top-most scope for lookups\n \tpos syntax.Pos // if valid, identifiers are looked up as if at position pos (used by Eval)\n \tiota ... | 2020-12-04T21:20:06 |
rust-lang/rust | a3865b1a3d92399ebe523c0ffa4ca0f5caf40f9b | 48005578576c7820590f680b92f5f6213b9165f5 | fix: `option_if_let_else` FP when value partially moved | [
{
"path": "clippy_lints/src/option_if_let_else.rs",
"patch": "@@ -1,16 +1,23 @@\n+use std::ops::ControlFlow;\n+\n use clippy_utils::diagnostics::span_lint_and_sugg;\n use clippy_utils::sugg::Sugg;\n+use clippy_utils::ty::is_copy;\n use clippy_utils::{\n CaptureKind, can_move_expr_to_closure, eager_or_la... | 2025-02-13T03:40:42 |
vercel/next.js | 7ea29dc7284534c860cbc01362227316ac47bafa | e8ce766073bc78860f3e0fc8c2d199af9c3da454 | add `open-browser` option (#199)
Fixes https://github.com/vercel/turbo-tooling/issues/171 | [
{
"path": "crates/next-dev/src/main.rs",
"patch": "@@ -36,6 +36,10 @@ struct Cli {\n /// parent asset is requested\n #[clap(long)]\n eager_compile: bool,\n+\n+ /// Don't open the browser automatically when the dev server has started.\n+ #[clap(long)]\n+ no_open: bool,\n }\n \n #[tokio::... | 2022-08-04T21:58:19 |
huggingface/transformers | 9ea1eacd11b10acedd489c9a44c4ae45a358508d | 97c0f45b9c4274ee2b1cfe821ba52b8a70029e76 | remove to restriction for 4-bit model (#33122)
* remove to restiction for 4-bit model
* Update src/transformers/modeling_utils.py
Co-authored-by: Matthew Douglas <38992547+matthewdouglas@users.noreply.github.com>
* bitsandbytes: prevent dtype casting while allowing device movement with .to or .cuda
* quali... | [
{
"path": "src/transformers/modeling_utils.py",
"patch": "@@ -2861,38 +2861,54 @@ def get_memory_footprint(self, return_buffers=True):\n def cuda(self, *args, **kwargs):\n if getattr(self, \"quantization_method\", None) == QuantizationMethod.HQQ:\n raise ValueError(\"`.cuda` is not s... | 2024-09-02T14:28:50 |
ollama/ollama | e9e9bdb8d904f009e8b1e54af9f77624d481cfb2 | 35bb6d32b332e61966dd5ff69faa825a875d6ae3 | CI: Fix win arm version defect (#6940)
write-host in powershell writes directly to the console and will not be picked
up by a pipe. Echo, or write-output will. | [
{
"path": ".github/workflows/release.yaml",
"patch": "@@ -354,7 +354,7 @@ jobs:\n - name: Set Version\n run: |\n $ver=${env:GITHUB_REF_NAME}.trim(\"v\")\n- write-host VERSION=$ver | Out-File -FilePath ${env:GITHUB_ENV} -Encoding utf8 -Append\n+ echo VERSION=$ver | O... | 2024-09-24T22:18:10 |
rust-lang/rust | 6ccaea19895cc8c0861f3a8707f888a15f8be3a1 | 2b4694a69804f89ff9d47d1a427f72c876f7f44c | Target modifiers fix for bool flags without value | [
{
"path": "compiler/rustc_metadata/messages.ftl",
"patch": "@@ -118,12 +118,23 @@ metadata_incompatible_rustc =\n \n metadata_incompatible_target_modifiers =\n mixing `{$flag_name_prefixed}` will cause an ABI mismatch in crate `{$local_crate}`\n- .note = `{$flag_name_prefixed}={$flag_local_value}` in... | 2025-03-06T22:34:12 |
nodejs/node | 4d4ef147f71c74cd0f6dbd1c1a95a3ee6f9ca93e | c770f43a917ad818118570cfc979dac989fd4964 | deps: cherry-pick 0c35b72 from upstream V8
Original commit message:
[api,modules] Allow GetModuleNamespace on unevaluated modules.
Bug: v8:7217
Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
Change-Id: I97b067254355eb91e12b92eba92631cbc3ce8000
Reviewed-on: https://chrom... | [
{
"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.5',\n+ 'v8_embedder_string': '-node.6',\n \n # Enable disassembler for `--print-code... | 2018-01-08T15:03:33 |
golang/go | c15593197453b8bf90fc3a9080ba2afeaf7934ea | e10c94af26b95f4af71c4a040b3d3f01499d01de | internal/cpu: add darwin/arm64 CPU feature detection support
Fixes #42747
Change-Id: I6b1679348c77161f075f0678818bb003fc0e8c86
Reviewed-on: https://go-review.googlesource.com/c/go/+/271989
Trust: Martin Möhrmann <moehrmann@google.com>
Run-TryBot: Martin Möhrmann <martisch@uos.de>
TryBot-Result: Go Bot <gobot@golang.o... | [
{
"path": "src/internal/cpu/cpu_android.go",
"patch": "@@ -1,7 +0,0 @@\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 cpu\n-\n-const GOOS = \"android\"",
"additions": 0,
... | 2020-11-21T16:44:04 |
vercel/next.js | 0febcc3799c5a13529158fc311fb00be7488c217 | 147a24e320b64991c415a955ccc1429d9e313f98 | Add TypeScript to ant design example (#38470)
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`
## Feature
- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for im... | [
{
"path": "examples/with-ant-design/components/DatePicker.js",
"patch": "@@ -1,14 +0,0 @@\n-/**\n- * This example previously used antd-dayjs-webpack-plugin\n- * (https://github.com/ant-design/antd-dayjs-webpack-plugin) to attempt to\n- * replace Moment.js with Day.js, but it would crash the page when the us... | 2022-08-04T14:21:51 |
huggingface/transformers | 97c0f45b9c4274ee2b1cfe821ba52b8a70029e76 | 52a02137557963e9dd58c9be65b6cef871d3bf32 | Generate: fix assistant in different device (#33257) | [
{
"path": "src/transformers/generation/utils.py",
"patch": "@@ -3964,6 +3964,7 @@ def _assisted_decoding(\n \n # 1. Fetch candidate sequences from a `CandidateGenerator`\n candidate_input_ids, candidate_logits = candidate_generator.get_candidates(input_ids)\n+ candidate_i... | 2024-09-02T13:37:49 |
ollama/ollama | ad935f45ac19a8ba090db32580f3a6469e9858bb | dbba73469d98fc45d255dd526dedb201548d823d | examples: use punkt_tab instead of punkt (#6907)
This was causing an error since we depend on punkt_tab. | [
{
"path": "examples/python-grounded-factuality-rag-check/main.py",
"patch": "@@ -9,7 +9,7 @@\n warnings.filterwarnings(\n \"ignore\", category=FutureWarning, module=\"transformers.tokenization_utils_base\"\n )\n-nltk.download(\"punkt\", quiet=True)\n+nltk.download(\"punkt_tab\", quiet=True)\n \n \n def ... | 2024-09-22T01:55:28 |
nodejs/node | c770f43a917ad818118570cfc979dac989fd4964 | 1385e1bc63665b8c226e9f7bc8c46a9263195efc | doc: add documentation for deprecation properties
PR-URL: https://github.com/nodejs/node/pull/16539
Fixes: https://github.com/nodejs/node/issues/16394
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com> | [
{
"path": "doc/api/process.md",
"patch": "@@ -1405,6 +1405,19 @@ event loop **before** additional I/O is processed. As a result,\n recursively setting nextTick callbacks will block any I/O from\n happening, just like a `while(true);` loop.\n \n+## process.noDeprecation\n+<!-- YAML\n+added: v0.8.0\n+-->\n+\... | 2017-10-26T23:53:47 |
golang/go | d90b199e9c3d6673b1951ddb6a78addd7e0dda26 | e885df2731cb36925c9a9de9cf1a34a167461cd7 | [dev.regabi] cmd/compile: silence errors about missing blank methods
If an interface contains a blank method, that's already an error. No
need for useless follow-up error messages about not implementing them.
Fixes #42964.
Change-Id: I5bf53a8f27d75d4c86c61588c5e2e3e95563d320
Reviewed-on: https://go-review.googlesour... | [
{
"path": "src/cmd/compile/internal/gc/dcl.go",
"patch": "@@ -317,18 +317,6 @@ func colasdefn(left []ir.Node, defn ir.Node) {\n \t}\n }\n \n-// declare the arguments in an\n-// interface field declaration.\n-func ifacedcl(n *ir.Field) {\n-\tif n.Sym == nil {\n-\t\tbase.Fatalf(\"ifacedcl\")\n-\t}\n-\n-\tif n... | 2020-12-03T22:00:19 |
vercel/next.js | 147a24e320b64991c415a955ccc1429d9e313f98 | d315ee1786fddbef728e2c6a26596e79cc916c48 | fix: buffer is not usable on edge runtime (#39227)
* fix: buffer is not usable on edge runtime
* chore: improves implementation to allow any fallbacks | [
{
"path": "packages/next/build/webpack/plugins/middleware-plugin.ts",
"patch": "@@ -103,13 +103,22 @@ export default class MiddlewarePlugin {\n \n export async function handleWebpackExtenalForEdgeRuntime({\n request,\n+ context,\n contextInfo,\n+ getResolve,\n }: {\n request: string\n+ context: str... | 2022-08-04T13:47:28 |
huggingface/transformers | 52a02137557963e9dd58c9be65b6cef871d3bf32 | 2d3708581742b45f190903a740cd1e69030dbc9f | Add assistant prefill for chat templates and TextGenerationPipeline (#33198)
* Add assistant prefill to chat templates
* Add assistant prefill to pipeline
* Add assistant prefill to pipeline
* Tweak another test that ended in assistant message
* Update tests that ended in assistant messages
* Update tes... | [
{
"path": "docs/source/en/chat_templating.md",
"patch": "@@ -197,6 +197,43 @@ Not all models require generation prompts. Some models, like BlenderBot and LLaM\n special tokens before bot responses. In these cases, the `add_generation_prompt` argument will have no effect. The exact\n effect that `add_generat... | 2024-09-02T12:23:47 |
ollama/ollama | 6c2eb73a70716ca48c1b58b6ca89086a15c40d03 | 2a038c1d7e8351b386dbf6944e63f1053cf9b9b6 | Fix missing dep path on windows CPU runners (#6884)
GPUs handled the dependency path properly, but CPU runners didn't which
results in missing vc redist libraries on systems where the user didn't
already have it installed from some other app. | [
{
"path": "gpu/gpu.go",
"patch": "@@ -205,13 +205,16 @@ func GetGPUInfo() GpuInfoList {\n \t\tif err != nil {\n \t\t\tslog.Warn(\"error looking up system memory\", \"error\", err)\n \t\t}\n+\t\tdepPath := LibraryDir()\n+\n \t\tcpus = []CPUInfo{\n \t\t\t{\n \t\t\t\tGpuInfo: GpuInfo{\n-\t\t\t\t\tmemInfo: mem,... | 2024-09-21T23:28:29 |
nodejs/node | 1385e1bc63665b8c226e9f7bc8c46a9263195efc | e8c491a801191bd6e6244195237adc377a4f755f | timers: setInterval interval includes cb duration
setInterval callback should be scheduled on the interval
Fixes: https://github.com/nodejs/node/issues/7346
PR-URL: https://github.com/nodejs/node/pull/14815
Fixes: https://github.com/nodejs/node/issues/7346
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Revie... | [
{
"path": "lib/timers.js",
"patch": "@@ -167,11 +167,15 @@ exports._unrefActive = function(item) {\n // Appends a timer onto the end of an existing timers list, or creates a new\n // TimerWrap backed list if one does not already exist for the specified timeout\n // duration.\n-function insert(item, unrefed)... | 2017-08-14T01:59:15 |
golang/go | 3b2a578166bdedd94110698c971ba8990771eb89 | be9379f8a8e2bfd924966020d177552d01833fdb | internal/cpu: fix typo in cpu_arm64.go
auxillary -> auxiliary
Change-Id: I7c29c4a63d236c3688b8e4f5af70650d43cd89c0
GitHub-Last-Rev: d4a18c71a15cf0803bd847225ed5bf898c52e0f3
GitHub-Pull-Request: golang/go#43024
Reviewed-on: https://go-review.googlesource.com/c/go/+/275592
Reviewed-by: Ian Lance Taylor <iant@golang.org... | [
{
"path": "src/internal/cpu/cpu_arm64.go",
"patch": "@@ -36,7 +36,7 @@ func doinit() {\n \n \tswitch GOOS {\n \tcase \"linux\", \"android\":\n-\t\t// HWCap was populated by the runtime from the auxillary vector.\n+\t\t// HWCap was populated by the runtime from the auxiliary vector.\n \t\t// Use HWCap inform... | 2020-12-05T14:43:53 |
huggingface/transformers | 409fcfdfccde77a14b7cc36972b774cabc371ae1 | 1ca9ff5c91203b836a8a1f97dae1fd041550b27f | Fix: Suppressed 'use_reentrant=False' warning (#33208)
Co-authored-by: Ankush <ankush13r> | [
{
"path": "src/transformers/trainer.py",
"patch": "@@ -2118,12 +2118,7 @@ def _inner_training_loop(\n \n # Activate gradient checkpointing if needed\n if args.gradient_checkpointing:\n- if args.gradient_checkpointing_kwargs is None:\n- gradient_checkpointing_kwargs ... | 2024-09-02T08:16:07 |
ollama/ollama | 2a038c1d7e8351b386dbf6944e63f1053cf9b9b6 | 616c5eafee3f9ddabe1d9c59248a0a6fdbe7796f | CI: win arm artifact dist dir (#6900)
The upload artifact is missing the dist prefix since all
payloads are in the same directory, so restore the prefix
on download. | [
{
"path": ".github/workflows/release.yaml",
"patch": "@@ -470,6 +470,7 @@ jobs:\n - uses: actions/download-artifact@v4\n with:\n name: windows-arm64\n+ path: dist\n - run: dir build\n - run: |\n $gopath=(get-command go).source | split-path -parent",
... | 2024-09-21T02:16:18 |
nodejs/node | ee2e7fcd5ff330f036f6502cded21eb013941f89 | 20fe04f113fb81423585077265d3026584989232 | http2: remember sent headers
Add sentHeaders, sentTrailers, and sentInfoHeaders properties
on `Http2Stream`.
PR-URL: https://github.com/nodejs/node/pull/18045
Fixes: https://github.com/nodejs/node/issues/16619
Reviewed-By: Matteo Collina <matteo.collina@gmail.com> | [
{
"path": "doc/api/http2.md",
"patch": "@@ -989,6 +989,34 @@ destroyed after either receiving an `RST_STREAM` frame from the connected peer,\n calling `http2stream.close()`, or `http2stream.destroy()`. Will be\n `undefined` if the `Http2Stream` has not been closed.\n \n+#### http2stream.sentHeaders\n+<!-- Y... | 2018-01-08T20:18:22 |
huggingface/transformers | 51e6526b3896285f898cc52989e005999bf1c2a3 | db70426854fe7850f2c5834d633aff637f14772e | Fix red amin (#33220)
* fix
* oups
* oups
* proper fix
* forget about that
* arf
* ish | [
{
"path": ".circleci/create_circleci_config.py",
"patch": "@@ -346,7 +346,7 @@ def create_circleci_config(folder=None):\n if folder is None:\n folder = os.getcwd()\n os.environ[\"test_preparation_dir\"] = folder\n- jobs = [k for k in ALL_TESTS if len(k.tests_to_run) > 0]\n+ jobs = [k f... | 2024-08-30T17:49:23 |
vercel/next.js | ab9f96fe3d2eaacb2238de0130f12fbd63ccd82a | 704a0d20ca57e87641034005f8c85ffb62c7752f | add new turbo_tasks primitive: collectibles (#201)
This adds two new APIs:
```rs
turbo_tasks::emit(some_trait_vc)
```
emits some kind of value to the current task. It will bubble up the call graph until processed via:
```rs
let some_vc = some_function();
let all_emitted_vcs: Vec<SomeTraitVc> = some_vc.peek_collecti... | [
{
"path": "crates/node-file-trace/Cargo.toml",
"patch": "@@ -22,6 +22,7 @@ tokio_console = [\n \n [dependencies]\n clap = { version = \"3.1.3\", features = [\"derive\"] }\n+owo-colors = \"3\"\n turbo-malloc = { path = \"../turbo-malloc\" }\n turbo-tasks = { path = \"../turbo-tasks\" }\n # turbo-tasks-memory... | 2022-08-04T06:18:35 |
golang/go | be9379f8a8e2bfd924966020d177552d01833fdb | 4de4480dc34fbe4f7b0ed97eada26aef7a7e2337 | syscall: correct CertOpenStore to expect a 0 return value on failure
According to [1], this function returns NULL when it errors, rather than
INVALID_HANDLE_VALUE, which other Win32 functions return. This was
pointed out in CL 273446 for the x/sys package, and this patch here
cleans it up for the syscall package and u... | [
{
"path": "src/cmd/go.mod",
"patch": "@@ -7,6 +7,6 @@ require (\n \tgolang.org/x/arch v0.0.0-20201008161808-52c3e6f60cff\n \tgolang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897\n \tgolang.org/x/mod v0.4.0\n-\tgolang.org/x/sys v0.0.0-20201110211018-35f3e6cf4a65 // indirect\n+\tgolang.org/x/sys v0.0.0-2020... | 2020-11-29T12:33:37 |
huggingface/transformers | db70426854fe7850f2c5834d633aff637f14772e | c79bfc71b8c98a0b757e6bde0108758ed77bc650 | 🌐 [i18n-KO] Translated `llm_optims.md` to Korean (#32325)
* docs: ko: llm_optims.md
* feat: nmt draft
* fix toc title
* fix: manual edits
* Update docs/source/ko/llm_optims.md
Co-authored-by: Jiwook Han <33192762+mreraser@users.noreply.github.com>
* Update docs/source/ko/llm_optims.md
Co-authored... | [
{
"path": "docs/source/ko/_toctree.yml",
"patch": "@@ -186,7 +186,9 @@\n - local: performance\n title: 성능 및 확장성\n - local: in_translation\n- title: (번역중) LLM inference optimization\n+ title: (번역중) Quantization\n+ - local: llm_optims\n+ title: LLM 추론 최적화\n - sections:\n - local: in_tr... | 2024-08-30T16:52:41 |
nodejs/node | 47a282293f62813a88b4c4ba18bc5e5246a6515c | 078b7a2a65599ac6bc7e16e18de482556259d0db | doc: fix s/rstStream/close in example
PR-URL: https://github.com/nodejs/node/pull/18088
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> | [
{
"path": "doc/api/http2.md",
"patch": "@@ -1015,7 +1015,7 @@ const { NGHTTP2_CANCEL } = http2.constants;\n const req = client.request({ ':path': '/' });\n \n // Cancel the stream if there's no activity after 5 seconds\n-req.setTimeout(5000, () => req.rstStream(NGHTTP2_CANCEL));\n+req.setTimeout(5000, () =>... | 2018-01-11T18:05:15 |
vercel/next.js | 6b49d4744c204d9d572ef2540f092c6195a56bb2 | 58b920d5baaf328656e0ed7023ff7633c201f31b | docs: add missing dot (#39314)
Co-authored-by: spcma <46758907+spcma@users.noreply.github.com>
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`
## Feature
- [ ] Implements an existing feature request or RFC. Make... | [
{
"path": "docs/getting-started.md",
"patch": "@@ -84,7 +84,7 @@ Create two directories `pages` and `public` at the root of your application:\n \n Next.js is built around the concept of [pages](/docs/basic-features/pages.md). A page is a [React Component](https://reactjs.org/docs/components-and-props.html) ... | 2022-08-04T02:38:03 |
rust-lang/rust | b14810669a805003cf6392447c08eed79441936f | 5f3b84a42199278114b6e3d95f406de05e0446f4 | Fix ICE: attempted to remap an already remapped filename
This commit fixes an internal compiler error (ICE) that occurs when
rustdoc attempts to process macros with a remapped filename. The issue
arose during macro expansion when the `--remap-path-prefix` option was
used.
Instead of passing remapped filenames through... | [
{
"path": "src/librustdoc/clean/render_macro_matchers.rs",
"patch": "@@ -4,8 +4,8 @@ use rustc_ast_pretty::pprust::PrintState;\n use rustc_ast_pretty::pprust::state::State as Printer;\n use rustc_middle::ty::TyCtxt;\n use rustc_session::parse::ParseSess;\n-use rustc_span::Span;\n use rustc_span::symbol::{Id... | 2025-03-16T10:28:21 |
golang/go | 4de4480dc34fbe4f7b0ed97eada26aef7a7e2337 | 0b99ea3b16ae2e00851e087771d30e649c2faa4c | doc/go1.16: cleanup crypto release notes
For #40700
Fixes #42897
Change-Id: Id3b87841a899818d6939dcc3edbaaa0bc183e913
Reviewed-on: https://go-review.googlesource.com/c/go/+/275313
Trust: Filippo Valsorda <filippo@golang.org>
Trust: Roland Shoemaker <roland@golang.org>
Reviewed-by: Roland Shoemaker <roland@golang.org> | [
{
"path": "doc/go1.16.html",
"patch": "@@ -440,66 +440,60 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n <dl id=\"crypto/hmac\"><dt><a href=\"/pkg/crypto/hmac/\">crypto/hmac</a></dt>\n <dd>\n <p><!-- CL 261960 -->\n- <a href=\"/pkg/crypto/hmac/#New\">New</a> will now pani... | 2020-12-04T00:46:59 |
huggingface/transformers | b017a9eb111a03ce61fd2cf51c90d75e483a4334 | 38d58a4427c7c5093dc7bde45613d2bb0a5dea2c | Refactor CI: more explicit (#30674)
* don't run custom when not needed?
* update test fetcher filtering
* fixup and updates
* update
* update
* reduce burden
* nit
* nit
* mising comma
* this?
* this?
* more parallelism
* more
* nit for real parallelism on tf and torch examples
... | [
{
"path": ".circleci/config.yml",
"patch": "@@ -34,64 +34,42 @@ jobs:\n - run: echo 'export \"GIT_COMMIT_MESSAGE=$(git show -s --format=%s)\"' >> \"$BASH_ENV\" && source \"$BASH_ENV\"\n - run: mkdir -p test_preparation\n - run: python utils/tests_fetcher.py | tee tests_fe... | 2024-08-30T16:17:25 |
rust-lang/rust | 2b431f768b283319d52be7353024c8426fe8e9fe | f3579934b1a66da5b21cd26bccd578982c773c75 | Fix `is_relevant_impl`.
It determines if a function should have any `inline` attributes checked.
For `ItemKind::Fn` it returns true or false depending on the details of
the function; for anything other item kind it returns *true*. This
latter case should instead be *false*. (In the nearby and similar
functions `is_rel... | [
{
"path": "clippy_lints/src/attrs/utils.rs",
"patch": "@@ -24,7 +24,7 @@ pub(super) fn is_relevant_item(cx: &LateContext<'_>, item: &Item<'_>) -> bool {\n if let ItemKind::Fn { body: eid, .. } = item.kind {\n is_relevant_expr(cx, cx.tcx.typeck_body(eid), cx.tcx.hir_body(eid).value)\n } else ... | 2025-03-12T02:45:48 |
vercel/next.js | de41597bc8306d700a024d1bf04a66633ad54ec2 | 11c9d42643680561f9b6b4fe89d7fe34c1ba4906 | Fix next/server being required during build (#39310) | [
{
"path": "packages/next/server.js",
"patch": "@@ -1,4 +1,4 @@\n-module.exports = {\n+const serverExports = {\n NextRequest: require('next/dist/server/web/spec-extension/request')\n .NextRequest,\n NextResponse: require('next/dist/server/web/spec-extension/response')\n@@ -7,6 +7,11 @@ module.exports... | 2022-08-04T01:18:35 |
huggingface/transformers | 38d58a4427c7c5093dc7bde45613d2bb0a5dea2c | fbff27623a69fe90fa06360811d19cb0312f0ce7 | Fix local repos with remote code not registering for pipelines (#33100)
* Extremely experimental fix!
* Try removing the clause entirely
* Add test
* make fixup
* stash commit
* Remove breakpoint
* Add anti-regression test
* make fixup
* Move repos to hf-internal-testing! | [
{
"path": "src/transformers/models/auto/auto_factory.py",
"patch": "@@ -17,7 +17,6 @@\n import copy\n import importlib\n import json\n-import os\n import warnings\n from collections import OrderedDict\n \n@@ -427,10 +426,7 @@ def from_config(cls, config, **kwargs):\n else:\n repo... | 2024-08-30T15:56:22 |
nodejs/node | 0812ebda88798e103498e78c8ae95497e0a4bad1 | ba076996a99c519b37e238c8cf4ac01ee995bda9 | http2: fix kUpdateTimer timer refresh
Fixes an oversight from
93eb68e6d23c66b85e8f79540500d5d9f0bbc396
Wasn't caught by a test.
PR-URL: https://github.com/nodejs/node/pull/18062
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com> | [
{
"path": "lib/internal/http2/core.js",
"patch": "@@ -1478,7 +1478,7 @@ class Http2Stream extends Duplex {\n if (this.destroyed)\n return;\n if (this[kTimeout])\n- _unrefActive([kTimeout]);\n+ _unrefActive(this[kTimeout]);\n if (this[kSession])\n this[kSession][kUpdateTimer... | 2018-01-09T15:58:07 |
ollama/ollama | 7717bb6a84ea07a3b5dbaffef63558342d5f817f | 0ec2915ea7e9f6ba5aab52fd30410b28c24a31da | CI: clean up naming, fix tagging latest (#6832)
The rocm CI step for RCs was incorrectly tagging them as the latest rocm build.
The multiarch manifest was incorrectly tagged twice (with and without the
prefix "v"). Static windows artifacts weren't being carried between build
jobs. This also fixes the latest taggi... | [
{
"path": ".github/workflows/release.yaml",
"patch": "@@ -104,6 +104,7 @@ jobs:\n path: |\n build/**/*\n build/**/*.a\n+ llm/build/**/*.a\n dist/windows-amd64/**\n \n # ROCm generation step\n@@ -421,7 +422,7 @@ jobs:\n !dist/*-cov\n \n ... | 2024-09-16T23:18:41 |
golang/go | 0b99ea3b16ae2e00851e087771d30e649c2faa4c | edf60be15175ff2eb20fb66344d7487875546778 | cmd/vendor: sync pprof@v0.0.0-20201203190320-1bf35d6f28c2
Pulls in a fix to make versioned import paths more readable in pprof's
graph view.
Updated via the instructions in README.vendor.
Updates #36905
Change-Id: I6a91de0f4ca1be3fc69d8e1a39ccf4f5bd0387ef
Reviewed-on: https://go-review.googlesource.com/c/go/+/27551... | [
{
"path": "src/cmd/go.mod",
"patch": "@@ -3,8 +3,7 @@ module cmd\n go 1.16\n \n require (\n-\tgithub.com/google/pprof v0.0.0-20201007051231-1066cbb265c7\n-\tgithub.com/ianlancetaylor/demangle v0.0.0-20200414190113-039b1ae3a340 // indirect\n+\tgithub.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2\n \tgo... | 2020-12-04T20:20:17 |
rust-lang/rust | 6698c26b3ab9ef90a31af1afc367bab3a359563c | 8b87fefd76665236a304d3c0998e1021710ce1b0 | Fix `is_relevant_impl`.
It determines if a function should have any `inline` attributes checked.
For `ItemKind::Fn` it returns true or false depending on the details of
the function; for anything other item kind it returns *true*. This
latter case should instead be *false*. (In the nearby and similar
functions `is_rel... | [
{
"path": "src/tools/clippy/clippy_lints/src/attrs/utils.rs",
"patch": "@@ -24,7 +24,7 @@ pub(super) fn is_relevant_item(cx: &LateContext<'_>, item: &Item<'_>) -> bool {\n if let ItemKind::Fn { body: eid, .. } = item.kind {\n is_relevant_expr(cx, cx.tcx.typeck_body(eid), cx.tcx.hir_body(eid).val... | 2025-03-12T02:45:48 |
huggingface/transformers | fbff27623a69fe90fa06360811d19cb0312f0ce7 | e259d6d1e0d2acfa3c2f84b11c9bfa97e64b984d | Add warning for stop string edge case (#33169)
* Add warning for edge case
* make fixup | [
{
"path": "src/transformers/generation/stopping_criteria.py",
"patch": "@@ -348,7 +348,14 @@ def _stop_string_create_embedding_vec(token_list, token_indices, stop_strings) -\n # we need a fallback to handle this case\n max_valid_positions = max(all_valid_positions) if all_valid_positions els... | 2024-08-30T15:26:26 |
vercel/next.js | 11c9d42643680561f9b6b4fe89d7fe34c1ba4906 | 1039dd460218deab1087fdd1ca80c9f78b2eebe7 | chore(trace): fix typo in trace-to-event-format.mjs (#39279)
arbitary -> arbitrary | [
{
"path": "scripts/trace-to-event-format.mjs",
"patch": "@@ -10,9 +10,9 @@ const createEvent = (trace, ph, cat) => ({\n ts: trace.timestamp,\n // event category. We only use duration events (B/E) for now.\n ph,\n- // process id. We don't collect this for now, putting arbitary numbers.\n+ // process ... | 2022-08-03T23:20:52 |
nodejs/node | ba076996a99c519b37e238c8cf4ac01ee995bda9 | e890344d18fdc4ad096d2c5020a7101bc355ad8b | lib: fix spelling in comments
PR-URL: https://github.com/nodejs/node/pull/18018
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Weijia Wang <starkwang@126.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Re... | [
{
"path": "lib/internal/async_hooks.js",
"patch": "@@ -33,7 +33,7 @@ const { async_hook_fields, async_id_fields } = async_wrap;\n // of a fatal exception this stack is emptied after calling each hook's after()\n // callback.\n const { pushAsyncIds: pushAsyncIds_, popAsyncIds: popAsyncIds_ } = async_wrap;\n-... | 2018-01-06T19:17:53 |
ollama/ollama | d81cfd7d6f8ece08610ac82dd143c42b64a2349f | b330c830d3ea1f38facb7132d7018ca842010e24 | fix typo in import docs (#6828) | [
{
"path": "docs/import.md",
"patch": "@@ -38,7 +38,7 @@ Ollama supports importing adapters based on several different model architecture\n \n You can create the adapter using a fine tuning framework or tool which can output adapters in the Safetensors format, such as:\n \n- * Hugging Face [fine tuning fram... | 2024-09-16T18:48:14 |
golang/go | 02820d61a9d0027140e6da567323e0822d513358 | 9ff27e9fad185338b09141886b1041b82478b2d6 | [dev.typeparams] test: enable some more errorcheck tests
Change-Id: I103e3eeacd5b11efd63c965482a626878ba5ac81
Reviewed-on: https://go-review.googlesource.com/c/go/+/275216
Trust: Robert Griesemer <gri@golang.org>
Run-TryBot: Robert Griesemer <gri@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Robert... | [
{
"path": "test/copy1.go",
"patch": "@@ -17,11 +17,11 @@ func main() {\n \t_ = copy() // ERROR \"not enough arguments\"\n \t_ = copy(1, 2, 3) // ERROR \"too many arguments\"\n \n-\t_ = copy(si, \"hi\") // ERROR \"have different element types.*int.*string\"\n+\t_ = copy(si, \"hi\") // ERROR \"have dif... | 2020-12-04T02:15:50 |
huggingface/transformers | b127fb8fdc33ff494a04ec91cccbf32d2c1add9c | c409cd81777fb27aadc043ed3d8339dbc020fb3b | Pipeline: fix bad generation kwargs docs (#33205)
fix link | [
{
"path": "src/transformers/pipelines/text2text_generation.py",
"patch": "@@ -154,7 +154,7 @@ def __call__(self, *args, **kwargs):\n max_length instead of throwing an error down the line.\n generate_kwargs:\n Additional keyword arguments to pass along to the gener... | 2024-08-30T12:14:42 |
vercel/next.js | 699564b2262eedf697270dcba88df9f2cdbaac92 | 45ae757ff542210752dd91a7f4f017b7a37bdda0 | Update Android NDK path for swc builds (#39298)
* Update Android NDK path for swc builds
* add debug log
* update paths
* update
* re-add isRelease checks
* update strip util path
* double check
* Revert "double check" | [
{
"path": ".github/workflows/build_test_deploy.yml",
"patch": "@@ -1306,23 +1306,33 @@ jobs:\n - host: ubuntu-latest\n target: aarch64-linux-android\n build: |\n- export CARGO_TARGET_AARCH64_LINUX_ANDROID_LINKER=\"/usr/local/lib/android/sdk/ndk/21.4.7075529/too... | 2022-08-03T20:38:09 |
ollama/ollama | 56b9af336a049dae37f7cc62246121ac9d18576e | fda0d3be5224b59a4b4b031e18c89adca71657ed | Fix incremental builds on linux (#6780)
scripts: fix incremental builds on linux or similar | [
{
"path": "llm/generate/gen_common.sh",
"patch": "@@ -137,7 +137,7 @@ wait_for_compress() {\n \n install() {\n echo \"Installing libraries to bin dir ${BUILD_DIR}/bin/\"\n- for lib in $(find ${BUILD_DIR} -name \\*.${LIB_EXT}); do\n+ for lib in $(find ${BUILD_DIR} -name \\*.${LIB_EXT} | grep -v \"$... | 2024-09-13T15:24:08 |
nodejs/node | e890344d18fdc4ad096d2c5020a7101bc355ad8b | 61b4d60c5d9694e79069b1680b3736c96a5de501 | test: fix spelling in test case comments
PR-URL: https://github.com/nodejs/node/pull/18018
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Weijia Wang <starkwang@126.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gm... | [
{
"path": "test/abort/test-http-parser-consume.js",
"patch": "@@ -11,12 +11,12 @@ if (process.argv[2] === 'child') {\n const rr = get({ port: server.address().port }, common.mustCall(() => {\n // This bad input (0) should abort the parser and the process\n rr.parser.consume(0);\n- // Th... | 2018-01-06T18:34:27 |
huggingface/transformers | c409cd81777fb27aadc043ed3d8339dbc020fb3b | 51296712900f28023cecea6ff7333af4b3c81d30 | use a single for loop (#33148)
* use a single for loop
* oups
* fixup
* fix typo | [
{
"path": "src/transformers/models/bit/image_processing_bit.py",
"patch": "@@ -294,31 +294,27 @@ def preprocess(\n # We assume that all images have the same channel dimension format.\n input_data_format = infer_channel_dimension_format(images[0])\n \n- if do_resize:\n- ... | 2024-08-29T13:55:02 |
golang/go | 4651d6b267818b0e0d128a5443289717c4bb8cbc | 35f3b7053addf842690162d4d4937c0fbf438c50 | [dev.fuzz] internal/fuzzing: handle and report crashers
Change-Id: Ie2a84c12f4991984974162e74f06cfd67e9bb4d7
Reviewed-on: https://go-review.googlesource.com/c/go/+/274855
Trust: Katie Hockman <katie@golang.org>
Run-TryBot: Katie Hockman <katie@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com> | [
{
"path": "src/cmd/go/testdata/script/test_fuzz_mutate_crash.txt",
"patch": "@@ -0,0 +1,68 @@\n+# Tests that a crash caused by a mutator-discovered input writes the bad input\n+# to testdata, and fails+reports correctly. This tests the end-to-end behavior\n+# of the mutator finding a crash while fuzzing, ad... | 2020-12-02T19:37:49 |
vercel/next.js | 45ae757ff542210752dd91a7f4f017b7a37bdda0 | 2f49a4f930e93c6f9233d47d44abac38919e9ac2 | feat(config): implement a human readable ajv errors (#39291) | [
{
"path": "packages/next/compiled/@segment/ajv-human-errors/index.js",
"patch": "@@ -0,0 +1 @@\n+(()=>{\"use strict\";var e={97:(e,t,r)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.AggregateAjvError=t.AjvError=void 0;const i=r(852);const a=r(610);const n={fieldLabels:\"title\",includeOriginalErr... | 2022-08-03T20:12:16 |
huggingface/transformers | 51296712900f28023cecea6ff7333af4b3c81d30 | 92a75ff6b15837767247f2a2d7afca67b4249d5e | Add a static cache that offloads to the CPU or other device (#32161)
* Add a static cache that offloads to the CPU or other device
* Fix PR comments, add unit-tests | [
{
"path": "docs/source/en/internal/generation_utils.md",
"patch": "@@ -390,6 +390,11 @@ A [`Constraint`] can be used to force the generation to include specific tokens\n - get_seq_length\n - reset\n \n+[[autodoc]] OffloadedStaticCache\n+ - update\n+ - get_seq_length\n+ - reset\n+\n [[autodo... | 2024-08-29T09:51:09 |
rust-lang/rust | b23fcb0147d4c0c295cdf59fc092ebc435355081 | 775a5c27123414c11376778f090f167831259ce8 | fix: bad indent in doc comments
Sometimes, in doc comments, there are 3 spaces + 1 instead of 4 spaces + 1.
To make it coherent with the rest of the clippy codebase, I `fd -t f -X sed -E -i 's,/// (\S),/// \1,g'` and manually verified and fixed the relevant part of code that had bad indentation. | [
{
"path": "clippy_lints/src/ignored_unit_patterns.rs",
"patch": "@@ -17,15 +17,15 @@ declare_clippy_lint! {\n /// ### Example\n /// ```no_run\n /// match std::fs::create_dir(\"tmp-work-dir\") {\n- /// Ok(_) => println!(\"Working directory created\"),\n- /// Err(s) => eprintln!(\"Coul... | 2025-03-16T18:36:09 |
nodejs/node | 61b4d60c5d9694e79069b1680b3736c96a5de501 | 4d96c17e054fd4735063dc4aa4341ea76ca12b49 | stream: added experimental support for for-await
Adds support for Symbol.asyncIterator into the Readable class.
The stream is destroyed when the loop terminates with break or throw.
Fixes: https://github.com/nodejs/node/issues/15709
PR-URL: https://github.com/nodejs/node/pull/17755
Fixes: https://github.com/nodejs/n... | [
{
"path": "doc/api/stream.md",
"patch": "@@ -1165,6 +1165,31 @@ readable stream will release any internal resources.\n Implementors should not override this method, but instead implement\n [`readable._destroy`][readable-_destroy].\n \n+##### readable[@@asyncIterator]\n+<!-- YAML\n+added: REPLACEME\n+-->\n+\... | 2017-12-19T12:33:31 |
golang/go | 35f3b7053addf842690162d4d4937c0fbf438c50 | db514c0caf5effb4396c9746e025c1ba2d717604 | [dev.fuzz] internal/fuzz: add mutex to workerClient
This prevents workerClient.Close from closing fuzzIn while
workerClient.fuzz is writing to it concurrently. It also prevents
multiple callers from writing to fuzzIn concurrently, though there's
nothing that does that yet.
This should prevent most "broken pipe" error... | [
{
"path": "src/internal/fuzz/worker.go",
"patch": "@@ -13,6 +13,7 @@ import (\n \t\"os\"\n \t\"os/exec\"\n \t\"runtime\"\n+\t\"sync\"\n \t\"time\"\n )\n \n@@ -102,6 +103,9 @@ func (w *worker) runFuzzing() error {\n \t\t\t\t\t// TODO(jayconrod): if we get an error here, something failed between\n \t\t\t\t\t/... | 2020-12-03T18:05:14 |
vercel/next.js | 498d1e939aa774aa1a87125cfbfcb260bdfe1664 | fc8e0242fbdbf22f6269e2e31471096258839017 | fix typo: docs/advanced-features/react-18/streaming.md (#39293)
fix typo document. | [
{
"path": "docs/advanced-features/react-18/streaming.md",
"patch": "@@ -16,7 +16,7 @@ For non-SSR pages, all Suspense boundaries will still be [statically optimized](\n \n ### next/dynamic\n \n-Next.js supports lazy loading external libraries with `import()` and React components with `next/dynamic`. Deferre... | 2022-08-03T18:18:25 |
ollama/ollama | 93ac3760cb4abdd0f54ad755ed15ec4254026282 | abed273de3a6183d734f0f3f0f129d7bd08ac4b4 | runner: Flush pending responses before returning
If there are any pending reponses (such as from potential stop
tokens) then we should send them back before ending the sequence.
Otherwise, we can be missing tokens at the end of a response.
Fixes #6707 | [
{
"path": "llm/ext_server/server.cpp",
"patch": "@@ -913,7 +913,9 @@ struct llama_server_context\n slot.sampled = result.tok;\n \n // search stop word and delete it\n- slot.generated_text += token_str;\n+ if (!llama_token_is_eog(model, result.tok))\n+ slot.generated_... | 2024-09-11T21:00:20 |
huggingface/transformers | 92a75ff6b15837767247f2a2d7afca67b4249d5e | 39bfb2f514274e95664b7b6fd4efd1e7405bd2ed | Mamba2 conversion script for original models (#32580)
* first attempt at allowing both conversions from codestral and from the original mamba ssm
* allow fp16, seems default for mamba2
* dtype fix
* simplify codestral check, dont overwrite pad/eos/bos when codestral
* change file -> directory
* use path... | [
{
"path": "src/transformers/models/mamba2/convert_mamba2_ssm_checkpoint_to_pytorch.py",
"patch": "@@ -15,55 +15,179 @@\n \"\"\"This script can be used to convert checkpoints provided in the `mamba2_ssm` library into the format provided in HuggingFace `transformers`. It depends on the `mamba2_ssm` package to... | 2024-08-29T09:27:45 |
nodejs/node | a2c7085dd4a8e60d1a47572aca8bb6fcb7a32f88 | 315d1f553de9c1c5cf0ab9ee2623b5420bee8a09 | build: fix Makefile wrt finding node executable
Not all shells set PWD, so use CURDIR instead.
`which node` may return the empty string, so guard against
that too. Consider:
if [ -x `which velociraptor` ] && [ -e `which velociprator` ];\
then echo "run"; else echo "keep calm"; fi;
PR-URL: https://github.com/nodejs/n... | [
{
"path": "Makefile",
"patch": "@@ -14,6 +14,7 @@ COVTESTS ?= test-cov\n GTEST_FILTER ?= \"*\"\n GNUMAKEFLAGS += --no-print-directory\n GCOV ?= gcov\n+PWD = $(CURDIR)\n \n ifdef JOBS\n PARALLEL_ARGS = -j $(JOBS)\n@@ -640,7 +641,7 @@ out/doc/api/assets/%: doc/api_assets/% out/doc/api/assets\n available-nod... | 2018-01-08T15:31:07 |
vercel/next.js | 4d0783d9befce60d4cdad1c1c08fb79951d7f946 | b7efce64378b0f344c114dbdf6023107a23ef6cd | Flush styles effects (#39268)
Use flush effects to custom apply css-in-js solution to app. Re-introduce flush effects to app-render, and remove default support of styled-jsx in `app/`. So that users will choose their own css-in-js solution if they need any customization. styled-jsx won't appear in client bundle if you... | [
{
"path": "package.json",
"patch": "@@ -191,6 +191,7 @@\n \"semver\": \"7.3.7\",\n \"shell-quote\": \"1.7.3\",\n \"styled-components\": \"5.3.3\",\n+ \"styled-jsx\": \"link:packages/next/node_modules/styled-jsx\",\n \"styled-jsx-plugin-postcss\": \"3.0.2\",\n \"tailwindcss\": \"1.1.3\... | 2022-08-03T16:21:20 |
huggingface/transformers | 74e19e81e2a23809af192532b9b0e7ea202be6f2 | 5c84682f16402bfa184a14b821cb324eab4e756f | Fix spell mistakes (#33149) | [
{
"path": "examples/flax/language-modeling/README.md",
"patch": "@@ -221,7 +221,7 @@ python run_clm_flax.py \\\n Training should converge at a loss and perplexity\n of 3.24 and 25.72 respectively after 20 epochs on a single TPUv3-8.\n This should take less than ~21 hours.\n-Training statistics can be access... | 2024-08-28T13:27:16 |
rust-lang/rust | 9a2d1fdb141ec2db9be1802316c66722f7b678f8 | a4b76e31f8f906e31256b2c8f696e39b2ee36c41 | Following commit 401dd84 in the Rust project
(https://github.com/rust-lang/rust),
`ErrorGuaranteed` was replaced by fatal errors.
As a result, `tcx.analysis()` now aborts directly
instead of returning an error guard.
To accommodate this change, this update replaces
`tcx.analysis()` with `typeck()`
to perform type check... | [
{
"path": "src/doc/rustc-dev-guide/examples/rustc-interface-getting-diagnostics.rs",
"patch": "@@ -1,4 +1,4 @@\n-// Tested with nightly-2025-02-13\n+// Tested with nightly-2025-03-08\n \n #![feature(rustc_private)]\n \n@@ -86,8 +86,10 @@ fn main() {\n rustc_interface::run_compiler(config, |compiler| {\n... | 2025-03-16T15:43:17 |
golang/go | db514c0caf5effb4396c9746e025c1ba2d717604 | a01814975c18ff1a63847eb82e0a57f7c3c746e5 | [dev.fuzz] testing: fix duplicate logging when fuzzing
The workers were printing PASS/FAIL logs and
various others things, when that should be
the sole responsibility of the coordinator
process, which will have the aggregated data.
Change-Id: I7ac9883db62f0fe79ba1799cb88773c542a2a948
Reviewed-on: https://go-review.go... | [
{
"path": "src/testing/fuzz.go",
"patch": "@@ -191,6 +191,9 @@ func (f *F) Fuzz(ff interface{}) {\n }\n \n func (f *F) report() {\n+\tif *isFuzzWorker {\n+\t\treturn\n+\t}\n \tif f.Failed() {\n \t\tfmt.Fprintf(f.w, \"--- FAIL: %s\\n%s\\n\", f.name, f.result.String())\n \t} else if f.chatty != nil {\n@@ -357... | 2020-12-01T22:37:07 |
ollama/ollama | ecab6f1cc582a5ce8ee2bfbc780cb9990115a3da | 735a0ca2e480b40fc714751b73848c08cf4eed43 | refactor show ouput
fixes line wrapping on long texts | [
{
"path": "cmd/cmd.go",
"patch": "@@ -2,6 +2,7 @@ package cmd\n \n import (\n \t\"archive/zip\"\n+\t\"bufio\"\n \t\"bytes\"\n \t\"context\"\n \t\"crypto/ed25519\"\n@@ -21,6 +22,7 @@ import (\n \t\"regexp\"\n \t\"runtime\"\n \t\"slices\"\n+\t\"strconv\"\n \t\"strings\"\n \t\"sync/atomic\"\n \t\"syscall\"\n@@... | 2024-09-11T18:01:30 |
nodejs/node | 315d1f553de9c1c5cf0ab9ee2623b5420bee8a09 | 8aec3638cebd338b0ea2a62c3e1469b8e29616d7 | path: fix path.normalize for relative paths
After slicing, the `lastSegmentLength` should be calculated again,
instead of assigning value `j`.
PR-URL: https://github.com/nodejs/node/pull/17974
Fixes: https://github.com/nodejs/node/issues/17928
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Gibson Fah... | [
{
"path": "lib/path.js",
"patch": "@@ -51,19 +51,14 @@ function normalizeStringWin32(path, allowAboveRoot) {\n res.charCodeAt(res.length - 1) !== 46/*.*/ ||\n res.charCodeAt(res.length - 2) !== 46/*.*/) {\n if (res.length > 2) {\n- const start = res.length - 1;\n... | 2018-01-04T03:55:56 |
huggingface/transformers | f9ed05dd03d2269feb44a4eae41f82463853ff74 | f1a385b1de7e83e2be9b087d1c0646c0c426e2fc | Fix import paths for test_module (#32888)
* Fix import path for test_feature_extraction_utils.py
See https://github.com/huggingface/transformers/pull/32601
* Fix import path for test_image_processing_utils.py | [
{
"path": "tests/utils/test_feature_extraction_utils.py",
"patch": "@@ -27,7 +27,7 @@\n from transformers.testing_utils import TOKEN, USER, get_tests_dir, is_staging_test\n \n \n-sys.path.append(str(Path(__file__).parent.parent / \"utils\"))\n+sys.path.append(str(Path(__file__).parent.parent.parent / \"util... | 2024-08-28T11:08:29 |
vercel/next.js | 41ffe97f6b8b22e1c8ead4f2f0feefe4379726f0 | 213c42f446874d29d07fa2cca6e6b11fc9c3b711 | Fix URLPattern next/server export on deploy (#39290) | [
{
"path": "packages/next/server.js",
"patch": "@@ -7,5 +7,6 @@ module.exports = {\n .userAgentFromString,\n userAgent: require('next/dist/server/web/spec-extension/user-agent')\n .userAgent,\n- URLPattern: global.URLPattern,\n+ // eslint-disable-next-line no-undef\n+ URLPattern: URLPattern,\n }... | 2022-08-03T15:13:58 |
ollama/ollama | 9246e6dd150524307b854db3dfe774d7c1099636 | 735a0ca2e480b40fc714751b73848c08cf4eed43 | Verify permissions for AMD GPU (#6736)
This adds back a check which was lost many releases back to verify /dev/kfd permissions
which when lacking, can lead to confusing failure modes of:
"rocBLAS error: Could not initialize Tensile host: No devices found"
This implementation does not hard fail the serve command... | [
{
"path": "docs/troubleshooting.md",
"patch": "@@ -91,6 +91,17 @@ If none of those resolve the problem, gather additional information and file an\n - Check dmesg for any errors `sudo dmesg | grep -i nvrm` and `sudo dmesg | grep -i nvidia`\n \n \n+## AMD GPU Discovery\n+\n+On linux, AMD GPU access typically ... | 2024-09-11T18:38:25 |
nodejs/node | e688175c500a556b94191df2c0236b7510654923 | 1e0f3315c77033ef0e01bb37c3d41c8e1d65e686 | 2019-01-10 Version 9.4.0 (Current)
Notable change:
* async_hooks:
- deprecate AsyncHooks Sensitive API and runInAsyncIdScope. Neither
API were documented. (Andreas Madsen)
https://github.com/nodejs/node/pull/16972
* deps:
- update nghttp2 to 1.29.0 (James M Snell)
https://github.com/nodejs/node/pull/1... | [
{
"path": "CHANGELOG.md",
"patch": "@@ -29,7 +29,8 @@ release.\n </tr>\n <tr>\n <td valign=\"top\">\n-<b><a href=\"doc/changelogs/CHANGELOG_V9.md#9.3.0\">9.3.0</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V9.md#9.4.0\">9.4.0</a></b><br/>\n+<a href=\"doc/changelogs/CHANGELOG_V9.md#9.3.0\">9.3.0</... | 2018-01-10T00:23:55 |
huggingface/transformers | f1a385b1de7e83e2be9b087d1c0646c0c426e2fc | e0b87b0f408206b317ee6cc7af3de3aa88ef7c39 | [RoBERTa-based] Add support for sdpa (#30510)
* Adding SDPA support for RoBERTa-based models
* add not is_cross_attention
* fix copies
* fix test
* add minimal test for camembert and xlm_roberta as their test class does not inherit from ModelTesterMixin
* address some review comments
* use copied fro... | [
{
"path": "docs/source/en/perf_infer_gpu_one.md",
"patch": "@@ -74,7 +74,6 @@ FlashAttention-2 is currently supported for the following architectures:\n * [OPT](https://huggingface.co/docs/transformers/model_doc/opt#transformers.OPTModel)\n * [Phi](https://huggingface.co/docs/transformers/model_doc/phi#tran... | 2024-08-28T08:26:00 |
rust-lang/rust | 5bb37b7580aaab8578cb7bb30cf1a62cbfb85a27 | eea0db2590a79b58d1354c86954382e2952f7749 | Fix usage of vector registers in inline asm on arm64 | [
{
"path": "src/inline_asm.rs",
"patch": "@@ -652,6 +652,20 @@ impl<'tcx> InlineAssemblyGenerator<'_, 'tcx> {\n .emit(&mut generated_asm, InlineAsmArch::X86_64, *modifier)\n .unwrap(),\n },\n+ ... | 2025-03-16T14:55:32 |
golang/go | 9f3aa113a9adfceb5ab13dc9abd0921f8d118e15 | 24beae1df3e15c7d5b8d79ad2cfb4651c047e029 | [dev.fuzz] testing: read corpus from testdata/corpus for each target
This change also includes a small cleanup of the run()
function and additional tests for error conditions
in fuzz targets.
Change-Id: I2b7722b25a0d071182a84f1dc4b92e82a7ea34d9
Reviewed-on: https://go-review.googlesource.com/c/go/+/256978
Run-TryBot:... | [
{
"path": "src/cmd/go/testdata/script/test_fuzz.txt",
"patch": "@@ -1,5 +1,10 @@\n+# Test that calling f.Error in a fuzz target causes a non-zero exit status.\n+! go test -fuzz Fuzz error_fuzz_test.go\n+! stdout ^ok\n+stdout FAIL\n+\n # Test that calling f.Fatal in a fuzz target causes a non-zero exit statu... | 2020-10-06T21:54:50 |
vercel/next.js | 1d4821382b38fcb0c87f6fc4da17222527ad6364 | 01a7e41834725480ef028c44713a1e2236ee275c | fix css layer import (vercel/turbo#195)
kdy1 fixes this upstream | [
{
"path": "packages/next-swc/crates/next-dev/Cargo.toml",
"patch": "@@ -9,6 +9,7 @@ path = \"src/main.rs\"\n bench = false\n \n [lib]\n+bench = false\n \n # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html\n ",
"additions": 1,
"deletions": 0,
"langua... | 2022-08-03T03:37:56 |
nodejs/node | 1e0f3315c77033ef0e01bb37c3d41c8e1d65e686 | 800caac2362e602d80b5c61fe1cb288bbcdb316a | stream: always defer 'readable' with nextTick
Emit 'readable' always in the next tick, resulting in a single
call to _read() per microtick. This removes the need for the
user to implement buffering if they wanted to call this.push()
multiple times in an asynchronous fashion, as this.push() triggers
this._read() call.
... | [
{
"path": "doc/api/stream.md",
"patch": "@@ -747,6 +747,12 @@ The listener callback will be passed a single `Error` object.\n ##### Event: 'readable'\n <!-- YAML\n added: v0.9.4\n+changes:\n+ - version: REPLACEME\n+ pr-url: https://github.com/nodejs/node/pull/17979\n+ description: >\n+ 'readable... | 2018-01-04T17:06:56 |
huggingface/transformers | 3bfd3e4803d62afacac81a0ab5dc7eb69c676263 | 386931d9507609c7a6650fe85e7b3239a66fc8c7 | Fix: Jamba batched generation (#32914)
* init fix
* fix mask during cached forward, move mask related stuff to own function
* adjust tests as left padding does not change logits as much anymore + batch gen (with todo on logits comp)
* revert overwriting new integration tests
* move some comments to docstri... | [
{
"path": "src/transformers/models/jamba/modeling_jamba.py",
"patch": "@@ -649,7 +649,12 @@ def __init__(self, config: JambaConfig, layer_idx):\n \" https://github.com/Dao-AILab/causal-conv1d. If you want to use the naive implementation, set `use_mamba_kernels=False` in the model config\"\n ... | 2024-08-28T07:24:06 |
golang/go | 555797058ae41e3cc0825831520dee7fb77b3ce5 | 4fb2f3ca22de92e7ad6137fb988dcc1cd4449ceb | [dev.fuzz] testing: fix error message checked in tests
Change-Id: Ie40bcca896b95f575d7edd054fbe7a8029d2fc5a
Reviewed-on: https://go-review.googlesource.com/c/go/+/259977
Run-TryBot: Katie Hockman <katie@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Katie Hockman <katie@golang.org>
Trust: Jay Conrod <jayc... | [
{
"path": "src/cmd/go/testdata/script/test_fuzz.txt",
"patch": "@@ -41,21 +41,21 @@ stdout ok\n ! stdout ^ok\n ! stdout 'fatal here'\n stdout FAIL\n-stdout illegal\n+stdout 'f.Fuzz function'\n \n # Test that f.Error within f.Fuzz panics\n ! go test error_fuzz_fn_fuzz_test.go\n ! stdout ^ok\n ! stdout 'error... | 2020-10-06T21:13:26 |
vercel/next.js | 704a0d20ca57e87641034005f8c85ffb62c7752f | 0550309fa4b251dc8ffc38fd05b2c1613dba8e98 | fix css layer import (#195)
kdy1 fixes this upstream | [
{
"path": "crates/next-dev/Cargo.toml",
"patch": "@@ -9,6 +9,7 @@ path = \"src/main.rs\"\n bench = false\n \n [lib]\n+bench = false\n \n # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html\n ",
"additions": 1,
"deletions": 0,
"language": "Unknown"
}... | 2022-08-03T03:37:56 |
ollama/ollama | dddb72e08451f18ff94bb4c74bf6ba2fd7894eda | bb6a086d63640f57012dac92eef1da87035466b0 | add *_proxy for debugging | [
{
"path": "envconfig/config.go",
"patch": "@@ -293,7 +293,20 @@ func AsMap() map[string]EnvVar {\n \t\t\"OLLAMA_RUNNERS_DIR\": {\"OLLAMA_RUNNERS_DIR\", RunnersDir(), \"Location for runners\"},\n \t\t\"OLLAMA_SCHED_SPREAD\": {\"OLLAMA_SCHED_SPREAD\", SchedSpread(), \"Always schedule model across a... | 2024-09-10T16:36:42 |
nodejs/node | 800caac2362e602d80b5c61fe1cb288bbcdb316a | 4c8bedf8b45c724ae392928abff032a1eb8fd355 | doc: add descriptions of state properties
Fixes: https://github.com/nodejs/node/issues/15268
PR-URL: https://github.com/nodejs/node/pull/18044
Fixes: https://github.com/nodejs/node/issues/15268
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com> | [
{
"path": "doc/api/http2.md",
"patch": "@@ -540,16 +540,28 @@ All other interactions will be routed directly to the socket.\n added: v8.4.0\n -->\n \n+Provides miscellaneous information about the current state of the\n+`Http2Session`.\n+\n * Value: {Object}\n- * `effectiveLocalWindowSize` {number}\n- * `e... | 2018-01-08T19:30:57 |
huggingface/transformers | 386931d9507609c7a6650fe85e7b3239a66fc8c7 | c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0 | fix model name and copyright (#33152) | [
{
"path": "src/transformers/models/granite/modeling_granite.py",
"patch": "@@ -1,10 +1,6 @@\n # coding=utf-8\n-# Copyright 2024 EleutherAI and the HuggingFace Inc. team. All rights reserved.\n+# Copyright 2024 IBM and the HuggingFace Inc. team. All rights reserved.\n #\n-# This code is based on EleutherAI's... | 2024-08-28T06:38:57 |
rust-lang/rust | 7ea1b873de6ada472f70bc31f4fb4621204c01b7 | 01182e5a7592b4b52828c4a350b0f0478c671e58 | clarify fixme waiting for a newer llvm version | [
{
"path": "library/stdarch/crates/core_arch/src/s390x/vector.rs",
"patch": "@@ -1009,7 +1009,8 @@ mod sealed {\n test_impl! { vec_roundc_f32 (a: vector_float) -> vector_float [nearbyint_v4f32, \"vector-enhancements-1\" vfisb] }\n test_impl! { vec_roundc_f64 (a: vector_double) -> vector_double [near... | 2025-03-04T15:00:13 |
vercel/next.js | b7997105a024fb063c2ab4cde533440408e43a9c | cd3e054f14ce38f4ff57c727a997da2a6e1d05dd | fix: use `if...else` in dockerfile (#39263)
* fix: use if-else in dockerfile
* fix: remove typo | [
{
"path": "examples/with-docker-compose/next-app/dev.Dockerfile",
"patch": "@@ -5,9 +5,11 @@ WORKDIR /app\n # Install dependencies based on the preferred package manager\n COPY package.json yarn.lock* package-lock.json* pnpm-lock.yaml* ./\n RUN \\\n- [ -f package-lock.json ] && npm install || \\\n- [ -f p... | 2022-08-02T22:01:24 |
golang/go | 4fb2f3ca22de92e7ad6137fb988dcc1cd4449ceb | aea29a9016cb5c3e160f94e6a95b197407de8c2c | [dev.fuzz] testing: panic if certain testing.F functions are called in Fuzz func
Change-Id: I8ee513b2b157e6033d4bc9607d0e65f42bd6801f
Reviewed-on: https://go-review.googlesource.com/c/go/+/259657
Trust: Katie Hockman <katie@golang.org>
Trust: Jay Conrod <jayconrod@google.com>
Run-TryBot: Katie Hockman <katie@golang.or... | [
{
"path": "src/cmd/go/testdata/script/test_fuzz.txt",
"patch": "@@ -36,6 +36,27 @@ go test skipped_fuzz_test.go\n stdout ok\n ! stdout FAIL\n \n+# Test that f.Fatal within f.Fuzz panics\n+! go test fatal_fuzz_fn_fuzz_test.go\n+! stdout ^ok\n+! stdout 'fatal here'\n+stdout FAIL\n+stdout illegal\n+\n+# Test t... | 2020-10-05T18:24:21 |
ollama/ollama | 4a8069f9c4c8cb761cd6c10ca5f4be6af21fa0ae | 84b84ce2db23ff5e8db274237155d3639e20970c | Quiet down dockers new lint warnings (#6716)
* Quiet down dockers new lint warnings
Docker has recently added lint warnings to build. This cleans up those warnings.
* Fix go lint regression | [
{
"path": "Dockerfile",
"patch": "@@ -16,12 +16,12 @@ FROM --platform=linux/amd64 nvidia/cuda:$CUDA_VERSION_11-devel-centos7 AS cuda-1\n ARG CMAKE_VERSION\n COPY ./scripts/rh_linux_deps.sh /\n RUN CMAKE_VERSION=${CMAKE_VERSION} sh /rh_linux_deps.sh\n-ENV PATH /opt/rh/devtoolset-10/root/usr/bin:$PATH\n+ENV P... | 2024-09-10T00:22:20 |
nodejs/node | 4c8bedf8b45c724ae392928abff032a1eb8fd355 | 91c1ccd84f5d36906e2cd498f0a49318ebce68b9 | doc: examples for fast-tracking regression fixes
PR-URL: https://github.com/nodejs/node/pull/17379
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> | [
{
"path": "COLLABORATOR_GUIDE.md",
"patch": "@@ -127,12 +127,14 @@ Before landing pull requests, sufficient time should be left for input\n from other Collaborators. In general, leave at least 48 hours during the\n week and 72 hours over weekends to account for international time\n differences and work sche... | 2017-11-26T21:43:20 |
rust-lang/rust | 28580edab80ab688eb75ef447ec26c3037cf96e9 | ab098c6be61cb5a60d84192404df8f65755a1c29 | Fix rustfmt | [
{
"path": "library/stdarch/crates/core_arch/src/wasm32/simd128.rs",
"patch": "@@ -4344,7 +4344,9 @@ mod tests {\n };\n assert_eq!(\n bytes,\n- [-1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16]\n+ [\n+ -1, -2, -3, -4, -5, ... | 2025-03-03T15:44:53 |
huggingface/transformers | c35d2ccf5a5ebcab24a0b9da3cb2527b3ae565a0 | 7591ca5bc583aadbdfe6b2fb36a12c874233323c | Granite language models (#31502)
* first commit
* drop tokenizer
* drop tokenizer
* drop tokenizer
* drop convert
* granite
* drop tokenization test
* mup
* fix
* reformat
* reformat
* reformat
* fix docs
* stop checking for checkpoint
* update support
* attention multiplie... | [
{
"path": "docs/source/en/_toctree.yml",
"patch": "@@ -412,6 +412,8 @@\n title: GPTSAN Japanese\n - local: model_doc/gpt-sw3\n title: GPTSw3\n+ - local: model_doc/granite\n+ title: Granite\n - local: model_doc/herbert\n title: HerBERT\n - local: model_do... | 2024-08-27T19:27:21 |
vercel/next.js | 8fad8a68819cc7dcf9369d0151efda19b6e3ac7b | 12d720ff48c4443b56b417549e348b8beb818b50 | Custom debug implementation for Vcs (vercel/turbo#193)
This PR builds our own `Debug`-like derive-macro machinery for formatting structs, relying on `std::fmt::Formatter` for the actual formatting.
### Usage
A new `ValueDebug` trait is automatically implemented for all `#[turbo_tasks::value]`s, which has a single `.... | [
{
"path": "packages/next-swc/crates/next-dev/src/turbo_tasks_viz.rs",
"patch": "@@ -9,6 +9,7 @@ use turbopack_dev_server::source::{ContentSource, ContentSourceVc};\n \n #[turbo_tasks::value(ContentSource, serialization: none, eq: manual, cell: new, into: new)]\n pub struct TurboTasksSource {\n+ #[debug_i... | 2022-08-02T17:36:48 |
ollama/ollama | fe91d7fff13cc48879b320911a9662f08a686264 | 608e87bf8707e377f1c195ae22330e26f67de91e | openai: fix "presence_penalty" typo and add test (#6665) | [
{
"path": "openai/openai.go",
"patch": "@@ -79,7 +79,7 @@ type ChatCompletionRequest struct {\n \tStop any `json:\"stop\"`\n \tTemperature *float64 `json:\"temperature\"`\n \tFrequencyPenalty *float64 `json:\"frequency_penalty\"`\n-\tPresencePenalty *float64 ... | 2024-09-06T08:16:28 |
rust-lang/rust | ab098c6be61cb5a60d84192404df8f65755a1c29 | ec55ab663f06ed2fbf95de3e61e2873a972b964a | wasm32: Fix undefined behavior with shift intrinsics
This commit fixes an issue where simd shift intrinsic in LLVM are
undefined behavior if the shift amount is larger than the bit width of
the lane. While in WebAssembly the corresponding instructions are
defined as masking out the upper bits we need to represent that... | [
{
"path": "library/stdarch/crates/core_arch/src/wasm32/simd128.rs",
"patch": "@@ -2318,7 +2318,7 @@ pub fn u8x16_narrow_i16x8(a: v128, b: v128) -> v128 {\n #[doc(alias(\"i8x16.shl\"))]\n #[stable(feature = \"wasm_simd\", since = \"1.54.0\")]\n pub fn i8x16_shl(a: v128, amt: u32) -> v128 {\n- unsafe { sim... | 2025-03-03T15:41:50 |
nodejs/node | 91c1ccd84f5d36906e2cd498f0a49318ebce68b9 | 71203f5230fbe0f6d0e73793f5b7767378325875 | n-api: throw RangeError in napi_create_dataview() with invalid range
The API is required that `byte_length + byte_offset` is less than or
equal to the size in bytes of the array passed in. If not, a RangeError
exception is raised[1].
[1] https://nodejs.org/api/n-api.html#n_api_napi_create_dataview
PR-URL: https://gi... | [
{
"path": "doc/api/errors.md",
"patch": "@@ -1322,6 +1322,12 @@ While using `N-API`, a constructor passed was not a function.\n \n While using `N-API`, `Constructor.prototype` was not an object.\n \n+<a id=\"ERR_NAPI_INVALID_DATAVIEW_ARGS\"></a>\n+### ERR_NAPI_INVALID_DATAVIEW_ARGS\n+\n+While calling `napi_... | 2017-12-26T14:20:39 |
huggingface/transformers | 7591ca5bc583aadbdfe6b2fb36a12c874233323c | 27903de7ecfc21e9b5a061c46c3b1ff73539d385 | 🚨 Add Blip2ForImageTextRetrieval (#29261)
* add Blip2ForImageTextRetrieval
* use one line and remove unnecessary space in tests
Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>
* use value from the config, rather than hardcoded
* change order of params in Blip2QFormerModel.forw... | [
{
"path": "docs/source/en/model_doc/blip-2.md",
"patch": "@@ -87,4 +87,17 @@ If you're interested in submitting a resource to be included here, please feel f\n \n [[autodoc]] Blip2ForConditionalGeneration\n - forward\n- - generate\n\\ No newline at end of file\n+ - generate\n+\n+## Blip2ForImageTe... | 2024-08-27T17:50:27 |
ollama/ollama | 608e87bf8707e377f1c195ae22330e26f67de91e | 48685c6ed0b7f8b9927929dcf312d160205b2640 | Fix gemma2 2b conversion (#6645) | [
{
"path": "convert/convert_gemma2.go",
"patch": "@@ -34,10 +34,20 @@ func (p *gemma2Model) KV(t *Tokenizer) llm.KV {\n }\n \n func (p *gemma2Model) Replacements() []string {\n-\treturn append(\n-\t\tp.gemmaModel.Replacements(),\n+\treturn []string{\n+\t\t\"model.embed_tokens\", \"token_embd\",\n+\t\t\"model... | 2024-09-06T00:02:28 |
nodejs/node | 71203f5230fbe0f6d0e73793f5b7767378325875 | 7a18f093e464ac7b7aad3345963a8f173f3f4cad | lib: handle `throw undefined` in assert.throws()
And make `assert.doesNotThrow()` handle it as well.
PR-URL: https://github.com/nodejs/node/pull/18029
Fixes: https://github.com/nodejs/node/issues/18027
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: ... | [
{
"path": "lib/assert.js",
"patch": "@@ -31,6 +31,8 @@ const { inspect } = require('util');\n \n const assert = module.exports = ok;\n \n+const NO_EXCEPTION_SENTINEL = {};\n+\n // All of the following functions must throw an AssertionError\n // when a corresponding condition is not met, with a message that\... | 2018-01-07T22:17:29 |
vercel/next.js | 8b00aa6b27c4dba38a9d11b762f6eccef22bd3f0 | 4c3d85fe6e91b9d6d9f710866026968b2a1dc9e6 | Custom debug implementation for Vcs (#193)
This PR builds our own `Debug`-like derive-macro machinery for formatting structs, relying on `std::fmt::Formatter` for the actual formatting.
### Usage
A new `ValueDebug` trait is automatically implemented for all `#[turbo_tasks::value]`s, which has a single `.dbg()` metho... | [
{
"path": "crates/next-dev/src/turbo_tasks_viz.rs",
"patch": "@@ -9,6 +9,7 @@ use turbopack_dev_server::source::{ContentSource, ContentSourceVc};\n \n #[turbo_tasks::value(ContentSource, serialization: none, eq: manual, cell: new, into: new)]\n pub struct TurboTasksSource {\n+ #[debug_ignore]\n #[tra... | 2022-08-02T17:36:48 |
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.