Error while running the quickstart #265
ommahajan0208
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
While running the quick start notebook, on 3.12.10 received this error. Can anyone help me with this. Is it because of 3.12, shall i try 3.10?
ImportError Traceback (most recent call last)
Cell In[1], line 1
----> 1 from airllm import AutoModel
3 MAX_LENGTH = 128
5 # Load model only if not already loaded
File c:\Users\OM MAHAJAN\Dev_Om\GenAI\AirLLM.venv\Lib\site-packages\airllm_init_.py:12
10 from .auto_model import AutoModel
11 else:
---> 12 from .airllm import AirLLMLlama2
13 from .airllm_chatglm import AirLLMChatGLM
14 from .airllm_qwen import AirLLMQWen
File c:\Users\OM MAHAJAN\Dev_Om\GenAI\AirLLM.venv\Lib\site-packages\airllm\airllm.py:3
----> 3 from .airllm_base import AirLLMBaseModel
7 class AirLLMLlama2(AirLLMBaseModel):
8 def init(self, *args, **kwargs):
File c:\Users\OM MAHAJAN\Dev_Om\GenAI\AirLLM.venv\Lib\site-packages\airllm\airllm_base.py:18
14 from transformers.quantizers import AutoHfQuantizer, HfQuantizer
16 from .profiler import LayeredProfiler
---> 18 from optimum.bettertransformer import BetterTransformer
20 from .utils import clean_memory, load_layer,
21 find_or_create_local_splitted_path
...
(...) 30 NormalizedVisionConfig,
31 )
34 if is_torch_available():
ImportError: cannot import name 'is_tf_available' from 'transformers.utils' (c:\Users\OM MAHAJAN\Dev_Om\GenAI\AirLLM.venv\Lib\site-packages\transformers\utils_init_.py)
Output is truncated. View as a scrollable element or open in a text editor. Adjust cell output settings...
Beta Was this translation helpful? Give feedback.
All reactions