mirror of
https://github.com/rasbt/LLMs-from-scratch.git
synced 2025-08-15 12:12:10 +00:00
Add a note about "zsh: illegal hardware instruction python" error (#555)
This commit is contained in:
parent
e9ad6cf86d
commit
5fc78ff9fd
@ -2185,6 +2185,16 @@
|
|||||||
"id": "ff76a736-6f9f-4328-872e-f89a7b70a2cc",
|
"id": "ff76a736-6f9f-4328-872e-f89a7b70a2cc",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"source": [
|
"source": [
|
||||||
|
"---\n",
|
||||||
|
"\n",
|
||||||
|
"**Note**\n",
|
||||||
|
"\n",
|
||||||
|
"- In very rare cases, the code cell above may result in a `zsh: illegal hardware instruction python` error, which could be due to a TensorFlow installation issue on your machine\n",
|
||||||
|
"- A reader found that installing TensorFlow via `conda` solved the issue in this specific case, as mentioned [here](https://github.com/rasbt/LLMs-from-scratch/discussions/273#discussioncomment-12367888)\n",
|
||||||
|
"- You can find more instructions in this supplementary [Python setup tutorial](https://github.com/rasbt/LLMs-from-scratch/tree/main/setup/01_optional-python-setup-preferences#option-2-using-conda)\n",
|
||||||
|
"\n",
|
||||||
|
"---\n",
|
||||||
|
"\n",
|
||||||
"- We can then download the model weights for the 124 million parameter model as follows:"
|
"- We can then download the model weights for the 124 million parameter model as follows:"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user