Closed lorenzwalthert closed 1 year ago
Any update on the timeline when this will be available?
Hi @lorenzwalthert
It would be great to have this issue already solved. I was looking for something similar, specially for custom metrics recording on test dataset or new data performance stuff.
Anyway, for the moment I got this by using the function log_parameters()
and it worked properly.
Did you try with that?
Are you suggesting to log metrics as parameters? Sounds like a hack to me. 🙃
haha ok, at least meanwhile. Anyway, with that approach you are able to set what parameters are shown when comparing trials or their components (is it the goal, is not?.
We can now send metrics using an API :pray:
aws sagemaker-metrics batch-put-metrics --trial-component-name my-trial-component-base-2022-12-09-094608133627-rbyz --metric-data MetricName=myAPImetric,Timestamp=2023-04-22T18:30:22.088Z,Step=0,Value=42
It would be nice to have it integrated with the Tracker object from the sagemaker-experiments package
@lorenzwalthert - you can log metrics from anywhere using the SageMaker Python SDK - https://sagemaker.readthedocs.io/en/stable/experiments/sagemaker.experiments.html#run.
Yesm I saw that, thanks. Is this repo still under development or are you planning to archieve it?
Is your feature request related to a problem? Please describe. Yes. Coming from MLflow, I can log metrics from anywhere. It works locally, in a training job, in a processing job, on a spark cluster etc. I want to use sagemaker experiments to track not just the training of a model, but also the pre- and post-processing of the features, in particular during sagemaker processing jobs. Examples:
Original issue: https://github.com/aws/sagemaker-experiments/issues/151#issuecomment-1114991598
Describe the solution you'd like
I'd like to be able to call
tracker.log_metric()
from a processing run, ideally even from anywhere (also locally while debugging).Describe alternatives you've considered
Building my own metadata store in S3, which creates friction between my custom solution and Sagemaker Experiments.
Additional context Add any other context or screenshots about the feature request here.