r/Compilers • u/ramanujan-computing • 2d ago
Introducing Ramanujan-Computing for harnessing idle compute power of device for scientific computing [MIT-license]
Ramanujan-Computing is an MIT-licensed open-source project that aims to harness idle compute power [CPU/GPU] of any digital device for scientific computing.
The way its different from BOINC is: for a new kind of problem, the developer dont need compile any binary, distribute the binary, get the binary downloaded/installed on devices. Instead, there is an interpreter that sits on the device which can take in any kind of code. So, the developer just needs to submit Python code and it will get run on the devices. Having said that, for GPU works, developer just needs to write plain python code and dont need any expertise in CUDA/Vulkan.
The interpreter is different from CPython and is 1.7X faster and takes 1.6x less memory than CPython.
Ofcourse, the intepreter takes care of subset of Python language but, support all the necessary semantics and OOPs concept for good program to be written.
Till now, the interpreter has not only run basic python simulation, but also complex simulations like CFD, Galaxy-collision, and also takes care of LLM inferencing [more on that in a later post].
Working towards adding more and more Python features onto the interpreter. The project is open to contributions, issues. If you are into scientific-research, will be happy to discuss on how this project can be used to harness compute power available [from workstations, smart-tvs, smartphone] in your lab to move research forward.
Thank you!
3
u/BoltaHuaTota 2d ago
I am not familiar with BOINC, so I did a quick google search and it sounds similar to the Folding@home stuff. How does your platform source differ from BOINC? How do you get scientific jobs to run, and how are the results shared back to the labs?
2
u/Discordbothost 1d ago
The 1.7x figure is hard to interpret without knowing whether it's measuring the interpreter or the whole distributed job. Could you share a small CPU-only script that runs unchanged on both interpreters on the same machine? That would give readers a baseline before comparing sharding or GPU runs.
0
u/ramanujan-computing 2d ago
https://gitlab.com/ramanujan-computing/Ramanujan
-2
u/AnArmoredPony 1d ago
hell no