René's URL Explorer Experiment


Title: Add cancel() method to interrupt a stream by simonchatts · Pull Request #733 · abetlen/llama-cpp-python · GitHub

Open Graph Title: Add cancel() method to interrupt a stream by simonchatts · Pull Request #733 · abetlen/llama-cpp-python

X Title: Add cancel() method to interrupt a stream by simonchatts · Pull Request #733 · abetlen/llama-cpp-python

Description: Fixes #599. Thanks for all your work on this project!

Open Graph Description: Fixes #599. Thanks for all your work on this project!

X Description: Fixes #599. Thanks for all your work on this project!

Opengraph URL: https://github.com/abetlen/llama-cpp-python/pull/733

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:168705f0-e951-2ac0-e482-e827899be201
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA0A2:2F76D:9A00B52:C7C564C:697714B7
html-safe-nonce41cb01ef3ea86d4a54c78a34fab657e8063b91fb923a09bf94531bc7ba8a9860
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMEEyOjJGNzZEOjlBMDBCNTI6QzdDNTY0Qzo2OTc3MTRCNyIsInZpc2l0b3JfaWQiOiI2Mjc0MjQ4MDE2NDc0MzI4ODciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac05887460f009f236dfde67095364eb18a4a93e0dfe58f14734d8edf323b8255c
hovercard-subject-tagpull_request:1519210188
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/abetlen/llama-cpp-python/733/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/eb48a81d718fde124cae7f46c9d2e4701ec18518aa7acc1645d0a0842bd25a63/abetlen/llama-cpp-python/pull/733
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/eb48a81d718fde124cae7f46c9d2e4701ec18518aa7acc1645d0a0842bd25a63/abetlen/llama-cpp-python/pull/733
og:image:altFixes #599. Thanks for all your work on this project!
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesimonchatts
hostnamegithub.com
expected-hostnamegithub.com
None01d198479908d09a841b2febe8eb105a81af2af7d81830960fe0971e1f4adc09
turbo-cache-controlno-preview
go-importgithub.com/abetlen/llama-cpp-python git https://github.com/abetlen/llama-cpp-python.git
octolytics-dimension-user_id6826477
octolytics-dimension-user_loginabetlen
octolytics-dimension-repository_id617868717
octolytics-dimension-repository_nwoabetlen/llama-cpp-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id617868717
octolytics-dimension-repository_network_root_nwoabetlen/llama-cpp-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef752335dbbea672610081196a1998e39aec5e14b
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/733#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fabetlen%2Fllama-cpp-python%2Fpull%2F733
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fabetlen%2Fllama-cpp-python%2Fpull%2F733
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=abetlen%2Fllama-cpp-python
Reloadhttps://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/733
Reloadhttps://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/733
Reloadhttps://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/733
abetlen https://patch-diff.githubusercontent.com/abetlen
llama-cpp-pythonhttps://patch-diff.githubusercontent.com/abetlen/llama-cpp-python
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fabetlen%2Fllama-cpp-python
Fork 1.3k https://patch-diff.githubusercontent.com/login?return_to=%2Fabetlen%2Fllama-cpp-python
Star 9.9k https://patch-diff.githubusercontent.com/login?return_to=%2Fabetlen%2Fllama-cpp-python
Code https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python
Issues 594 https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/issues
Pull requests 95 https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pulls
Discussions https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/discussions
Actions https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/actions
Projects 0 https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/projects
Security 1 https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/security
Insights https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pulse
Code https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python
Issues https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/issues
Pull requests https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pulls
Discussions https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/discussions
Actions https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/actions
Projects https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/projects
Security https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/security
Insights https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Fabetlen%2Fllama-cpp-python%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2Fabetlen%2Fllama-cpp-python%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/733#issue-comment-box
simonchattshttps://patch-diff.githubusercontent.com/simonchatts
abetlen:mainhttps://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/tree/main
simonchatts:mainhttps://patch-diff.githubusercontent.com/simonchatts/llama-cpp-python/tree/main
Add cancel() method to interrupt a stream https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/733#top
simonchattshttps://patch-diff.githubusercontent.com/simonchatts
abetlen:mainhttps://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/tree/main
simonchatts:mainhttps://patch-diff.githubusercontent.com/simonchatts/llama-cpp-python/tree/main
Conversation 10 https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/733
Commits 1 https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/733/commits
Checks 0 https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/733/checks
Files changed https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/733/files
Please reload this pagehttps://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/733
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/simonchatts
simonchattshttps://patch-diff.githubusercontent.com/simonchatts
Sep 18, 2023https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/733#issue-1900611068
#599https://github.com/abetlen/llama-cpp-python/issues/599
Please reload this pagehttps://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/733
https://patch-diff.githubusercontent.com/simonchatts
Add cancel() method to interrupt a streamhttps://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/733/commits/3afc7cfad532e02347ed35b7fd5fbb67d53d0c22
3afc7cfhttps://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/733/commits/3afc7cfad532e02347ed35b7fd5fbb67d53d0c22
https://patch-diff.githubusercontent.com/tk-master
tk-masterhttps://patch-diff.githubusercontent.com/tk-master
Oct 21, 2023https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/733#issuecomment-1773913085
@abetlenhttps://github.com/abetlen
Please reload this pagehttps://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/733
https://patch-diff.githubusercontent.com/tk-master
tk-masterhttps://patch-diff.githubusercontent.com/tk-master
Oct 29, 2023https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/733#issuecomment-1784222500
Please reload this pagehttps://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/733
https://patch-diff.githubusercontent.com/tk-master
tk-masterhttps://patch-diff.githubusercontent.com/tk-master
Nov 13, 2023https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/733#issuecomment-1808087821
@abetlenhttps://github.com/abetlen
Please reload this pagehttps://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/733
https://patch-diff.githubusercontent.com/abetlen
abetlenhttps://patch-diff.githubusercontent.com/abetlen
force-pushedhttps://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/compare/8c93cf86179eee45c984587d7bff643ff1c27449..cc0fe4384931e5039ebaf50047a4472969cc80be
8c93cf8https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/commit/8c93cf86179eee45c984587d7bff643ff1c27449
cc0fe43https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/commit/cc0fe4384931e5039ebaf50047a4472969cc80be
Compare https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/compare/8c93cf86179eee45c984587d7bff643ff1c27449..cc0fe4384931e5039ebaf50047a4472969cc80be
November 14, 2023 20:24https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/733#event-10959683698
https://patch-diff.githubusercontent.com/woheller69
woheller69https://patch-diff.githubusercontent.com/woheller69
May 6, 2024https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/733#issuecomment-2095970724
Please reload this pagehttps://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/733
https://patch-diff.githubusercontent.com/woheller69
woheller69https://patch-diff.githubusercontent.com/woheller69
May 8, 2024https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/733#issuecomment-2099713848
Please reload this pagehttps://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/733
https://patch-diff.githubusercontent.com/jewser
jewserhttps://patch-diff.githubusercontent.com/jewser
May 11, 2024https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/733#issuecomment-2105556531
Please reload this pagehttps://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/733
https://patch-diff.githubusercontent.com/madprops
madpropshttps://patch-diff.githubusercontent.com/madprops
May 11, 2024https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/733#issuecomment-2105784197
Please reload this pagehttps://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/733
https://patch-diff.githubusercontent.com/woheller69
woheller69https://patch-diff.githubusercontent.com/woheller69
May 11, 2024https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/733#issuecomment-2105798440
Please reload this pagehttps://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/733
https://patch-diff.githubusercontent.com/spidersouris
spidersourishttps://patch-diff.githubusercontent.com/spidersouris
Nov 5, 2024 https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/733#ref-issue-2636562890
Generation Overlaps TC-Zheng/ActuosusAI#21 https://patch-diff.githubusercontent.com/TC-Zheng/ActuosusAI/issues/21
https://patch-diff.githubusercontent.com/ekcrisp
ekcrisphttps://patch-diff.githubusercontent.com/ekcrisp
Nov 21, 2024https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/733#issuecomment-2490139860
Please reload this pagehttps://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/733
https://patch-diff.githubusercontent.com/kingbri1
kingbri1https://patch-diff.githubusercontent.com/kingbri1
Nov 26, 2024 https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/733#ref-issue-2693263250
Feature Request: Ability to cancel during prompt processing (llama_decode) ggml-org/llama.cpp#10509 https://patch-diff.githubusercontent.com/ggml-org/llama.cpp/issues/10509
https://patch-diff.githubusercontent.com/kingbri1
kingbri1https://patch-diff.githubusercontent.com/kingbri1
Nov 26, 2024https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/733#issuecomment-2501924948
ggml-org/llama.cpp#10509https://github.com/ggml-org/llama.cpp/issues/10509
Please reload this pagehttps://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/733
Sign up for freehttps://patch-diff.githubusercontent.com/join?source=comment-repo
Sign in to commenthttps://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fabetlen%2Fllama-cpp-python%2Fpull%2F733
Dynamically intterupt token generation https://github.com/abetlen/llama-cpp-python/issues/599
Please reload this pagehttps://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/733
https://patch-diff.githubusercontent.com/simonchatts
https://patch-diff.githubusercontent.com/tk-master
https://patch-diff.githubusercontent.com/woheller69
https://patch-diff.githubusercontent.com/jewser
https://patch-diff.githubusercontent.com/madprops
https://patch-diff.githubusercontent.com/ekcrisp
https://patch-diff.githubusercontent.com/kingbri1
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.