clai icon indicating copy to clipboard operation
clai copied to clipboard

make CLAI faster

Open TathagataChakraborti opened this issue 4 years ago • 2 comments

Since the CLAI platform tries to instrument the command line to the most generic extent possible for different kinds of AI agents, it is understandably slow for any specific use case.

That being said, we welcome any contributions to make it faster (targeting any part of the code). Some ideas rolling around:

  • have post_execution only: that way we can still respond to the user commands after the fact, after a bash command failure prompt for natural language commands for example, but users don't have to wait for execution of normal commands this way. Maybe a new mode for CLAI where the pre-execution processing can be turned off?

  • remove remote calls to the extent possible. iss31

  • other ideas welcome 😃

TathagataChakraborti avatar Mar 05 '20 22:03 TathagataChakraborti

An upgrade, in the operating system per se to ubuntu 18.04 LTS from ubuntu 16.04 could be a fine upgrade for 'clai' system. The external IBM cloud already provides ubuntu 18.04 LTS for service. Please find the snapshot below. Current deployment:- clai_ubuntu IBM Cloud External version availability:- ibmcloud_ubuntu

madhavanpallan avatar Mar 21 '20 00:03 madhavanpallan

An upgrade, in the operating system per se to ubuntu 18.04 LTS from ubuntu 16.04 could be a fine upgrade for 'clai' system.

@madhavanpallan Well that is just the web deployment, doesn't really affect the local installation. Also this discussion with @twinstar26 might be of interest.

TathagataChakraborti avatar Apr 23 '20 16:04 TathagataChakraborti