René's URL Explorer Experiment


Title: Fix disk-cache LRU logic by donbcd · Pull Request #2025 · abetlen/llama-cpp-python · GitHub

Open Graph Title: Fix disk-cache LRU logic by donbcd · Pull Request #2025 · abetlen/llama-cpp-python

X Title: Fix disk-cache LRU logic by donbcd · Pull Request #2025 · abetlen/llama-cpp-python

Description: The LlamaDiskCache tried to implement LRU logic, but did not succeed. getitem did a pop() from the cache, but no push (that was commented out). This results in a miss-hit-miss-hit-... behavior if t...

Open Graph Description: The LlamaDiskCache tried to implement LRU logic, but did not succeed. getitem did a pop() from the cache, but no push (that was commented out). This results in a miss-hit-miss-hit-... behavior if t...

X Description: The LlamaDiskCache tried to implement LRU logic, but did not succeed. getitem did a pop() from the cache, but no push (that was commented out). This results in a miss-hit-miss-hit-... behavior if t...

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

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:9015c88b-e058-33e0-48e4-f102621041e8
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAE32:2F9F8B:2B11A84:37F8B3E:69748FC7
html-safe-nonce502128d1322ee7b4d4fd9543432530d2e5292f7cc0b11b409465648c25cf9d8f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTMyOjJGOUY4QjoyQjExQTg0OjM3RjhCM0U6Njk3NDhGQzciLCJ2aXNpdG9yX2lkIjoiMTc3NTI5OTA5NjkxMTA1NjgzOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac8d1fd71938a0e439d0f1b010ec91689f5a876e9086b401336c1ba69418ecaa4c
hovercard-subject-tagpull_request:2562803117
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/2025/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/4c9ae51809b21bf4b544d15d5e141bff8cf8b672ed2f50414bfc0a03c5d3c251/abetlen/llama-cpp-python/pull/2025
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4c9ae51809b21bf4b544d15d5e141bff8cf8b672ed2f50414bfc0a03c5d3c251/abetlen/llama-cpp-python/pull/2025
og:image:altThe LlamaDiskCache tried to implement LRU logic, but did not succeed. getitem did a pop() from the cache, but no push (that was commented out). This results in a miss-hit-miss-hit-... behavior if t...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedonbcd
hostnamegithub.com
expected-hostnamegithub.com
None4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f
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
release488b30e96dfd057fbbe44c6665ccbc030b729dde
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/2025#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%2F2025
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%2F2025
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/2025
Reloadhttps://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/2025
Reloadhttps://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/2025
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 591 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/2025#issue-comment-box
donbcdhttps://patch-diff.githubusercontent.com/donbcd
abetlen:mainhttps://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/tree/main
donbcd:mainhttps://patch-diff.githubusercontent.com/donbcd/llama-cpp-python/tree/main
Fix disk-cache LRU logic https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/2025#top
donbcdhttps://patch-diff.githubusercontent.com/donbcd
abetlen:mainhttps://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/tree/main
donbcd:mainhttps://patch-diff.githubusercontent.com/donbcd/llama-cpp-python/tree/main
Conversation 2 https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/2025
Commits 1 https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/2025/commits
Checks 0 https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/2025/checks
Files changed 1 https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/2025/files
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/donbcd
donbcdhttps://patch-diff.githubusercontent.com/donbcd
Jun 3, 2025https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/2025#issue-3112645337
Please reload this pagehttps://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/2025
Fix disk-cache LRU logichttps://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/2025/commits/97b439fb890b81ab498a4630ce3cb696483db4e5
97b439fhttps://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/2025/commits/97b439fb890b81ab498a4630ce3cb696483db4e5
https://patch-diff.githubusercontent.com/apps/copilot-pull-request-reviewer
Copilothttps://patch-diff.githubusercontent.com/apps/copilot-pull-request-reviewer
June 3, 2025 06:43https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/2025#event-17949845578
https://patch-diff.githubusercontent.com/apps/copilot-pull-request-reviewer
Copilothttps://patch-diff.githubusercontent.com/apps/copilot-pull-request-reviewer
Jun 3, 2025 https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/2025#pullrequestreview-2890908283
View reviewed changes https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/2025/files/97b439fb890b81ab498a4630ce3cb696483db4e5
Copilothttps://patch-diff.githubusercontent.com/apps/copilot-pull-request-reviewer
https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/2025#pullrequestreview-2890908283
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/2025
llama_cpp/llama_cache.pyhttps://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/2025/files/97b439fb890b81ab498a4630ce3cb696483db4e5#diff-16e5f12bfa61bf2e4fa342cf6cfc713b11096adb509537f87f1118b3769dbcba
Copilothttps://patch-diff.githubusercontent.com/apps/copilot-pull-request-reviewer
Jun 3, 2025https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/2025#discussion_r2122870274
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/2025
Copilothttps://docs.github.com/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-code-review
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%2F2025
Copilot code review https://patch-diff.githubusercontent.com/apps/copilot-pull-request-reviewer
Copilot https://patch-diff.githubusercontent.com/apps/copilot-pull-request-reviewer
https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/2025/files/97b439fb890b81ab498a4630ce3cb696483db4e5
Please reload this pagehttps://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/2025
https://patch-diff.githubusercontent.com/donbcd
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.