René's URL Explorer Experiment


Title: Actually create a random seed when using seed = -1 on load by m-from-space · Pull Request #2042 · abetlen/llama-cpp-python · GitHub

Open Graph Title: Actually create a random seed when using seed = -1 on load by m-from-space · Pull Request #2042 · abetlen/llama-cpp-python

X Title: Actually create a random seed when using seed = -1 on load by m-from-space · Pull Request #2042 · abetlen/llama-cpp-python

Description: Set a random initial seed if using -1 as the seed argument, like stated in the API reference here: seed (int, default: LLAMA_DEFAULT_SEED ) – RNG seed, -1 for random At the moment there is no ran...

Open Graph Description: Set a random initial seed if using -1 as the seed argument, like stated in the API reference here: seed (int, default: LLAMA_DEFAULT_SEED ) – RNG seed, -1 for random At the moment there is no ran...

X Description: Set a random initial seed if using -1 as the seed argument, like stated in the API reference here: seed (int, default: LLAMA_DEFAULT_SEED ) – RNG seed, -1 for random At the moment there is no ran...

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

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:8f81fd0e-955c-3885-55df-9f691f1e0016
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBD6C:37D639:46F5BFC:5D1D582:69748F60
html-safe-nonce605a593980c8d8b753274fcb469c7fe0872e3934658052de94b82bcb722330c9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDZDOjM3RDYzOTo0NkY1QkZDOjVEMUQ1ODI6Njk3NDhGNjAiLCJ2aXNpdG9yX2lkIjoiMjI0MDU4Njg2MjczMDQ0ODczNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac149af61ba7529ab6a2d9bf11fb4512fb4c0df1517dabaf97a6d6e5f02cd82a59
hovercard-subject-tagpull_request:2669920044
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/2042/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/a7cea7839e7fecbf340cd7a5d812afc2261daa9b307e9ce7b7c423df8cbe392e/abetlen/llama-cpp-python/pull/2042
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a7cea7839e7fecbf340cd7a5d812afc2261daa9b307e9ce7b7c423df8cbe392e/abetlen/llama-cpp-python/pull/2042
og:image:altSet a random initial seed if using -1 as the seed argument, like stated in the API reference here: seed (int, default: LLAMA_DEFAULT_SEED ) – RNG seed, -1 for random At the moment there is no ran...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamem-from-space
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/2042#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%2F2042
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%2F2042
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/2042
Reloadhttps://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/2042
Reloadhttps://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/2042
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/2042#issue-comment-box
m-from-spacehttps://patch-diff.githubusercontent.com/m-from-space
abetlen:mainhttps://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/tree/main
m-from-space:mainhttps://patch-diff.githubusercontent.com/m-from-space/llama-cpp-python/tree/main
Actually create a random seed when using seed = -1 on load https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/2042#top
m-from-spacehttps://patch-diff.githubusercontent.com/m-from-space
abetlen:mainhttps://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/tree/main
m-from-space:mainhttps://patch-diff.githubusercontent.com/m-from-space/llama-cpp-python/tree/main
Conversation 0 https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/2042
Commits 1 https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/2042/commits
Checks 0 https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/2042/checks
Files changed 1 https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/2042/files
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/m-from-space
m-from-spacehttps://patch-diff.githubusercontent.com/m-from-space
Jul 16, 2025https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/2042#issue-3235088395
inthttps://docs.python.org/3/library/functions.html#int
LLAMA_DEFAULT_SEEDhttps://llama-cpp-python.readthedocs.io/en/latest/api-reference/#llama_cpp.llama_cpp.LLAMA_DEFAULT_SEED
#1809https://github.com/abetlen/llama-cpp-python/issues/1809
Please reload this pagehttps://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/2042
https://patch-diff.githubusercontent.com/m-from-space
Update llama.pyhttps://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/2042/commits/ac4f0d875a23ad85829b8e39ae15c7fb1c8b521d
ac4f0d8https://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/2042/commits/ac4f0d875a23ad85829b8e39ae15c7fb1c8b521d
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%2F2042
Please reload this pagehttps://patch-diff.githubusercontent.com/abetlen/llama-cpp-python/pull/2042
https://patch-diff.githubusercontent.com/m-from-space
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.