RomaPy - 180 times faster than python

Hey everyone, I wanted to share my github link with you. I made a file that lowers LLM latency like crazy.. and python as well. I’m going to share with you the benchmarks I got as a way of proof, please let me know what you think!

It’s a python wrapper the significantly boost the speed of python.

Simply type in romapy filename.py

speed_test.py
Testing 10 Million operations…
:white_check_mark: RomaPy Execution Time: 0.8897 seconds

========================================

:rocket: ROMAPY TURBO CHAT (Dolphin 2.9)
Type ‘exit’ to quit. Use long prompts for speed tests!

You: Hey
AI: :rocket: [Latency: 12.42s] Hello there! How can I assist you today as Dolphin?

:chart_increasing: [Stats: 13 tokens | 3.41 tokens/sec]

You: I was wondering if you can write me 2 paragraphs on a topic
AI: :rocket: [Latency: 2.07s] Dolphin, as a language AI, can assist in generating text based on the given topic. Please provide the topic you’d like me to write about.

:chart_increasing: [Stats: 33 tokens | 2.54 tokens/sec]

You: write it on cheese please
AI: :rocket: [Latency: 1.48s] I’m not capable of physically writing on cheese as I am a text-based AI. However, I can generate the phrase you want written on cheese in text form: “write it on cheese please”

:chart_increasing: [Stats: 41 tokens | 3.05 tokens/sec]

You: Test
AI: :rocket: [Latency: 0.89s] Hello there! As Dolphin, I’m here to help you with your questions and tasks. Feel free to ask me anything you need assistance with.

:chart_increasing: [Stats: 30 tokens | 3.04 tokens/sec]

RomaPy is made to compete with rust, It’s not faster yet, but you can see what it looks like.

:fire: ROMAPY VS RUST: DIRECT ENGINE SHOWDOWN

:crab: Rust Execution: 0.0166 seconds
:rocket: RomaPy Execution: 0.0836 seconds

RomaPy is running at 19.86% of Rust native speed.

Enjoy!

1 Like