seems like an issue with uploading large file via cli or git lf
I have a model file of 0.5 gb, how to upload it to the container?
Solution:Jump to solution
Create an endpoint in your code to upload the model file or pull the file from a cloud storage bucket (google drive if it’s a one time upload)
11 Replies
Project ID:
d3345802-41e9-4f63-82c9-63d7f0fcf52a
Project id d3345802-41e9-4f63-82c9-63d7f0fcf52a
railway doesnt support git lfs, and
railway up
can only upload a max 50mb payload, you would want to store the model in a storage bucket and download in at build or runtimeWow, thank. I've never done that. Is there a guide line on how to set it up?
not really railway specific so theres no railway guides on downloading files from s3.
if this model file never changes you could store it in a volume and load the model from the volume
https://docs.railway.app/reference/volumes
It is not the valume from docker, it is something different, correct?
please read the docs page i linked
i attacher the valume, but struggle to understand how to upload something to it, how to put there what i need?
Solution
Create an endpoint in your code to upload the model file or pull the file from a cloud storage bucket (google drive if it’s a one time upload)
There is no native volume editor. All edits have to be done through your code
oh, that is complicated. but i get it. thank you