Search code examples
pythondjangotensorflowgithubchatbot

Deploy web application that has a .data-00000-of-00001


I have a django project that is basically a API for a chatbot, the chatbot uses tensorflow and it uses a extremely large file that ends in .data-00000-of-00001. I can not upload it to github because it is really big. Anyone knows how can I deploy my web application with this kind of file?


Solution

  • Depending on the size of your file, and the plan you have purchased for Github, there are different max file sizes:

    https://docs.github.com/en/github/managing-large-files/versioning-large-files/about-git-large-file-storage

    Product Maximum file size
    GitHub Free 2 GB
    GitHub Pro  2 GB
    GitHub Team 4 GB
    GitHub Enterprise Cloud 5 GB
    
    

    If your file is smaller than the corresponding max file size for your plan, you can add git-lfs by following the instructions here: https://docs.github.com/en/github/managing-large-files/versioning-large-files/installing-git-large-file-storage

    And then configure your github repo to use git-lfs by following the instructions here: https://docs.github.com/en/github/managing-large-files/versioning-large-files/configuring-git-large-file-storage

    If your file is larger than the file sizes mentioned here, you'll likely want to host it from a cloud service like Google's Cloud Storage.