Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ServiceLab ingestion lambda regex (#5687)
The lambda has failed to ingest new data since Sep 3rd, and it turns out that the regex it uses to extract the benchmark metadata has become invalid (I will check which change is responsible for that, but it's like something on ServiceLab). Specifically, the `retry` field on the filename that ServiceLab returns is not there anymore. Before we have `pytorch/benchmarks/dynamo/manifold/..._1.a-tmp694bm90e.csv`, now it is just `pytorch/benchmarks/dynamo/manifold/....a-tmphjxk9w2x.csv`. So, I update the regex to make this field optional. This is not needed anywhere in OSS atm. ### Testing Run the lambda with a sample key on S3 `pytorch/benchmarks/dynamo/manifold/4500202979/4500315921/cudagraphs_dynamic-BERT_pytorch-training-performance-benchmark_torchbench_run_bert_pytorch_training.benchmark_torchbench_run_bert_pytorch_training.4500315921.a-tmphjxk9w2x.csv` and confirm that the record is inserted into CH --------- Co-authored-by: Sergii Dymchenko <[email protected]>
- Loading branch information