coreweave / tensorizer

Module, Model, and Tensor Serialization/Deserialization
MIT License
180 stars 25 forks source link

feat: Expose cURL's `--cacert` and `--capath`, along with `--insecure` #60

Closed Eta0 closed 11 months ago

Eta0 commented 11 months ago

Customizing cURL Certificate Verification

This PR builds off of #59 by @spmkone and closes #58.

Additions

Changes from #59

Bonus

Error messages in the CURLStreamFile constructor have been improved in the case where cURL terminates at startup with no other output (e.g. when SSL certificate verification fails) by querying the subprocess exit code and attaching it as supplementary information, if it is nonzero.