This PR skips the MLCEngine termination when the engine is not initialized at all (e.g., failed during JIT compilation). Previously there will be an extra error message saying 'MLCEngine' object has no attribute '_ffi' which is confusing and misleading. Skipping the termination can eliminate this error message.
This PR skips the MLCEngine termination when the engine is not initialized at all (e.g., failed during JIT compilation). Previously there will be an extra error message saying
'MLCEngine' object has no attribute '_ffi'
which is confusing and misleading. Skipping the termination can eliminate this error message.