Skip to content

Commit

Permalink
fix merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
stelios-ritual committed Oct 8, 2024
2 parents e4c457f + 9b69f49 commit 1958909
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 9 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ All notable changes to this project will be documented in this file.
- Simplified examples to the minimum core functionality necessary and removed all dependencies on `infernet-ml`.
- Updated images used for deploying the Infernet Node.

## [1.0.2] - 2024-07-31

### Changed
- Set `trail_head_blocks` to `0` in `config.json` for all projects. This fixes an issue where the node would not start due to a lack of trailing blocks.
- Updated `registry_address` to `0x663F3ad617193148711d28f5334eE4Ed07016602` to point to the correct registry address

## [1.0.1] - 2024-07-31

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ model to infernet. Using this example will make it easier for you to deploy your
4. [Prompt to NFT](projects/prompt-to-nft/prompt-to-nft.md): In this example, we use [stablediffusion](https://github.com/Stability-AI/stablediffusion) to
mint NFTs on-chain using a prompt.
5. [TGI Inference with Mistral-7b](projects/tgi-llm/tgi-llm.md): This example shows you how to deploy an arbitrary
LLM model using [Huggingface's TGI](https://huggingface.co/docs/text-generation-inference/en/index), and use it with an infernet node.
LLM model using [Huggingface's TGI](https://huggingface.co/docs/text-generation-inference/en/index), and use it with an Infernet Node.
6. [Running OpenAI's GPT-4 on Infernet](projects/gpt4/gpt4.md): This example shows you how to deploy OpenAI's GPT-4 model
to infernet.
2 changes: 1 addition & 1 deletion projects/gpt4/contracts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This is a minimalist foundry project that implements a [callback consumer](https://docs.ritual.net/infernet/sdk/consumers/Callback)
that makes a prompt to the [container](../container/README.md), which then makes a call to OpenAI's GPT4. For an
end-to-end flow of how this works, follow the [guide here](../gpt4.md).
end-to-end flow of how this works, follow our [GPT4 tutorial](https://learn.ritual.net/examples/running_gpt_4).

## Deploying

Expand Down
9 changes: 6 additions & 3 deletions projects/hello-world/contracts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@ contract, [`SaysGm`](./src/SaysGM.sol).
This readme explains how to compile and deploy the contract to the Infernet Anvil Testnet network.
For a detailed tutorial on how to write a consumer contract, refer to the [tutorial doc](./Tutorial.md).


> [!IMPORTANT]
> Ensure that you are running the following scripts with the Infernet Anvil Testnet network.
> The [tutorial](../hello-world) at the root of this repository explains how to
> bring up an infernet node.
> Check out the [hello-world tutorial](https://learn.ritual.net/examples/hello_world) for a walkthrough
> of setting up and running an Infernet Node.
### Installing the libraries

Expand All @@ -29,15 +28,19 @@ The deploy script at `script/Deploy.s.sol` deploys the `SaysGM` contract to the

We have the [following make target](./Makefile#L9) to deploy the contract. Refer to the Makefile
for more understanding around the deploy scripts.

```bash
make deploy
```

### Requesting a job

We also have a script called `CallContract.s.sol` that requests a job to the `SaysGM` contract.
Refer to the [script](./script/CallContract.s.sol) for more details. Similar to deployment,
you can run that script using the following convenience make target.

```bash
make call-contract
```

Refer to the [Makefile](./Makefile#L14) for more details.
4 changes: 2 additions & 2 deletions projects/onnx-iris/contracts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ This readme explains how to compile and deploy the contract to the Infernet Anvi

> [!IMPORTANT]
> Ensure that you are running the following scripts with the Infernet Anvil Testnet network.
> The [tutorial](../../hello-world/README.mdADME.md) at the root of this repository explains how to
> bring up an infernet node.
> Check our the [ONNX tutorial](https://learn.ritual.net/examples/running_an_onnx_model) for a walkthrough
> of setting up and running an Infernet Node.
### Installing the libraries

Expand Down
4 changes: 2 additions & 2 deletions projects/torch-iris/contracts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ This readme explains how to compile and deploy the contract to the Infernet Anvi

> [!IMPORTANT]
> Ensure that you are running the following scripts with the Infernet Anvil Testnet network.
> The [tutorial](../../hello-world/README.mdADME.md) at the root of this repository explains how to
> bring up an infernet node.
> Check out the [Torch tutorial](https://learn.ritual.net/examples/running_a_torch_model) for a walkthrough
> of setting up and running an Infernet Node.
### Installing the libraries

Expand Down

0 comments on commit 1958909

Please sign in to comment.