AtAndDev commited on
Commit
8fded60
1 Parent(s): 3877540

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ import spaces
7
  import gradio as gr
8
  from transformers import AutoModelForCausalLM, AutoTokenizer, BitsAndBytesConfig, TextIteratorStreamer
9
 
10
- subprocess.run('pip install --upgrade "transformers>=4.45" tokenizers', shell=True)
11
  subprocess.run('pip install --upgrade flash-attn --no-build-isolation', env={'FLASH_ATTENTION_SKIP_CUDA_BUILD': "TRUE"}, shell=True)
12
 
13
  MODEL_ID = "AtAndDev/marco-qwq-7B"
 
7
  import gradio as gr
8
  from transformers import AutoModelForCausalLM, AutoTokenizer, BitsAndBytesConfig, TextIteratorStreamer
9
 
10
+ subprocess.run('pip install transformers==4.45.2 torch==2.4.1', shell=True)
11
  subprocess.run('pip install --upgrade flash-attn --no-build-isolation', env={'FLASH_ATTENTION_SKIP_CUDA_BUILD': "TRUE"}, shell=True)
12
 
13
  MODEL_ID = "AtAndDev/marco-qwq-7B"