Loading video...
Video Failed to Load
Another world first: AI that does facial recognition is now running *on* blockchain as a smart contract 🧠⚡️ :) See demo video, link to technical blog post in thread #NoLimits #ICP 🧵
178,416 views • 2 years ago •via X (Twitter)
10 Comments

This blog post provides a thorough technical review of the Cyclotron milestone, link to the code repo for the demo, etc. Enjoy.

This is getting better and better 👏

Can the AI identify $WUMBO dom?

#ICP. Truly amazing 🚀!

Hey Dom, another great demo and fantastic progress with AI facial recognition fully on-chain $ICP 👏 🏆 Towards the end you mention that GPUs are non-deterministic so this will be technically challenging. Just to share the following which may help in this regard. Deterministic training is possible with multi-GPUs. To illustrate, check out the docs for Nvidia’s Clara platform, AI solutions to improve healthcare delivery and accelerate drug discovery, link below. Determinism can be achieved by setting the Python, Random, Numpy and TensorFlow seeds. Additionally, you can control for the two other sources of non-determinism, namely multiple workers in the TensorFlow pipeline ( and the Horovod Tensor Fusion environment variable. By setting multiple workers to 1 for deterministic training and the HFT environment variable to 0 for determinism for multi-GPU training. According to the Clara docs to eliminate all sources of randomness. It is recommended that the number of GPUs, the GPU architecture, driver versions, all framework versions, and the setup are all the same. Looking forward to the next AI update 🔥 @dfinity @JanCamenisch

$ICP massive

Fading $ICP ∞ #ICP = Colossal mistake !

LLMs running fully on Chain + Proof of Humanity and Facial recognition. Sounds like good progress. Excited to see the developments in the next few months for #ICP

Icp army, wizard seems to be a little exhausted after integrating the next alien tech, we need some memes to at least put a smile on his face, ICP the very thing stack with no limits ! #icp

It seems like every other day @dfinity has a world-first release. Ppl are starting to wake up to this sleeping giant and it's about time
Related Videos
Sensitive content
Say hello to a massive acceleration of AI smart contracts 🧠 on the Internet Computer #ICP blockchain. Brilliant work by the DFINITY Foundation team has accelerated deterministic floating point instructions by 10X. We continue on our mission to run sophisticated LLMs as smart contracts 👊⚡️🔥 In the demo, image classification is now running 3X+ faster (across 3-4 blocks through consensus compared to 10-12 before). Naturally, the gas/cycles costs of AI inference has come down commensurately. The acceleration was achieved through broad low-level work, which includes commits to the public Wasmtime virtual machine implementation of WebAssembly. Coming optimizations will take us much further. The next optimization will include the integration of SIMD instructions into the smart contract execution environment, which will allow multiple floating point calculations to be performed in parallel through the execution of a single instruction. Something crucial: also in near sight, is the migration of the ICP smart contract environment from 32-bit Wasm to 64-bit Wasm, which will scale the number of AI model weights that can be loaded into contract memory from 2B to whatever is needed for sophisticated LLMs. Somewhat further away, is the provision of new APIs allowing canister smart contract code to export AI computations for accelerated processing on GPUs. This will require substantial work to address the challenges of achieving deterministic computation directly on the silicon, and for the community to agree a new public spec for node machines that pack GPUs, and to add compliant blockchain nodes to the network. Together, these improvements will unlock further orders of magnitude acceleration of AI smart contract inference (and potentially training). We believe that in the future vast numbers of AI models will run as smart contracts, which will prevent them being hacked (and thus the sensitive data they ingest being stolen), make them unstoppable, make them transparent, and where needed, allow them to run autonomously – for example for purposes such as KYC or EVM smart contract verification/certification. In the future, you will be able to have a conversation with a blockchain, and ask it to do reasoning for you. In this bright future, on-chain AI will be at the heart of Web3 – and to be clear, the Internet Computer's chain key technology will allow direct trustless integration with smart contracts on traditional chains such as Ethereum, Solana and NEAR. Join the #ICP mission to run the most impactful AI models on blockchain as smart contracts, and help make the Internet Computer the "everything computer." Join next week's Global R&D for details about the low-level deterministic floating point optimizations. Thanks for following 💪
dom | icp
278,277 views • 2 years ago
