Spaces:
Runtime error
Runtime error
Update app.py
Browse files3 unmodified lines456789103 unmodified linesimport torchtokenizer = AutoTokenizer.from_pretrained("BirdL/DeepSeek-Coder-V2-Lite-Instruct-FlashAttnPatch", trust_remote_code=True)model = AutoModelForCausalLM.from_pretrained("BirdL/DeepSeek-Coder-V2-Lite-Instruct-FlashAttnPatch", trust_remote_code=True, device_map="auto")@spaces.GPUdef respond(message, history):3 unmodified lines456789103 unmodified linesimport torchtokenizer = AutoTokenizer.from_pretrained("BirdL/DeepSeek-Coder-V2-Lite-Instruct-FlashAttnPatch", trust_remote_code=True)model = AutoModelForCausalLM.from_pretrained("BirdL/DeepSeek-Coder-V2-Lite-Instruct-FlashAttnPatch", trust_remote_code=True, device_map="auto", offload_buffers=True)@spaces.GPUdef respond(message, history):
app.py+1-1