mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-05-10 03:52:08 +00:00
Undo disable of hpu graphs for starcoder (#201)
This commit is contained in:
parent
0c3239e710
commit
c925bd2872
@ -36,10 +36,6 @@ class StarCoder(CausalLM):
|
||||
dtype: Optional[torch.dtype] = None,
|
||||
):
|
||||
|
||||
# Bypasses runtime error "Empty tensor optional" with hpu graphs
|
||||
os.environ["ENABLE_HPU_GRAPH"] = "false"
|
||||
logger.warning("Disabling HPU graphs as they are not supported with Starcoder model!")
|
||||
|
||||
super(StarCoder, self).__init__(
|
||||
model_id=model_id,
|
||||
revision=revision,
|
||||
|
Loading…
Reference in New Issue
Block a user