Skip to content

Commit

Permalink
add deivce in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
vpuri3 committed May 12, 2024
1 parent dc5226b commit 9185516
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ Chain(
```
```julia
using CUDA, LuxCUDA
device = Lux.gpu_device()

x = rand32(rng, 1, 1000) |> device

pM, stM = Lux.setup(rng, mlp) |> device
pK, stK = Lux.setup(rng, kan) |> device

Expand Down

0 comments on commit 9185516

Please sign in to comment.