René's URL Explorer Experiment


Title: merge API server example / module · Issue #2 · Stonelinks/llama-cpp-python · GitHub

Open Graph Title: merge API server example / module · Issue #2 · Stonelinks/llama-cpp-python

X Title: merge API server example / module · Issue #2 · Stonelinks/llama-cpp-python

Description: Currently there exist two server implementations: llama_cpp/server/__main__.py, the module that's runnable by consumers of the library with python3 -m llama_cpp.server examples/high_level_api/fastapi_server.py, which is probably a copy-p...

Open Graph Description: Currently there exist two server implementations: llama_cpp/server/__main__.py, the module that's runnable by consumers of the library with python3 -m llama_cpp.server examples/high_level_api/fasta...

X Description: Currently there exist two server implementations: llama_cpp/server/__main__.py, the module that's runnable by consumers of the library with python3 -m llama_cpp.server examples/high_level_api/f...

Opengraph URL: https://github.com/Stonelinks/llama-cpp-python/issues/2

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"merge API server example / module","articleBody":"Currently there exist two server implementations:\r\n\r\n- `llama_cpp/server/__main__.py`, the module that's runnable by consumers of the library with `python3 -m llama_cpp.server`\r\n- `examples/high_level_api/fastapi_server.py`, which is probably a copy-pasted example by folks hacking around\r\n\r\nIMO this is confusing. As a new user of the library I see they've both been updated relatively recently but looking side-by-side there's a diff.\r\n\r\nThe one in the module seems better:\r\n- supports logits_all\r\n- supports use_mmap\r\n- has experimental cache support (with some mutex thing going on)\r\n- some stuff with streaming support was moved around more recently than fastapi_server.py\r\n\r\nSo IMO the example server should go away (perhaps just import the module's server and run it after #1 is done)\r\n\r\n\r\n\r\n","author":{"url":"https://github.com/Stonelinks","@type":"Person","name":"Stonelinks"},"datePublished":"2023-04-29T05:06:29.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/2/llama-cpp-python/issues/2"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:b3e4542c-aab9-6217-f78e-a9470a477448
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE192:380F1C:7428B3:A3EB77:6978ACFA
html-safe-nonced977adefba9e9b7e8696a551a636958e5f14a5459dfe1d80a0d8831085d114ae
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMTkyOjM4MEYxQzo3NDI4QjM6QTNFQjc3OjY5NzhBQ0ZBIiwidmlzaXRvcl9pZCI6IjEwNTIxNTYxNzkxMzMyNzk0ODIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac485e76b8a7447d310b91504985571d8c9a461cbb57ad8052b398016e4d0d8ac8
hovercard-subject-tagissue:1689394866
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/Stonelinks/llama-cpp-python/2/issue_layout
twitter:imagehttps://opengraph.githubassets.com/251b10c9c7219439e7ab3983bc498227f365bbadd2e5e533bc8069a3e036fbcd/Stonelinks/llama-cpp-python/issues/2
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/251b10c9c7219439e7ab3983bc498227f365bbadd2e5e533bc8069a3e036fbcd/Stonelinks/llama-cpp-python/issues/2
og:image:altCurrently there exist two server implementations: llama_cpp/server/__main__.py, the module that's runnable by consumers of the library with python3 -m llama_cpp.server examples/high_level_api/fasta...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameStonelinks
hostnamegithub.com
expected-hostnamegithub.com
None2981c597c945c1d90ac6fa355ce7929b2f413dfe7872ca5c435ee53a24a1de50
turbo-cache-controlno-preview
go-importgithub.com/Stonelinks/llama-cpp-python git https://github.com/Stonelinks/llama-cpp-python.git
octolytics-dimension-user_id556340
octolytics-dimension-user_loginStonelinks
octolytics-dimension-repository_id634091346
octolytics-dimension-repository_nwoStonelinks/llama-cpp-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id617868717
octolytics-dimension-repository_parent_nwoabetlen/llama-cpp-python
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
releasef8aa86d87c47054170094daaf9699b27a28a8448
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/Stonelinks/llama-cpp-python/issues/2#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FStonelinks%2Fllama-cpp-python%2Fissues%2F2
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%2FStonelinks%2Fllama-cpp-python%2Fissues%2F2
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=Stonelinks%2Fllama-cpp-python
Reloadhttps://patch-diff.githubusercontent.com/Stonelinks/llama-cpp-python/issues/2
Reloadhttps://patch-diff.githubusercontent.com/Stonelinks/llama-cpp-python/issues/2
Reloadhttps://patch-diff.githubusercontent.com/Stonelinks/llama-cpp-python/issues/2
Stonelinks https://patch-diff.githubusercontent.com/Stonelinks
llama-cpp-pythonhttps://patch-diff.githubusercontent.com/Stonelinks/llama-cpp-python
abetlen/llama-cpp-pythonhttps://patch-diff.githubusercontent.com/abetlen/llama-cpp-python
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FStonelinks%2Fllama-cpp-python
Fork 0 https://patch-diff.githubusercontent.com/login?return_to=%2FStonelinks%2Fllama-cpp-python
Star 0 https://patch-diff.githubusercontent.com/login?return_to=%2FStonelinks%2Fllama-cpp-python
Code https://patch-diff.githubusercontent.com/Stonelinks/llama-cpp-python
Issues 4 https://patch-diff.githubusercontent.com/Stonelinks/llama-cpp-python/issues
Pull requests 0 https://patch-diff.githubusercontent.com/Stonelinks/llama-cpp-python/pulls
Actions https://patch-diff.githubusercontent.com/Stonelinks/llama-cpp-python/actions
Projects 0 https://patch-diff.githubusercontent.com/Stonelinks/llama-cpp-python/projects
Security 0 https://patch-diff.githubusercontent.com/Stonelinks/llama-cpp-python/security
Insights https://patch-diff.githubusercontent.com/Stonelinks/llama-cpp-python/pulse
Code https://patch-diff.githubusercontent.com/Stonelinks/llama-cpp-python
Issues https://patch-diff.githubusercontent.com/Stonelinks/llama-cpp-python/issues
Pull requests https://patch-diff.githubusercontent.com/Stonelinks/llama-cpp-python/pulls
Actions https://patch-diff.githubusercontent.com/Stonelinks/llama-cpp-python/actions
Projects https://patch-diff.githubusercontent.com/Stonelinks/llama-cpp-python/projects
Security https://patch-diff.githubusercontent.com/Stonelinks/llama-cpp-python/security
Insights https://patch-diff.githubusercontent.com/Stonelinks/llama-cpp-python/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/Stonelinks/llama-cpp-python/issues/2
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/Stonelinks/llama-cpp-python/issues/2
merge API server example / modulehttps://patch-diff.githubusercontent.com/Stonelinks/llama-cpp-python/issues/2#top
https://github.com/Stonelinks
https://github.com/Stonelinks
Stonelinkshttps://github.com/Stonelinks
on Apr 29, 2023https://github.com/Stonelinks/llama-cpp-python/issues/2#issue-1689394866
#1https://github.com/Stonelinks/llama-cpp-python/issues/1
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.