Installation¶
Stable release¶
To install the latest stable release of FastMLX, use the following command:
1 |
|
This is the recommended method to install FastMLX, as it will always install the most recent stable release.
If pip isn't installed, you can follow the Python installation guide to set it up.
Installation from Sources¶
To install FastMLX directly from the source code, run this command in your terminal:
1 |
|
Running the Server¶
There are two ways to start the FastMLX server:
Using the fastmlx
command:
1 |
|
or
Using uvicorn
directly:
1 |
|
WARNING: The
--reload
flag should not be used in production. It is only intended for development purposes.
Additional Notes¶
- Dependencies: Ensure that you have the required dependencies installed. FastMLX relies on several libraries, which
pip
will handle automatically.