News for hackers. Stuff that matters.

anagri

Show HN: Bodhi App – Bring your own AI model to any web app

https://bodhiapps.github.io/chat/

Bodhi Chat is a demo chat app that connects to Bodhi App running locally on your machine. The connection to Bodhi App is completely secure and backed by OAuth 2.1 PKCE standards. We also have a built-in Exa web — so the LLM can search the web during conversations if required. The complete setup is completely secured by OAuth authentication/authorization, and no access is allowed unless user...

( Read More... | no comments | 5 points | on HN )

Show HN: Bodhi App – Local LLM Inference

https://getbodhi.app/

Hi HN,Bodhi App is an open-source local LLM inference solution that takes a different and simpler approach. Instead of re-inventing the wheel, it leverages existing, tried and tested ecosystem and solutions:## Technical Architecture:- llama.cpp as inference engine- Rust/Axum backend for type-safe API layer- Tauri for multiplatform builds- HuggingFace integration- YAML based configurations and...

( Read More... | no comments | on HN )
@kaiwren thanx for shoutout, looking forward to your feedback
@nandx thanks for shoutout, more features coming soon, feel free to raise issues or feature request using GitHub issues.

Thanx

@kartik7153 - looking forward to your feedback
@irfn - that's an interesting idea. will definitely try to create benchmark using my local M2 machine and llama3-7b, just for comparison.

yes, ollama and Bodhi App both use llama.cpp but our approaches are different. Ollama embeds a binary within its binary, that it copies to a tmp folder and runs this webserver. any request that comes to ollama is then forwarded to this server, and replied sent back to the client.

Bodhi embeds the llama.cpp server, so there is no tmp binary that is copied. when a request comes to Bodhi App, it invokes the code in llama.cpp and sends the response back to client. So there is no request hopping.

Hope that approach do provide us with some benefits.

Also Bodhi uses Rust as programming language. IMHO rust have excellent interface with C/C++ libraries, so the C-code is invoked using the C-FFI bridge. And given Rust's memory safety, fearless concurrency and zero cost abstractions, should definitely provide some performance benefit to Bodhi's approach.

Will get back to you once I have results for these benchmarks. Thanks for the idea.

Hope you try Bodhi, and have some equally valuable feedback on the app.

Cheers.

thanks @abhinavrai, looking forward to your feeedback, hope you get to use it when you are developing GenAI apps locally as well.
thanks @akashkahlon, looking forward to your feedback

Show HN: Bodhi App – Run Open Source/Weights HuggingFace LLMs Locally

https://github.com/BodhiSearch/BodhiApp

Hi HN,I'm excited to share Bodhi App, a tool designed to simplify running open-source Large Language Models (LLMs) locally on your laptops. While we currently support M2 Macs, we plan to support other platforms as our community grows.# ProblemTo use LLMs, you typically need to purchase a subscription from providers like OpenAI or Anthropic, or use OpenAI API credits with compatible Chat UIs....

( Read More... | 13 comments | 8 points | on HN )
Re:Show HN: Travel site made with Midjourney, GPT4 and Svelte on Wednesday August 09, 2023 @10:01AM (#37062782)
so the splash image is generated by midjourney.

@levmiseri are you using APIs, or have fine-tuned prompts for each of the location? do share these as well. the github doesn't include this.

Re:Show HN: Easyful – A Free Gumroad Alternative on Wednesday August 09, 2023 @09:56AM (#37062695)
agree

you cannot run gumroad like financial transaction business without licence and agreement with stripe. it is bound to be closed down on short notice, and all the earnings will be clawed back.

so don't use this app. period.

Re:WeWork Warns of Possible Bankruptcy on Wednesday August 09, 2023 @09:40AM (#37062493)
just glad that the 2019 IPO didn't materialize, otherwise the innocent retail shareholders would have paid for all the nuisance
++

good problem to solve, nice personal story, but disappointed it is translating into clickbait+data scraping

++

wonderful personal story, but doesn't look like it is translating 100% into empathy.

The X86 vs ARM makes for such a great story.

One prefers locking and complicated instructions, the other is designed with open and simplicity.

At one point, Intel seemed to be dominant, and proven right with their proprietary tech, where as ARM chugged along keeping a low profile, and keep doing the good work. Now, finally the reality has caught up with them, and turns out openness and simplicity is finally taking a lead.

Stick to your principles FTW!!!

Re:Pure Bash Bible on Wednesday August 09, 2023 @09:19AM (#37062237)
With LLMs/ChatGPT, i would prefer fine-tuning a model and have it auto-generate bash commands with my natural language description.

I remember, I used to keep a diary with landline phone numbers of relatives etc. I used to remember at least a dozen of those numbers for emergency. With mobile and digital contacts, now that number is down to just 2.

Wonder, what the programming is going to look like in 10 yrs. If no-one dedicates so much of their time and effort to document, the programmers then would feel helpless. right?

1. Or at that point, LLMs will be intelligent enough to read the source code and figure out the commands.

2. They can generate data by running commands, and train themselves using this simulated data.

What other scenarios will occur once we stop generating data using human effort because we all are so dependent on LLMs to generate those commands?

Re:Testing Intel’s Arc A770 GPU for Deep Learning on Wednesday August 09, 2023 @09:12AM (#37062154)
we need ML GPU workload standardization, and more options to chose from. Sucks being held hostage by Nvidia. No ML GPUs available in my country, and waitlist goes in years.
Re:Qalculate – The Ultimate Desktop Calculator on Wednesday August 09, 2023 @09:09AM (#37062114)
do you have a Mac installer available?

also you need a designer. the website looks like from the 2000s.

thanks for sharing the app.

Re:Remains found in China may belong to third human lineage on Wednesday August 09, 2023 @09:08AM (#37062092)
read sapiens and other books by yuval noah harari, and later there were articles that many things he claimed in his book were incorrect, or later proven to be incorrect. always blows my mind that we still just have theories of how humans spread across the world, and how the languages and culture developed. if the human development and migrations are clarified definitely, many of the regional conflicts will end.
Re:G9.js: Automatically Interactive Graphics on Wednesday August 09, 2023 @09:04AM (#37062057)
very impressive, the last demo of a working crank-shaft-engine shows you can use it to make complicated models as well.

great start, best wishes with the project, looking forward to more amazing demos.

Re:Show HN: Interesting companies that are running on-prem on Friday August 04, 2023 @09:19AM (#36999624)
Each company have different motivations. For e.g. Basecamp moved to save cost.

Working in Enterprise, I can share hybrid model works best for multinational. If they are going into new geography, where local laws restrict data transfer across national boundaries, having a cloud provider with local data centers is the easiest and quickest way to launch.

Congrats on the launch.

How is it different from -

https://chatbase.co/

https://sitegpt.ai/

Congrats on the launch.

Curious, why not contribute to Citus? Why create a fork and have duplicated effort?

Re:New web framework for Python in development on Friday August 04, 2023 @08:57AM (#36999333)
i have worked on multiple languages - php, java (spring etc.), ruby (rails), golang (gin), javascript, typescript (nextjs), and many i am forgetting to recall.

FastAPI is the sweetest and the most intuitive web framework.

I just checked a few doc pages for your framework, seems heavily inspired by FastAPI.

So what have you not found in FastAPI that is making you write a new web framework from scratch?

what is this website about? why is it shared in HN? why is it ranking so high in HN? what's in it for me?

appreciate if we don't do link drops, rather share it with how it benefits HN audience in mind.

Re:Deteriorating quality of content on Y Combinator on Thursday July 14, 2011 @06:07AM (#2762383)
I am seriously worried about hacker news content. and my account is way older than 1 yr. Can somebody take it seriously now.

Deteriorating quality of content on Y Combinator

I want to open a discussion on the quality of content served by YCombinator in recent past.I fell some of the articles submitted were a useless ramblings by a low paid content churner and didn't deserve the time I devoted clicking on it, glancing and then rejecting it.I usually use the rss feed to get the links rather than visiting the website and going through top marked contents, but in...

( Read More... | 4 comments | 2 points | on HN )
http://www.norvig.com/21-days.html

there ain't anything called learn it in x hrs/days

Older »