repo
stringclasses
15 values
fix_commit
stringlengths
40
40
buggy_commit
stringlengths
40
40
message
stringlengths
3
64.3k
files
listlengths
1
300
timestamp
timestamp[s]date
2013-03-13 20:45:00
2026-04-11 07:48:46
golang/go
1b09d430678d4a6f73b2443463d11f75851aba8a
cb0a0f52e67f128c6ad69027c9a8c7a5caf58446
all: update references to symbols moved from io/ioutil to io The old ioutil references are still valid, but update our code to reflect best practices and get used to the new locations. Code compiled with the bootstrap toolchain (cmd/asm, cmd/dist, cmd/compile, debug/elf) must remain Go 1.4-compatible and is excluded....
[ { "path": "src/archive/tar/reader.go", "patch": "@@ -7,7 +7,6 @@ package tar\n import (\n \t\"bytes\"\n \t\"io\"\n-\t\"io/ioutil\"\n \t\"strconv\"\n \t\"strings\"\n \t\"time\"\n@@ -104,7 +103,7 @@ func (tr *Reader) next() (*Header, error) {\n \t\t\tcontinue // This is a meta header affecting the next header...
2020-10-16T04:49:02
huggingface/transformers
d6276f0fc5d32d741374fd28615feb6be594cbfe
b72752f06830cb6cf8d21c284f68e15faa100c4d
Add condition to `benchmark` job in `push-important-models.yml` (#31259) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".github/workflows/push-important-models.yml", "patch": "@@ -136,5 +136,7 @@ jobs:\n \n benchmark:\n name: Benchmark workflow\n+ needs: get_modified_models\n+ if: ${{ needs.get_modified_models.outputs.matrix != '[]' && needs.get_modified_models.outputs.matrix != '' && fromJson(needs.ge...
2024-06-05T13:19:16
nodejs/node
e5238ed030a06fa94e4574eff504777e173c9351
74023c072ccd57ee26dacafbb462572bb05b3ffb
deps: cherry-pick b8331cc030 from upstream V8 Original commit message: I believe the paths to the V8 include headers are incorrect. The paths to other sources seem to be relative to the parent directory. When building Node.js I get the following warning on Windows: Warning: Missing input files: d...
[ { "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.8',\n+ 'v8_embedder_string': '-node.9',\n \n # Enable disassembler for `--print-code...
2017-10-30T13:20:11
ggml-org/llama.cpp
24d2ee052795063afffc9732465ca1b1c65f4a28
541bf376229d6c5cb61e4eb59b3c7629755b8271
[WebGPU] Fix wait logic for inflight jobs (#20096) * Enable tmate debugging for investigating thread safety issue * Refactor wait and submit to operate on vector<wgpu::FutureWaitInfo>, and fix wait to delete only the future that is completed. * Cleanup * Remove clear change and run clang-format * Cleanup
[ { "path": "ggml/src/ggml-webgpu/ggml-webgpu.cpp", "patch": "@@ -123,11 +123,6 @@ struct webgpu_pool_bufs {\n wgpu::Buffer dev_buf;\n };\n \n-// The futures to wait on for a single queue submission\n-struct webgpu_submission_futures {\n- std::vector<wgpu::FutureWaitInfo> futures;\n-};\n-\n // Holds a ...
2026-03-04T19:54:55
rust-lang/rust
6b14125102ccdbcd62099a096e686dbd2f625ff1
30f168ef811aec63124eac677e14699baa9395bd
Fix broken link to Miri intrinsics in documentation Replaced the outdated link to https://github.com/rust-lang/miri/blob/master/src/shims/intrinsics with the correct link https://github.com/rust-lang/miri/tree/master/src/intrinsics in the library/core/src/intrinsics/mod.rs file.
[ { "path": "library/core/src/intrinsics/mod.rs", "patch": "@@ -10,7 +10,7 @@\n //!\n //! In order to make an intrinsic usable at compile-time, it needs to be declared in the \"new\"\n //! style, i.e. as a `#[rustc_intrinsic]` function, not inside an `extern` block. Then copy the\n-//! implementation from <ht...
2025-03-06T15:55:24
huggingface/transformers
b72752f06830cb6cf8d21c284f68e15faa100c4d
464d986b6cc6d3139f989061aaf65019ceef1b9a
Fix circular reference issue in CLIPTokenizerFast (#31075)
[ { "path": "src/transformers/models/clip/tokenization_clip_fast.py", "patch": "@@ -89,16 +89,19 @@ def __init__(\n \" to use your existing tokenizer, you will have to revert to a version prior to 4.17.0 of\"\n \" transformers.\"\n )\n-\n self._wrap_decode_m...
2024-06-05T12:01:13
golang/go
cb0a0f52e67f128c6ad69027c9a8c7a5caf58446
7211694a1e3f9eaebff7074944feead968e00e72
io: adopt Discard, NopCloser, ReadAll from io/ioutil As proposed and approved in #40025, Discard, NopCloser, and ReadAll do not really fit into io/ioutil, which exists mainly to hold things that would cause an import cycle if implemented in io itself, which is to say things that import "os". These three do not import...
[ { "path": "src/io/example_test.go", "patch": "@@ -241,3 +241,17 @@ func ExamplePipe() {\n \t// Output:\n \t// some io.Reader stream to be read\n }\n+\n+func ExampleReadAll() {\n+\tr := strings.NewReader(\"Go is a general-purpose language designed with systems programming in mind.\")\n+\n+\tb, err := ioutil....
2020-10-16T04:41:03
nodejs/node
74023c072ccd57ee26dacafbb462572bb05b3ffb
3393b65a6ff85884f2515f94b2d83aec4dcd45ca
fs: expose realpath(3) bindings Make the `uv_fs_realpath()` binding (which calls the libc `realpath()` on UNIX and `GetFinalPathNameByHandle()` on Windows) available as the `fs.realpath.native()` and `fs.realpathSync.native()` functions. The binding was already available as `process.binding('fs').realpath` but was no...
[ { "path": "lib/fs.js", "patch": "@@ -1722,6 +1722,14 @@ fs.realpathSync = function realpathSync(p, options) {\n };\n \n \n+fs.realpathSync.native = function(path, options) {\n+ options = getOptions(options, {});\n+ handleError((path = getPathFromURL(path)));\n+ nullCheck(path);\n+ return binding.realpat...
2017-10-05T11:10:03
rust-lang/rust
4b7bcdbf9fcfa4972a97e7cc47b105d7b3711b19
aa31d42b39cf9a7c216736392aa522a94794c071
Use the github cli to publish dev releases This removes a whole bunch of complicated javascript with two lines of bash. Fixes rust-lang/rustc_codegen_cranelift#1562
[ { "path": ".github/actions/github-release/README.md", "patch": "@@ -1,18 +0,0 @@\n-# github-release\n-\n-An action used to publish GitHub releases for `wasmtime`.\n-\n-As of the time of this writing there's a few actions floating around which\n-perform github releases but they all tend to have their set of ...
2025-03-06T14:16:09
ggml-org/llama.cpp
7f5ee549683d600ad41db6a295a232cdd2d8eb9f
66199c9f03af450df47440998ebf005eae202163
ggml: fix ggml_is_contiguous_n for ne == 1 (#20092)
[ { "path": "ggml/src/ggml.c", "patch": "@@ -1410,16 +1410,14 @@ static bool ggml_is_contiguous_n(const struct ggml_tensor * tensor, int n) {\n }\n next_nb *= tensor->ne[0]/ggml_blck_size(tensor->type);\n for (int i = 1; i < GGML_MAX_DIMS; i++) {\n- if (tensor->ne[i] != 1) {\n- i...
2026-03-04T11:04:31
huggingface/transformers
464d986b6cc6d3139f989061aaf65019ceef1b9a
41cf4097f73332f6a6faf12f09b250a69c89f68c
Add missing Flaubert tokenizer tests (#30492) * add flaubert tokenization test, enrich inheritance in FlaubertTokenizer. * fix quality code ci * ensure parameter consistency * fix ci * fix copyright year and flatten vocab list. * fix style
[ { "path": "src/transformers/models/flaubert/tokenization_flaubert.py", "patch": "@@ -246,6 +246,7 @@ def __init__(\n self.cache = {}\n \n super().__init__(\n+ do_lowercase=do_lowercase,\n unk_token=unk_token,\n bos_token=bos_token,\n sep_token=s...
2024-06-05T11:52:16
ollama/ollama
9ea492f1ce255e81b08f25b781b3104bebd5765e
ac64cd4ef97de04333ff21185aa730082cfbc67f
convert: fix shape
[ { "path": "convert/convert.go", "patch": "@@ -103,9 +103,9 @@ func ReadSafeTensors(fn string, offset uint64) ([]llm.Tensor, uint64, error) {\n \t\t\treturn []llm.Tensor{}, 0, err\n \t\t}\n \n-\t\tshape := [4]uint64{1, 1, 1, 1}\n-\t\tfor cnt, s := range data.Shape {\n-\t\t\tshape[cnt] = uint64(s)\n+\t\tshape...
2024-03-10T17:41:40
golang/go
05f5ae74bc95b0d77a512029bc1a6739c5d0f181
0bf507efe9f995076e3a65bcf61baf3e905b58c7
runtime: fix scavenging tests for pallocChunkBytes huge pages and larger Currently the scavenging tests implicitly assume that the system huge page size is always strictly less than 4 MiB, or pallocChunkBytes. This leads to failures on systems with huge pages of this size, and larger. Filter out those tests on such p...
[ { "path": "src/runtime/mgcscavenge_test.go", "patch": "@@ -235,26 +235,43 @@ func TestPallocDataFindScavengeCandidate(t *testing.T) {\n \tif PhysHugePageSize > uintptr(PageSize) {\n \t\t// Check hugepage preserving behavior.\n \t\tbits := uint(PhysHugePageSize / uintptr(PageSize))\n-\t\ttests[\"PreserveHuge...
2020-10-20T12:57:14
ggml-org/llama.cpp
c99909dd0b6589070e2a129fa172c40fa1675453
cb8f4fa3f8e359e61ed570adb8a3c2ce74be5179
impl : use 6 digits for tensor dims (#20094) Many models have vocabulary sizes, and thus tensor shapes, with more than 5 digits (ex: Gemma 3's vocab size is 262,208). I already fixed this for `llama_format_tensor_shape` but missed it for `llama_format_tensor_shape` until now. Oops.
[ { "path": "src/llama-impl.cpp", "patch": "@@ -100,9 +100,9 @@ std::string format(const char * fmt, ...) {\n \n std::string llama_format_tensor_shape(const std::vector<int64_t> & ne) {\n char buf[256];\n- snprintf(buf, sizeof(buf), \"%5\" PRId64, ne.at(0));\n+ snprintf(buf, sizeof(buf), \"%6\" PRId...
2026-03-04T08:53:38
rust-lang/rust
1fac14de23b72b3d1d09a07dda52cc276d97f0ef
71d688bb721037b9623ccb645e4f0557fb427fb3
fix typo Co-authored-by: Rémy Rakic <remy.rakic+github@gmail.com>
[ { "path": "compiler/rustc_borrowck/src/type_check/mod.rs", "patch": "@@ -485,7 +485,7 @@ impl<'a, 'b, 'tcx> Visitor<'tcx> for TypeVerifier<'a, 'b, 'tcx> {\n \n #[instrument(level = \"debug\", skip(self))]\n fn visit_body(&mut self, body: &Body<'tcx>) {\n- // We intentionally do not recursive ...
2025-03-06T13:46:10
nodejs/node
4e769a840bf67735e9c0e69c1d9ad3671ee086c6
d597317a209fcf9e0c233093b2adc8f71129b9ef
deps: cherry-pick b8331cc030 from upstream V8 Original commit message: I believe the paths to the V8 include headers are incorrect. The paths to other sources seem to be relative to the parent directory. When building Node.js I get the following warning on Windows: Warning: Missing input files: d...
[ { "path": "deps/v8/src/inspector/inspector.gypi", "patch": "@@ -31,8 +31,8 @@\n 'inspector_all_sources': [\n '<@(inspector_generated_sources)',\n '<(inspector_generated_injected_script)',\n- '../../include/v8-inspector.h',\n- '../../include/v8-inspector-protocol.h',\n+ '../inc...
2017-10-30T13:20:11
huggingface/transformers
63fb253df0d976b95d9b4b9a7b0012e5f8a37896
66875ac070bd90fd2fc1c9d36c46b6069e79baa3
Fixing `name 'torch' is not defined` in `bitsandbytes` integration (#31243) Fixed torch definition error
[ { "path": "src/transformers/integrations/bitsandbytes.py", "patch": "@@ -332,7 +332,7 @@ def get_keys_to_not_convert(model):\n \n \n # Copied from PEFT: https://github.com/huggingface/peft/blob/47b3712898539569c02ec5b3ed4a6c36811331a1/src/peft/utils/integrations.py#L41\n-def dequantize_bnb_weight(weight: to...
2024-06-05T06:00:30
ollama/ollama
41b00b9856b6708e5af165064c6ee0e556f600ab
c2a8ed48e7f77dc23682d0615f8eb87af88fef7c
fix `03-locale.diff`
[ { "path": "llm/patches/03-locale.diff", "patch": "@@ -4,7 +4,7 @@ index b19616e8..519b9602 100644\n +++ b/llama.cpp\n @@ -9938,7 +9938,7 @@ struct llm_tokenizer_wpm {\n }\n-\n+ \n uint32_t to_lower(uint32_t code) {\n - static const std::locale locale(\"en_US.UTF-8\");\n + static cons...
2024-03-10T23:21:05
golang/go
0bf507efe9f995076e3a65bcf61baf3e905b58c7
0709e58bee0b268ee2a11629f44e352c41339443
cmd/go: add BuildID to list -json -export That is, the following two pieces of shell code are now equivalent: $ go tool buildid $(go list -export -f {{.Export}} strings) v_0VqA6yzwuMg2dn4u57/PXcIR2Pb8Mi9yRdcdkwe $ go list -export -f {{.BuildID}} strings v_0VqA6yzwuMg2dn4u57/PXcIR2Pb8Mi9yRdcdkwe This does not ex...
[ { "path": "src/cmd/go/alldocs.go", "patch": "@@ -796,6 +796,7 @@\n // BinaryOnly bool // binary-only package (no longer supported)\n // ForTest string // package is only for use in named test\n // Export string // file containing export data (when using -expor...
2020-10-19T14:06:02
ggml-org/llama.cpp
cb8f4fa3f8e359e61ed570adb8a3c2ce74be5179
54910bd4f3762b716e90b658beb68d349571057e
Fix locale-dependent float printing in GGUF metadata (#17331) * Set C locale for consistent float formatting across all binaries. * Add C locale setting to all tools binaries Add std::setlocale(LC_NUMERIC, "C") to all 16 binaries in the tools/ directory to ensure consistent floating-point formatting. * Apply sugges...
[ { "path": "examples/batched/batched.cpp", "patch": "@@ -5,6 +5,7 @@\n #include \"sampling.h\"\n \n #include <algorithm>\n+#include <clocale>\n #include <cstdio>\n #include <string>\n #include <vector>\n@@ -16,6 +17,8 @@ static void print_usage(int, char ** argv) {\n }\n \n int main(int argc, char ** argv) {...
2026-03-04T08:30:40
nodejs/node
d597317a209fcf9e0c233093b2adc8f71129b9ef
d520059460fa4d610eff3a99e2527dab3033d2dd
test: improve assert messages in stream test In test-stream-pipe-await-train-manual-resume, include unexpected value in error messages. PR-URL: https://github.com/nodejs/node/pull/16884 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Rich Trott <rtrott...
[ { "path": "test/parallel/test-stream-pipe-await-drain-manual-resume.js", "patch": "@@ -30,11 +30,13 @@ readable.once('pause', common.mustCall(() => {\n assert.strictEqual(\n readable._readableState.awaitDrain,\n 1,\n- 'awaitDrain doesn\\'t increase'\n+ 'Expected awaitDrain to equal 1 but ins...
2017-11-08T12:28:47
huggingface/transformers
66875ac070bd90fd2fc1c9d36c46b6069e79baa3
8685b3c5d2dd2550527773d2a02499495a759e31
Specify dtype=torch.bool to avoid xla error (#31191) The StoppingCriteriaList allocates is_done without specifying dtype=torch.bool. On XLA this allocates a float tensor and causes a failure on the following line: is_done = is_done | criteria(input_ids, scores, **kwargs) by attempting to OR float with bool.
[ { "path": "src/transformers/generation/stopping_criteria.py", "patch": "@@ -502,7 +502,7 @@ def __call__(self, input_ids: torch.LongTensor, scores: torch.FloatTensor, **kwa\n class StoppingCriteriaList(list):\n @add_start_docstrings(STOPPING_CRITERIA_INPUTS_DOCSTRING)\n def __call__(self, input_ids:...
2024-06-05T05:50:54
ollama/ollama
f9cd55c70b28944531361d595147a59d5f5b5c3f
ac64cd4ef97de04333ff21185aa730082cfbc67f
disable gpu for certain model architectures and fix divide-by-zero on memory estimation
[ { "path": "llm/llm.go", "patch": "@@ -6,6 +6,7 @@ import (\n \t\"log/slog\"\n \t\"os\"\n \t\"runtime\"\n+\t\"slices\"\n \n \t\"github.com/jmorganca/ollama/api\"\n \t\"github.com/jmorganca/ollama/gpu\"\n@@ -19,6 +20,10 @@ type LLM interface {\n \tClose()\n }\n \n+var cpuOnlyFamilies = []string{\n+\t\"mamba\"...
2024-03-09T20:51:38
rust-lang/rust
75109ec1ba2fe1b5182f2accab3e31a1b6e810f7
f048c4501839701e27443abe68407f2824197137
FIx rustc test suite
[ { "path": "scripts/test_rustc_tests.sh", "patch": "@@ -152,46 +152,20 @@ rm tests/ui/process/process-panic-after-fork.rs # same\n cp ../dist/bin/rustdoc-clif ../dist/bin/rustdoc # some tests expect bin/rustdoc to exist\n cp $(../dist/rustc-clif --print target-libdir)/libstd-*.so ../dist/lib/\n \n-# prevent ...
2025-03-06T12:46:54
ggml-org/llama.cpp
54910bd4f3762b716e90b658beb68d349571057e
ecd99d6a9acbc436bad085783bcd5d0b9ae9e9e9
completion : Fix a typo in warning message (#20082) resuse -> reuse
[ { "path": "tools/completion/completion.cpp", "patch": "@@ -376,7 +376,7 @@ int main(int argc, char ** argv) {\n // remove any \"future\" tokens that we might have inherited from the previous session\n if (session_tokens.size() > n_match) {\n if (!llama_memory_seq_rm(m...
2026-03-04T05:44:49
nodejs/node
c3d26e801a40e1595b859df1d7730cfe526edc45
3ee524b14c6aa429af1c62b6e3d69b0cc3ff200c
tools: add direct anchors for error codes This adds direct anchors for the error codes in errors.html. For example, previously the anchor for ERR_ASSERTION is #errors_err_assertion, now there is also #ERR_ASSERTION. PR-URL: https://github.com/nodejs/node/pull/16779 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Revi...
[ { "path": "tools/doc/html.js", "patch": "@@ -472,6 +472,9 @@ function getSection(lexed) {\n return '';\n }\n \n+function getMark(anchor) {\n+ return `<span><a class=\"mark\" href=\"#${anchor}\" id=\"${anchor}\">#</a></span>`;\n+}\n \n function buildToc(lexed, filename, cb) {\n var toc = [];\n@@ -499,12...
2017-11-05T17:36:50
golang/go
7bb721b9384bdd196befeaed593b185f7f2a5589
d4da735091986868015369e01c63794af9cc9b84
all: update references to symbols moved from os to io/fs The old os references are still valid, but update our code to reflect best practices and get used to the new locations. Code compiled with the bootstrap toolchain (cmd/asm, cmd/dist, cmd/compile, debug/elf) must remain Go 1.4-compatible and is excluded. For #4...
[ { "path": "src/archive/tar/common.go", "patch": "@@ -13,8 +13,8 @@ package tar\n import (\n \t\"errors\"\n \t\"fmt\"\n+\t\"io/fs\"\n \t\"math\"\n-\t\"os\"\n \t\"path\"\n \t\"reflect\"\n \t\"strconv\"\n@@ -525,12 +525,12 @@ func (h Header) allowedFormats() (format Format, paxHdrs map[string]string, err\n \tr...
2020-07-07T17:49:21
huggingface/transformers
3714f3f86b88e81fa13ee4d8b194e9dbba291de7
99de3a844b347fa1fa7b7028f8f6f91cb7883ba4
Upload (daily) CI results to Hub (#31168) * build * build * build * build * fix * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".github/workflows/slack-report.yml", "patch": "@@ -19,6 +19,8 @@ on:\n required: true\n type: string\n \n+env:\n+ TRANSFORMERS_CI_RESULTS_UPLOAD_TOKEN: ${{ secrets.TRANSFORMERS_CI_RESULTS_UPLOAD_TOKEN }}\n \n jobs:\n send_results:\n@@ -54,6 +56,7 @@ jobs:\n # empty stri...
2024-06-04T19:20:54
rust-lang/rust
66a1164eeb6095c80cdb440a6194e8b86e7c8630
52525bc913c8acce5033250deb3a70ad5107e95c
Change `%e` to `?e` to include detailed error message
[ { "path": "src/tools/rust-analyzer/crates/project-model/src/cargo_workspace.rs", "patch": "@@ -300,10 +300,9 @@ impl CargoWorkspace {\n if let Ok((_, Some(ref e))) = res {\n tracing::warn!(\n %cargo_toml,\n- %e,\n+ ?e,\n \"`ca...
2025-03-06T12:36:20
ollama/ollama
18979ad4a1d40d04e3b981a477fa6323a40304b6
8e0ef931d893c225689253a19b4915408e674561
convert: fix default shape
[ { "path": "convert/convert.go", "patch": "@@ -103,7 +103,7 @@ func ReadSafeTensors(fn string, offset uint64) ([]llm.Tensor, uint64, error) {\n \t\t\treturn []llm.Tensor{}, 0, err\n \t\t}\n \n-\t\tshape := [4]uint64{0, 0, 0, 0}\n+\t\tshape := [4]uint64{1, 1, 1, 1}\n \t\tfor cnt, s := range data.Shape {\n \t\...
2024-03-08T23:40:16
ggml-org/llama.cpp
ecd99d6a9acbc436bad085783bcd5d0b9ae9e9e9
137435ff154f8d96bb79986dda9ea4dc1b43d2c3
docs: Fix intel documentation link (#20040)
[ { "path": "docs/build.md", "patch": "@@ -108,7 +108,7 @@ Building through oneAPI compilers will make avx_vnni instruction set available f\n - Using oneAPI docker image:\n If you do not want to source the environment vars and install oneAPI manually, you can also build the code using intel docker container...
2026-03-03T13:50:00
huggingface/transformers
fd3238b4b0e1af4fae4a293cbfd1251ead40cd29
2965b204593df9d5652313386ec280ffbfd1753b
Fix `MistralIntegrationTest` (#31231) * fix * fix * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/mistral/test_modeling_mistral.py", "patch": "@@ -526,7 +526,7 @@ def test_model_7b_logits(self):\n # Note: Key 9 is currently set for MI300, but may need potential future adjustments for H100s,\n # considering differences in hardware processing and potential deviation...
2024-06-04T16:04:08
nodejs/node
3ee524b14c6aa429af1c62b6e3d69b0cc3ff200c
15fa9fca0c319525766ee45ff05c36bbc8d0247a
test: improve error emssage reporting in testNapiRun.js PR-URL: https://github.com/nodejs/node/pull/16821 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
[ { "path": "test/addons-napi/test_general/testNapiRun.js", "patch": "@@ -7,6 +7,9 @@ const assert = require('assert');\n // eslint-disable-next-line no-unused-vars\n const addon = require(`./build/${common.buildType}/test_general`);\n \n-assert.strictEqual(addon.testNapiRun('(41.92 + 0.08);'), 42,\n- ...
2017-11-06T15:32:35
golang/go
d4da735091986868015369e01c63794af9cc9b84
627959eb04ee0edc4a985a7526ed7fe838ad2573
io/fs: move FileInfo, FileMode, PathError, ErrInvalid, ... from os to io/fs First step of creating the new io/fs package. For #41190. Change-Id: I1339b1abdd533b0f1deab283628088b2f706fb5b Reviewed-on: https://go-review.googlesource.com/c/go/+/243906 Trust: Russ Cox <rsc@golang.org> Run-TryBot: Russ Cox <rsc@golang.or...
[ { "path": "api/except.txt", "patch": "@@ -2,12 +2,56 @@ pkg encoding/json, method (*RawMessage) MarshalJSON() ([]uint8, error)\n pkg math/big, const MaxBase = 36\n pkg math/big, type Word uintptr\n pkg net, func ListenUnixgram(string, *UnixAddr) (*UDPConn, error)\n-pkg os, const ModeType = 2399141888\n-pkg ...
2020-07-06T13:49:20
rust-lang/rust
2d8c36296392290f168a024d7a18954be5979e07
4735ded783f3e6cf1b31a19c7f7f21baee61d41f
Migrate `testcrate` and `panic-handler` to edition 2024 Includes `extern` -> `unsafe extern` blocks and formatting updates.
[ { "path": "library/compiler-builtins/crates/panic-handler/Cargo.toml", "patch": "@@ -2,7 +2,7 @@\n name = \"panic-handler\"\n version = \"0.1.0\"\n authors = [\"Alex Crichton <alex@alexcrichton.com>\"]\n-edition = \"2021\"\n+edition = \"2024\"\n publish = false\n \n [dependencies]", "additions": 1, ...
2025-03-06T08:50:35
ggml-org/llama.cpp
24350fdf9bc53aaf28d695f60a7bf5641d370698
49a7564ac1e845d7d7d61e9236242282dc5d8248
opencl: add optimized q4_1 mm kernel for adreno (#19840) * Add Q4_1 OpenCL Kernels * opencl: refactor transpose * opencl: format * opencl: refactor q4_1 unpack * opencl: move `ggml_cl_mul_mat_q4_1_f32_adreno` * opencl: refactor `ggml_cl_mul_mat_q4_1_f32_adreno` and kernels * opencl: rename kernel files and kerne...
[ { "path": "ggml/src/ggml-opencl/CMakeLists.txt", "patch": "@@ -108,6 +108,8 @@ set(GGML_OPENCL_KERNELS\n mul_mm_q8_0_f32_l4_lm\n mul_mm_q6_k_f32_l4_lm\n mul_mm_q8_0_f32_8x4\n+ gemv_noshuffle_q4_1_f32\n+ gemm_noshuffle_q4_1_f32\n gemv_noshuffle_general_q8_0_f32\n mul\n norm", ...
2026-03-03T03:49:41
huggingface/transformers
4ba66fdb4c26cc2138c9966193d17944e36af8f6
6b22a8f2d8ded6b2a681e1c078b0e1abf27d045c
Fix pipeline tests - torch imports (#31227) * Fix pipeline tests - torch imports * Frameowrk dependant float conversion
[ { "path": "src/transformers/pipelines/text_classification.py", "patch": "@@ -202,7 +202,12 @@ def postprocess(self, model_outputs, function_to_apply=None, top_k=1, _legacy=Tr\n function_to_apply = ClassificationFunction.NONE\n \n outputs = model_outputs[\"logits\"][0]\n- outpu...
2024-06-04T11:30:23
nodejs/node
15fa9fca0c319525766ee45ff05c36bbc8d0247a
fa8aee8c598aa3dcc0cc35a11231502d31af5b38
test: add values to error message In test-require-extensions-main, include the values that caused the test to fail in the messages reporting the failure. PR-URL: https://github.com/nodejs/node/pull/16831 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
[ { "path": "test/parallel/test-require-extensions-main.js", "patch": "@@ -3,11 +3,11 @@ require('../common');\n const assert = require('assert');\n const fixtures = require('../common/fixtures');\n \n-const fixturesRequire =\n- require(fixtures.path('require-bin', 'bin', 'req.js'));\n+const fixturesRequire ...
2017-11-06T15:44:56
golang/go
bccdd31252c9771ef2e8dae0402251163a081b56
a505312c89a0468081173da3042de6ac8582a3ba
cmd/compile: use type position for error message in align.go This helps the compiler reports the right place where the type declared, instead of relying on global lineno, which maybe set to wrong value at the time the error is reported. Fixes #42058 Change-Id: I06d34aa9b0236d122f4a0d72e66675ded022baac Reviewed-on: h...
[ { "path": "src/cmd/compile/internal/gc/align.go", "patch": "@@ -86,7 +86,7 @@ func expandiface(t *types.Type) {\n \tsort.Sort(methcmp(methods))\n \n \tif int64(len(methods)) >= thearch.MAXWIDTH/int64(Widthptr) {\n-\t\tyyerror(\"interface too large\")\n+\t\tyyerrorl(typePos(t), \"interface too large\")\n \t}...
2020-10-19T11:32:15
ggml-org/llama.cpp
49a7564ac1e845d7d7d61e9236242282dc5d8248
4d828bd1ab52773ba9570cc008cf209eb4a8b2f5
ggml webgpu: fix workgroup dispatch limit for large batch sizes (#19965) * ggml-webgpu: fix workgroup dispatch limit for large batch sizes WebGPU limits workgroup sizes to 65535 per dimension. Large MUL_MAT operations with batch sizes exceedeing this limi would fail. * add compute_2d_workgroups() helper to split tot...
[ { "path": "ggml/src/ggml-webgpu/ggml-webgpu.cpp", "patch": "@@ -31,6 +31,13 @@\n #define ROUNDUP_POW2(x, pow2) (((x) + ((pow2) - 1)) & ~((pow2) - 1))\n #define CEIL_DIV(M, N) (((M) + (N) - 1) / (N))\n \n+// Return a rectangular grid of workgroups with minimal over-provisioned workgroups.\n+// Assumes...
2026-03-03T03:35:11
huggingface/transformers
6b22a8f2d8ded6b2a681e1c078b0e1abf27d045c
de460e28e116aaf132f24b8afa2f9ac3788b95df
fix bf16 issue in text classification pipeline (#30996) * fix logits dtype * Add bf16/fp16 tests for text_classification pipeline * Update test_pipelines_text_classification.py * fix * fix
[ { "path": "src/transformers/pipelines/text_classification.py", "patch": "@@ -202,7 +202,7 @@ def postprocess(self, model_outputs, function_to_apply=None, top_k=1, _legacy=Tr\n function_to_apply = ClassificationFunction.NONE\n \n outputs = model_outputs[\"logits\"][0]\n- output...
2024-06-04T10:20:48
nodejs/node
fa8aee8c598aa3dcc0cc35a11231502d31af5b38
d82bedcb7b43049fae28c82edd8259e241081331
test: replace common.fixtiresDir with fixtures.readKey() Use fixtures module in test/parallel/test-tls-js-stream.js. PR-URL: https://github.com/nodejs/node/pull/16817 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "test/parallel/test-tls-js-stream.js", "patch": "@@ -1,22 +1,24 @@\n 'use strict';\n const common = require('../common');\n+\n if (!common.hasCrypto)\n common.skip('missing crypto');\n \n+const fixtures = require('../common/fixtures');\n+\n const assert = require('assert');\n-const tls = require...
2017-11-06T15:24:50
golang/go
2291cae2af659876e93a3e1f95c708abb1475d02
a4ede9f9a6254360d39d0f45aec133c355ac6b2a
os: use keyed literals for PathError Necessary to move PathError to io/fs. For #41190. Change-Id: I05e87675f38a22f0570d4366b751b6169f7a1b13 Reviewed-on: https://go-review.googlesource.com/c/go/+/243900 Trust: Russ Cox <rsc@golang.org> Run-TryBot: Russ Cox <rsc@golang.org> Reviewed-by: Rob Pike <r@golang.org> Reviewe...
[ { "path": "src/os/dir_plan9.go", "patch": "@@ -32,23 +32,23 @@ func (file *File) readdir(n int, mode readdirMode) (names []string, dirents []Di\n \t\t\t\tif err == io.EOF {\n \t\t\t\t\tbreak\n \t\t\t\t}\n-\t\t\t\treturn names, dirents, infos, &PathError{\"readdir\", file.name, err}\n+\t\t\t\treturn names, d...
2020-07-03T16:25:49
rust-lang/rust
a028651184f66700f3c48755f4d8ff52666df1c6
81643e297cf44ce3c7648b8443fc4d6592fa81eb
fix: `missing_const_for_fn` FP on unstable const traits
[ { "path": "clippy_utils/src/qualify_min_const_fn.rs", "patch": "@@ -395,24 +395,32 @@ fn check_terminator<'tcx>(\n \n fn is_stable_const_fn(cx: &LateContext<'_>, def_id: DefId, msrv: Msrv) -> bool {\n cx.tcx.is_const_fn(def_id)\n- && cx.tcx.lookup_const_stability(def_id).is_none_or(|const_stab| {...
2025-02-25T14:47:42
ollama/ollama
0cebc79cba778d3d504405c3973dd9f2507b1ab0
0e4669b04f1553e46221d8e8e789a91b664015da
fix: allow importing a model from name reference (#3005)
[ { "path": "server/images.go", "patch": "@@ -10,6 +10,7 @@ import (\n \t\"errors\"\n \t\"fmt\"\n \t\"io\"\n+\t\"io/fs\"\n \t\"log\"\n \t\"log/slog\"\n \t\"net/http\"\n@@ -322,9 +323,12 @@ func CreateModel(ctx context.Context, name, modelFileDir string, commands []pars\n \n \t\t\tggufName, err := convertSafet...
2024-03-08T17:27:47
ggml-org/llama.cpp
ec88c3ceeaaa037dc8a80413c566ed6d71d9e85c
2afcdb9777b1bac79fa4bfe284b9bf23085b0469
scripts : improve get-wikitext-2.sh (#19952) * scripts : improve get-wikitext-2.sh Switch to sh, add curl fallback, and avoid redundant downloads Signed-off-by: Adrien Gallouët <adrien@gallouet.fr> * fix indent Signed-off-by: Adrien Gallouët <angt@huggingface.co> --------- Signed-off-by: Adrien Gallouët <adrien@...
[ { "path": "scripts/get-wikitext-2.sh", "patch": "@@ -1,11 +1,43 @@\n-#!/usr/bin/env bash\n+#!/bin/sh\n+# vim: set ts=4 sw=4 et:\n \n-wget https://huggingface.co/datasets/ggml-org/ci/resolve/main/wikitext-2-raw-v1.zip\n-unzip wikitext-2-raw-v1.zip\n+ZIP=\"wikitext-2-raw-v1.zip\"\n+FILE=\"wikitext-2-raw/wiki....
2026-03-02T14:40:49
huggingface/transformers
36ade4a32b2cc47f19fce2987065082a696f89a5
e83cf58145ee95291b39a0b46341fa87111a675f
fix(PatchTST): Wrong dropout used for PretainHead (#31117) * fix(PatchTST): Wrong dropout used for PretainHead * feat(PatchTST): remove unused config.dropout --------- Co-authored-by: Strobel Maximilian (IFAG PSS SIS SCE ACM) <Maximilian.Strobel@infineon.com>
[ { "path": "src/transformers/models/patchtst/configuration_patchtst.py", "patch": "@@ -67,8 +67,6 @@ class PatchTSTConfig(PretrainedConfig):\n A value added to the denominator for numerical stability of normalization.\n attention_dropout (`float`, *optional*, defaults to 0.0):\n ...
2024-06-04T09:11:36
golang/go
a4ede9f9a6254360d39d0f45aec133c355ac6b2a
8fe372c7b36b4d078c871a26e10b427c41275ecd
os: add File.ReadDir method and DirEntry type ReadDir provides a portable, efficient way to read a directory and discover the type of directory entries. This enables a more efficient file system walk, yet to be added. See #41467 for the proposal review for the API. Fixes #41467. Change-Id: I461a526793ae46df48821aa4...
[ { "path": "src/os/dir.go", "patch": "@@ -4,6 +4,14 @@\n \n package os\n \n+type readdirMode int\n+\n+const (\n+\treaddirName readdirMode = iota\n+\treaddirDirEntry\n+\treaddirFileInfo\n+)\n+\n // Readdir reads the contents of the directory associated with file and\n // returns a slice of up to n FileInfo va...
2020-10-09T15:49:59
nodejs/node
d82bedcb7b43049fae28c82edd8259e241081331
5dca78799340c975d273e2babee128f978aeeb3c
console: avoid adding infinite error listeners If the console destination is a unix pipe (net.Socket), write() is async. If the destination is broken, we are adding an 'error' event listener to avoid a process crash. This PR makes sure that we are adding that listener only once. Fixes: https://github.com/nodejs/node/...
[ { "path": "lib/console.js", "patch": "@@ -83,7 +83,10 @@ function createWriteErrorHandler(stream) {\n // an `error` event. Adding a `once` listener will keep that error\n // from becoming an uncaught exception, but since the handler is\n // removed after the event, non-console.* writes won...
2017-11-05T12:26:27
ggml-org/llama.cpp
319146247e643695f94a558e8ae686277dd4f8da
66d65ec29ba7c440cbc31b6f63b74a17b536ba65
vulkan: improve partial offloading performance on AMD (#19976) * vulkan: fix and enable cpy_tensor_async function * use transfer_queue for async transfers on AMD, synchronize with timeline semaphore * update offload_op logic * fix missing transfer submission * disable async transfer queue on AMD GCN * revert op b...
[ { "path": "ggml/src/ggml-vulkan/ggml-vulkan.cpp", "patch": "@@ -590,6 +590,7 @@ struct vk_device_struct {\n vk_queue transfer_queue;\n bool single_queue;\n bool support_async;\n+ bool async_use_transfer_queue;\n uint32_t subgroup_size;\n uint32_t subgroup_size_log2;\n uint32_t sha...
2026-03-01T16:32:14
huggingface/transformers
e83cf58145ee95291b39a0b46341fa87111a675f
83238eeebc77e5a533803d72066f988f4707b9d5
Fix sentence fragment within test comments (#31218)
[ { "path": "tests/models/data2vec/test_modeling_data2vec_text.py", "patch": "@@ -474,8 +474,7 @@ def test_model_from_pretrained(self):\n self.assertIsNotNone(model)\n \n def test_create_position_ids_respects_padding_index(self):\n- \"\"\"Ensure that the default position ids only assign a s...
2024-06-04T09:09:24
rust-lang/rust
bee6cdd962bc9517282e044617d6e42a657620a7
2cff7013c0cae5750e07bf8df33893d3275ec279
fix: Make RustAnalyzer:Run available in manifest file
[ { "path": "src/tools/rust-analyzer/editors/code/src/ctx.ts", "patch": "@@ -5,6 +5,7 @@ import * as ra from \"./lsp_ext\";\n import { Config, prepareVSCodeConfig } from \"./config\";\n import { createClient } from \"./client\";\n import {\n+ isCargoTomlEditor,\n isDocumentInWorkspace,\n isRustDocu...
2025-03-05T22:38:29
golang/go
8fe372c7b36b4d078c871a26e10b427c41275ecd
2754d911641c3a4569f48d61c541fc2ac395d23b
cmd/compile: allowing inlining of functions with OCALLPART OCALLPART is exported in its original form, which is as an OXDOT. The body of the method value wrapper created in makepartialcall() was not being typechecked, and that was causing a problem during escape analysis, so I added code to typecheck the body. The ...
[ { "path": "src/cmd/compile/internal/gc/closure.go", "patch": "@@ -434,6 +434,8 @@ func typecheckpartialcall(fn *Node, sym *types.Sym) {\n \tfn.Type = xfunc.Type\n }\n \n+// makepartialcall returns a DCLFUNC node representing the wrapper function (*-fm) needed\n+// for partial calls.\n func makepartialcall(f...
2020-10-19T20:09:55
nodejs/node
f2cb78c4e7b799ad9f758d1c677f790bab636d72
eebcb481c2d7476a111449ba55b7347e5a9883c2
doc: fix a typo in n-api documentation PR-URL: https://github.com/nodejs/node/pull/16879 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
[ { "path": "doc/api/n-api.md", "patch": "@@ -293,7 +293,7 @@ must be called in order to determine if an exception is pending or not.\n \n When an exception is pending one of two approaches can be employed.\n \n-The first appoach is to do any appropriate cleanup and then return so that\n+The first approach is...
2017-11-08T06:36:07
ggml-org/llama.cpp
d979f2b176217a062c57c24355db8c1dc3dfc7d5
ecbcb7ea9d3303097519723b264a8b5f1e977028
tests : model metadata loading from huggingface (#19796) * Add model metadata loading from huggingface for use with other tests * Add incremental chunking instead of full redownload, fix caching issue and add warning when it fails * Add support for split models, load metadata from each individual split file, also av...
[ { "path": "tests/CMakeLists.txt", "patch": "@@ -257,6 +257,21 @@ set(LLAMA_TEST_NAME test-mtmd-c-api)\n llama_build_and_test(test-mtmd-c-api.c)\n target_link_libraries(${LLAMA_TEST_NAME} PRIVATE mtmd)\n \n+# GGUF model data fetcher library for tests that need real model metadata\n+# Only compile when cpp-ht...
2026-02-28T09:44:38
huggingface/transformers
c73ee1333dc4dc63a71cb6180d0f35fdf4b44958
8a1a23ae4dfb022a2e483506db973ceed41f5fac
[docs] Spanish translation of tokenizer_summary.md (#31154) * add tokenizer_summary to es/_toctree.yml * add tokenizer_summary to es/ * fix link to Transformes XL in en/ * translate until Subword tokenization section * fix GPT link in en/ * fix other GPT link in en/ * fix typo in en/ * translate t...
[ { "path": "docs/source/en/tokenizer_summary.md", "patch": "@@ -73,7 +73,7 @@ As can be seen space and punctuation tokenization, as well as rule-based tokeniz\n punctuation tokenization and rule-based tokenization are both examples of word tokenization, which is loosely defined\n as splitting sentences into ...
2024-06-03T23:52:23
ollama/ollama
2cb74e23fb709f83cec1f8bccb79c13c11a428b4
3c8df3808b9e1f50dd61552ea986cf74f44ec5ad
fix ci
[ { "path": ".github/workflows/test.yaml", "patch": "@@ -3,6 +3,7 @@ name: test\n on:\n pull_request:\n paths:\n+ - '**/*'\n - '!docs/**'\n - '!examples/**'\n - '!README.md'", "additions": 1, "deletions": 0, "language": "YAML" } ]
2024-03-07T19:33:49
rust-lang/rust
1cd7022fb433e74c0e5e037a6af32b0c2153c51b
a8b17827c60caa55872c06737bb242c615ab8f13
fix incorrect suggestions related to parentheses in `needless_return`
[ { "path": "clippy_utils/src/lib.rs", "patch": "@@ -3552,7 +3552,7 @@ pub fn is_block_like(expr: &Expr<'_>) -> bool {\n pub fn binary_expr_needs_parentheses(expr: &Expr<'_>) -> bool {\n fn contains_block(expr: &Expr<'_>, is_operand: bool) -> bool {\n match expr.kind {\n- ExprKind::Bina...
2025-01-29T04:32:58
golang/go
2754d911641c3a4569f48d61c541fc2ac395d23b
70cad2744b57691962645681722ce756e81791c1
runtime: add lock rank partial-order edge between fin and mheap finlock may be held across a write barrier, which could then acquire the mheap lock. Notably, this occurs in the mp.unlockf write in gopark where finlock is held by the finalizer goroutines and is going to sleep. Fixes #42062. Change-Id: Icf76637ae6fc12...
[ { "path": "src/runtime/lockrank.go", "patch": "@@ -231,7 +231,7 @@ var lockPartialOrder [][]lockRank = [][]lockRank{\n \tlockRankDefer: {},\n \tlockRankSudog: {lockRankNotifyList, lockRankHchan},\n \tlockRankWbufSpans: {lockRankSysmon, lockRankScavenge, lockRankSweepWaiters, lockRankAssistQ...
2020-10-19T17:55:55
huggingface/transformers
8a1a23ae4dfb022a2e483506db973ceed41f5fac
df5abae8942f70e2fe7be40e6848b4161a4beb43
Fix GPU OOM for `mistral.py::Mask4DTestHard` (#31212) * build * build * build * build --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/mistral/test_modeling_mistral.py", "patch": "@@ -734,15 +734,24 @@ def test_compile_static_cache(self):\n @slow\n @require_torch_gpu\n class Mask4DTestHard(unittest.TestCase):\n+ model_name = \"mistralai/Mistral-7B-v0.1\"\n+ _model = None\n+\n def tearDown(self):\n ...
2024-06-03T17:25:15
nodejs/node
da7b4a9d161d7b55b6c3b3adf56e32219e580412
71e7366c2a2bacbe60d0277802d73813cdd8b88f
test: use tmpDir in test-fs-utimes test-fs-utimes was doing some tests against __filename. This made the test unreliable when multiple copies were run simultaneously. In general, tests should use files in either the tmp directory or else fixtures, so change to using `common.tmpDir` instead. Each copy of the test (if u...
[ { "path": "test/parallel/test-fs-utimes.js", "patch": "@@ -25,6 +25,8 @@ const assert = require('assert');\n const util = require('util');\n const fs = require('fs');\n \n+common.refreshTmpDir();\n+\n let tests_ok = 0;\n let tests_run = 0;\n \n@@ -64,18 +66,15 @@ function expect_ok(syscall, resource, err, a...
2017-11-05T03:33:31
ggml-org/llama.cpp
ecbcb7ea9d3303097519723b264a8b5f1e977028
3e6ab244ad32a2fa9c36372dc741079fa4c0c8e8
CUDA: add CDNA3 MFMA support for flash attention MMA kernel (#19806) * CUDA: add CDNA3 MFMA support for flash attention MMA kernel Add MI300X (gfx942) MFMA tensor core flash attention using v_mfma_f32_16x16x16_f16 (FP16 in, FP32 accumulate). - Add FATTN_WARP_SIZE=64 for CDNA wavefront64 - Add CDNA config for head si...
[ { "path": "ggml/src/ggml-cuda/fattn-mma-f16.cuh", "patch": "@@ -111,13 +111,54 @@ static constexpr __host__ __device__ fattn_mma_config ggml_cuda_fattn_mma_get_co\n return ggml_cuda_fattn_mma_get_config_ampere(DKQ, DV, ncols);\n }\n \n+static constexpr __host__ __device__ fattn_mma_config ggml_cuda_fatt...
2026-02-27T18:37:26
ollama/ollama
6c5ccb11f993ccc88c4761b8c31e0fefcbc1900f
2e20110e50248080df0196a1b10095e5caf55f69
Revamp ROCm support This refines where we extract the LLM libraries to by adding a new OLLAMA_HOME env var, that defaults to `~/.ollama` The logic was already idempotenent, so this should speed up startups after the first time a new release is deployed. It also cleans up after itself. We now build only a single ROCm...
[ { "path": ".github/workflows/test.yaml", "patch": "@@ -7,12 +7,12 @@ jobs:\n generate:\n strategy:\n matrix:\n- os: [ubuntu-latest, macos-latest, windows-latest]\n+ os: [ubuntu-latest, macos-latest, windows-2019]\n arch: [amd64, arm64]\n exclude:\n - os: u...
2024-02-16T01:15:09
rust-lang/rust
e0409677fd449a3b8024bfa81481116c2fb3c850
2cff7013c0cae5750e07bf8df33893d3275ec279
Show when build scripts fail what the errors were
[ { "path": "src/tools/rust-analyzer/crates/rust-analyzer/src/reload.rs", "patch": "@@ -139,9 +139,10 @@ impl GlobalState {\n \"Proc-macros and/or build scripts have changed and need to be rebuilt.\\n\\n\",\n );\n }\n- if self.fetch_build_data_error().is_err() {\n- ...
2025-03-05T21:03:54
huggingface/transformers
924c46d40c20c8ce2599b5ecfb18173f97c3de16
98dd842339a2a68ed38400aab1738bd86d0e52f4
Cohere: Fix copied from (#31213) Update modeling_cohere.py
[ { "path": "src/transformers/models/cohere/modeling_cohere.py", "patch": "@@ -310,7 +310,7 @@ def forward(\n return attn_output, attn_weights, past_key_value\n \n \n-# Copied from transformers.models.llama.modeling_llama.LlamaFlashAttention2 Llama->Cohere\n+# Copied from transformers.models.llama.mod...
2024-06-03T16:29:31
golang/go
c216ae80c965acb9641d94d5f58c206bd0cf7d66
5647d01ab724a19793ac7002776b0dec03fa35f5
cmd/compile: fix ICE in reporting of invalid recursive types asNode(t.Nod).Name.Param will be nil for builtin types (i.e., the universal predeclared types and unsafe.Pointer). These types can't be part of a cycle anyway, so we can just skip them. Fixes #42075. Change-Id: Ic7a44de65c6bfd16936545dee25e36de8850acf3 Rev...
[ { "path": "src/cmd/compile/internal/gc/align.go", "patch": "@@ -199,7 +199,7 @@ func findTypeLoop(t *types.Type, path *[]*types.Type) bool {\n \t\t}\n \n \t\t*path = append(*path, t)\n-\t\tif findTypeLoop(asNode(t.Nod).Name.Param.Ntype.Type, path) {\n+\t\tif p := asNode(t.Nod).Name.Param; p != nil && findTy...
2020-10-19T21:14:40
nodejs/node
e04d23c1fd1b9c3dc0d436514b496a6493909616
7d9976237ae0567e5f19941a6fd590c3bc88d009
test: improve assert messages in napi exception test Include unexpected value in assertion messages. PR-URL: https://github.com/nodejs/node/pull/16820 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
[ { "path": "test/addons-napi/test_exception/test.js", "patch": "@@ -33,7 +33,8 @@ assert.strictEqual(test_exception.wasPending(), true,\n // Test that the native side does not capture a non-existing exception\n returnedError = test_exception.returnException(common.mustCall());\n assert.strictEqual(undefined,...
2017-11-06T15:27:05
ggml-org/llama.cpp
8d3b962f47cdb05df8ab8801da38cb3c55d50337
d903f30e25f3024c37d1eedd4b46ed0f5b13ff88
ci : use ubuntu-latest for gguf-publish workflow (#19951) This commit changes the runner for the gguf-publish workflow from ubuntu-slim back to ubuntu-latest, which was updated in Commit 142cbe2ac68978e5dec3a2e19c1b64ef1c5740b1 ("ci : use new 1vCPU runner for lightweight jobs (#19107)"). The motivation for this is th...
[ { "path": ".github/workflows/gguf-publish.yml", "patch": "@@ -21,7 +21,7 @@ on:\n jobs:\n deploy:\n \n- runs-on: ubuntu-slim\n+ runs-on: ubuntu-latest\n \n steps:\n - uses: actions/checkout@v6", "additions": 1, "deletions": 1, "language": "YAML" } ]
2026-02-27T13:42:24
huggingface/transformers
98dd842339a2a68ed38400aab1738bd86d0e52f4
c6c78733d72c27a8b5cf3cbbccff11c7bca0fcb8
Wrong translation FR : Contents = Contenu (#31186) Update index.md - Contents = Contenu French typo - Contents = Contenu
[ { "path": "docs/source/fr/index.md", "patch": "@@ -35,7 +35,7 @@ Rejoignez la communauté grandissante sur le [Hub](https://huggingface.co/models\n <img alt=\"HuggingFace Expert Acceleration Program\" src=\"https://cdn-media.huggingface.co/marketing/transformers/new-support-improved.png\" style=\"width: ...
2024-06-03T15:40:14
golang/go
5647d01ab724a19793ac7002776b0dec03fa35f5
4d1cecdee8360ef12a817c124d7a04c9d29741c3
Revert "net/http: test that ParseMultipartForm returns an error for int overflow" This reverts CL 254977. Reason for revert: introduced test failures on longtest builders. Change-Id: I75e868245f980189ad85dd4103d9178989e06ecf Reviewed-on: https://go-review.googlesource.com/c/go/+/263658 Trust: Bryan C. Mills <bcmills...
[ { "path": "src/net/http/request_test.go", "patch": "@@ -13,7 +13,6 @@ import (\n \t\"fmt\"\n \t\"io\"\n \t\"io/ioutil\"\n-\t\"math\"\n \t\"mime/multipart\"\n \t. \"net/http\"\n \t\"net/http/httptest\"\n@@ -246,41 +245,6 @@ func TestParseMultipartForm(t *testing.T) {\n \t}\n }\n \n-// Issue #40430: ParseMult...
2020-10-19T18:03:51
ggml-org/llama.cpp
4e76d24f282e0fa591f1eb87ae6fd9174c6ed998
723c71064da0908c19683f8c344715fbf6d986fd
ggml : fix AMX and add batched support (#19925) llama-perplexity -hf ggml-org/Qwen3-0.6B-GGUF:Q4_0 -f wikitext-2-raw/wiki.test.raw -c 2048 -b 2048 --chunks 2 before this commit: ``` perplexity: calculating perplexity over 2 chunks, n_ctx=2048, batch_size=2048, n_seq=1 perplexity: 2.31 seconds per pass - ETA 0.07 min...
[ { "path": "ggml/src/ggml-cpu/amx/amx.cpp", "patch": "@@ -141,27 +141,50 @@ static size_t ggml_backend_amx_buffer_type_get_alignment(ggml_backend_buffer_typ\n namespace ggml::cpu::amx {\n class extra_buffer_type : ggml::cpu::extra_buffer_type {\n bool supports_op(ggml_backend_dev_t, const struct ggml_ten...
2026-02-26T20:39:11
nodejs/node
7d9976237ae0567e5f19941a6fd590c3bc88d009
f5a7a9e77d86e692f4bfce52fce2415e9235212d
doc: fix typo in assert.md PR-URL: https://github.com/nodejs/node/pull/16866 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Bryan English <bryan@bryanenglish.com>
[ { "path": "doc/api/assert.md", "patch": "@@ -337,7 +337,7 @@ assert.fail(1, 2, new TypeError('need array'));\n // TypeError: need array\n ```\n \n-*Note*: Is the last two cases `actual`, `expected`, and `operator` have no\n+*Note*: In the last two cases `actual`, `expected`, and `operator` have no\n influen...
2017-11-07T18:03:27
rust-lang/rust
7eb0a99fc9ff5ee3870a07926d5137d434ee22ab
5cdb8663563fa1fc47a869d790e5cd06eaf1de3e
Fix jit mode testing
[ { "path": "build_system/tests.rs", "patch": "@@ -374,7 +374,7 @@ impl<'a> TestRunner<'a> {\n TestCaseCmd::JitBin { source, args } => {\n let mut jit_cmd = self.rustc_command([\n \"-Zunstable-options\",\n- \"-Cllvm-args=mode=j...
2025-03-05T15:55:41
ollama/ollama
23ebe8fe11995cfd99cafcf9871fce9a9a120fd1
2c017ca44170fb56141bd15d6929390b7be3830a
fix some typos (#2973) Signed-off-by: hishope <csqiye@126.com>
[ { "path": "docs/development.md", "patch": "@@ -69,7 +69,7 @@ go build .\n \n *Your operating system distribution may already have packages for AMD ROCm and CLBlast. Distro packages are often preferable, but instructions are distro-specific. Please consult distro-specific docs for dependencies if available!*...
2024-03-07T06:50:11
huggingface/transformers
c230504b36d7ac58fbe8ee1f23a0624f59f7ce34
874ac129bbc7e9aa478d0cce7d925af8cfb8425e
Fix typo in utils (#31169) fix typo
[ { "path": "src/transformers/cache_utils.py", "patch": "@@ -170,7 +170,7 @@ def to_json_string(self):\n # Copied from transformers.utils.quantization_config.QuantizationConfigMixin.update\n def update(self, **kwargs):\n \"\"\"\n- Updates attributes of this class instance with attribute...
2024-06-03T15:27:53
ggml-org/llama.cpp
723c71064da0908c19683f8c344715fbf6d986fd
37964f44f9fab37571b27cccd9f45d4a066e0817
vulkan: fix fp16 Flash Attention on Windows AMD RDNA2 and below (#19921)
[ { "path": "ggml/src/ggml-vulkan/ggml-vulkan.cpp", "patch": "@@ -624,8 +624,6 @@ struct vk_device_struct {\n // floor(log2(maxComputeWorkGroupInvocations))\n uint32_t max_workgroup_size_log2 {};\n \n- bool flash_attention_fp16;\n-\n bool coopmat_support;\n bool coopmat_acc_f32_support {};\...
2026-02-26T18:11:04
golang/go
ab541a0560408999ac65d12bec2a3057994eda38
06839e3c9a014da580c2cdcd11263e2b08991b74
compress/flate: fix corrupted output The fastest compression mode can pick up a false match for every 2GB of input data resulting in incorrectly decompressed data. Since matches are allowed to be up to and including at maxMatchOffset we must offset the buffer by an additional element to prevent the first 4 bytes to m...
[ { "path": "src/compress/flate/deflate_test.go", "patch": "@@ -11,6 +11,7 @@ import (\n \t\"internal/testenv\"\n \t\"io\"\n \t\"io/ioutil\"\n+\t\"math/rand\"\n \t\"reflect\"\n \t\"runtime/debug\"\n \t\"sync\"\n@@ -896,6 +897,62 @@ func TestBestSpeedMaxMatchOffset(t *testing.T) {\n \t}\n }\n \n+func TestBestS...
2020-10-17T15:19:53
nodejs/node
2fdb606daccde863c9bdc426947d0a3c76caf542
de1754a761378bf93abd5fd3c53cd88b55bf163f
doc: update subprocess.killed This commit changes the wording of subprocess.killed to reflect that a child process was successfully signaled, and not necessarily terminated. Fixes: https://github.com/nodejs/node/issues/16747 PR-URL: https://github.com/nodejs/node/pull/16748 Reviewed-By: Luigi Pinca <luigipinca@gmail....
[ { "path": "doc/api/child_process.md", "patch": "@@ -1044,10 +1044,11 @@ added: v0.5.10\n -->\n \n * {boolean} Set to `true` after `subprocess.kill()` is used to successfully\n- terminate the child process.\n+ send a signal to the child process.\n \n-The `subprocess.killed` property indicates whether the c...
2017-11-04T14:36:41
rust-lang/rust
8391c08b0329cf965ba9dae04d04dc1e46d1803e
4559163ccb500affc424fb9228dae5003672ffc7
Revert #138019 after further discussion about adding this exception in hir-pretty
[ { "path": "compiler/rustc_hir_pretty/src/lib.rs", "patch": "@@ -117,80 +117,6 @@ impl<'a> State<'a> {\n ));\n self.hardbreak()\n }\n- hir::Attribute::Parsed(AttributeKind::Deprecation { deprecation, .. }) => {\n- self.word(\"#[deprecated\...
2025-03-05T14:23:45
ollama/ollama
be330174dd712353103887d16e9ec321f52422c0
ce9f7c467481e4d636de5c5befb0a09da06b3614
Allow setting max vram for workarounds Until we get all the memory calculations correct, this can provide and escape valve for users to workaround out of memory crashes.
[ { "path": "gpu/gpu.go", "patch": "@@ -242,6 +242,15 @@ func getCPUMem() (memInfo, error) {\n }\n \n func CheckVRAM() (int64, error) {\n+\tuserLimit := os.Getenv(\"OLLAMA_MAX_VRAM\")\n+\tif userLimit != \"\" {\n+\t\tavail, err := strconv.ParseInt(userLimit, 10, 64)\n+\t\tif err != nil {\n+\t\t\treturn 0, fmt...
2024-03-07T00:53:51
huggingface/transformers
874ac129bbc7e9aa478d0cce7d925af8cfb8425e
e4628434d854ddfb5c002a6cc00b4eb4f22b7df2
fix the get_size_with_aspect_ratio in max_size situation (#30902) * fix the get_size_with_aspect_ratio in max_size situation * make fix-up * add more general solution * consider when max_size is not defined * fix typo * fix typo * simple fix * fix error * fix if else error * fix error of siz...
[ { "path": "src/transformers/models/conditional_detr/image_processing_conditional_detr.py", "patch": "@@ -100,21 +100,29 @@ def get_size_with_aspect_ratio(image_size, size, max_size=None) -> Tuple[int, in\n The maximum allowed output size.\n \"\"\"\n height, width = image_size\n+ raw_s...
2024-06-03T15:12:08
ggml-org/llama.cpp
37964f44f9fab37571b27cccd9f45d4a066e0817
01cd448b8c3ebf30724675cc3d1e6cee74e8bdc4
mtmd : fix padding of n_tokens (#19930)
[ { "path": "tools/mtmd/mtmd-helper.cpp", "patch": "@@ -248,7 +248,7 @@ int32_t mtmd_helper_decode_image_chunk(\n \n int32_t n_tokens = mtmd_input_chunk_get_n_tokens(chunk);\n int32_t i_batch = 0;\n- int32_t n_img_batches = GGML_PAD(n_tokens, n_batch) / n_batch;\n+ int32_t n_img_batches = (n_tok...
2026-02-26T16:39:49
golang/go
2ff9e01d72f718ef61c635a25db6d2084aef95eb
0040adfd0f98e1012837b0317fabf69cf1f8855b
cmd/link: fix TestDWARFiOS Use GOOS=ios. Run "xcodebuild -showsdks" correctly. Wrap testDWARF in subtests, as it calls t.Parallel, otherwise the two calls of testDWARF will cause t.Parallel being called twice, which panics. Updates #38485. Change-Id: I614c8daa99c83cbfd05a4cfa041968d49279f16a Reviewed-on: https://g...
[ { "path": "src/cmd/link/dwarf_test.go", "patch": "@@ -195,14 +195,18 @@ func TestDWARFiOS(t *testing.T) {\n \t}\n \t// Check to see if the ios tools are installed. It's possible to have the command line tools\n \t// installed without the iOS sdk.\n-\tif output, err := exec.Command(\"xcodebuild -showsdks\")....
2020-10-17T01:42:01
ollama/ollama
3b4bab3dc55c615a14b1ae74ea64815d3891b5b0
cbd6e3b38e4491539e4f5ffdd5b6d49c6eadd039
Fix embeddings load model behavior (#2848)
[ { "path": "api/types.go", "patch": "@@ -121,7 +121,6 @@ type Runner struct {\n \tVocabOnly bool `json:\"vocab_only,omitempty\"`\n \tUseMMap bool `json:\"use_mmap,omitempty\"`\n \tUseMLock bool `json:\"use_mlock,omitempty\"`\n-\tEmbeddingOnly bool `json:\"embedd...
2024-03-01T01:40:56
nodejs/node
de1754a761378bf93abd5fd3c53cd88b55bf163f
90a43906ab5ca8bdf154fb7644d70da9e3acdf00
src: CHECK() for argument overflow in Spawn() This commit adds checks for overflow to args and env in Spawn(). It seems extremely unlikely that either of these values would overflow from a valid use case. Fixes: https://github.com/nodejs/node/issues/15622 PR-URL: https://github.com/nodejs/node/pull/16761 Reviewed-By:...
[ { "path": "src/process_wrap.cc", "patch": "@@ -185,6 +185,8 @@ class ProcessWrap : public HandleWrap {\n if (!argv_v.IsEmpty() && argv_v->IsArray()) {\n Local<Array> js_argv = Local<Array>::Cast(argv_v);\n int argc = js_argv->Length();\n+ CHECK_GT(argc + 1, 0); // Check for overflow.\n...
2017-11-04T22:05:16
huggingface/transformers
e4628434d854ddfb5c002a6cc00b4eb4f22b7df2
df848acc5d0ff267c6c9d1c3cfee0536871600d3
Add Qwen2 GGUF loading support (#31175) * add qwen2 gguf support * Update docs * fix qwen2 tokenizer * add qwen2 gguf test * fix typo in qwen2 gguf test * format code * Remove mistral, clarify the error message * format code * add typing and update docstring
[ { "path": "docs/source/en/gguf.md", "patch": "@@ -63,6 +63,7 @@ For now the supported model architectures are the architectures that have been v\n \n - LLaMa\n - Mistral\n+- Qwen2\n \n ## Example usage\n ", "additions": 1, "deletions": 0, "language": "Markdown" }, { "path": "src/transfor...
2024-06-03T13:55:10
ggml-org/llama.cpp
01cd448b8c3ebf30724675cc3d1e6cee74e8bdc4
99bd67c9b29851f758c7d22caa8fc57fd5af3e4f
server : fix ctx checkpoint restore logic (#19924)
[ { "path": "tools/server/server-context.cpp", "patch": "@@ -2363,7 +2363,7 @@ struct server_context_impl {\n //printf(\"[DEBUG] `do_reset` was set to `true` after failing to restore a checkpoint\");\n } else {\n ...
2026-02-26T16:20:16
golang/go
58eadc232e4fd2633761ffdeeaa922216beee74e
9c017ff30dd21bbdcdb11f39458d3944db530d7e
net/http: test that ParseMultipartForm returns an error for int overflow ParseMultipartForm has been changed to return an error if maxMemory parameter + 10MB causes int overflows. This adds a test for the new behaviour. For #40430 Change-Id: I4f66ce8a9382940182011d22a84ee52b1d1364cf Reviewed-on: https://go-review.go...
[ { "path": "src/net/http/request_test.go", "patch": "@@ -13,6 +13,7 @@ import (\n \t\"fmt\"\n \t\"io\"\n \t\"io/ioutil\"\n+\t\"math\"\n \t\"mime/multipart\"\n \t. \"net/http\"\n \t\"net/http/httptest\"\n@@ -245,6 +246,41 @@ func TestParseMultipartForm(t *testing.T) {\n \t}\n }\n \n+// Issue #40430: ParseMult...
2020-09-15T05:48:44
huggingface/transformers
df848acc5d0ff267c6c9d1c3cfee0536871600d3
70c87138723b069634caf43f29ab754b5db8c50b
Fix `test_compile_static_cache` (#30991) * fix * fix * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/llama/test_modeling_llama.py", "patch": "@@ -729,11 +729,8 @@ def test_compile_static_cache(self):\n \"my fries, my chicken, my burgers, my hot dogs, my sandwiches, my salads, my p\",\n ],\n 7: [\n- \"Simply put, the theory of re...
2024-06-03T13:16:28
ollama/ollama
fa2f2b356384a6ecd103952915e75a4b6a8c33a5
cbf4970e0f20b131a9db5a719b0929fbebe9a304
fix: print usedMemory size right (#2827)
[ { "path": "gpu/gpu_info_cuda.c", "patch": "@@ -156,7 +156,7 @@ void cuda_check_vram(cuda_handle_t h, mem_info_t *resp) {\n }\n \n LOG(h.verbose, \"[%d] CUDA totalMem %ld\\n\", i, memInfo.total);\n- LOG(h.verbose, \"[%d] CUDA usedMem %ld\\n\", i, memInfo.free);\n+ LOG(h.verbose, \"[%d] CUDA use...
2024-02-29T19:11:04
nodejs/node
90a43906ab5ca8bdf154fb7644d70da9e3acdf00
6563e56aef5287646aa433bfe088a73a2bea855d
repl: show proxies as Proxy objects Before this commit they transparently invoked their magic methods but that sometimes throws confusing exceptions with misbehaving proxies. This change is not wholly uncontroversial but we can always change the default if necessary. Let's see how it goes. Fixes: https://github.com...
[ { "path": "lib/repl.js", "patch": "@@ -100,7 +100,9 @@ function hasOwnProperty(obj, prop) {\n \n // Can overridden with custom print functions, such as `probe` or `eyes.js`.\n // This is the default \"writer\" value if none is passed in the REPL options.\n-exports.writer = util.inspect;\n+const writer = exp...
2017-10-25T10:06:40
ggml-org/llama.cpp
99bd67c9b29851f758c7d22caa8fc57fd5af3e4f
b68d75165ad37ba1256cc45a43ec4f51cf813c3e
kv-cache : fix can_shift() check to take into account M-RoPE (#19928)
[ { "path": "src/llama-kv-cache.cpp", "patch": "@@ -978,6 +978,9 @@ bool llama_kv_cache::get_can_shift() const {\n if (model.arch == LLM_ARCH_STEP35) {\n return false;\n }\n+ if (hparams.n_pos_per_embd() > 1) {\n+ return false;\n+ }\n return true;\n }\n ", "additions": 3, ...
2026-02-26T16:08:54
golang/go
9c017ff30dd21bbdcdb11f39458d3944db530d7e
2a206c7fcc91854a0ab78fe5799bda38dd330b11
net/http/httputil: copy response header back to http.ResponseWriter in ReverseProxy.handleUpgradeResponse Fixes: #41634 Change-Id: Ib78cc37a4d2ca0753d567eafb616238e4103484e Reviewed-on: https://go-review.googlesource.com/c/go/+/257777 Reviewed-by: Damien Neil <dneil@google.com> Trust: Damien Neil <dneil@google.com> T...
[ { "path": "src/net/http/httputil/reverseproxy.go", "patch": "@@ -549,8 +549,6 @@ func (p *ReverseProxy) handleUpgradeResponse(rw http.ResponseWriter, req *http.R\n \t\treturn\n \t}\n \n-\tcopyHeader(res.Header, rw.Header())\n-\n \thj, ok := rw.(http.Hijacker)\n \tif !ok {\n \t\tp.getErrorHandler()(rw, req, ...
2020-09-26T05:21:41
huggingface/transformers
d475f76745c0c90bb3ffc85c0ee7511705a119ba
221aaec6ecf7558e4956dadd662d7d3adb22e420
SlidingWindowCache: reduce differences to other Cache classes (#30970) * tmp commit * sliding window with fewer differences * make fixup + rebase * missing overwrite
[ { "path": "src/transformers/cache_utils.py", "patch": "@@ -829,22 +829,22 @@ def reset(self):\n self.value_cache[layer_idx].zero_()\n \n \n-class SlidingWindowCache(Cache):\n+class SlidingWindowCache(StaticCache):\n \"\"\"\n Sliding Window Cache class to be used with `torch.compile` for ...
2024-06-03T12:04:24
nodejs/node
a77bfcaac75dfdc0a865d4c4895ab226e78f5f84
70dc6d5072023b9746c98361d34a60658c5fe9c3
2017-11-07, Version 9.1.0 (Current) Notable changes: * CLI: - NODE_OPTIONS now supports the --stack-trace-limit option. https://github.com/nodejs/node/pull/16495 * deps: - OpenSSL is upgraded to 1.0.2m https://github.com/nodejs/node/pull/16691 * http: - A 'connect' event handler leak has been fixed. ...
[ { "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.0.0\">9.0.0</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V9.md#9.1.0\">9.1.0</a></b><br/>\n+<a href=\"doc/changelogs/CHANGELOG_V9.md#9.0.0\">9.0.0</...
2017-11-07T14:03:44
ggml-org/llama.cpp
ffaafde16ffebd2853467f0dd833625a726ce08e
efba35a860954e78e72177b0d6b0c88b239d8cb1
ggml-virtgpu: improve the reliability of the code (#19846) * ggml-virtgpu-backend: validate the consistency of the received objects This patch adds consistency checks in the ggml-virtgpu-backend (running on the host side) to ensure that the data received from the guest is consistent (valid pointers, valid sizes and o...
[ { "path": "docs/backend/VirtGPU.md", "patch": "@@ -152,7 +152,9 @@ Commands and data are serialized using a custom binary protocol with:\n - **VM-specific**: Only works in virtual machines with virtio-gpu support\n - **Host dependency**: Requires properly configured host-side backend\n - **Latency**: Small ...
2026-02-26T12:00:57
golang/go
2a206c7fcc91854a0ab78fe5799bda38dd330b11
19f6422e005ed3f4b1a9f6850d382519673a3c87
crypto/hmac: panic if reusing hash.Hash values Also put Reset in the correct place for the other benchmarks. name old time/op new time/op delta NewWriteSum-8 1.01µs ± 0% 1.01µs ± 1% ~ (p=0.945 n=9+9) name old speed new speed delta NewWriteSum-8 31.7MB/s ± 0% 31.6MB/s...
[ { "path": "doc/go1.16.html", "patch": "@@ -181,6 +181,14 @@ <h2 id=\"library\">Core library</h2>\n TODO\n </p>\n \n+<h3 id=\"crypto/hmac\"><a href=\"/pkg/crypto/hmac\">crypto/hmac</a></h3>\n+\n+<p><!-- CL 261960 -->\n+ <a href=\"/pkg/crypto/hmac/#New\">New</a> will now panic if separate calls to\n+ the ...
2020-10-13T20:33:46
huggingface/transformers
221aaec6ecf7558e4956dadd662d7d3adb22e420
f4f696255f318346f3cd660f984c48de531ed7e1
Ignore non-causal mask in more cases with SDPA (#30138) * update non-causal mask for sdpa * add test * update docstrings * add one more test * fix cross attention bug * gentler atol/rtol
[ { "path": "src/transformers/modeling_attn_mask_utils.py", "patch": "@@ -413,7 +413,7 @@ def _prepare_4d_attention_mask(mask: torch.Tensor, dtype: torch.dtype, tgt_len:\n `(batch_size, key_value_length)`\n \n Args:\n- mask (`torch.Tensor` or `None`):\n+ mask (`torch.Tensor`):\n ...
2024-06-03T11:08:41
ollama/ollama
1cde63dd64ee03cb52319c6415c795147bf65099
a189810df6c4b0492463d1ddb68993c9abc32c7f
Log unexpected server errors checking for update This should unmask some failure modes that likely show up in app logs as unmarshal errors
[ { "path": "app/lifecycle/updater.go", "patch": "@@ -86,6 +86,11 @@ func IsNewReleaseAvailable(ctx context.Context) (bool, UpdateResponse) {\n \tif err != nil {\n \t\tslog.Warn(fmt.Sprintf(\"failed to read body response: %s\", err))\n \t}\n+\n+\tif resp.StatusCode != 200 {\n+\t\tslog.Info(fmt.Sprintf(\"check...
2024-02-27T17:17:04
nodejs/node
70dc6d5072023b9746c98361d34a60658c5fe9c3
16b1faa05b760db706a41a8b13e5c5dd1b56da5c
2017-11-07, Version 6.12.0 'Boron' (LTS) Notable Changes: * assert: - assert.fail() can now take one or two arguments (Rich Trott) https://github.com/nodejs/node/pull/12293 * crypto: - add sign/verify support for RSASSA-PSS (Tobias Nießen) https://github.com/nodejs/node/pull/11705 * deps: - upgrade open...
[ { "path": "CHANGELOG.md", "patch": "@@ -50,7 +50,8 @@ release.\n <a href=\"doc/changelogs/CHANGELOG_V8.md#8.0.0\">8.0.0</a><br/>\n </td>\n <td valign=\"top\">\n-<b><a href=\"doc/changelogs/CHANGELOG_V6.md#6.11.5\">6.11.5</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V6.md#6.12.0\">6.12.0</a></b...
2017-10-17T21:01:29