Spaces:
Sleeping
Sleeping
MilesCranmer
commited on
Commit
•
0b335ae
1
Parent(s):
c51eafe
Revert "Patch colab with fallback runtime"
Browse filesThis reverts commit d3b8ee8ce090ff61ee4f6ddb4ba2aebbe2df7b06.
- README.md +3 -3
- examples/pysr_demo.ipynb +5 -20
README.md
CHANGED
@@ -13,9 +13,9 @@ PySR uses evolutionary algorithms to search for symbolic expressions which optim
|
|
13 |
|
14 |
<div align="center">
|
15 |
|
16 |
-
| **Docs** | **
|
17 |
-
|
18 |
-
|[![Documentation](https://github.com/MilesCranmer/PySR/actions/workflows/docs.yml/badge.svg)](https://astroautomata.com/PySR/)|[![
|
19 |
|
20 |
</div>
|
21 |
|
|
|
13 |
|
14 |
<div align="center">
|
15 |
|
16 |
+
| **Docs** | **pip** | **conda** | **Stats** |
|
17 |
+
|---|---|---|---|
|
18 |
+
|[![Documentation](https://github.com/MilesCranmer/PySR/actions/workflows/docs.yml/badge.svg)](https://astroautomata.com/PySR/)|[![PyPI version](https://badge.fury.io/py/pysr.svg)](https://badge.fury.io/py/pysr)|[![Conda Version](https://img.shields.io/conda/vn/conda-forge/pysr.svg)](https://anaconda.org/conda-forge/pysr)|<div align="center">pip: [![Downloads](https://pepy.tech/badge/pysr)](https://badge.fury.io/py/pysr)<br>conda: [![Anaconda-Server Badge](https://anaconda.org/conda-forge/pysr/badges/downloads.svg)](https://anaconda.org/conda-forge/pysr)</div>|
|
19 |
|
20 |
</div>
|
21 |
|
examples/pysr_demo.ipynb
CHANGED
@@ -9,15 +9,6 @@
|
|
9 |
"# Setup"
|
10 |
]
|
11 |
},
|
12 |
-
{
|
13 |
-
"cell_type": "code",
|
14 |
-
"execution_count": null,
|
15 |
-
"metadata": {},
|
16 |
-
"outputs": [],
|
17 |
-
"source": [
|
18 |
-
"!echo \"Runtime started.\""
|
19 |
-
]
|
20 |
-
},
|
21 |
{
|
22 |
"cell_type": "markdown",
|
23 |
"metadata": {
|
@@ -27,19 +18,13 @@
|
|
27 |
"\n",
|
28 |
"## Instructions\n",
|
29 |
"1. Work on a copy of this notebook: _File_ > _Save a copy in Drive_ (you will need a Google account).\n",
|
30 |
-
"2. (Optional) If you would like to do the deep learning component of this tutorial,
|
31 |
-
"3.
|
32 |
-
"
|
33 |
-
"4. Execute the following cell (click on it and press Ctrl+Enter or Shift+Enter) to install Julia, IJulia and other packages. This takes a couple of minutes.\n",
|
34 |
-
"5. Continue to the next section.\n",
|
35 |
"\n",
|
36 |
"_Notes_:\n",
|
37 |
-
"* If your Colab Runtime gets reset (e.g., due to inactivity), repeat steps 4
|
38 |
-
"* After installation, if you want to change the Julia version or activate/deactivate the GPU, you will need to reset the Runtime: _Runtime_ > _Delete and disconnect runtime_ and repeat steps 2-
|
39 |
-
"\n",
|
40 |
-
"> **Warning**\n",
|
41 |
-
"> \n",
|
42 |
-
"> Ensure that you have done step 3 above, otherwise you will get an error when you try to use Julia."
|
43 |
]
|
44 |
},
|
45 |
{
|
|
|
9 |
"# Setup"
|
10 |
]
|
11 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
{
|
13 |
"cell_type": "markdown",
|
14 |
"metadata": {
|
|
|
18 |
"\n",
|
19 |
"## Instructions\n",
|
20 |
"1. Work on a copy of this notebook: _File_ > _Save a copy in Drive_ (you will need a Google account).\n",
|
21 |
+
"2. (Optional) If you would like to do the deep learning component of this tutorial, turn on the GPU with Edit->Notebook settings->Hardware accelerator->GPU\n",
|
22 |
+
"3. Execute the following cell (click on it and press Ctrl+Enter) to install Julia, IJulia and other packages (if needed, update `JULIA_VERSION` and the other parameters). This takes a couple of minutes.\n",
|
23 |
+
"4. Continue to the next section.\n",
|
|
|
|
|
24 |
"\n",
|
25 |
"_Notes_:\n",
|
26 |
+
"* If your Colab Runtime gets reset (e.g., due to inactivity), repeat steps 3, 4.\n",
|
27 |
+
"* After installation, if you want to change the Julia version or activate/deactivate the GPU, you will need to reset the Runtime: _Runtime_ > _Delete and disconnect runtime_ and repeat steps 2-4."
|
|
|
|
|
|
|
|
|
28 |
]
|
29 |
},
|
30 |
{
|