Skip to content

Commit

Permalink
update quickstart
Browse files Browse the repository at this point in the history
  • Loading branch information
dnth committed Oct 21, 2024
1 parent 3e0f4d3 commit 727ae66
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nbs/quickstart.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"\n",
"This notebook shows how to get started with using x.infer.\n",
"\n",
"x.infer relies on PyTorch and torchvision, so make sure you have it installed on your system."
"x.infer relies on PyTorch and torchvision, so make sure you have it installed on your system. Uncomment the following line to install it."
]
},
{
Expand All @@ -17,7 +17,7 @@
"metadata": {},
"outputs": [],
"source": [
"!pip install -Uqq torch torchvision"
"# !pip install -Uqq torch torchvision"
]
},
{
Expand Down Expand Up @@ -203,7 +203,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Because we only installed the `transformers` extra, we can only use models from the `transformers` library.\n",
"Because we only installed the `transformers` extra, we can only use models from the `transformers` library. To see more models, you can install the `all` extra. Note: Google Colab comes preinstalled with the `timm` library.\n",
"\n",
"You can pick any model from the list of models available.\n",
"Let's create a model from the `vikhyatk/moondream2` model. We can optionally specify the device and dtype. By default, the model is created on the CPU and the dtype is `float32`."
Expand Down

0 comments on commit 727ae66

Please sign in to comment.