Fix the loading issue of 90B (#283)

Signed-off-by: yuanwu <yuan.wu@intel.com>
This commit is contained in:
Yuan Wu 2025-02-28 18:20:55 +08:00 committed by GitHub
parent 1d3a4ab851
commit c35810d6f0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -784,6 +784,7 @@ class VlmCausalLM(Model):
htorch.core.hpu_set_env() htorch.core.hpu_set_env()
if world_size > 1: if world_size > 1:
os.environ.setdefault("DEEPSPEED_USE_HABANA_FRAMEWORKS_DETERMINISTIC_API", "1")
model = self.get_deepspeed_model( model = self.get_deepspeed_model(
model_class, model_id, dtype, revision model_class, model_id, dtype, revision
) )