Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a framework comparison doc #639

Merged
merged 12 commits into from
Aug 7, 2024
Merged

Conversation

wwwillchen
Copy link
Collaborator

@wwwillchen wwwillchen commented Jul 19, 2024

Closes #638

@wwwillchen wwwillchen marked this pull request as ready for review July 31, 2024 23:47
@wwwillchen
Copy link
Collaborator Author

@richard-to finally ready for review :)

Once you've taken a look, I'll share this with some Googlers and also the framework authors before publishing.

Copy link
Collaborator

@richard-to richard-to left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My perspective is from someone who hasn't really used Gradio or Streamlit.

In reading this at a high level, I wasn't quite able to tell what was a pro/con between Mesop in some cases. So I think it reads somewhat objectively.

I think what's a bit confusing for me is that the document compares different aspects of Streamlit versus Gradio. I don't think that's a problem necessarily, but it could feel like cherry picking certain things. I don't think that's what's happening here. I think the doc is just pointing out the key differentiating features.

One thing I'd like to hear more about is performance / scalability of Streamlit / Gradio / Mesop. I think that's an important use case.

Also what types of use cases are Streamlit / Gradio / Mesop typically used for.

Another thing I'd be curious of is extensibility. So if the core stuff is not sufficient, how much work is it to find/get the functionality I want into my app.

@wwwillchen
Copy link
Collaborator Author

Thanks for the review!

My perspective is from someone who hasn't really used Gradio or Streamlit.

In reading this at a high level, I wasn't quite able to tell what was a pro/con between Mesop in some cases. So I think it reads somewhat objectively.

I think what's a bit confusing for me is that the document compares different aspects of Streamlit versus Gradio. I don't think that's a problem necessarily, but it could feel like cherry picking certain things. I don't think that's what's happening here. I think the doc is just pointing out the key differentiating features.

Yeah, I thought about this too and I think if we were to be comprehensive (and have the same criteria), it would be a much longer doc.

One thing I'd like to hear more about is performance / scalability of Streamlit / Gradio / Mesop. I think that's an important use case.

I think it's important but also requires benchmarking to be objective, speaking of which, we should do it ourselves :) Filed #706.

Also what types of use cases are Streamlit / Gradio / Mesop typically used for.

I mention this briefly - Streamlit historically has focused more on the data science use case, Gradio on ML use cases, but, tbh, everything seems to be converging as all three support LLM use cases.

Another thing I'd be curious of is extensibility. So if the core stuff is not sufficient, how much work is it to find/get the functionality I want into my app.

Let me add this in - it's a big topic but I think the main differences are the UI frameworks that are well-supported.

docs/comparison.md Outdated Show resolved Hide resolved
docs/comparison.md Outdated Show resolved Hide resolved
@wwwillchen
Copy link
Collaborator Author

Thanks @abidlabs for the suggestions - I've incorporated them.

@wwwillchen wwwillchen merged commit 3dc0641 into google:main Aug 7, 2024
2 checks passed
@wwwillchen wwwillchen deleted the comparison branch August 7, 2024 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create a comparison guide with Streamlit / Gradio / Reflex
3 participants