modularml / max

A collection of sample programs, notebooks, and tools which highlight the power of the MAX Platform
https://www.modular.com
Other
201 stars 31 forks source link

[Docs] first example not work by require cmake 3.24 in ubuntu 22.04.3 #163

Closed dlintw closed 1 month ago

dlintw commented 1 month ago

Where is the problem?

https://docs.modular.com/engine/get-started#2-run-your-first-model

What can we do better?

point out how to install newer cmake, or support more OS (eg. ubuntu 24.04 LTS which WSL2 support)

Anything else?

I use WSL2 ubuntu

dlintw commented 1 month ago

my solution for ubuntu 22.04 is:

sudo snap install cmake

ehsanmok commented 1 month ago

The example in the doc refers to bert-python-torchscript that only needs python dependencies. I think you're referring to bert-c-torchscript which requires cmake.

dlintw commented 1 month ago

Yes, my mistake.

ehsanmok commented 1 month ago

Thanks and fixed! will be updated in the next release.