helloadhavan/github_issues huggingface dataset:
Repository: facebook/react
Pull request: fix(devtools): Handle nullish values passed to `formatConsoleArguments`

<!--
  Thanks for submitting a pull request!
  We appreciate you spending the time to work on these changes. Please provide enough information so that others can review your pull request. The three fields below are mandatory.

  Before submitting a pull request, please make sure the following is done:

  1. Fork [the repository](https://github.com/facebook/react) and create your branch from `main`.
  2. Run `yarn` in the repository root.
  3. If you've fixed a bug or added code that should be tested, add tests!
  4. Ensure the test suite passes (`yarn test`). Tip: `yarn test --watch TestName` is helpful in development.
  5. Run `yarn test --prod` to test in the production environment. It supports the same options as `yarn test`.
  6. If you need a debugger, run `yarn test --debug --watch TestName`, open `chrome://inspect`, and press "Inspect".
  7. Format your code with [prettier](https://github.com/prettier/prettier) (`yarn prettier`).
  8. Make sure your code lints (`yarn lint`). Tip: `yarn linc` to only check changed files.
  9. Run the [Flow](https://flowtype.org/) type checks (`yarn flow`).
  10. If you haven't already, complete the CLA.

  Learn more about contributing: https://reactjs.org/docs/how-to-contribute.html
-->

## Summary

<!--
 Explain the **motivation** for making this change. What existing problem does the pull request solve?
-->

When using React Devtools, calling `console.log('%s', null)` in userland can cause it to throw an error:

```
TypeError: Cannot read properties of null (reading 'toString')
```

## How did you test this change?

Added a unit test.

<!--
  Demonstrate the code is solid. Example: The exact commands you ran and their output, screenshots / videos if the pull request changes the user interface.
  How exactly did you verify that your PR solves the issue you wanted to solve?
  If you leave this empty, your PR will very likely be closed.
-->

See https://github.com/47ng/nuqs/issues/808.

Changed files:
filename: packages/react-devtools-shared/src/__tests__/utils-test.js
patch: @@ -470,5 +470,14 @@ function f() { }
         {},
       ]);
     });
+
+    it('formats nullish values', () => {
+      expect(formatConsoleArguments('This is the %s template', null)).toEqual([
+        'This is the null template',
+      ]);
+      expect(
+        formatConsoleArguments('This is the %s template', undefined),
+      ).toEqual(['This is the undefined template']);
+    });
   });
 });

filename: packages/react-devtools-shared/src/backend/utils/formatConsoleArguments.js
patch: @@ -58,7 +58,7 @@ export default function formatConsoleArguments(
       }
       case 's': {
         const [arg] = args.splice(argumentsPointer, 1);
-        template += arg.toString();
+        template += String(arg);
 
         break;
       }
Repository: ollama/ollama
Pull request: Add LSP-AI to README


Changed files:
filename: README.md
patch: @@ -419,6 +419,7 @@ See the [API documentation](./docs/api.md) for all endpoints.
 - [Discord AI chat/moderation bot](https://github.com/rapmd73/Companion) Chat/moderation bot written in python. Uses Ollama to create personalities.
 - [Headless Ollama](https://github.com/nischalj10/headless-ollama) (Scripts to automatically install ollama client & models on any OS for apps that depends on ollama server)
 - [vnc-lm](https://github.com/jk011ru/vnc-lm) (A containerized Discord bot with support for attachments and web links)
+- [LSP-AI](https://github.com/SilasMarvin/lsp-ai) (Open-source language server for AI-powered functionality)
 
 ### Supported backends
Repository: vercel/next.js
Pull request: Add alinea to server-external-packages.json

### What?

Adds `@alinea/generated` to the external package list

### Why?

[`Alinea`](https://github.com/alineacms/alinea) generates this package at build time and it should not end up in a cache (much like the `@prisma/client` package)

Changed files:
filename: docs/01-app/03-api-reference/05-config/01-next-config-js/serverExternalPackages.mdx
patch: @@ -18,6 +18,7 @@ module.exports = nextConfig
 
 Next.js includes a [short list of popular packages](https://github.com/vercel/next.js/blob/canary/packages/next/src/lib/server-external-packages.jsonc) that currently are working on compatibility and automatically opt-ed out:
 
+- `@alinea/generated`
 - `@appsignal/nodejs`
 - `@aws-sdk/client-s3`
 - `@aws-sdk/s3-presigned-post`

filename: docs/02-pages/04-api-reference/04-config/01-next-config-js/serverExternalPackages.mdx
patch: @@ -18,6 +18,7 @@ module.exports = nextConfig
 
 Next.js includes a [short list of popular packages](https://github.com/vercel/next.js/blob/canary/packages/next/src/lib/server-external-packages.jsonc) that currently are working on compatibility and automatically opt-ed out:
 
+- `@alinea/generated`
 - `@appsignal/nodejs`
 - `@aws-sdk/client-s3`
 - `@aws-sdk/s3-presigned-post`

filename: packages/next/src/lib/server-external-packages.jsonc
patch: @@ -1,4 +1,6 @@
 [
+  // alineacms.com generates this package at build time and it should not end up in a cache (much like the @prisma/client package)
+  "@alinea/generated",
   "@appsignal/nodejs",
   "@aws-sdk/client-s3",
   "@aws-sdk/s3-presigned-post",
Repository: vuejs/vue
Pull request: small improvements on html-parser

<!--
Please make sure to read the Pull Request Guidelines:
https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#pull-request-guidelines
-->


Changed files:
filename: src/compiler/parser/html-parser.js
patch: @@ -56,8 +56,8 @@ const decodingMap = {
   '&amp;': '&',
   '&#10;': '\n'
 }
-const encodedAttr = /&(lt|gt|quot|amp);/g
-const encodedAttrWithNewLines = /&(lt|gt|quot|amp|#10);/g
+const encodedAttr = /&(?:lt|gt|quot|amp);/g
+const encodedAttrWithNewLines = /&(?:lt|gt|quot|amp|#10);/g
 
 function decodeAttr (value, shouldDecodeNewlines) {
   const re = shouldDecodeNewlines ? encodedAttrWithNewLines : encodedAttr
@@ -210,7 +210,7 @@ export function parseHTML (html, options) {
 
   function handleStartTag (match) {
     const tagName = match.tagName
-    let unarySlash = match.unarySlash
+    const unarySlash = match.unarySlash
 
     if (expectHTML) {
       if (lastTag === 'p' && isNonPhrasingTag(tagName)) {
@@ -246,7 +246,6 @@ export function parseHTML (html, options) {
     if (!unary) {
       stack.push({ tag: tagName, lowerCasedTag: tagName.toLowerCase(), attrs: attrs })
       lastTag = tagName
-      unarySlash = ''
     }
 
     if (options.start) {
Repository: ollama/ollama
Pull request: Minor Go Server Fixes

A few fixes to avoid surprises as we get wider testing

Changed files:
filename: llama/example/main.go
patch: @@ -38,7 +38,7 @@ func main() {
 		},
 	}
 	model := llama.LoadModelFromFile(*mpath, params)
-	ctxParams := llama.NewContextParams(2048, runtime.NumCPU(), false)
+	ctxParams := llama.NewContextParams(2048, 512, 1, runtime.NumCPU(), false)
 
 	// language model context
 	lc := llama.NewContextWithModel(model, ctxParams)

filename: llama/llama.go
patch: @@ -67,9 +67,11 @@ type ContextParams struct {
 	c C.struct_llama_context_params
 }
 
-func NewContextParams(numCtx int, threads int, flashAttention bool) ContextParams {
+func NewContextParams(numCtx int, batchSize int, numSeqMax int, threads int, flashAttention bool) ContextParams {
 	params := C.llama_context_default_params()
 	params.n_ctx = C.uint(numCtx)
+	params.n_batch = C.uint(batchSize)
+	params.n_seq_max = C.uint(numSeqMax)
 	params.n_threads = C.int(threads)
 	params.n_threads_batch = params.n_threads
 	params.embeddings = C.bool(true)

filename: llama/runner/runner.go
patch: @@ -626,7 +626,7 @@ func (s *Server) loadModel(
 
 	s.model = llama.LoadModelFromFile(mpath, params)
 
-	ctxParams := llama.NewContextParams(kvSize, threads, flashAttention)
+	ctxParams := llama.NewContextParams(kvSize, s.batchSize, s.parallel, threads, flashAttention)
 	s.lc = llama.NewContextWithModel(s.model, ctxParams)
 
 	if lpath != "" {
@@ -642,6 +642,8 @@ func (s *Server) loadModel(
 
 	if ppath != "" {
 		s.cc = llama.NewClipContext(ppath)
+		// TODO (jessegross): Vision model support
+		panic("Vision models are not yet supported")
 	}
 
 	s.status = ServerStatusReady
Repository: ggml-org/llama.cpp
Pull request: cuda : cuda graphs now compare all node params

ref https://github.com/ggml-org/llama.cpp/pull/19338#issuecomment-3852298933

This should fix the CUDA graph usage logic when the ops have variable op params. This issue is most pronounced during `test-backend-ops`.

Changed files:
filename: ggml/src/ggml-cuda/ggml-cuda.cu
patch: @@ -2979,8 +2979,7 @@ static bool ggml_cuda_graph_node_properties_match(ggml_tensor * node, ggml_cuda_
         }
     }
 
-    if ((node->op == GGML_OP_SCALE || node->op == GGML_OP_GLU) &&
-        memcmp(props->op_params, node->op_params, GGML_MAX_OP_PARAMS) != 0) {
+    if (memcmp(props->op_params, node->op_params, GGML_MAX_OP_PARAMS) != 0) {
         return false;
     }
Repository: facebook/react
Pull request: [ci] Also notify compiler ready for review PRs

Similar to #32344

Changed files:
filename: .github/workflows/compiler_discord_notify.yml
patch: @@ -2,7 +2,7 @@ name: (Compiler) Discord Notify
 
 on:
   pull_request_target:
-    types: [opened]
+    types: [opened, ready_for_review]
     paths:
       - compiler/**
       - .github/workflows/compiler_**.yml
Repository: ollama/ollama
Pull request: Update README.md

This is a pull request to include my Discord bot project, vnc-lm into the community integrations section. https://github.com/jk011ru/vnc-lm . Thanks

Changed files:
filename: README.md
patch: @@ -417,6 +417,7 @@ See the [API documentation](./docs/api.md) for all endpoints.
 - [Discord-Ollama Chat Bot](https://github.com/kevinthedang/discord-ollama) (Generalized TypeScript Discord Bot w/ Tuning Documentation)
 - [Discord AI chat/moderation bot](https://github.com/rapmd73/Companion) Chat/moderation bot written in python. Uses Ollama to create personalities.
 - [Headless Ollama](https://github.com/nischalj10/headless-ollama) (Scripts to automatically install ollama client & models on any OS for apps that depends on ollama server)
+- [vnc-lm](https://github.com/jk011ru/vnc-lm) (A containerized Discord bot with support for attachments and web links)
 
 ### Supported backends
Repository: huggingface/transformers
Pull request: Migration guide typo


Changed files:
filename: MIGRATION_GUIDE_V5.md
patch: @@ -16,7 +16,8 @@ limitations under the License.
 
 # Version 5 Migration guide
 
-> [!NOTE] 👀 Welcome to the migration guide for the first release candidate! Nothing is final and things are still actively in 
+> [!NOTE] 
+> 👀 Welcome to the migration guide for the first release candidate! Nothing is final and things are still actively in 
 > movement. We have a section dedicated to what is planned for future release candidates, yet is known not to work in 
 > the RC0. Look for "Disclaimers for the RC0".
 >
Repository: ggml-org/llama.cpp
Pull request: metal : fix event synchronization in cpy_tensor_async

cont #18966 

Was incorrectly recording the event in a separate command buffer. Fixes the synchronization issue reported in https://github.com/ggml-org/llama.cpp/pull/19378#issuecomment-3862086179

Changed files:
filename: ggml/src/ggml-metal/ggml-metal-context.m
patch: @@ -394,7 +394,7 @@ bool ggml_metal_cpy_tensor_async(ggml_metal_t ctx_src, ggml_metal_t ctx_dst, con
         [encoder endEncoding];
 
         ggml_metal_event_t ev_cpy = ggml_metal_get_ev_cpy(ctx_src);
-        ggml_metal_event_record(ctx_src, ev_cpy);
+        ggml_metal_event_encode_signal(ev_cpy, cmd_buf);
 
         [cmd_buf commit];
Repository: nodejs/node
Pull request: tools: update nixpkgs-unstable to ffcdcf99d65c61956d882df249a9be53e59

This is an automated update of nixpkgs-unstable to ffcdcf99d65c61956d882df249a9be53e59.

Changed files:
filename: tools/nix/pkgs.nix
patch: @@ -1,10 +1,10 @@
 arg:
 let
   repo = "https://github.com/NixOS/nixpkgs";
-  rev = "ca77296380960cd497a765102eeb1356eb80fed0";
+  rev = "ffcdcf99d65c61956d882df249a9be53e5902ea5";
   nixpkgs = import (builtins.fetchTarball {
     url = "${repo}/archive/${rev}.tar.gz";
-    sha256 = "1airrw6l87iyny1a3mb29l28na4s4llifprlgpll2na461jd40iy";
+    sha256 = "09ifrgxin9may5kll1g2fdxixb0k3ipzhfw90mckl17mpbrgaglp";
   }) arg;
 in
 nixpkgs

filename: tools/nix/sharedLibDeps.nix
patch: @@ -7,7 +7,6 @@
     brotli
     c-ares
     libuv
-    nghttp2
     nghttp3
     ngtcp2
     simdjson
@@ -18,6 +17,16 @@
     zstd
     ;
   http-parser = pkgs.llhttp;
+  nghttp2 = pkgs.nghttp2.overrideAttrs {
+    patches = [
+      (pkgs.fetchpatch2 {
+        url = "https://github.com/nghttp2/nghttp2/commit/7784fa979d0bcf801a35f1afbb25fb048d815cd7.patch?full_index=1";
+        revert = true;
+        excludes = [ "lib/includes/nghttp2/nghttp2.h" ];
+        hash = "sha256-RG87Qifjpl7HTP9ac2JwHj2XAbDlFgOpAnpZX3ET6gU=";
+      })
+    ];
+  };
   openssl = pkgs.openssl.overrideAttrs (old: {
     version = "3.5.4";
     src = pkgs.fetchurl {
Repository: vuejs/vue
Pull request: Fix JSFiddle links

Use an inline script tag with unpkg to explicitly show what we're
including. It allows to easily test regressions by appending @2.x.x at
the end of the of the link.
It also allows to directly check if the repro is using the latest
version

Following #4890

<!--
Please make sure to read the Pull Request Guidelines:
https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#pull-request-guidelines
-->


Changed files:
filename: .github/CONTRIBUTING.md
patch: @@ -26,7 +26,7 @@ Hi! I’m really excited that you are interested in contributing to Vue.js. Befo
 
 - Issues with no clear repro steps will not be triaged. If an issue labeled "need repro" receives no further input from the issue author for more than 5 days, it will be closed.
 
-- It is recommended that you make a JSFiddle/JSBin/Codepen to demonstrate your issue. You could start with [this template](https://jsfiddle.net/z11fe07p/) that already includes the latest version of Vue.
+- It is recommended that you make a JSFiddle/JSBin/Codepen to demonstrate your issue. You could start with [this template](https://jsfiddle.net/39epgLj0/) that already includes the latest version of Vue.
 
 - For potential SSR (Server Side Rendering) issue or bugs that involves build setups, you can create a reproduction repository with steps in the README.
 

filename: .github/ISSUE_TEMPLATE.md
patch: @@ -22,7 +22,7 @@ Reporting a bug?
 
 - It is **required** that you clearly describe the steps necessary to reproduce the issue you are running into. Issues with no clear repro steps will not be triaged. If an issue labeled "need repro" receives no further input from the issue author for more than 5 days, it will be closed.
 
-- It is recommended that you make a JSFiddle/JSBin/Codepen to demonstrate your issue. You could start with [this template](https://jsfiddle.net/z11fe07p/) that already includes the latest version of Vue.
+- It is recommended that you make a JSFiddle/JSBin/Codepen to demonstrate your issue. You could start with [this template](https://jsfiddle.net/39epgLj0/) that already includes the latest version of Vue.
 
 - For potential SSR (Server Side Rendering) issue or bugs that involves build setups, you can create a reproduction repository with steps in the README.
 
@@ -39,7 +39,7 @@ Remove the template from below and provide thoughtful commentary *and code sampl
 
 ### Reproduction Link
 <!-- A minimal JSBin, JSFiddle, Codepen, or a GitHub repository that can reproduce the bug. -->
-<!-- You could start with this template: https://jsfiddle.net/z11fe07p/ -->
+<!-- You could start with this template: https://jsfiddle.net/39epgLj0/ -->
 
 ### Steps to reproduce
Repository: huggingface/transformers
Pull request: Fix Qwen3OmniMoE weight init

In #42456 we renamed `self.router` to `self.gate` in some layers but the `_init_weights` for `Qwen3OmniMoE` still refers to router. This PR fixes it!

Changed files:
filename: src/transformers/models/qwen3_omni_moe/modeling_qwen3_omni_moe.py
patch: @@ -84,7 +84,7 @@ def _init_weights(self, module):
         if isinstance(module, Qwen3OmniMoeThinkerTextSparseMoeBlock):
             init.normal_(module.experts.gate_up_proj, mean=0.0, std=std)
             init.normal_(module.experts.down_proj, mean=0.0, std=std)
-            init.normal_(module.router.weight, mean=0.0, std=std)
+            init.normal_(module.gate.weight, mean=0.0, std=std)
 
 
 def _get_feat_extract_output_lengths(input_lengths):

filename: src/transformers/models/qwen3_omni_moe/modular_qwen3_omni_moe.py
patch: @@ -899,7 +899,7 @@ def _init_weights(self, module):
         if isinstance(module, Qwen3OmniMoeThinkerTextSparseMoeBlock):
             init.normal_(module.experts.gate_up_proj, mean=0.0, std=std)
             init.normal_(module.experts.down_proj, mean=0.0, std=std)
-            init.normal_(module.router.weight, mean=0.0, std=std)
+            init.normal_(module.gate.weight, mean=0.0, std=std)
 
 
 class Qwen3OmniMoePreTrainedModelForConditionalGeneration(Qwen2_5OmniPreTrainedModelForConditionalGeneration):
Repository: vercel/next.js
Pull request: Don't run bundle-analyzer dev script with turborepo

No reason to always run that with `pnpm dev`

Changed files:
filename: package.json
patch: @@ -11,7 +11,7 @@
     "clean": "lerna clean -y && lerna bootstrap && lerna run clean && lerna exec 'node ../../scripts/rm.mjs dist'",
     "build": "turbo run build --remote-cache-timeout 60 --summarize true",
     "lerna": "lerna",
-    "dev": "turbo run dev --parallel",
+    "dev": "turbo run dev --parallel --filter='!@next/bundle-analyzer-ui'",
     "pack-next": "tsx scripts/pack-next.ts",
     "test-types": "tsc",
     "test-unit": "jest test/unit/ packages/next/ packages/font",
Repository: huggingface/transformers
Pull request: RC0 Disclaimer


Changed files:
filename: MIGRATION_GUIDE_V5.md
patch: @@ -16,6 +16,12 @@ limitations under the License.
 
 # Version 5 Migration guide
 
+> [!NOTE] 👀 Welcome to the migration guide for the first release candidate! Nothing is final and things are still actively in 
+> movement. We have a section dedicated to what is planned for future release candidates, yet is known not to work in 
+> the RC0. Look for "Disclaimers for the RC0".
+> 
+> We'll be eagerly awaiting your feedback in our GitHub issues!
+
 ## Library-wide changes with widespread impact
 
 ### Removal of TensorFlow and Jax
@@ -329,6 +335,13 @@ This is known and actively being worked on.
 
 _We aim for this to be fixed and released in a following release candidate in the week that follows RC0._
 
+### Remote code incompatibility
+
+A lot of paths were removed and reworked; paths like `transformers.tokenization_utils` and `transformers.tokenization_utils_fast`, which no longer exist.
+We'll be working on backwards compatibility for these before version 5 is fully released.
+
+_We aim for this to be fixed and released in a following release candidate in the week that follows RC0._
+
 ### Custom pretrained models:
 For anyone inheriting from a `transformers` `PreTrainedModel`, the weights are automatically initialized with the common scheme: 
 ```python
Repository: huggingface/transformers
Pull request: CLI Migration guide

Light updates

Changed files:
filename: MIGRATION_GUIDE_V5.md
patch: @@ -565,15 +565,20 @@ but also makes the commands less bloated. The new signature of `transformers cha
 ```
 Usage: transformers chat [OPTIONS] BASE_URL MODEL_ID [GENERATE_FLAGS]...
 
-  Chat with a model from the command line.
+Chat with a model from the command line.
 ```
 
-Example:
+It works hand in hand with `transformers serve`, which means that if `transformers serve` is running on its default endpoint, `transformers chat` can be launched as follows:
 
 ```sh
-transformers chat https://router.huggingface.co/v1 HuggingFaceTB/SmolLM3-3B
+transformers chat HuggingFaceTB/SmolLM3-3B
 ```
 
+It can however use any OpenAI API compatible HTTP endpoint:
+
+```sh
+transformers chat HuggingFaceTB/SmolLM3-3B https://router.huggingface.co/v1
+```
 
 Linked PRs: 
 - https://github.com/huggingface/transformers/pull/40997
Repository: ollama/ollama
Pull request: llm: use json.hpp from common

The version of json.hpp from the 'common' module was no longer the same as the one within the 'ext_server' module. The discrepancy can cause linking errors depending on the functions used. This patch remove the old version in favor of using the one found in the common module.

Changed files:
filename: llm/ext_server/CMakeLists.txt
patch: @@ -2,7 +2,7 @@ set(TARGET ollama_llama_server)
 option(LLAMA_SERVER_VERBOSE "Build verbose logging option for Server" ON)
 set(LLAMA_SERVER_LDFLAGS $ENV{LLAMA_SERVER_LDFLAGS})
 include_directories(${CMAKE_CURRENT_SOURCE_DIR})
-add_executable(${TARGET} server.cpp utils.hpp json.hpp httplib.h)
+add_executable(${TARGET} server.cpp utils.hpp httplib.h)
 install(TARGETS ${TARGET} RUNTIME)
 target_compile_definitions(${TARGET} PRIVATE
     SERVER_VERBOSE=$<BOOL:${LLAMA_SERVER_VERBOSE}>
Repository: ollama/ollama
Pull request: Add confichat to README.md

- Added ConfiChat to Community Integration > Web & Desktop
- Added ConfiChat to Community Integration > Mobile

Changed files:
filename: README.md
patch: @@ -309,7 +309,8 @@ See the [API documentation](./docs/api.md) for all endpoints.
 - [PyOllaMx](https://github.com/kspviswa/pyOllaMx) - macOS application capable of chatting with both Ollama and Apple MLX models.
 - [Claude Dev](https://github.com/saoudrizwan/claude-dev) - VSCode extension for multi-file/whole-repo coding
 - [Cherry Studio](https://github.com/kangfenmao/cherry-studio) (Desktop client with Ollama support)
-  
+- [ConfiChat](https://github.com/1runeberg/confichat) (Lightweight, standalone, multi-platform, and privacy focused LLM chat interface with optional encryption)
+
 ### Terminal
 
 - [oterm](https://github.com/ggozad/oterm)
@@ -386,6 +387,7 @@ See the [API documentation](./docs/api.md) for all endpoints.
 
 - [Enchanted](https://github.com/AugustDev/enchanted)
 - [Maid](https://github.com/Mobile-Artificial-Intelligence/maid)
+- [ConfiChat](https://github.com/1runeberg/confichat) (Lightweight, standalone, multi-platform, and privacy focused LLM chat interface with optional encryption)
 
 ### Extensions & Plugins
Repository: ggml-org/llama.cpp
Pull request: gguf-py: Bump sentencepiece version

There's a new version that's been out for a while that addresses the issues mentioned in https://github.com/ggml-org/llama.cpp/pull/14200. There's a long chain of reasons I would like this change, but the short version is that it allows people who use both `sentencepiece` and `gguf` to take advantage of these fixes. On conda-forge, currently, it locks the version (since there is no notion of optional dependencies).

Regardless, I don't think this should be too controversial.


Changed files:
filename: gguf-py/pyproject.toml
patch: @@ -23,7 +23,7 @@ numpy = ">=1.17"
 tqdm = ">=4.27"
 pyyaml = ">=5.1"
 requests = ">=2.25"
-sentencepiece = { version = ">=0.1.98,<=0.2.0", optional = true }
+sentencepiece = { version = ">=0.1.98,<0.3.0", optional = true }
 PySide6 = { version = "^6.9", python = ">=3.9,<3.14", optional = true }
 
 [tool.poetry.dev-dependencies]

filename: pyproject.toml
patch: @@ -17,7 +17,7 @@ classifiers = [
 [tool.poetry.dependencies]
 python = ">=3.9"
 numpy = "^1.25.0"
-sentencepiece = ">=0.1.98,<=0.2.0"
+sentencepiece = ">=0.1.98,<0.3.0"
 transformers = ">=4.35.2,<5.0.0"
 protobuf = ">=4.21.0,<5.0.0"
 gguf = { path = "./gguf-py" }

filename: requirements/requirements-convert_legacy_llama.txt
patch: @@ -1,5 +1,5 @@
 numpy~=1.26.4
-sentencepiece~=0.2.0
+sentencepiece>=0.1.98,<0.3.0
 
 transformers>=4.57.1,<5.0.0