leon icon indicating copy to clipboard operation
leon copied to clipboard

Hardware / Scaling requirements

Open Zauberfisch opened this issue 5 years ago • 15 comments

Documentation Is:

  • [ ] Missing
  • [x] Needed
  • [ ] Confusing
  • [ ] Not Sure?

Explanation

Right now it seems unclear to me what amount of hardware will be required to run an instance of leon without actually running it. The documentation should provide some suggestions of scaling for different use cases.

Proposal

  • add minimum hardware requirements
  • add recommendations for hardware sizing for different use cases and/or amount of users/requests

Zauberfisch avatar Feb 19 '19 16:02 Zauberfisch

Hello @Zauberfisch,

Thanks for opening that issue. This is indeed something that we could provide later.

Till now, I did not test yet with many different hardware but I suppose it should work on a hardware such as Raspberry Pi (but not sure for the offline speech-to-text).

Is that something you would like to help with?

louistiti avatar Feb 20 '19 03:02 louistiti

The documentation should also mention that deepspeach requires some more "recent" CPU instructions such as AVX

Zauberfisch avatar Feb 23 '19 04:02 Zauberfisch

Hi, will see if this is something I can test out...

mbwhite avatar Apr 12 '19 21:04 mbwhite

Hello @mbwhite,

Awesome, keep us updated when you have something 😃

louistiti avatar Apr 13 '19 00:04 louistiti

@louistiti My notes so far :-) https://gist.github.com/mbwhite/2de7326d4680591101a27a53315a11b8

Aside: are gitissues the best way to communicate - or is there a rocketchat/gitter etc.. no preference my self.. just checking :-)

mbwhite avatar Apr 18 '19 20:04 mbwhite

@mbwhite I don't think Leon supports 3.7 right now. I took forever to figure it out until I found #6. The Trello Card for 3.7 is still in the backlog. Sorry if you already knew, or if I have interrupted something.

nogarcia avatar Apr 18 '19 21:04 nogarcia

@mbwhite @Shrubhog thanks for your notes. However, today Leon only supports 3.6 as mentioned in the README and the docs.

For the moment I think it's better to centralize the communication channels on GitHub until some milestones are reached. I plan anyway to create a Discord for Leon later.

louistiti avatar Apr 19 '19 00:04 louistiti

@Shrubhog @louistiti no problem; I'd made the assumption that it was python3.6 or greater; just kicked off the python3.6 build now. At least I'm now more familiar with building python so that's one good thing UPDATE: "Hooray! Leon is installed and ready to go"

mbwhite avatar Apr 19 '19 07:04 mbwhite

Happy to see it's working!

What's your hardware specs?

louistiti avatar Apr 19 '19 15:04 louistiti

Ah well I spoke too soon, one of the Watson packages had an issue with platform compatibility. So I've opted to go my desktop Ubuntu - and make sure that I'm familiar with Leon's setup.

It was a Raspberry Pi 3 Model B...

mbwhite avatar Apr 26 '19 16:04 mbwhite

Alright, thanks for saying.

louistiti avatar Apr 27 '19 10:04 louistiti

It looks like Leon now works on Raspberry Pi 3B+ as per this comment.

louistiti avatar Mar 22 '21 01:03 louistiti

Hi, this month we have been working on compiling all Python stuff related upfront. Meaning, Leon does not need Python at runtime anymore.

Please try the three following commands and let's see how it goes and paste the report URL:

# Install the beta version of the Leon CLI
npm install --global @leon-ai/cli@beta

# Create a Leon instance based on the develop GitHub branch
leon create birth --develop

# Create a report
leon check

louistiti avatar Oct 23 '22 16:10 louistiti