Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the test for the cache configuration (#730)
* Add information to check the cache sdk version and the working sdk version * Set the log level to info for test * Add environment variable for error injection test * format the code for lint check * Add information to show the ENGION OPTIONS set * Make it recompile when cache version mismatch * Remote the environment for error simulator to make it set by environment variable * Add error injector for temporarily test * Fix the problem when there's not the error injection config file * Move the error injector to the odla_CreateComputation to make sure it will be called for each inference request * Add try catch to computation create and init * make the error handling code at one place * Use config file setting for batch per step when it's inconsistent with ODLA set * set the log level when error injector used * pass the error code to caller * Make sdk version mismatch cache recompile when error injector set * Make the popart log level take POPART_LOG_LEVEL firstly * change format to pass lint Co-authored-by: tianboh <54729592+tianboh@users.noreply.github.com>
- Loading branch information