1 of 38

Agenda

  • Intro aka WHY are we all doing this again?
  • Introduction - FVM (compute over state)
  • Introduction - Bacalhau (compute over data)
  • Introduction - Lilypad
  • Let’s make AI in real time!

2 of 38

… what to do with it

​

Data, Data, Data!

Ally Haire

Developer Relations Engineer | Lilypad PM

DeveloperAlly

3 of 38

FVM, Bacalhau, Lilypad

​

Data, Data, Data!

Compute over State and Data

Ally Haire

Developer Relations Engineer | Lilypad PM

DeveloperAlly

4 of 38

Decentralise the Internet

Filecoin Vision

5 of 38

“The properties of the internet & it’s technologies define our human rights”

Juan Benet 2022

6 of 38

Data, Data, Data!

​

Data, information and knowledge are some of the most important assets of our connected era and have become critical to human development & cooperation

​

​

7 of 38

Filecoin is building the foundation for a decentralized internet; with 4 key components

Decentralized Internet

  • Filecoin Virtual Machine (FVM) Live
  • Will enable smart contracts capabilities on Filecoin, driving non-linear network demand

In development

  • Target is Arbitrary compute over data*
  • Bacalhau is Live
  • Lilypad Network

Verifiable�Storage

Computation

  • Filecoin mainet launched in October 2020
  • 16 EiB of available storage capacity, with 63 PiB utilized
  • Continued growth in Filecoin ecosystem
  • Currently 1Bn weekly retrieval requests through gateways
  • Next phase is CDN-quality retrieval (‘000s of retrieval providers, with <1s content delivery)
  • In development

Retrieval

Programmable�Applications

8 of 38

FVM brings on-chain user programmability to Filecoin

Bacalhau brings off-chain verifiable compute - both

unlocking the next layer of innovation and value

Storage

Computation over state

On-chain

Computation over data

…

Off-chain

Storage is only the start…..

Bacalhau & Lilypad

9 of 38

Intro to FVM

Compute over State

10 of 38

The FVM project delivers

on-chain programmability

to the Filecoin network.

11 of 38

Built to support multiple runtimes

Based on WebAssembly�

FEVM - Filecoin EVM!!

12 of 38

NEW!! Smart Contract Deal Making Flow�No Third-Party Required

13 of 38

Checkout some FVM resources

​

  • https://linktr.ee/filecoinVM

​

​

​

14 of 38

Intro to Bacalhau

Compute over Data

15 of 38

Computation over State vs Computation over data…

Computation over state (on-chain compute):

FVM enables computation over state.

Allows monitoring and automation of chain activities such as monitoring and automating storage deals and markets and enabling tokenisation of data for dataDAOs + more.

​

Computation over data (off-chain, verifiable compute):

Bacalhau enables complex computation over data - any data

In the context of Filecoin & FVM, Bacalhau will allow processing of activities monitored on chain in a verifiable and deterministic manner.

It enables a rich layer of data processing for Filecoin & FVM

16 of 38

Bacal.. - what ??

Bacalhau is a network of open compute resources available to serve any data processing workload

  • It’s simple to use (you don’t need an AI degree!)
  • Requires minimal operational overhead or setup
  • It’s decentralised-first (or edge-first) principled
  • Aims to provide efficient distributed computation with batched tasks

Learn more about Bacalhau!

@BacalhauProject

https://youtu.be/RZopDyTJ1pk

17 of 38

Lilypad

Off-chain compute with on-chain guarantees

​

18 of 38

Lilypad is

A fully distributed compute network - oh my! Leverages Bacalhau & key features of blockchain for secure scheduling, verification & payments (jobs + nodes)

​

19 of 38

The Lilypad Network Aims to

Develop a trustless, distributed compute network that enables internet-scale Data processing, AI, ML and other arbitrary computation from blockchains, while unleashing idle processing power and unlocking a new wave of data economies.

20 of 38

Introducing…

Lilypad v1 Testnet!

The Lalechuza Testnet is live!

IPC Larana testnet on IPC soon

🎉

21 of 38

Lalechuza Lilypad Testnet Tech

  • The Lalechuza testnet is built on geth & allows arbitrary untrusted nodes to join the network
  • The Larana testnet will be released soon & is built on IPC (the scaling network for Filecoin) - and will be the path to mainnet
  • It works with “modules” which are the (currently deterministic-only) jobs of Lilypad

docs.lilypadnetwork.org/research-and-vision/whitepaper

22 of 38

Lilypad Current Architecture

Bacalhau compute

EVM compatible blockchain

Hardhat/geth -> IPC + FEVM

Bacalhau requester

Bacalhau compute

Bacalhau client/dashboard

BACALHAU CLIENT

BACALHAU CLIENT

See more: docs.lilypadnetwork.org

23 of 38

Show me the code

Running Compute Jobs (& nodes!)

on the Lilypad Network

24 of 38

Cowsay Module demo! [CLI]

Input:

> lilypad run cowsay:v0.0.1 "hello lilypad"

Output:

> ipfs CID

25 of 38

[CLI] Stable Diffusion Module demo! SDXL v0.9

Input:

>lilypad run sdxl:v0.9-lilypad1 '{"prompt": "an astronaut riding on a unicorn", "seed": 1}'

Output:

> ipfs CID

​

​

26 of 38

[Smart Contract] Stable Diffusion Module demo!

docs.lilypadnetwork.org

27 of 38

Fine-tuning a Model Module demo! LoRA

Input:

​

​

​

Output:

> ipfs CID

​

Wait…. A decentralised compute network callable from smart contracts that ALSO consumes INPUT DATA 🤯🤯🤯🤯

28 of 38

LLM Inference Module - [Community-contributed]

CarpAI was built at AugmentHack

And gives LLM capabilities

to Lilypad!!

https://devpost.com/software/carpai-fmecgh

Thanks Leo!

29 of 38

Run your own node!

You can also add your own node to the Lilypad Network and run your own mediator nodes - if you don’t mind just earning testnet eth :P.��See the docs for more info on this.

docs.lilypadnetwork.org/

lilypad-v1-testnet/verification-mediation-and-job-pricing-on-lilypad-v1

30 of 38

Applications & Use Cases

Unlocking decentralised AI, ML,

Data Preparation & Compute

31 of 38

Unlocking Web3 Applications

  • Inference AI & ML training jobs
  • Invoking & supporting generic ZK computations
  • Cross-chain interoperability complement to bridge protocols
  • Utilising inbuilt storage on IPFS
  • Federated Learning consensus (insulated jobs)
  • IOT & Sensor Data integrations
  • Providing a platform for Digital twins
  • Supply chain tracking & analysis
  • ETL & data preparation jobs

32 of 38

Waterlily.ai - live on FVM mainnet

Full Build Tutorial: https://developerally.com/waterlily-ai

Waterlily.ai is a generative AI art platform that addresses key issues around attribution, consent, and revenue for creators in the digital space by compensating original creators of artwork with micropayments whenever a user selects their style to create a new derivative artwork from a prompt.

See the code: https://github.com/bacalhau-project/waterlily

https://www.youtube.com/watch?v=oXNaCs0eyXI

33 of 38

What’s next for Lilypad?

IPC implementation, robust game theory & more..

34 of 38

Lilypad Network Goals

  • Address compute needs of current Filecoin users and developers
  • Make internet-scale compute services available via smart contracts
  • Power Open new economies and use cases on Filecoin & FVM
  • Enable additional revenue streams for nodes and SPs

35 of 38

Lilypad Roadmap

August/Sept

​

​

​

​

​

​

​

Use Case & Collabs

Testnet v2 Testnet + IPC Testnet

Whitepaper

July

​

​

​

​

​

​

​

Modicum-Based Minimal Testnet

-> Lilypad v1

Litepaper

June

​

​

​

​

​

​

​

Research, Technical POC, Planning & Organisational

​

​

​

​

​

​

​

​

March

Lilypad v0 POC “Bridge”

Waterlily.ai

TBD

​

​

​

​

​

​

​

Mainnet

2022

​

​

​

​

​

​

​

Bacalhau

​

We Are Here

36 of 38

Join the Future

Get In Touch with Us

37 of 38

Get in touch with us!

Get Involved in the future of

data!

Github: github.com/bacalhau-project/lilypad

Twitter: @Lilypad_Tech

YouTube: @LilypadNetwork

Docs: docs.lilypadnetwork.org

Blog: blog.lilypadnetwork.org

Bacalhau Slack: #bacalhau-lilypad

bit.ly/bacalhau-project-slack

​

DeveloperAlly

38 of 38

Thankyou! Q’s?

DeveloperAlly