mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-21 14:52:20 +00:00
Fix the loading issue of 90B (#283)
Signed-off-by: yuanwu <yuan.wu@intel.com>
This commit is contained in:
parent
1d3a4ab851
commit
c35810d6f0
@ -784,6 +784,7 @@ class VlmCausalLM(Model):
|
||||
htorch.core.hpu_set_env()
|
||||
|
||||
if world_size > 1:
|
||||
os.environ.setdefault("DEEPSPEED_USE_HABANA_FRAMEWORKS_DETERMINISTIC_API", "1")
|
||||
model = self.get_deepspeed_model(
|
||||
model_class, model_id, dtype, revision
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user