Open emirhanbilgic opened 8 months ago
Some changes have been made for users who want to deploy the trainable model by pushing it to replicate.com.
If these changes are not made, the following error is encountered:
Error no file named pytorch_model.bin, tf_model.h5, model.ckpt.index or flax_model.msgpack found in directory ./sdxl-cache. https://replicate.com/p/qy7ge2tb2mwwc7guoi7mztttpe?input=form
Error no file named pytorch_model.bin, tf_model.h5, model.ckpt.index or flax_model.msgpack found in directory ./sdxl-cache.
For this reason, the download_weights.py script should be unextended and can be run with cog run ..., also ./sdxl-cache should be removed from dockerignore.
download_weights.py
cog run ...
./sdxl-cache
dockerignore
Some changes have been made for users who want to deploy the trainable model by pushing it to replicate.com.
If these changes are not made, the following error is encountered:
Error no file named pytorch_model.bin, tf_model.h5, model.ckpt.index or flax_model.msgpack found in directory ./sdxl-cache.
https://replicate.com/p/qy7ge2tb2mwwc7guoi7mztttpe?input=formFor this reason, the
download_weights.py
script should be unextended and can be run withcog run ...
, also./sdxl-cache
should be removed fromdockerignore
.