From e0e23179c4b7caaca203d6c629e5377cb8840434 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mos=C3=A8=20Giordano?= Date: Mon, 8 Apr 2024 17:28:29 +0100 Subject: [PATCH] Fix docs for using an IPU Model --- docs/src/poplar.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/poplar.md b/docs/src/poplar.md index 69bec06..2b6a4a9 100644 --- a/docs/src/poplar.md +++ b/docs/src/poplar.md @@ -55,7 +55,7 @@ While this package requires a physical IPU to use all the available features, yo The Poplar SDK provides a feature called IPU Model, which is a software emulation of the behaviour of the IPU hardware. While the IPU model comes with [some limitations](https://docs.graphcore.ai/projects/poplar-user-guide/en/latest/poplar_programs.html#programming-with-poplar), it can be useful for testing or debugging. -To use the IPU model in `IPUToolkit.jl`, define the device of your IPU program with `Poplar.IPUModelCreateDevice` (which calls [`IPUModel::createDevice`](https://docs.graphcore.ai/projects/poplar-api/en/3.4.0/poplar/profiling/IPUModel.html#_CPPv4NK6poplar8IPUModel12createDeviceE11OptionFlagsbj) under the hood): +To use the IPU model in `IPUToolkit.jl`, define the device of your IPU program with [`Poplar.get_ipu_model`](@ref): ```julia device = Poplar.get_ipu_model() # Then the rest of the program continues as usual