Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
camenduru authored Oct 13, 2023
1 parent 7784493 commit 0e38eb4
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions LLaVA_13b_8bit_colab.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,6 @@
"# load_4bit=False\n",
"# )\n",
"\n",
"vision_tower = model.get_vision_tower()\n",
"if not vision_tower.is_loaded:\n",
" vision_tower.load_model()\n",
"vision_tower.to(device='cpu', dtype=torch.float16)\n",
"image_processor = vision_tower.image_processor\n",
"\n",
"import requests\n",
"from PIL import Image\n",
"from io import BytesIO\n",
Expand Down

0 comments on commit 0e38eb4

Please sign in to comment.