Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[neo] Get SM Fast Model Loader model dir name from package #2541

Merged
merged 1 commit into from
Nov 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions serving/docker/partition/sm_neo_shard.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
from lmi_dist.arg_utils import VllmEngineArgs
from lmi_dist.comms import comms

MODEL_DIR_NAME = "sagemaker-fast-model-loader"
CHUNK_MB = 8


Expand Down Expand Up @@ -107,7 +106,7 @@ def shard_lmi_dist_model(self, input_dir: str, output_dir: str,
)
engine = engine_from_args(engine_args)

model_dir = os.path.join(output_dir, MODEL_DIR_NAME)
model_dir = os.path.join(output_dir, sm_fml.MODEL_DIR_NAME)
os.makedirs(model_dir, exist_ok=True)

config_for_current_rank = engine.model_runner.vllm_worker.save_chunked_shard(
Expand Down
Loading