sony / nnabla

Neural Network Libraries
https://nnabla.org/
Apache License 2.0
2.73k stars 334 forks source link

fix mlflow test random failure #1258

Closed TomonobuTsujikawa closed 6 months ago

TomonobuTsujikawa commented 6 months ago

This PR is aim to fix the random error(with high frequency) in test phase.

This error message shows that mlflow.exceptions.MlflowException: Could not find experiment with ID xxxxxxxx. This is caused by another test case which also runs mlflow. Thus in parallel test, the mlflow experiment id may change between different test cases. This solution is to explicitly pass the experiment id each time when we run mlflow. We also optimize the generation of temp directory for mlflow working path.