Closed bclavie closed 6 months ago
Maybe we should make it catch “except Exception:”?
the current update will catch even ctrl-c
Fair! I assumed it'd be fairly safe (it runs very quickly) but that could be annoying if there's a hangup, change to except Exception
👍
@okhat Fixing an error I introduced myself in #284, where in rare cases, other hugging face errors than just the caught one can be thrown (mostly when loading from an index rather than a checkpoint). I think while it's usually bad practice, having a catch-all except: here is pretty safe!