install pandas and numpy beforehand to avoid version mismatch

This commit is contained in:
Hardik Shah 2025-03-20 16:53:32 -07:00
parent 581e8ae562
commit 6e0bc5b078

View file

@ -123,6 +123,11 @@
"outputs": [],
"source": [
"# NBVAL_SKIP\n",
"\n",
"# Need to install these together beforehand else it an lead to incompatible versions between these packages\n",
"!pip uninstall pandas numpy -y\n",
"!pip install pandas numpy\n",
"\n",
"# This will build all the dependencies you will need\n",
"!UV_SYSTEM_PYTHON=1 llama stack build --template together --image-type venv"
]
@ -2480,7 +2485,6 @@
},
{
"data": {
"application/javascript": "\n (async () => {\n const url = new URL(await google.colab.kernel.proxyPort(10000, {'cache': true}));\n const iframe = document.createElement('iframe');\n iframe.src = url;\n iframe.setAttribute('width', '100%');\n iframe.setAttribute('height', '800');\n iframe.setAttribute('frameborder', 0);\n document.body.appendChild(iframe);\n })();\n ",
"text/plain": [
"<IPython.core.display.Javascript object>"
]
@ -4351,8 +4355,7 @@
")\n",
"\n",
"for log in EventLogger().log(response):\n",
" log.print()\n",
" "
" log.print()\n"
]
},
{
@ -4370,6 +4373,9 @@
"gpuType": "T4",
"provenance": []
},
"fileHeader": "",
"fileUid": "e07d15da-69ef-456e-b4d6-f15fde511281",
"isAdHoc": false,
"kernelspec": {
"display_name": "master",
"language": "python",
@ -9863,7 +9869,5 @@
}
}
}
},
"nbformat": 4,
"nbformat_minor": 5
}
}