I am Marwan
- ๐ญ Iโm currently working on AI and Machine Learning at anyscale
- ๐ฏ Iโm looking to collaborate on open-source projects
- ๐ซ How to reach me: [email protected]
A drop-in replacement of fastapi to enable scalable and fault tolerant deployments with ray serve
License: MIT License
I am Marwan
Create the app on the fly on run
Currently, we perform the following:
def init(self, func) -> None:
self._initializers[func.__name__] = func
def constructor(obj):
for (
initializer_name,
initializer,
) in self._initializers.items():
setattr(obj, initializer_name, initializer())
Current implementation assumes that all initiliazer functions don't accept any arguments
Fix it so that it accepts arguments and those argument values can be passed to RayCraftAPI.__call__
Current implementation is constrained to post, and only accepts path argument
def post(self, path: str) -> Any:
def decorator(func):
self._http_methods[func.__name__] = {
"path": path,
"func": func,
}
return decorator
Instead, we should delegate fully to the fastapi method and store all arguments in the _http_methods dict
current __init__
signature is
class RayCraftAPI:
"""RayCraftAPI class."""
def __init__(self, **serve_deployment_kwargs):
Instead it should include both ray serve and fastapi kwargs - and ideally should have them spelled out for a friendlier interface.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.