Spaces:
Paused
Paused
alessandro trinca tornidor
commited on
Commit
·
52318ec
1
Parent(s):
3ba73fa
[ci] rename repository name from lisa-on-gpu to lisa-on-cuda
Browse files- README.md +3 -3
- notebooks/tests_colab.ipynb +0 -0
- notebooks/tests_saturncloud.ipynb +8 -8
README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
emoji: 📊
|
| 4 |
colorFrom: yellow
|
| 5 |
colorTo: red
|
|
@@ -16,7 +16,7 @@ pinned: false
|
|
| 16 |
|
| 17 |
## Commands to work on saturncloud after clone and git lfs install
|
| 18 |
```bash
|
| 19 |
-
cd ~/workspace/lisa-on-
|
| 20 |
rm -rf lisa_venv
|
| 21 |
python3 -m venv lisa_venv
|
| 22 |
ln -s lisa_venv/ venv
|
|
@@ -33,7 +33,7 @@ tail -F nohup.out
|
|
| 33 |
# Jupyterlab Howto
|
| 34 |
|
| 35 |
To run the `test.ipynb` notebook you should already:
|
| 36 |
-
- cloned project https://huggingface.co/spaces/aletrn/lisa-on-
|
| 37 |
- created and activated a virtualenv
|
| 38 |
- installed jupyterlab dependencies from requirements_jupyter.txt
|
| 39 |
- installed dependencies from requirements.txt
|
|
|
|
| 1 |
---
|
| 2 |
+
title: LISA On Cuda
|
| 3 |
emoji: 📊
|
| 4 |
colorFrom: yellow
|
| 5 |
colorTo: red
|
|
|
|
| 16 |
|
| 17 |
## Commands to work on saturncloud after clone and git lfs install
|
| 18 |
```bash
|
| 19 |
+
cd ~/workspace/lisa-on-cuda/
|
| 20 |
rm -rf lisa_venv
|
| 21 |
python3 -m venv lisa_venv
|
| 22 |
ln -s lisa_venv/ venv
|
|
|
|
| 33 |
# Jupyterlab Howto
|
| 34 |
|
| 35 |
To run the `test.ipynb` notebook you should already:
|
| 36 |
+
- cloned project https://huggingface.co/spaces/aletrn/lisa-on-cuda with active git lfs
|
| 37 |
- created and activated a virtualenv
|
| 38 |
- installed jupyterlab dependencies from requirements_jupyter.txt
|
| 39 |
- installed dependencies from requirements.txt
|
notebooks/tests_colab.ipynb
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
notebooks/tests_saturncloud.ipynb
CHANGED
|
@@ -16,7 +16,7 @@
|
|
| 16 |
"# Howto\n",
|
| 17 |
"\n",
|
| 18 |
"To run this notebook you should already:\n",
|
| 19 |
-
"- cloned project https://huggingface.co/spaces/aletrn/lisa-on-
|
| 20 |
"- created and activated a virtualenv\n",
|
| 21 |
"- installed jupyterlab dependencies from requirements_jupyter.txt\n",
|
| 22 |
"- installed dependencies from requirements.txt\n",
|
|
@@ -44,16 +44,16 @@
|
|
| 44 |
"name": "stdout",
|
| 45 |
"output_type": "stream",
|
| 46 |
"text": [
|
| 47 |
-
"/home/jovyan/workspace/lisa-on-
|
| 48 |
]
|
| 49 |
},
|
| 50 |
{
|
| 51 |
"name": "stderr",
|
| 52 |
"output_type": "stream",
|
| 53 |
"text": [
|
| 54 |
-
"/home/jovyan/workspace/lisa-on-
|
| 55 |
" bkms = self.shell.db.get('bookmarks', {})\n",
|
| 56 |
-
"/home/jovyan/workspace/lisa-on-
|
| 57 |
" self.shell.db['dhist'] = compress_dhist(dhist)[-100:]\n"
|
| 58 |
]
|
| 59 |
},
|
|
@@ -251,7 +251,7 @@
|
|
| 251 |
}
|
| 252 |
],
|
| 253 |
"source": [
|
| 254 |
-
"%cd ~/workspace/lisa-on-
|
| 255 |
"!pip list\n",
|
| 256 |
"# !python -m pytest --cov=utils --cov-report=term-missing && coverage html\n",
|
| 257 |
"# print(\"ok\")"
|
|
@@ -312,7 +312,7 @@
|
|
| 312 |
"name": "stderr",
|
| 313 |
"output_type": "stream",
|
| 314 |
"text": [
|
| 315 |
-
"INFO:root:placeholders_folder:/home/jovyan/workspace/lisa-on-
|
| 316 |
]
|
| 317 |
},
|
| 318 |
{
|
|
@@ -353,7 +353,7 @@
|
|
| 353 |
"output_type": "stream",
|
| 354 |
"text": [
|
| 355 |
"INFO:httpx:HTTP Request: GET https://api.gradio.app/gradio-messaging/en \"HTTP/1.1 200 OK\"\n",
|
| 356 |
-
"INFO:root:placeholders_folder:/home/jovyan/workspace/lisa-on-
|
| 357 |
]
|
| 358 |
},
|
| 359 |
{
|
|
@@ -512,7 +512,7 @@
|
|
| 512 |
"INFO:root:preprocess started\n",
|
| 513 |
"INFO:root:preprocess ended\n",
|
| 514 |
"INFO:root:image_clip type: <class 'torch.Tensor'>.\n",
|
| 515 |
-
"/home/jovyan/workspace/lisa-on-
|
| 516 |
" warnings.warn(\n"
|
| 517 |
]
|
| 518 |
},
|
|
|
|
| 16 |
"# Howto\n",
|
| 17 |
"\n",
|
| 18 |
"To run this notebook you should already:\n",
|
| 19 |
+
"- cloned project https://huggingface.co/spaces/aletrn/lisa-on-cuda with active git lfs\n",
|
| 20 |
"- created and activated a virtualenv\n",
|
| 21 |
"- installed jupyterlab dependencies from requirements_jupyter.txt\n",
|
| 22 |
"- installed dependencies from requirements.txt\n",
|
|
|
|
| 44 |
"name": "stdout",
|
| 45 |
"output_type": "stream",
|
| 46 |
"text": [
|
| 47 |
+
"/home/jovyan/workspace/lisa-on-cuda\n"
|
| 48 |
]
|
| 49 |
},
|
| 50 |
{
|
| 51 |
"name": "stderr",
|
| 52 |
"output_type": "stream",
|
| 53 |
"text": [
|
| 54 |
+
"/home/jovyan/workspace/lisa-on-cuda/venv/lib/python3.10/site-packages/IPython/core/magics/osm.py:393: UserWarning: This is now an optional IPython functionality, using bookmarks requires you to install the `pickleshare` library.\n",
|
| 55 |
" bkms = self.shell.db.get('bookmarks', {})\n",
|
| 56 |
+
"/home/jovyan/workspace/lisa-on-cuda/venv/lib/python3.10/site-packages/IPython/core/magics/osm.py:417: UserWarning: This is now an optional IPython functionality, setting dhist requires you to install the `pickleshare` library.\n",
|
| 57 |
" self.shell.db['dhist'] = compress_dhist(dhist)[-100:]\n"
|
| 58 |
]
|
| 59 |
},
|
|
|
|
| 251 |
}
|
| 252 |
],
|
| 253 |
"source": [
|
| 254 |
+
"%cd ~/workspace/lisa-on-cuda\n",
|
| 255 |
"!pip list\n",
|
| 256 |
"# !python -m pytest --cov=utils --cov-report=term-missing && coverage html\n",
|
| 257 |
"# print(\"ok\")"
|
|
|
|
| 312 |
"name": "stderr",
|
| 313 |
"output_type": "stream",
|
| 314 |
"text": [
|
| 315 |
+
"INFO:root:placeholders_folder:/home/jovyan/workspace/lisa-on-cuda/resources/placeholders.\n"
|
| 316 |
]
|
| 317 |
},
|
| 318 |
{
|
|
|
|
| 353 |
"output_type": "stream",
|
| 354 |
"text": [
|
| 355 |
"INFO:httpx:HTTP Request: GET https://api.gradio.app/gradio-messaging/en \"HTTP/1.1 200 OK\"\n",
|
| 356 |
+
"INFO:root:placeholders_folder:/home/jovyan/workspace/lisa-on-cuda/resources/placeholders.\n"
|
| 357 |
]
|
| 358 |
},
|
| 359 |
{
|
|
|
|
| 512 |
"INFO:root:preprocess started\n",
|
| 513 |
"INFO:root:preprocess ended\n",
|
| 514 |
"INFO:root:image_clip type: <class 'torch.Tensor'>.\n",
|
| 515 |
+
"/home/jovyan/workspace/lisa-on-cuda/venv/lib/python3.10/site-packages/transformers/generation/utils.py:1270: UserWarning: You have modified the pretrained model configuration to control generation. This is a deprecated strategy to control generation and will be removed soon, in a future version. Please use a generation configuration file (see https://huggingface.co/docs/transformers/main_classes/text_generation )\n",
|
| 516 |
" warnings.warn(\n"
|
| 517 |
]
|
| 518 |
},
|