{ "cells": [ { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "from ThirdParty.PointLLM.pointllm.model.pointllm import PointLLMLlamaForCausalLM" ] }, { "cell_type": "code", "execution_count": 6, "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "/home/ydengbd/anaconda3/envs/mich/lib/python3.10/site-packages/huggingface_hub/file_download.py:1142: FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use `force_download=True`.\n", " warnings.warn(\n" ] }, { "name": "stdout", "output_type": "stream", "text": [ "Loading PointBERT config from /home/ydengbd/Anymate/space/ThirdParty/PointLLM/pointllm/model/pointbert/PointTransformer_8192point_2layer.yaml.\n" ] } ], "source": [ "from transformers import AutoConfig\n", "\n", "config = AutoConfig.from_pretrained('RunsenXu/PointLLM_7B_v1.2')\n", "model = PointLLMLlamaForCausalLM(config)" ] }, { "cell_type": "code", "execution_count": 8, "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "/home/ydengbd/anaconda3/envs/mich/lib/python3.10/site-packages/huggingface_hub/file_download.py:1142: FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use `force_download=True`.\n", " warnings.warn(\n" ] }, { "name": "stdout", "output_type": "stream", "text": [ "Loading PointBERT config from /home/ydengbd/Anymate/space/ThirdParty/PointLLM/pointllm/model/pointbert/PointTransformer_8192point_2layer.yaml.\n" ] }, { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "e7003df263064096b0c3838e9deb1cd3", "version_major": 2, "version_minor": 0 }, "text/plain": [ "Loading checkpoint shards: 0%| | 0/3 [00:00