neulab / prompt2model

prompt2model - Generate Deployable Models from Natural Language Instructions
Apache License 2.0
1.96k stars 177 forks source link

Loosen version requirement for protobuf #372

Closed saum7800 closed 1 year ago

saum7800 commented 1 year ago

Description

The protobuf version required by prompt2model was specified as 3.20.0. However this is restrictive and may cause dependency issues when used in conjunction with other libraries (eg. the latest tensorflow version requires protobuf >= 3.20.3). This was originally pinned due to certain HF models requiring a specific protobuf but that issue has since been resolved by HF (see references).

I also tested a fresh install of p2m without the protobuf pinned version and both the demo notebook and python script work as expected.

References

neubig commented 1 year ago

Thank you!