mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-01 16:24:44 +00:00
XXX
Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
This commit is contained in:
parent
9607140e24
commit
01fdae0adb
1 changed files with 3 additions and 2 deletions
|
@ -107,7 +107,8 @@ class TestPostTraining:
|
||||||
logger.info(f"Starting training job with UUID: {self.job_uuid}")
|
logger.info(f"Starting training job with UUID: {self.job_uuid}")
|
||||||
|
|
||||||
# train with HF trl SFTTrainer as the default
|
# train with HF trl SFTTrainer as the default
|
||||||
os.makedirs("~/.llama/checkpoints/", exist_ok=True)
|
checkpoint_dir = os.path.expanduser("/mnt/")
|
||||||
|
# os.makedirs(checkpoint_dir, exist_ok=True)
|
||||||
|
|
||||||
started = datetime.now(timezone.utc)
|
started = datetime.now(timezone.utc)
|
||||||
_ = llama_stack_client.post_training.supervised_fine_tune(
|
_ = llama_stack_client.post_training.supervised_fine_tune(
|
||||||
|
@ -117,7 +118,7 @@ class TestPostTraining:
|
||||||
training_config=training_config,
|
training_config=training_config,
|
||||||
hyperparam_search_config={},
|
hyperparam_search_config={},
|
||||||
logger_config={},
|
logger_config={},
|
||||||
checkpoint_dir="~/.llama/checkpoints/",
|
checkpoint_dir=checkpoint_dir,
|
||||||
)
|
)
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue