Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Translate
  3. Self-Host LibreTranslate Compact Version on Cloudron

Self-Host LibreTranslate Compact Version on Cloudron

Scheduled Pinned Locked Moved Translate
6 Posts 3 Posters 1.5k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    LoudLemur
    wrote on last edited by
    #1

    By default, LibreTranslate is large (16GB) due to all the modules.

    There is a yaml file where you can specify the arguments for what happens during installation.

    If Cloudron could provide a list of boxes to be ticked in the first run section, or something like that, it might be a nice way of selecting which of all the languages you want available for translation.

    This could reduce the storage requirement for LibreTranslate, and make the time from launching it on its first run to being usable much quicker.

    brave_YzicPamOpy.jpg

    1 Reply Last reply
    2
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      Agree that the package is quite large. @nebulon and @vladimir-d can correct me, but from what I remember, even without any language models at all, the docker image was ~7GB.

      L 1 Reply Last reply
      1
      • girishG girish

        Agree that the package is quite large. @nebulon and @vladimir-d can correct me, but from what I remember, even without any language models at all, the docker image was ~7GB.

        L Offline
        L Offline
        LoudLemur
        wrote on last edited by
        #3

        @girish said in Self-Host LibreTranslate Compact Version on Cloudron:

        Agree that the package is quite large. @nebulon and @vladimir-d can correct me, but from what I remember, even without any language models at all, the docker image was ~7GB.

        Because the default configuration for the first run includes downloading every module, I think a lot of people (like myself) are going to think that LibreTranslate doesn't work, as it takes a while to retrieve everything. It might be a good idea to include a message in "first run" indicating that there is likely to be a delay while it gets ready.

        nebulonN 1 Reply Last reply
        1
        • L LoudLemur

          @girish said in Self-Host LibreTranslate Compact Version on Cloudron:

          Agree that the package is quite large. @nebulon and @vladimir-d can correct me, but from what I remember, even without any language models at all, the docker image was ~7GB.

          Because the default configuration for the first run includes downloading every module, I think a lot of people (like myself) are going to think that LibreTranslate doesn't work, as it takes a while to retrieve everything. It might be a good idea to include a message in "first run" indicating that there is likely to be a delay while it gets ready.

          nebulonN Offline
          nebulonN Offline
          nebulon
          Staff
          wrote on last edited by
          #4

          @LoudLemur actually all language models are currently part of the image itself, so the initial startup is faster. Also half the image size is actually the app itself, mostly python modules like torch. The goal for the package was basically to have an app which needs no further configuration and has everything included, with the tradeoff of disk space essentially.

          L 1 Reply Last reply
          1
          • nebulonN nebulon

            @LoudLemur actually all language models are currently part of the image itself, so the initial startup is faster. Also half the image size is actually the app itself, mostly python modules like torch. The goal for the package was basically to have an app which needs no further configuration and has everything included, with the tradeoff of disk space essentially.

            L Offline
            L Offline
            LoudLemur
            wrote on last edited by LoudLemur
            #5

            @nebulon That is good. I am still trying to work out why it didn't run for when I tried it. Perhaps Cloudron indicated that LibreTranslate was "Running" prior to it having fully got going properly. A few other applications, like the forum software, are similar. In the case of LibreTranslate, it would probably take even longer.

            Anyway, I have it running on my desktop and have been having a look around for additional translation tools.
            https://opennmt.net/
            https://github.com/maidis/awesome-machine-translation#applications-

            nebulonN 1 Reply Last reply
            0
            • L LoudLemur

              @nebulon That is good. I am still trying to work out why it didn't run for when I tried it. Perhaps Cloudron indicated that LibreTranslate was "Running" prior to it having fully got going properly. A few other applications, like the forum software, are similar. In the case of LibreTranslate, it would probably take even longer.

              Anyway, I have it running on my desktop and have been having a look around for additional translation tools.
              https://opennmt.net/
              https://github.com/maidis/awesome-machine-translation#applications-

              nebulonN Offline
              nebulonN Offline
              nebulon
              Staff
              wrote on last edited by
              #6

              @LoudLemur that is indeed strange, Cloudron only reports a running state if the healthcheck succeeds which for libretranslate means that the api and frontend server is up and running.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Bookmarks
              • Search