Skip to content

Commit

Permalink
Update MDK docs to consider new allora-mdk repo (#99)
Browse files Browse the repository at this point in the history
The repositories `allora-worker` and `allora-model-maker` were merged
into `allora-mdk`. This update considers the new repository and adjusts
the flow for packaging and deploying the model.
  • Loading branch information
kpeluso authored Feb 27, 2025
2 parents dbcaaa0 + 1801335 commit 62a6b2d
Showing 1 changed file with 3 additions and 23 deletions.
26 changes: 3 additions & 23 deletions pages/devs/workers/deploy-worker/allora-mdk.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ Although these models are already integrated into the MDK, you can add more mode
Run the following commands in a new terminal window:

```bash
git clone https://github.com/allora-network/allora-model-maker.git
cd allora-model-maker
git clone https://github.com/allora-network/allora-mdk.git
cd allora-mdk
```

#### Conda not Installed?
Expand Down Expand Up @@ -190,31 +190,11 @@ Replace arima with the name of the model you’d like to package (e.g., lstm, xg
<Callout>
This will:

- Copy the model’s files and dependencies into the `packaged_models/package folder`.
- Copy the model’s files and dependencies into the `package folder`.
- Run test's for inference and training to validate functionality in a worker
- Generate a configuration file, `config.py`, that contains the active model information.
</Callout>

### Clone the Allora Worker Repository

Run the following commands in a new terminal window:

```bash
git clone https://github.com/allora-network/allora-worker.git
cd allora-worker
```

### Integrate your Model

After running the packaging command:

1. Navigate to the packaged_models folder in your allora-model-maker repo.
2. Copy the package folder into the src folder of your allora-worker repository.

<Callout type='info'>
If you did this right in your allora-worker repo you'll now have `allora-worker/src/package`
</Callout>

### Deploy your Worker

#### Expose the Endpoint
Expand Down

0 comments on commit 62a6b2d

Please sign in to comment.