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
8f48ccf5485e7ec876b8141f500a0d5c84684e24
4c1388f48e72dde96b666f8fe24f74bf4056e410
Fix : Add PEFT from source to CI docker (#34969) * Docker fix peft * Test new docker * uncomment
[ { "path": "docker/transformers-quantization-latest-gpu/Dockerfile", "patch": "@@ -42,6 +42,9 @@ RUN python3 -m pip install --no-cache-dir auto-gptq --extra-index-url https://hu\n # Add optimum for gptq quantization testing\n RUN python3 -m pip install --no-cache-dir git+https://github.com/huggingface/optimu...
2024-11-27T13:10:47
golang/go
38672d3dcf2eae297c45dc2a899c39528148f14b
a1e9148e3dbb20a18e0139583e7d835cc7a820bf
runtime: crash earlier on windows for runtime.abort The isAbort check was wrong for non-x86 systems. That was causing the exception chain to be passed back to Windows. That was causing some other kind of fault - not sure what. That was leading back to lastcontinuehandler to print a larger stack trace, and then the thr...
[ { "path": "src/runtime/signal_windows.go", "patch": "@@ -43,13 +43,17 @@ func initExceptionHandler() {\n //\n //go:nosplit\n func isAbort(r *context) bool {\n-\t// In the case of an abort, the exception IP is one byte after\n-\t// the INT3 (this differs from UNIX OSes).\n-\treturn isAbortPC(r.ip() - 1)\n+\t...
2021-01-27T16:15:33
nodejs/node
aee5fbfe5ccef30d600bc4c1bd1affd2c58dce45
9bf13579933d2a54a2cd8794000ebb582bf3f8b9
deps: fix asm build error of openssl in x86_win32 See https://mta.openssl.org/pipermail/openssl-dev/2015-February/000651.html iojs needs to stop using masm and move to nasm or yasm on Win32. Backport-PR-URL: https://github.com/nodejs/node/pull/19638 Fixes: https://github.com/iojs/io.js/issues/589 PR-URL: https://git...
[ { "path": "deps/openssl/openssl/crypto/perlasm/x86masm.pl", "patch": "@@ -18,10 +18,10 @@ sub ::generic\n \n if ($opcode =~ /lea/ && @arg[1] =~ s/.*PTR\\s+(\\(.*\\))$/OFFSET $1/)\t# no []\n {\t$opcode=\"mov\";\t}\n- elsif ($opcode !~ /movq/)\n+ elsif ($opcode !~ /mov[dq]$/)\n {\t# fix xmm ...
2015-02-13T09:33:59
ollama/ollama
399eacf48677a96a809f6960b35d04a60dcba97a
231cc878cba3f5d080bc96faf8ecbded31b0b4e2
ci: fix missing vulkan binaries in linux bundles (#13123)
[ { "path": ".github/workflows/release.yaml", "patch": "@@ -366,6 +366,7 @@ jobs:\n bin/ollama) echo $COMPONENT >>ollama-${{ matrix.os }}-${{ matrix.arch }}.tar.in ;;\n lib/ollama/*.so*) echo $COMPONENT >>ollama-${{ matrix.os }}-${{ matrix.arch }}.tar.in ;;\...
2025-11-17T23:39:59
vercel/next.js
40639b28be7140efba7c635f69f9b84825472495
0deb6da6d23246f9b9850c3c6e253723cf4a10e2
Lint files with `mjs`, `mts`, `cjs` and `cts` extension by default (#40879) ## Feature Fixes #36819. Closes https://github.com/vercel/next.js/pull/37389. - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [x] Related issues...
[ { "path": "packages/eslint-config-next/index.js", "patch": "@@ -107,7 +107,13 @@ module.exports = {\n version: 'detect',\n },\n 'import/parsers': {\n- [require.resolve('@typescript-eslint/parser')]: ['.ts', '.tsx', '.d.ts'],\n+ [require.resolve('@typescript-eslint/parser')]: [\n+ ...
2022-10-03T19:54:27
golang/go
a1e9148e3dbb20a18e0139583e7d835cc7a820bf
75e273fc2c183896a11bf23f0688c38059933336
runtime: print hex numbers with hex prefixes in traceback debug If traceback fails, it prints a helpful hex dump of the stack. But the hex numbers have no 0x prefix, which might make it a little unclear that they are hex. We only print two per line, so there is plenty of room for the 0x. Print it, which lets us delete...
[ { "path": "src/runtime/print.go", "patch": "@@ -216,13 +216,15 @@ func printint(v int64) {\n \tprintuint(uint64(v))\n }\n \n+var minhexdigits = 0 // protected by printlock\n+\n func printhex(v uint64) {\n \tconst dig = \"0123456789abcdef\"\n \tvar buf [100]byte\n \ti := len(buf)\n \tfor i--; i > 0; i-- {\n ...
2021-01-27T02:26:01
huggingface/transformers
4c1388f48e72dde96b666f8fe24f74bf4056e410
6c3f168b36882f0beebaa9121eafa1928ba29633
[`FlexAttention`] Update gemma2 (#34942) * update tests * now maybe this fixes the previous fialing tests! * nit default * Update src/transformers/models/gemma2/modular_gemma2.py Co-authored-by: Anton Vlasjuk <73884904+vasqu@users.noreply.github.com> * fix-copies --------- Co-authored-by: Anton Vlasjuk <7388490...
[ { "path": "src/transformers/models/gemma2/modeling_gemma2.py", "patch": "@@ -247,9 +247,12 @@ def tanh_softcap(score, b, h, q_idx, kv_idx):\n return_lse=output_attentions,\n )\n if not output_attentions:\n- return attn_output, None\n+ attn_weights = None\n else:\n- r...
2024-11-27T10:50:48
nodejs/node
9bf13579933d2a54a2cd8794000ebb582bf3f8b9
a5bd474573d411eb5346eabdeba40c729dc21279
deps: fix openssl assembly error on ia32 win32 `x86masm.pl` was mistakenly using .486 instruction set, why `cpuid` (and perhaps others) are requiring .686 . Backport-PR-URL: https://github.com/nodejs/node/pull/19638 Fixes: https://github.com/iojs/io.js/issues/589 PR-URL: https://github.com/iojs/io.js/pull/1389 Review...
[ { "path": "deps/openssl/openssl/crypto/perlasm/x86masm.pl", "patch": "@@ -82,7 +82,7 @@ sub ::file\n IF \\@Version LT 800\n ECHO MASM version 8.00 or later is strongly recommended.\n ENDIF\n-.486\n+.686\n .MODEL\tFLAT\n OPTION\tDOTNAME\n IF \\@Version LT 800", "additions": 1, "deletions": 1, "la...
2014-01-08T19:05:01
ollama/ollama
231cc878cba3f5d080bc96faf8ecbded31b0b4e2
aa676b313fffcdaef34b107a943a72133eeb8fa1
app/ui: fix to point ollama client to ui backend in dev mode (#13079)
[ { "path": "app/ui/app/src/api.ts", "patch": "@@ -15,6 +15,7 @@ import {\n import { parseJsonlFromResponse } from \"./util/jsonl-parsing\";\n import { ollamaClient as ollama } from \"./lib/ollama-client\";\n import type { ModelResponse } from \"ollama/browser\";\n+import { API_BASE } from \"./lib/config\";\n...
2025-11-17T17:58:35
vercel/next.js
0deb6da6d23246f9b9850c3c6e253723cf4a10e2
3e8af932204fb441c36c391ceddf84af615b0539
Check required root layout tags (#41120) Inspects the stream of rendered HTML in dev to make sure all required tags are rendered. Since navigating to a new root layout causes a full page navigation we don't have to worry about flight requests. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integratio...
[ { "path": "packages/next/server/app-render.tsx", "patch": "@@ -685,6 +685,7 @@ export async function renderToHTMLOrFlight(\n serverCSSManifest = {},\n supportsDynamicHTML,\n ComponentMod,\n+ dev,\n } = renderOpts\n \n patchFetch(ComponentMod)\n@@ -1374,6 +1375,7 @@ export async function r...
2022-10-03T19:27:16
rust-lang/rust
fdefffecb2a1c2b89dfc2c5ad041c02144adda81
365806089020f60a50391133a1430c40bc86963c
compiler: report error when trait object type param reference self Fixes #139082. Emits an error when `Self` is found in the projection bounds of a trait object. In type aliases, `Self` has no meaning, so `type A = &'static dyn B` where `trait B = Fn() -> Self` will expands to `type A = &'static Fn() -> Self` which i...
[ { "path": "compiler/rustc_hir_analysis/messages.ftl", "patch": "@@ -486,6 +486,9 @@ hir_analysis_self_in_impl_self =\n `Self` is not valid in the self type of an impl block\n .note = replace `Self` with a different type\n \n+hir_analysis_self_in_type_alias = `Self` is not allowed in type aliases\n+ ...
2025-03-30T02:00:45
huggingface/transformers
1f6b423f0ce0c6e7afd300b59e5fd1a816e4896c
d5cf91b3462b5ed57260074a0708f09b16e787a8
Fix torch.onnx.export of Qwen2-VL vision encoder (#34852) * Fix torch.onnx.export of Qwen2-VL vision encoder This PR fixes onnx export support for the vision encoder of Qwen2-VL, which converts the `cu_seqlens` to `torch.int32`, leading to errors later on when using the values for slicing. https://github.com/hug...
[ { "path": "src/transformers/models/qwen2_vl/modeling_qwen2_vl.py", "patch": "@@ -1025,7 +1025,7 @@ def forward(self, hidden_states: torch.Tensor, grid_thw: torch.Tensor) -> torch.\n rotary_pos_emb = self.rot_pos_emb(grid_thw)\n \n cu_seqlens = torch.repeat_interleave(grid_thw[:, 1] * grid_th...
2024-11-26T15:14:36
golang/go
75e273fc2c183896a11bf23f0688c38059933336
76ab626bfc52fad9ce8c12fac56177ce68ff744b
runtime: fix windows/arm CONTEXT_CONTROL The constant was wrong, and the “right” constant doesn't work either. But with the actually-right constant (and possibly earlier fixes in this stack as well), profiling now works. Change-Id: If8caff1da556826db40961fb9bcfe2b1f31ea9f9 Reviewed-on: https://go-review.googlesource....
[ { "path": "src/runtime/defs_windows_arm.go", "patch": "@@ -4,7 +4,13 @@\n \n package runtime\n \n-const _CONTEXT_CONTROL = 0x10001\n+// NOTE(rsc): _CONTEXT_CONTROL is actually 0x200001 and should include PC, SP, and LR.\n+// However, empirically, LR doesn't come along on Windows 10\n+// unless you also set ...
2021-01-27T16:02:33
nodejs/node
df62e69de73f4fb199f3b88727d13f6c52de332a
9e226475e8e28b8664643d6644503ccd06bceb9a
doc: fix grammar error in process.md PR-URL: https://github.com/nodejs/node/pull/19641 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "doc/api/process.md", "patch": "@@ -207,7 +207,7 @@ changes:\n description: Not handling Promise rejections has been deprecated.\n - version: v6.6.0\n pr-url: https://github.com/nodejs/node/pull/8223\n- description: Unhandled Promise rejections have been will now emit\n+ descriptio...
2018-03-27T18:16:21
vercel/next.js
8770728c1ba42253b6eda218d520b4251afbc12c
cf9137a53152062233a8a062ef239a4f44e8c026
Fix PR stats from experimental react (#41112) x-ref: https://github.com/vercel/next.js/actions/runs/3169751294/jobs/5162160302 x-ref: https://github.com/vercel/next.js/actions/runs/3169615837/jobs/5161666929 x-ref: https://github.com/vercel/next.js/actions/runs/3168992257/jobs/5160600727
[ { "path": "test/.stats-app/package.json", "patch": "@@ -4,7 +4,7 @@\n \"license\": \"MIT\",\n \"dependencies\": {\n \"next\": \"latest\",\n- \"react\": \"experimental\",\n- \"react-dom\": \"experimental\"\n+ \"react\": \"0.0.0-experimental-cb5084d1c-20220924\",\n+ \"react-dom\": \"0.0.0-...
2022-10-03T00:47:55
ollama/ollama
dd0ed0ef172cdc270ef062ac764a58780c5c8093
d5649821aea25c3c02747ac1b19d8ac6e138817b
docs: fix typos in repository documentation (#10683)
[ { "path": "CONTRIBUTING.md", "patch": "@@ -16,7 +16,7 @@ See the [development documentation](./docs/development.md) for instructions on h\n \n * New features: new features (e.g. API fields, environment variables) add surface area to Ollama and make it harder to maintain in the long run as they cannot be rem...
2025-11-16T04:22:29
huggingface/transformers
d5cf91b3462b5ed57260074a0708f09b16e787a8
5a45617887613a914ff850b6bc7b82484bc10663
Separate chat templates into a single file (#33957) * Initial draft * Add .jinja file loading for processors * Add processor saving of naked chat template files * make fixup * Add save-load test for tokenizers * Add save-load test for tokenizers * stash commit * Try popping the file * make fixu...
[ { "path": "src/transformers/processing_utils.py", "patch": "@@ -44,7 +44,6 @@\n TruncationStrategy,\n )\n from .utils import (\n- CHAT_TEMPLATE_NAME,\n PROCESSOR_NAME,\n PushToHubMixin,\n TensorType,\n@@ -527,18 +526,24 @@ def save_pretrained(self, save_directory, push_to_hub: bool = Fals...
2024-11-26T14:18:04
rust-lang/rust
3c573ca104d5e7a0cc1ddfbd05fc0f3d6b16c192
280c133743ad2d0c8f9e1a43efccfbe6e048f1d4
fix(ide-assists): remove `AssistKind::None` This was being used by a single assist, which qualifies under the "refactor" kind. The variant has been removed, and all usages updated accordingly. Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
[ { "path": "src/tools/rust-analyzer/crates/ide-assists/src/handlers/toggle_ignore.rs", "patch": "@@ -30,13 +30,13 @@ pub(crate) fn toggle_ignore(acc: &mut Assists, ctx: &AssistContext<'_>) -> Optio\n \n match has_ignore_attribute(&func) {\n None => acc.add(\n- AssistId::none(\"toggle_i...
2025-04-03T08:59:02
golang/go
a54f7fc0fde79e8edc696de002fe8a73604f077f
776ee4079a1d5fabd855a05b300aebdc3ea53efb
runtime: do not treat asmcgocall as a topofstack on g0 This was added in 2018 to fix a runtime crash during unwind during a unhandled-panic-induced crash. (See https://golang.org/cl/90895 and #23576.) Clearly we cannot unwind past this function, and the change did stop the unwind. But it's not a top-of-stack function,...
[ { "path": "src/runtime/traceback.go", "patch": "@@ -209,7 +209,7 @@ func gentraceback(pc0, sp0, lr0 uintptr, gp *g, skip int, pcbuf *uintptr, max in\n \t\t\t}\n \t\t}\n \t\tvar flr funcInfo\n-\t\tif topofstack(f, gp.m != nil && gp == gp.m.g0) {\n+\t\tif flag&funcFlag_TOPFRAME != 0 {\n \t\t\t// This function...
2021-01-29T14:55:03
nodejs/node
9e226475e8e28b8664643d6644503ccd06bceb9a
8eca6b8d3d3e2141180be62b75227f5dd0290a6b
n-api: ensure in-module exceptions are propagated Whenever we call into an addon, whether it is for a callback, for module init, or for async work-related reasons, we should make sure that * the last error is cleared, * the scopes before the call are the same as after, and * if an exception was thrown and captured in...
[ { "path": "src/node_api.cc", "patch": "@@ -157,6 +157,23 @@ struct napi_env__ {\n (out) = v8::type::New((buffer), (byte_offset), (length)); \\\n } while (0)\n \n+#define NAPI_CALL_INTO_MODULE(env, call, handle_exception) \\\n+ do { ...
2018-03-22T21:01:37
vercel/next.js
8c1c2f83896de9c759b4bf8fcd48117813355ad8
dc45061889eefe475b6c6735fbe40a017e97961a
Add conflicting app and page error (#41099) This adds a proper error when we detect conflicting app and page paths. Fixes: https://vercel.slack.com/archives/C043ANYDB24/p1664678172389449 ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have a helpful link ...
[ { "path": "packages/next/build/index.ts", "patch": "@@ -551,6 +551,28 @@ export default async function build(\n : undefined,\n }\n \n+ if (pageKeys.app) {\n+ const conflictingAppPagePaths = []\n+\n+ for (const appPath of pageKeys.app) {\n+ if (pageKeys.pages.inclu...
2022-10-02T18:57:21
huggingface/transformers
5a45617887613a914ff850b6bc7b82484bc10663
1141eff1bdfea70167dd4955a65f14ccc83dd19a
change apply_rotary_pos_emb of Glmmodel for GLM-Edge Series model (#34629) * change apply_rotary_pos_emb * upload for glm-edge * remove useless part * follow the suggestion * fix * format * format * test * format again * format again * remove modular change * remove modular change *...
[ { "path": "src/transformers/models/glm/configuration_glm.py", "patch": "@@ -45,6 +45,7 @@ class GlmConfig(PretrainedConfig):\n by meanpooling all the original heads within that group. For more details checkout [this\n paper](https://arxiv.org/pdf/2305.13245.pdf). If it is not specifi...
2024-11-26T14:05:42
ollama/ollama
5d31242fbfc09302e611df8c2202cb8d2c72037a
d7fd72193fbf113ddf97411fc404be3962f33584
discover: fix typos in runner.go (#13096)
[ { "path": "discover/runner.go", "patch": "@@ -94,7 +94,7 @@ func GPUDevices(ctx context.Context, runners []ml.FilteredRunnerDiscovery) []ml.\n \t\t\tvar dirs []string\n \t\t\tif dir != \"\" {\n \t\t\t\tif requested != \"\" && filepath.Base(dir) != requested {\n-\t\t\t\t\tslog.Debug(\"skipping available libr...
2025-11-16T02:52:54
golang/go
776ee4079a1d5fabd855a05b300aebdc3ea53efb
5ecd9e34dfe0491f1d76372e272d782578ad5bdb
runtime: do not treat morestack as a topofstack I added morestack to this list in 2013 with an explanation that they were needed if we “start a garbage collection on g0 during a stack split or unsplit”. (https://golang.org/cl/11533043) This explanation no longer applies for a handful of reasons, most importantly that...
[ { "path": "src/runtime/traceback.go", "patch": "@@ -1003,7 +1003,6 @@ func tracebackHexdump(stk stack, frame *stkframe, bad uintptr) {\n // Does f mark the top of a goroutine stack?\n func topofstack(f funcInfo, g0 bool) bool {\n \treturn f.flag&funcFlag_TOPFRAME != 0 ||\n-\t\tf.funcID == funcID_morestack |...
2021-01-29T14:05:10
nodejs/node
ed0501f9387585ea2fe8459ba9e0062b48ab4115
9204a0db6ed9fa309860031114feeebab7de4f07
test: update link according to NIST bibliography According to NIST SP 800 38D, this is the document the link orginally pointed to. Fixes: https://github.com/nodejs/node/issues/17619 PR-URL: https://github.com/nodejs/node/pull/19593 Reviewed-By: Weijia Wang <starkwang@126.com> Reviewed-By: Colin Ihrig <cjihrig@gmail....
[ { "path": "test/parallel/test-crypto-authenticated.js", "patch": "@@ -68,9 +68,8 @@ const TEST_CASES = [\n ct: 'dda53a4059aa17b88756984995f7bba3c636cc44',\n tag: 'd2a35e5c611e5e3d2258360241c5b045', tampered: false },\n \n- // Following test cases are from\n- // http://csrc.nist.gov/groups/ST/too...
2018-03-25T11:12:38
vercel/next.js
07b471e31899e2d0ade56ef48c74c2f6bdf3a55c
54d70a0f532f39e00720928194876c0d4166c9de
Lock experimental react version in tests (#41100) x-ref: [slack thread](https://vercel.slack.com/archives/CGU8HUTUH/p1664579732577999) x-ref: https://github.com/vercel/next.js/actions/runs/3162459138/jobs/5149086901 x-ref: https://github.com/vercel/next.js/actions/runs/3162459138/jobs/5149086956 Also fixes inv...
[ { "path": "test/e2e/app-dir/app-alias.test.ts", "patch": "@@ -20,8 +20,8 @@ describe('app-dir alias handling', () => {\n next = await createNext({\n files: new FileRef(path.join(__dirname, 'app-alias')),\n dependencies: {\n- react: 'experimental',\n- 'react-dom': 'experimental'...
2022-10-02T06:06:45
rust-lang/rust
6f0f22cf287ad2a66e478148cc577f41ef222658
0ca62d1f507d6d626bc4cd266b095b86f187f6e0
Fix a typo in derive.rs comment changelog: none
[ { "path": "clippy_lints/src/derive.rs", "patch": "@@ -481,7 +481,7 @@ fn ty_implements_eq_trait<'tcx>(tcx: TyCtxt<'tcx>, ty: Ty<'tcx>, eq_trait_id: De\n tcx.non_blanket_impls_for_ty(eq_trait_id, ty).next().is_some()\n }\n \n-/// Creates the `ParamEnv` used for the give type's derived `Eq` impl.\n+/// Cr...
2025-04-03T08:14:23
ollama/ollama
72ff5b9d8c7a07df46f7a7db68a42562ddab2994
ce29f695b4072209dd8238f8bd732d16505b7e1c
log: warn if user overrides detected (#13088) Many failed GPU discovery issues recently can be traced to incorrect override settings. This extra logging should help quickly spot these and guide users to try unsetting them first.
[ { "path": "discover/runner.go", "patch": "@@ -65,6 +65,10 @@ func GPUDevices(ctx context.Context, runners []ml.FilteredRunnerDiscovery) []ml.\n \t\t}\n \n \t\tslog.Info(\"discovering available GPUs...\")\n+\n+\t\t// Warn if any user-overrides are set which could lead to incorrect GPU discovery\n+\t\toverrid...
2025-11-14T22:36:28
huggingface/transformers
4d1d0f29a493098e6bc6b904b82e29cb331827f5
0e805e6d1e018ce8b8cec2b4d6caa3515abe4eae
[Whisper] Fix whisper integration tests (#34111) * fix test_tiny_timestamp_generation * fix test_large_timestamp_generation * fix test_whisper_shortform_single_batch_prev_cond * fix test_whisper_shortform_multi_batch_hard_prev_cond * return_timestamps necessary with long form * fix test_default_multilin...
[ { "path": "tests/models/whisper/test_modeling_whisper.py", "patch": "@@ -913,7 +913,7 @@ def test_flash_attn_2_inference_equivalence(self):\n logits_fa = outputs_fa.decoder_hidden_states[-1]\n \n # whisper FA2 needs very high tolerance\n- assert torch.allclose(...
2024-11-26T11:23:08
golang/go
5ecd9e34dfe0491f1d76372e272d782578ad5bdb
54da3ab385686dec5554164ba9558214445deec9
runtime: do not treat mcall as a topofstack I added mcall to this list in 2013 without explaining why. (https://codereview.appspot.com/11085043/diff/61001/src/pkg/runtime/traceback_x86.c) I suspect I was stopping crashes during profiling where the unwind tried to walk up past mcall and got confused. mcall is not some...
[ { "path": "src/runtime/symtab.go", "patch": "@@ -337,7 +337,21 @@ const (\n type funcFlag uint8\n \n const (\n+\t// TOPFRAME indicates a function that appears at the top of its stack.\n+\t// The traceback routine stop at such a function and consider that a\n+\t// successful, complete traversal of the stack....
2021-01-28T22:17:38
nodejs/node
9204a0db6ed9fa309860031114feeebab7de4f07
5bfbe5ceaecb6412b176db446caf00f77f84bae7
tls: runtime-deprecate tls.convertNPNProtocols() Fixes: https://github.com/nodejs/node/issues/14602 PR-URL: https://github.com/nodejs/node/pull/19403 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
[ { "path": "doc/api/deprecations.md", "patch": "@@ -971,6 +971,14 @@ initialization vectors. It is recommended to derive a key using\n [`crypto.createDecipheriv()`][] to obtain the [`Cipher`][] and [`Decipher`][]\n objects respectively.\n \n+<a id=\"DEP0107\"></a>\n+### DEP0107: tls.convertNPNProtocols()\n+\...
2018-03-17T04:41:41
rust-lang/rust
4916d44b59a2b5347506b4551b389fe902bdf54b
4d649906900cd833b0680f53b8c197b087711a4a
Fix up tests on wasm and msvc, and rebase conflicts Can be fixed properly later by adding a new flag for non-exhaustive line annotation checking
[ { "path": "tests/ui/cfg/cfg_false_no_std-2.rs", "patch": "@@ -1,5 +1,7 @@\n // Error, the linked empty library is `no_std` and doesn't provide a panic handler.\n \n+//@ compile-flags: --error-format=human\n+//@ error-pattern: `#[panic_handler]` function required, but not found\n //@ dont-check-compiler-stde...
2025-04-02T15:13:53
vercel/next.js
54d70a0f532f39e00720928194876c0d4166c9de
1beb00fc51aa0690b590c0c0c8a08001152e3025
Docs: Fix misleading `console.log` output example (#41096) The docs have a misleading `console.log` output for the input `process.env` that doesn't display all the variables on edge runtime. The example shows an output of a supposed object with all the environment variables, but it does this when logging a specific...
[ { "path": "docs/api-reference/edge-runtime.md", "patch": "@@ -121,7 +121,7 @@ Running `console.log` on `process.env` **will not** show all your Environment Va\n console.log(process.env)\n // { NEXT_RUNTIME: 'edge' }\n console.log(process.env.TEST_VARIABLE)\n-// { NEXT_RUNTIME: 'edge', TEST_VARIABLE: 'value'...
2022-10-02T00:58:46
ollama/ollama
12b174b10e5f3d0cf8cf5856a344e1f765203535
333203d871339414d266a75e2134e87022ff110f
fix tensor merge (#13053)
[ { "path": "convert/tensor.go", "patch": "@@ -2,10 +2,12 @@ package convert\n \n import (\n \t\"cmp\"\n+\t\"errors\"\n \t\"io\"\n \t\"iter\"\n \t\"path\"\n \t\"slices\"\n+\t\"strconv\"\n \t\"strings\"\n \n \t\"github.com/pdevine/tensor\"\n@@ -94,6 +96,26 @@ func mergeTensors(unmatched []Tensor, merges ...mer...
2025-11-13T23:32:34
huggingface/transformers
0e805e6d1e018ce8b8cec2b4d6caa3515abe4eae
73b4ab1085c1f21dc43dc30923407d95a6a8c316
Skipping aqlm non working inference tests till fix merged (#34865)
[ { "path": "tests/quantization/aqlm_integration/test_aqlm.py", "patch": "@@ -17,6 +17,7 @@\n import importlib\n import tempfile\n import unittest\n+from unittest import skip\n \n from packaging import version\n \n@@ -142,6 +143,9 @@ def test_quantized_model_conversion(self):\n \n self.assertEqual(nb_...
2024-11-26T10:09:30
golang/go
54da3ab385686dec5554164ba9558214445deec9
fbe74dbf4263841819368a2a3c90e599392e0808
runtime: use TOPFRAME to identify top-of-frame functions No change to actual runtime, but helps reduce the laundry list of functions. mcall, morestack, and asmcgocall are not actually top-of-frame, so those need more attention in follow-up CLs. mstart moved to assembly so that it can be marked TOPFRAME. Since TOPFR...
[ { "path": "src/runtime/asm_386.s", "patch": "@@ -89,7 +89,7 @@ GLOBL _rt0_386_lib_argc<>(SB),NOPTR, $4\n DATA _rt0_386_lib_argv<>(SB)/4, $0\n GLOBL _rt0_386_lib_argv<>(SB),NOPTR, $4\n \n-TEXT runtime·rt0_go(SB),NOSPLIT|NOFRAME,$0\n+TEXT runtime·rt0_go(SB),NOSPLIT|NOFRAME|TOPFRAME,$0\n \t// Copy arguments fo...
2021-01-28T21:22:52
vercel/next.js
1beb00fc51aa0690b590c0c0c8a08001152e3025
12a490a0dc8e180f1a080de72c2fc02b5a4911d7
chore(examples): fix example checks
[ { "path": "examples/cms-dotcms/.gitignore", "patch": "@@ -34,4 +34,4 @@ yarn-error.log*\n \n # typescript\n *.tsbuildinfo\n-next-env.d.t.s\n\\ No newline at end of file\n+next-env.d.ts", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2022-10-01T20:48:51
ollama/ollama
684a9a8c5a01acfe13ee4a55a7dc7aff69f6b17a
54a76d377301f9b1bcf00895a857e84cc45f0b3a
docs: fix typo (VSCode -> VS Code) (#13072)
[ { "path": "README.md", "patch": "@@ -366,7 +366,7 @@ See the [API documentation](./docs/api.md) for all endpoints.\n - [PartCAD](https://github.com/openvmp/partcad/) (CAD model generation with OpenSCAD and CadQuery)\n - [Ollama4j Web UI](https://github.com/ollama4j/ollama4j-web-ui) - Java-based Web UI for O...
2025-11-13T04:49:33
huggingface/transformers
bdb29ff9f3b8030772bd4be037d061f253c0e928
bfc3556b201ba5c07face45797992d2a7bf552f2
Fix import structure for Fast Image processors (#34859) * Fix import structure image_processor_fast * update to new inits
[ { "path": "src/transformers/__init__.py", "patch": "@@ -1186,14 +1186,14 @@\n )\n _import_structure[\"models.convnext\"].extend([\"ConvNextFeatureExtractor\", \"ConvNextImageProcessor\"])\n _import_structure[\"models.deformable_detr\"].extend(\n- [\"DeformableDetrFeatureExtractor\", \"Def...
2024-11-25T21:27:56
nodejs/node
5bfbe5ceaecb6412b176db446caf00f77f84bae7
b3f23910a25613eb289fe4b338f83783a9f731b3
tls: drop NPN (next protocol negotiation) support NPN has been superseded by ALPN. Chrome and Firefox removed support for NPN in 2016 and 2017 respectively to no ill effect. Fixes: https://github.com/nodejs/node/issues/14602 PR-URL: https://github.com/nodejs/node/pull/19403 Reviewed-By: James M Snell <jasnell@gmail....
[ { "path": "deps/openssl/openssl.gypi", "patch": "@@ -1268,6 +1268,9 @@\n # the real driver but that poses a security liability when an attacker\n # is able to create a malicious DLL in one of the default search paths.\n 'OPENSSL_NO_HW',\n+\n+ # Disable NPN (Next Protocol Negotiation),...
2018-03-17T04:13:47
rust-lang/rust
4d649906900cd833b0680f53b8c197b087711a4a
b6d74b5e15b0d479a98b8b18bb70050511108882
compiletest: Require `//~` annotations even if `error-pattern` is specified
[ { "path": "src/doc/rustc-dev-guide/src/tests/ui.md", "patch": "@@ -335,6 +335,9 @@ But for strict testing, try to use the `ERROR` annotation as much as possible,\n including `//~?` annotations for diagnostics without span.\n For compile time diagnostics `error-pattern` should very rarely be necessary.\n \n+...
2025-03-28T23:41:32
golang/go
fbe74dbf4263841819368a2a3c90e599392e0808
4dd77bdc910494adcd57fe9d87cd46f72d8d8985
runtime: use FuncInfo SPWRITE flag to identify untraceable profile samples The old code was very clever about predicting whether a traceback was safe. That cleverness has not aged well. In particular, the setsSP function is missing a bunch of functions that write to SP and will confuse traceback. And one such function...
[ { "path": "src/runtime/asm_arm.s", "patch": "@@ -506,10 +506,6 @@ CALLFN(·call1073741824, 1073741824)\n // 1. grab stored LR for caller\n // 2. sub 4 bytes to get back to BL deferreturn\n // 3. B to fn\n-// TODO(rsc): Push things on stack and then use pop\n-// to load all registers simultaneously, so that a...
2021-01-28T21:10:58
vercel/next.js
12a490a0dc8e180f1a080de72c2fc02b5a4911d7
1d026ec074d11009dc80ebe38fc7ec6c15194a0f
chore(examples): address remaining review in dotCMS example (#41091) Applies https://github.com/vercel/next.js/pull/38214#pullrequestreview-1126083066 ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## F...
[ { "path": "examples/cms-dotcms/.eslintrc.json", "patch": "@@ -1,4 +0,0 @@\n-{\n- \"root\": true,\n- \"extends\": \"next/core-web-vitals\"\n-}", "additions": 0, "deletions": 4, "language": "JSON" }, { "path": "examples/cms-dotcms/.gitignore", "patch": "@@ -25,14 +25,13 @@ yarn-debug...
2022-10-01T20:46:41
ollama/ollama
f206357412cfac5a885b843bd9a1c64ec89ac213
8224cd9063f29fe1bd775d386988aac8e6fd2ea6
readme: fix incorrect header in community integrations (#13065)
[ { "path": "README.md", "patch": "@@ -640,5 +640,5 @@ See the [API documentation](./docs/api.md) for all endpoints.\n - [Langfuse](https://langfuse.com/docs/integrations/ollama) is an open source LLM observability platform that enables teams to collaboratively monitor, evaluate and debug AI applications.\n -...
2025-11-13T01:00:16
nodejs/node
c2835e5e4705d9e5740a8a88350923d8c227f203
c46e36b073678ea410ecc649f34c5346a9eb735a
lib: merge stream code for http2 streams & net.Socket Squashed from: - lib: separate writev responsibilities from writeGeneric - lib: fix calling of cb twice - lib: extract streamId out of stream_base to caller - lib: add symbols instead of methods to hide impl details - lib: remove unneeded lines - lib: use Object.a...
[ { "path": "lib/internal/http2/core.js", "patch": "@@ -12,14 +12,12 @@ const binding = process.binding('http2');\n const { FileHandle } = process.binding('fs');\n const { StreamPipe } = internalBinding('stream_pipe');\n const assert = require('assert');\n-const { Buffer } = require('buffer');\n const EventEm...
2018-03-18T07:35:47
huggingface/transformers
bfc3556b201ba5c07face45797992d2a7bf552f2
95c10fedb338617abd7df959719d517b95b623d4
making gpt2 fx traceable (#34633) * making gpt2 fx tracable * running make fix-copies * Revert "running make fix-copies" This reverts commit 5a3437cb5b63799243bceae7d21a2aed8d0418c7.
[ { "path": "src/transformers/models/gpt2/modeling_gpt2.py", "patch": "@@ -1101,7 +1101,8 @@ def forward(\n all_self_attentions = () if output_attentions else None\n all_cross_attentions = () if output_attentions and self.config.add_cross_attention else None\n all_hidden_states = () if...
2024-11-25T18:30:38
golang/go
4dd77bdc910494adcd57fe9d87cd46f72d8d8985
aa0388f2ed937669e9f938da8a65c75ea144ebfd
cmd/asm, cmd/link, runtime: introduce FuncInfo flag bits The runtime traceback code has its own definition of which functions mark the top frame of a stack, separate from the TOPFRAME bits that exist in the assembly and are passed along in DWARF information. It's error-prone and redundant to have two different sources...
[ { "path": "src/cmd/asm/internal/asm/endtoend_test.go", "patch": "@@ -36,6 +36,7 @@ func testEndToEnd(t *testing.T, goarch, file string) {\n \tvar ok bool\n \ttestOut = new(bytes.Buffer) // The assembler writes test output to this buffer.\n \tctxt.Bso = bufio.NewWriter(os.Stdout)\n+\tctxt.IsAsm = true\n \tde...
2021-01-28T20:21:33
vercel/next.js
b7fa280faaa3391073acc5847eac7f245d18aa7b
04a1128ee8458f081e18a7e56af35d29a75ac403
chore(examples): fix lint
[ { "path": "examples/with-linaria/.babelrc", "patch": "@@ -1,6 +1,3 @@\n {\n- \"presets\": [\n- \"next/babel\",\n- \"@linaria\"\n- ]\n-}\n\\ No newline at end of file\n+ \"presets\": [\"next/babel\", \"@linaria\"]\n+}", "additions": 2, "deletions": 5, "language": "Unknown" } ]
2022-10-01T14:06:02
nodejs/node
d111d7b91c16ec420f231da4f6877a9b446de6d8
cdfe47b323b8f8b495c23f65b6570021eea16239
stream: give error message if `write()` cb called twice Otherwise, this condition would result in an error that just reads `cb is not a function`, and which additionally could have lost stack trace context through a `process.nextTick()` call. PR-URL: https://github.com/nodejs/node/pull/19510 Reviewed-By: Ruben Bridge...
[ { "path": "lib/_stream_writable.js", "patch": "@@ -37,6 +37,7 @@ const { getHighWaterMark } = require('internal/streams/state');\n const {\n ERR_INVALID_ARG_TYPE,\n ERR_METHOD_NOT_IMPLEMENTED,\n+ ERR_MULTIPLE_CALLBACK,\n ERR_STREAM_CANNOT_PIPE,\n ERR_STREAM_DESTROYED,\n ERR_STREAM_NULL_VALUES,\n@...
2018-03-21T12:01:41
huggingface/transformers
890ea7de934b2bc42c298c66e9ddf664ea533595
b76a292bde72de9675ecc4bad9627a1f4eed0cfc
Fix failling GGML test (#34871) fix_test
[ { "path": "tests/quantization/ggml/test_ggml.py", "patch": "@@ -623,8 +623,8 @@ def test_falcon7b_q2_k(self):\n torch_dtype=torch.float16,\n )\n \n- text = tokenizer(self.example_text, return_tensors=\"pt\").to(torch_device)\n- out = model.generate(**text, max_new_tokens=10...
2024-11-25T17:04:52
golang/go
6fe8981620aa61cb43476538f8230231623f9e13
01f05d8ff1a88c4a63bdaaff5a095a92ce476f58
cmd/internal/obj/riscv: fix JMP name<>(SB) It was being rejected. Now it isn't and can be used in the runtime. Change-Id: I4626bf9fc2e0bc26fffb87d11bede459964324b3 Reviewed-on: https://go-review.googlesource.com/c/go/+/292129 Trust: Russ Cox <rsc@golang.org> Reviewed-by: Cherry Zhang <cherryyz@google.com>
[ { "path": "src/cmd/internal/obj/riscv/obj.go", "patch": "@@ -119,7 +119,7 @@ func progedit(ctxt *obj.Link, p *obj.Prog, newprog obj.ProgAlloc) {\n \t\t\tswitch p.To.Name {\n \t\t\tcase obj.NAME_NONE:\n \t\t\t\tp.As = AJALR\n-\t\t\tcase obj.NAME_EXTERN:\n+\t\t\tcase obj.NAME_EXTERN, obj.NAME_STATIC:\n \t\t\t...
2021-02-15T18:58:45
vercel/next.js
04a1128ee8458f081e18a7e56af35d29a75ac403
ebf08aab0d03106d0e5620378202f58ff740f7bf
chore(examples): fix lint
[ { "path": "examples/cms-sitefinity/lib/api.ts", "patch": "@@ -21,9 +21,9 @@ export async function getAllPostSlugsFromCms(): Promise<string[]> {\n }\n `\n \n- const blogPosts = await executeGraphQLForBlogPosts(query);\n- const slugs = blogPosts.map((x) => x.itemDefaultUrl);\n- return slugs;\n+...
2022-10-01T14:05:23
nodejs/node
2e6dd93aaa40e9f205a2e84920213effab81bea1
d74919cc1a47f4f40766ba7f37ab434db246e700
assert: fix diff color output The color output was broken at some point and that was not detected because it was not tested for properly so far. This makes sure the colors work again and it adds a regression test as well. PR-URL: https://github.com/nodejs/node/pull/19464 Reviewed-By: James M Snell <jasnell@gmail.com>...
[ { "path": "lib/internal/errors.js", "patch": "@@ -15,9 +15,9 @@ const kInfo = Symbol('info');\n const messages = new Map();\n const codes = {};\n \n-var green = '';\n-var red = '';\n-var white = '';\n+let green = '';\n+let red = '';\n+let white = '';\n \n const {\n errmap,\n@@ -29,16 +29,9 @@ const { kMax...
2018-03-20T01:25:22
golang/go
01f05d8ff1a88c4a63bdaaff5a095a92ce476f58
229695a2833ead7bbee53071f52f34e2ce1c2802
runtime: unify asmcgocall and systemstack traceback setup Both asmcgocall and systemstack need to save the calling Go code's context for use by traceback, but they do it differently. Systemstack's appraoch is better, because it doesn't require a special case in traceback. So make them both use that. While we are here...
[ { "path": "misc/cgo/test/callback.go", "patch": "@@ -182,7 +182,7 @@ func testCallbackCallers(t *testing.T) {\n \t\t\"runtime.cgocallbackg1\",\n \t\t\"runtime.cgocallbackg\",\n \t\t\"runtime.cgocallback\",\n-\t\t\"runtime.asmcgocall\",\n+\t\t\"runtime.systemstack_switch\",\n \t\t\"runtime.cgocall\",\n \t\t\...
2021-02-02T03:58:28
vercel/next.js
77577f7961ec6ea2f8a0969c725df314b9470b8c
c70f951ba1bfa3f18abed0c365237516d4a5daf4
chore(examples): update `with-linaria` (#41085) Lands #39289 with code suggestions to comply with our [example guideliens](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md) closes #39289 ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests ad...
[ { "path": "examples/cms-sitefinity/next-env.d.ts", "patch": "@@ -0,0 +1,5 @@\n+/// <reference types=\"next\" />\n+/// <reference types=\"next/image-types/global\" />\n+\n+// NOTE: This file should not be edited\n+// see https://nextjs.org/docs/basic-features/typescript for more information.", "additions...
2022-10-01T13:34:55
huggingface/transformers
a830df2909f672b23d7e30e1a8c2ed67f6404e54
a464afbe2ac6b1d866d6850fa509f9e8dd244a92
Fix `test_auto_backbone_timm_model_from_pretrained` (#34877) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/auto/test_modeling_auto.py", "patch": "@@ -239,7 +239,7 @@ def test_auto_backbone_timm_model_from_pretrained(self):\n \n # Check kwargs are correctly passed to the backbone\n model = AutoBackbone.from_pretrained(\"resnet18\", use_timm_backbone=True, out_indices=(-2, -...
2024-11-25T16:20:41
nodejs/node
ae120dbfd5e32058f4d136f6b56fa936fac4c305
400faf5a3a2605977e613d04578e800b81b00a79
doc: fix run-on sentence in buffer.md PR-URL: https://github.com/nodejs/node/pull/19567 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gibson Fahnestock...
[ { "path": "doc/api/buffer.md", "patch": "@@ -68,11 +68,10 @@ differently based on what arguments are provided:\n * Passing an [`ArrayBuffer`] or a [`SharedArrayBuffer`] returns a `Buffer` that\n shares allocated memory with the given array buffer.\n \n-Because the behavior of `new Buffer()` changes signif...
2018-03-23T22:02:35
ollama/ollama
8224cd9063f29fe1bd775d386988aac8e6fd2ea6
6286d9a3a549c600896a4a7029983a09a8488b56
ci: fix win vulkan (#13062)
[ { "path": ".github/workflows/release.yaml", "patch": "@@ -192,7 +192,7 @@ jobs:\n Enter-VsDevShell -VsInstallPath 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise' -SkipAutomaticLocation -DevCmdArguments '-arch=x64 -no_logo'\n cmake --preset \"${{ matrix.preset }}\" ${{ mat...
2025-11-12T18:32:24
golang/go
678568a5cfe1806c16bf478234d6dac283c3474d
0d94f989d12a52ddc3869dbaa02255873f7a8196
runtime: delete windows setlasterror (unused) This is dead code and need not be ported to each architecture. This CL is part of a stack adding windows/arm64 support (#36439), intended to land in the Go 1.17 cycle. This CL is, however, not windows/arm64-specific. It is cleanup meant to make the port (and future ports)...
[ { "path": "src/runtime/os_windows.go", "patch": "@@ -379,7 +379,6 @@ const (\n // in sys_windows_386.s and sys_windows_amd64.s:\n func externalthreadhandler()\n func getlasterror() uint32\n-func setlasterror(err uint32)\n \n // When loading DLLs, we prefer to use LoadLibraryEx with\n // LOAD_LIBRARY_SEARCH_...
2021-01-30T21:18:51
huggingface/transformers
a464afbe2ac6b1d866d6850fa509f9e8dd244a92
b13916c09d6d8f7d0489d837fb406c1928cce244
fix static cache data type miss-match (#34799) * fix gptj data type missmatch Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * add low precision static cache tests Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * fix format Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * fix low-precisio...
[ { "path": "src/transformers/cache_utils.py", "patch": "@@ -1217,6 +1217,8 @@ def update(\n \n k_out = self.key_cache[layer_idx]\n v_out = self.value_cache[layer_idx]\n+ key_states = key_states.to(k_out.dtype)\n+ value_states = value_states.to(v_out.dtype)\n \n if cache_...
2024-11-25T15:59:38
vercel/next.js
c70f951ba1bfa3f18abed0c365237516d4a5daf4
ccbc9b868af4d47dc564d18162b3eee6b4714ca4
chore(examples): fix lint
[ { "path": "examples/cms-sitefinity/pages/index.tsx", "patch": "@@ -3,7 +3,7 @@ import MoreStories from '../components/more-stories'\n import HeroPost from '../components/hero-post'\n import Intro from '../components/intro'\n import Layout from '../components/layout'\n-import { getAllPostsFromCms, getAllPost...
2022-10-01T13:34:25
nodejs/node
0c2cc89f3aab58a118f5e584cbeb4b20a6366cb0
8fb4ea9f75c8c82c46286bd5ca0c1115c4a5e956
test: remove third param from assert.strictEqual Removing third argument in calls to assert.strictEqual() so that the values of the first two arguments are shown instead as this is more useful for debugging. Refs: https://nodejs.org/api/assert.html#assert_assert_strictequal_actual_expected_message PR-URL: https://gi...
[ { "path": "test/parallel/test-fs-mkdir-rmdir.js", "patch": "@@ -32,8 +32,8 @@ fs.mkdir(d, 0o666, common.mustCall(function(err) {\n assert.strictEqual(this, undefined);\n assert.ok(err, 'got no error');\n assert.ok(/^EEXIST/.test(err.message), 'got no EEXIST message');\n- assert.strictEqual(er...
2018-03-22T19:04:38
golang/go
0d94f989d12a52ddc3869dbaa02255873f7a8196
e7ee3c1fa87556245e38b662ea5b3002bbeb32b9
runtime: clean up system calls during cgo callback init During a cgocallback, the runtime calls needm to get an m. The calls made during needm cannot themselves assume that there is an m or a g (which is attached to the m). In the old days of making direct system calls, the only thing you had to do for such functions...
[ { "path": "src/runtime/asm_386.s", "patch": "@@ -621,6 +621,22 @@ TEXT gosave<>(SB),NOSPLIT,$0\n \tPOPL\tAX\n \tRET\n \n+// func asmcgocall_no_g(fn, arg unsafe.Pointer)\n+// Call fn(arg) aligned appropriately for the gcc ABI.\n+// Called on a system stack, and there may be no g yet (during needm).\n+TEXT ·a...
2021-01-30T12:07:42
huggingface/transformers
b13916c09d6d8f7d0489d837fb406c1928cce244
4e6b19cd9582060637a44f57064f7df5740117c4
[AWQ, CI] Bump AWQ version used in docker image (#34922) The old AWQ version is failing with the latest (unreleased) transformers, giving the error: > ImportError: cannot import name 'shard_checkpoint' from 'transformers.modeling_utils' This has been resolved in awq v0.2.7: https://github.com/casper-hansen/...
[ { "path": "docker/transformers-quantization-latest-gpu/Dockerfile", "patch": "@@ -52,8 +52,8 @@ RUN python3 -m pip install --no-cache-dir hqq\n RUN python3 -m pip install --no-cache-dir gguf\n \n # Add autoawq for quantization testing\n-# >=v0.2.3 needed for compatibility with torch 2.2.1\n-RUN python3 -m p...
2024-11-25T15:49:57
rust-lang/rust
62fcb9d585723f0ab6646ba0e7dbaa72867bf8a8
d5b4c2e4f19b6d7037371cdaecc3cc2c701c68df
Fix the `f16`/`f128` feature gate on integer literals
[ { "path": "compiler/rustc_ast_passes/src/feature_gate.rs", "patch": "@@ -332,17 +332,19 @@ impl<'a> Visitor<'a> for PostExpansionVisitor<'a> {\n ast::ExprKind::TryBlock(_) => {\n gate!(&self, try_blocks, e.span, \"`try` expression is experimental\");\n }\n- ...
2025-04-03T00:08:41
ollama/ollama
3a9e8e9fd42f32711b8aeea355e3ed5e155d49b2
cb1cb06478af1a973092b163dddee2a256c1d2f3
vulkan: temporary cary of vulkan fixes (#12971) This should be reverted once we update ggml past b6897
[ { "path": "llama/patches/0029-vulkan-Call-ggml_vk_buffer_write_2d-from-ggml_vk_buf.patch", "patch": "@@ -0,0 +1,32 @@\n+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001\n+From: Jeff Bolz <jbolz@nvidia.com>\n+Date: Wed, 29 Oct 2025 03:53:04 -0500\n+Subject: [PATCH] vulkan: Call ggml_vk_...
2025-11-12T16:31:40
nodejs/node
d49661bb80dd6d9c012dc718bcec45c89fe2e3e1
cde98ce14743c4f2b80ac7825fc52fb179feeef6
console: don't swallow call stack exceeded errors Fixes test/parallel/test-console-no-swallow-stack-exceeded.js PR-URL: https://github.com/nodejs/node/pull/19423 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
[ { "path": "lib/console.js", "patch": "@@ -21,15 +21,16 @@\n \n 'use strict';\n \n-const { ERR_CONSOLE_WRITABLE_STREAM } = require('internal/errors').codes;\n+const {\n+ isStackOverflowError,\n+ codes: { ERR_CONSOLE_WRITABLE_STREAM },\n+} = require('internal/errors');\n const util = require('util');\n cons...
2018-03-18T04:36:53
huggingface/transformers
4e6b19cd9582060637a44f57064f7df5740117c4
9121ab8fe87a296e57f9846e70153b1a3c555d75
Fix : BitNet tests (#34895) * fix_tests_bitnet * fix format
[ { "path": "tests/quantization/bitnet_integration/test_bitnet.py", "patch": "@@ -95,16 +95,16 @@ def test_replace_with_bitlinear(self):\n \n self.assertEqual(nb_linears - 1, nb_bitnet_linear)\n \n- def test_quantized_model(self, quantized_model, tokenizer):\n+ def test_quantized_model(self):\n ...
2024-11-25T15:47:14
golang/go
a789be78145e9aa33f1616fd3b19570db53887e0
20050a15fee5b03735d6a14fcd96c059a05e149c
[dev.typeparams] cmd/compile: use new converter functions rather than methods (fix build) Change-Id: I4dcaca1f2e67ee32f70c22b2efa586232ca519bb Reviewed-on: https://go-review.googlesource.com/c/go/+/293958 Trust: Robert Griesemer <gri@golang.org> Run-TryBot: Robert Griesemer <gri@golang.org> Reviewed-by: Dan Scales <da...
[ { "path": "src/cmd/compile/internal/noder/expr.go", "patch": "@@ -237,15 +237,15 @@ func (g *irgen) selectorExpr(pos src.XPos, typ types2.Type, expr *syntax.Selecto\n \t\t\t}\n \t\t\trecvType2Base := recvType2\n \t\t\tif wantPtr {\n-\t\t\t\trecvType2Base = recvType2.Pointer().Elem()\n+\t\t\t\trecvType2Base ...
2021-02-18T23:09:38
rust-lang/rust
409c7b8501d207efdc3fc34afdf56c9e72ca0bea
19636413373fb2c602b8372a0253fb7a446edb7c
Tighten up assignment operator representations. In the AST, currently we use `BinOpKind` within `ExprKind::AssignOp` and `AssocOp::AssignOp`, even though this allows some nonsensical combinations. E.g. there is no `&&=` operator. Likewise for HIR and THIR. This commit introduces `AssignOpKind` which only includes the...
[ { "path": "src/expr.rs", "patch": "@@ -2058,7 +2058,7 @@ fn rewrite_assignment(\n context: &RewriteContext<'_>,\n lhs: &ast::Expr,\n rhs: &ast::Expr,\n- op: Option<&ast::BinOp>,\n+ op: Option<&ast::AssignOp>,\n shape: Shape,\n ) -> RewriteResult {\n let operator_str = match op {", ...
2024-12-19T23:15:05
vercel/next.js
15cc88909c2480816b127d8a4f7448e0170d61cc
e0c3d286796e048a7bcb4cc81dbdc98e6160415a
chore(examples): Add dotCMS example (#38214) <!-- Thanks for opening a PR! Your contribution is much appreciated. In order to make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change that you're making: --> This adds...
[ { "path": "examples/cms-agilitycms/README.md", "patch": "@@ -33,6 +33,7 @@ Once you have access to [the environment variables you'll need](#step-15-set-up-\n - [Umbraco Heartcore](/examples/cms-umbraco-heartcore)\n - [Blog Starter](/examples/blog-starter)\n - [Builder.io](/examples/cms-builder-io)\n+- [DotC...
2022-10-01T13:26:13
ollama/ollama
2d5e066c8cb2f54f398243dcb922e615ac94a509
15968714bd50970264bf44d7bfd72f0076919ed2
docs: fix openapi.yaml warnings, rename api.md to api-reference.md (#12904)
[ { "path": "docs/openapi.yaml", "patch": "@@ -2,12 +2,15 @@ openapi: 3.1.0\n info:\n title: Ollama API\n version: 0.1.0\n+ license:\n+ name: MIT\n+ url: https://opensource.org/licenses/MIT\n description: |\n OpenAPI specification for the Ollama HTTP API\n-\n servers:\n - url: http://localh...
2025-11-11T23:39:35
nodejs/node
50e5eff12ab33f868067fb41601e9d8feb2d8177
9125479be92ec49c67be6bf46ba38bf9774587f8
tools: fix nits in tools/doc/common.js PR-URL: https://github.com/nodejs/node/pull/19599 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "tools/doc/common.js", "patch": "@@ -3,11 +3,9 @@\n const yaml = require('js-yaml');\n \n function isYAMLBlock(text) {\n- return !!text.match(/^<!-- YAML/);\n+ return /^<!-- YAML/.test(text);\n }\n \n-exports.isYAMLBlock = isYAMLBlock;\n-\n function arrify(value) {\n return Array.isArray(value...
2018-03-25T15:47:22
huggingface/transformers
f4c04ba32bad116850bac3fd3caaf9161a507438
11cc2295c74d75cf76c4e84483224fc3a430e4f5
Fix Qwen2 failing tests (#34819) * fix: qwen2 model ids * fix: line * fix: more format * update: reformat
[ { "path": "tests/models/qwen2/test_modeling_qwen2.py", "patch": "@@ -440,15 +440,15 @@ class Qwen2IntegrationTest(unittest.TestCase):\n @slow\n def test_model_450m_logits(self):\n input_ids = [1, 306, 4658, 278, 6593, 310, 2834, 338]\n- model = Qwen2ForCausalLM.from_pretrained(\"Qwen/...
2024-11-25T14:53:04
rust-lang/rust
eaaf3ab6210c722f9e757715ba54ad94da4a70b5
1f4abb4b0cee2d2f8e0216149d7aa488b70ad6c9
Tighten up assignment operator representations. In the AST, currently we use `BinOpKind` within `ExprKind::AssignOp` and `AssocOp::AssignOp`, even though this allows some nonsensical combinations. E.g. there is no `&&=` operator. Likewise for HIR and THIR. This commit introduces `AssignOpKind` which only includes the...
[ { "path": "clippy_lints/src/format_push_string.rs", "patch": "@@ -1,7 +1,7 @@\n use clippy_utils::diagnostics::span_lint_and_then;\n use clippy_utils::higher;\n use clippy_utils::ty::is_type_lang_item;\n-use rustc_hir::{BinOpKind, Expr, ExprKind, LangItem, MatchSource};\n+use rustc_hir::{AssignOpKind, Expr,...
2024-12-19T23:15:05
vercel/next.js
b85bbac338584dc9382a16d9d3ec9b8844f3c924
d43deee972c91eef111963db0d246e052070de34
chore(examples): fix lint
[ { "path": "examples/authsignal/passwordless-login/pages/api/login.ts", "patch": "@@ -1,6 +1,9 @@\n import { NextApiRequest, NextApiResponse } from 'next'\n import { authsignal } from '../../lib'\n \n+const redirectUrl =\n+ process.env.REDIRECT_URL ?? 'http://localhost:3000/api/finalize-login'\n+\n export d...
2022-10-01T05:12:41
huggingface/transformers
74db22f9051dc320e7cbfdd9668a950828fddb66
97514a8ba3c4a738546ea13728f463dfbc398c8a
Fix convert_tokens_to_string when decoder is None (#34569) * Fix convert_tokens_to_string when decoder is None * revert unrelated changs --------- Co-authored-by: Arthur Zucker <arthur.zucker@gmail.com>
[ { "path": "src/transformers/tokenization_utils_fast.py", "patch": "@@ -624,7 +624,7 @@ def _encode_plus(\n if return_tensors is None and not return_overflowing_tokens:\n batched_output = BatchEncoding(\n {\n- key: value[0] if len(value) > 0 and isinstan...
2024-11-25T13:35:24
nodejs/node
e821071920f60645c23afacbb99244b8d8757064
e3359c6b75293b0deb3687d9b69cfbc950e6e5a8
doc: add 'v' prefix to all versions in metadata PR-URL: https://github.com/nodejs/node/pull/19590 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Trivikram Kam...
[ { "path": "doc/api/buffer.md", "patch": "@@ -2574,15 +2574,15 @@ console.log(buf);\n \n ## Buffer Constants\n <!-- YAML\n-added: 8.2.0\n+added: v8.2.0\n -->\n \n Note that `buffer.constants` is a property on the `buffer` module returned by\n `require('buffer')`, not on the `Buffer` global or a `Buffer` inst...
2018-03-25T10:01:33
rust-lang/rust
ddcb370bc6c2de76c2a2f8b6cfb46a7b6ec553e6
ac8ccf09b491a0eb2bc5ce1b8059e04d194fea6a
Tighten up assignment operator representations. In the AST, currently we use `BinOpKind` within `ExprKind::AssignOp` and `AssocOp::AssignOp`, even though this allows some nonsensical combinations. E.g. there is no `&&=` operator. Likewise for HIR and THIR. This commit introduces `AssignOpKind` which only includes the...
[ { "path": "compiler/rustc_ast/src/ast.rs", "patch": "@@ -981,6 +981,75 @@ impl BinOpKind {\n \n pub type BinOp = Spanned<BinOpKind>;\n \n+// Sometimes `BinOpKind` and `AssignOpKind` need the same treatment. The\n+// operations covered by `AssignOpKind` are a subset of those covered by\n+// `BinOpKind`, so i...
2024-12-19T23:15:05
vercel/next.js
d43deee972c91eef111963db0d246e052070de34
3caebdef67a4b8da61d696a39c9b6a2694d8231b
chore(examples): fix lint
[ { "path": "examples/cms-cosmic/pages/api/exit-preview.ts", "patch": "@@ -1,4 +1,4 @@\n-export default function exit (_, res) {\n+export default function exit(_, res) {\n // Exit the current user from \"Preview Mode\". This function accepts no args.\n res.clearPreviewData()\n ", "additions": 1, "...
2022-10-01T04:59:44
huggingface/transformers
97514a8ba3c4a738546ea13728f463dfbc398c8a
62ab94dea8015440a6617afe0ec28d346976d884
chore: fix some typos (#34891) Signed-off-by: wanxiangchwng <cui.shuang@foxmail.com>
[ { "path": "src/transformers/generation/flax_logits_process.py", "patch": "@@ -273,7 +273,7 @@ class FlaxSuppressTokensAtBeginLogitsProcessor(FlaxLogitsProcessor):\n r\"\"\"\n [`FlaxLogitsProcessor`] supressing a list of tokens as soon as the `generate` function starts generating using\n `begin_i...
2024-11-25T13:05:59
ollama/ollama
6df42088367f7b5587478d610e8d62466b6afd1d
a42f826acb5f984df56ef26a8f0a303791467fd0
docs: fix metal gpu section header (#13045)
[ { "path": "docs/gpu.mdx", "patch": "@@ -121,6 +121,6 @@ In some Linux distributions, SELinux can prevent containers from\n accessing the AMD GPU devices. On the host system you can run\n `sudo setsebool container_use_devices=1` to allow containers to use devices.\n \n-### Metal (Apple GPUs)\n+## Metal (Appl...
2025-11-11T05:51:22
nodejs/node
85a3d828bb585f90f94b279ca78f95b361233aa9
54fbbb1037f92e7dc2ecd933e59586c3e6ab7796
test: remove custom error message Default error message contains the actual and expected values, which is more informative than the custom error message to be deleted. PR-URL: https://github.com/nodejs/node/pull/19526 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Shingo Inoue <leko.noor@gmail.com> Reviewed-...
[ { "path": "test/parallel/test-fs-readfilesync-pipe-large.js", "patch": "@@ -28,8 +28,8 @@ const node = JSON.stringify(process.execPath);\n const cmd = `cat ${filename} | ${node} ${f} child`;\n exec(cmd, { maxBuffer: 1000000 }, function(err, stdout, stderr) {\n assert.ifError(err);\n- assert.strictEqual(s...
2018-03-22T02:46:26
rust-lang/rust
5c2a32296dea18b3e295b351c8375cd83d6d5643
ae9173d7dd4a31806c950c90dcc331f1508b4d17
use lower case to match other error messages
[ { "path": "compiler/rustc_session/src/config.rs", "patch": "@@ -1424,8 +1424,8 @@ pub fn build_target_config(\n target\n }\n Err(e) => early_dcx.early_fatal(format!(\n- \"Error loading target specification: {e}. \\\n- Run `rustc --print target-list`...
2025-04-02T23:07:55
huggingface/transformers
c50b5675d648d7c4bbe395d763cd468c3c4b56b7
a0f4f3174f4aee87dd88ffda95579f7450934fc8
prepare_fa2_from_position_ids function bugfix (#33269) contiguous() is called before view() for key and value within prepare_fa2_from_position_ids function
[ { "path": "src/transformers/modeling_flash_attention_utils.py", "patch": "@@ -163,8 +163,8 @@ def prepare_fa2_from_position_ids(query, key, value, position_ids):\n Maximum sequence length in batch (`max_seqlen_in_batch_q` for the target sequence i.e. query, `max_seqlen_in_batch_k` for the source...
2024-11-25T12:51:26
vercel/next.js
3caebdef67a4b8da61d696a39c9b6a2694d8231b
e875dded8ba2244ed466212ac922fc433d90e790
chore(examples): Cosmic cms updates (#41080) Lands #38163 with merge conflict fixes. Needed to open a new PR, because GitHub does not allow maintainers to edit organization forks. https://github.com/orgs/community/discussions/5634 Closes #38163 ## Bug - [ ] Related issues linked using `fixes #number` -...
[ { "path": "examples/cms-cosmic/components/alert.tsx", "patch": "@@ -2,7 +2,12 @@ import Container from './container'\n import cn from 'classnames'\n import { EXAMPLE_PATH } from '@/lib/constants'\n \n-export default function Alert({ preview }) {\n+type AlertProps = {\n+ preview: boolean\n+}\n+\n+const Aler...
2022-10-01T04:46:25
ollama/ollama
9d615cdaa0f1eb96491b672c9e48f999338dffa5
6a818b8a094c2f53775d877f38f7f855346c77a7
fix test
[ { "path": "app/ui/ui.go", "patch": "@@ -790,7 +790,7 @@ func (s *Server) chat(w http.ResponseWriter, r *http.Request) error {\n \t\tcase string:\n \t\t\tthinkRequested = v != \"\" && v != \"none\"\n \t\t}\n-\t\t\n+\n \t\tif thinkRequested && !think {\n \t\t\terrorEvent := responses.ErrorEvent{\n \t\t\t\tEve...
2025-11-11T01:13:50
nodejs/node
54fbbb1037f92e7dc2ecd933e59586c3e6ab7796
92de0eb4197c951703aeb4759a3ef9c6897c10ee
doc: add metadata for vm code generation options Add changes entries for vm.createContext codeGeneration option and script.runInNewContext contextCodeGeneration option. PR-URL: https://github.com/nodejs/node/pull/19440 Fixes: https://github.com/nodejs/node/issues/19419 Refs: https://github.com/nodejs/node/pull/19016 ...
[ { "path": "doc/api/vm.md", "patch": "@@ -469,6 +469,10 @@ overhead.\n ### script.runInNewContext([sandbox[, options]])\n <!-- YAML\n added: v0.3.1\n+changes:\n+ - version: REPLACEME\n+ pr-url: https://github.com/nodejs/node/pull/19016\n+ description: The `contextCodeGeneration` option is supported no...
2018-03-19T05:56:00
rust-lang/rust
ef1827b97452f697c28d028f94148463606b2fd8
9f54910f4ba9d1183c5246ec16f0a35183772db2
settings.js: fix whitespace
[ { "path": "src/librustdoc/html/static/js/settings.js", "patch": "@@ -19,7 +19,7 @@\n return false;\n }\n }\n- \n+\n /**\n * @overload {\"theme\"|\"preferred-dark-theme\"|\"preferred-light-theme\"}\n * @param {string} settingName", "additions": 1, "deletions":...
2025-04-02T20:24:38
golang/go
eb982727e33263c0bb67de607beb44c5e0bd2bea
3b7277d3651b5c5856c5b0879ba3fb7a5f279508
cmd/go/internal/mvs: fix Downgrade to match Algorithm 4 mvs.Downgrade is pretty clearly intended to match Algorithm 4 from the MVS blog post (https://research.swtch.com/vgo-mvs#algorithm_4). Per the blog post: “Downgrading one module may require downgrading other modules, but we want to downgrade as few other modules...
[ { "path": "src/cmd/go/internal/mvs/mvs.go", "patch": "@@ -375,10 +375,19 @@ func Upgrade(target module.Version, reqs Reqs, upgrade ...module.Version) ([]mod\n // reqs.Previous, but the methods of reqs must otherwise handle such versions\n // correctly.\n func Downgrade(target module.Version, reqs Reqs, down...
2021-01-28T14:10:57
huggingface/transformers
a0f4f3174f4aee87dd88ffda95579f7450934fc8
4dc1a69349c02bf1c39497e2bcd0c2ac1d80b285
allow unused input parameters passthrough when chunking in asr pipelines (#33889) * allow unused parameter passthrough when chunking in asr pipelines * format code * format * run fixup * update tests * update parameters to pipline in test * updates parametrs in tests * change spelling in gitignore...
[ { "path": "src/transformers/pipelines/automatic_speech_recognition.py", "patch": "@@ -434,7 +434,7 @@ def preprocess(self, inputs, chunk_length_s=0, stride_length_s=None):\n for item in chunk_iter(\n inputs, self.feature_extractor, chunk_len, stride_left, stride_right, self.torch...
2024-11-25T10:36:44
vercel/next.js
e875dded8ba2244ed466212ac922fc433d90e790
c988b99c85bd5d59493bcee8eaa7916fc5d733c4
chore(examples): add Authsignal passwordless example (#41079) Lands #39048 with lint fixes. Needed to open a new PR, because GitHub does not allow maintainers to edit organization forks. https://github.com/orgs/community/discussions/5634 Closes #39048 ## Bug - [ ] Related issues linked using `fixes #numbe...
[ { "path": "examples/authsignal/passwordless-login/.env.local.example", "patch": "@@ -0,0 +1,3 @@\n+AUTHSIGNAL_SECRET=\n+SESSION_TOKEN_SECRET=\n+REDIRECT_URL=http://localhost:3000/api/finalize-login", "additions": 3, "deletions": 0, "language": "Unknown" }, { "path": "examples/authsignal/...
2022-10-01T04:39:38
ollama/ollama
2aaf29acb5caf3f1fdc50cd48542c94df801752f
a42f826acb5f984df56ef26a8f0a303791467fd0
app/ui: do not send to prevent errors with cloud provider
[ { "path": "app/ui/ui.go", "patch": "@@ -782,6 +782,25 @@ func (s *Server) chat(w http.ResponseWriter, r *http.Request) error {\n \tvar thinkValue any\n \n \tif req.Think != nil {\n+\t\t// Validate that the model supports thinking if requested\n+\t\tthinkRequested := false\n+\t\tswitch v := req.Think.(type) ...
2025-11-11T00:05:00
rust-lang/rust
9b8ccf67c691dd9ed1f1ba2b39608fdd03ce75dd
30c128006a71eb9f0c2039a7389c4b636c1ce018
Revert "Disable `f16` on AArch64 without the `neon` feature" The LLVM issue [1] was resolved and the fix was synced to rust-lang/rust in [2]. This reverts commit 5cf417a9e92bb48e4e55756a645826fd167b9f3a. [1]: https://github.com/llvm/llvm-project/issues/129394 [2]: https://github.com/rust-lang/rust/pull/138695
[ { "path": "library/compiler-builtins/compiler-builtins/configure.rs", "patch": "@@ -91,8 +91,6 @@ pub fn configure_f16_f128(target: &Target) {\n let f16_enabled = match target.arch.as_str() {\n // Unsupported <https://github.com/llvm/llvm-project/issues/94434>\n \"arm64ec\" => false,\n- ...
2025-04-02T19:19:43
nodejs/node
59b5d77b920aac08aab79df3e2d1969ba804b745
1d8909b9b9da37d466d6dada81e8622a492ad5c1
doc: add directory structure in writing-tests.md PR-URL: https://github.com/nodejs/node/pull/18802 Fixes: https://github.com/nodejs/node/issues/18774 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matheus Marchini <matheus@sthima.com> Reviewed-By: Gibson Fah...
[ { "path": "doc/guides/writing-tests.md", "patch": "@@ -18,6 +18,13 @@ Add tests when:\n - Fixing regressions and bugs.\n - Expanding test coverage.\n \n+## Test directory structure\n+\n+See [directory structure overview][] for outline of existing test & locations.\n+When deciding on whether to expand an exi...
2018-02-15T18:31:52
golang/go
099374b55e8aed17d1e77a1084f8fb78ff2f8162
653386a89a702b54bb01be893cfd30cddb0e6107
[dev.typeparams] cmd/compile/internal/types2: remove Type.Under method in favor of function This removes the need for the aType embedded type and brings the types2.Type API in sync with the go/types.Type API. For reasons not fully understood yet, introducing the new under function causes a very long initialization cy...
[ { "path": "src/cmd/compile/internal/importer/support.go", "patch": "@@ -125,5 +125,4 @@ var predeclared = []types2.Type{\n type anyType struct{}\n \n func (t anyType) Underlying() types2.Type { return t }\n-func (t anyType) Under() types2.Type { return t }\n func (t anyType) String() string { ...
2021-02-18T01:56:34
huggingface/transformers
1e492afd6169a32b9ccd0659a1321fe00f1df155
857d46ca0c824d7d2497a84a1ed616effe79106c
🔴 Mllama: fix base prefix (#34874) fix base prefix
[ { "path": "src/transformers/models/mllama/modeling_mllama.py", "patch": "@@ -1065,6 +1065,129 @@ def _init_weights(self, module):\n nn.init.normal_(module.gate_attn.data, std=std)\n nn.init.normal_(module.gate_ffn.data, std=std)\n \n+ # Copied from transformers.models.llama.modeli...
2024-11-25T10:20:20
rust-lang/rust
4a8d35709e301d983412b42b26dad6eb5c869951
4f0de4c81d80121ac7b576bc68d8016064f4d261
Revert "Disable `f16` on Aarch64 without `neon`" The LLVM issue [1] was resolved and the fix was synced to rust-lang/rust in [2]. This reverts commit c51b229140c885cac757a405a328a07e90d5bca9. [1]: https://github.com/llvm/llvm-project/issues/129394 [2]: https://github.com/rust-lang/rust/pull/138695
[ { "path": "library/std/build.rs", "patch": "@@ -12,11 +12,6 @@ fn main() {\n .expect(\"CARGO_CFG_TARGET_POINTER_WIDTH was not set\")\n .parse()\n .unwrap();\n- let target_features: Vec<_> = env::var(\"CARGO_CFG_TARGET_FEATURE\")\n- .unwrap_or_default()\n- .split(\",\...
2025-04-02T19:14:27
ollama/ollama
91ec3ddbeb2e57af094c585c5ae24f4e92861a6e
755ac3b069f3ba759ee9ba05e2598cfc34712217
bugfix: don't include both consolidated.safetensors and model-*.safetensors (#13010)
[ { "path": "parser/parser.go", "patch": "@@ -260,10 +260,13 @@ func filesForModel(path string) ([]string, error) {\n \n \tvar files []string\n \t// some safetensors files do not properly match \"application/octet-stream\", so skip checking their contentType\n-\tif st, _ := glob(filepath.Join(path, \"*.safete...
2025-11-08T06:41:57
vercel/next.js
c988b99c85bd5d59493bcee8eaa7916fc5d733c4
3ede313e1f22a165e0d3c42472e5940ff64b40f4
(Docs) getStaticProps & getServerSideProps TS section (#40607) (#40639) Added examples to `getStaticProps` & `getServerSideProps` explicit and implicit typings for TypeScript. Related issues: fixes https://github.com/vercel/next.js/issues/40607 Co-authored-by: Balázs Orbán <18369201+balazsorban44@users.noreply.githu...
[ { "path": "docs/api-reference/data-fetching/get-server-side-props.md", "patch": "@@ -104,18 +104,53 @@ export async function getServerSideProps(context) {\n \n ### getServerSideProps with TypeScript\n \n-For TypeScript, you can use the `GetServerSideProps` type from `next`:\n+The type of `getServerSideProps...
2022-10-01T04:20:57