Skip to content

Development and deployment build framework for both using AI in a development context and deploying AI within an application needing internal automation.

License

Notifications You must be signed in to change notification settings

mirage335-colossus/virtuousCritter

Repository files navigation

Copyright (C) 2024 mirage335 See the end of the file for license conditions. See license.txt for virtuousCritter license conditions.

Development and deployment build framework for both using AI in a development context and deploying AI within an application needing internal automation.

Dependencies (Development)

Install all of these dependencies if possible. In particular, some 

dependencies may not be bundled with the virtuousCritter installer, usually due to desirability of frequent updates.

*) extendedInterface - Bash/Git command line . *) Download and run extIface.exe from an internal release. *) https://github.com/mirage335-colossus/extendedInterface/releases

*) ubDistBuild (OPTIONAL) - Installs soft dependencies to run extendedInterface more quickly. Downloads ubDist/OS for MSW/WSL. *) Download and run ubDistBuild.exe from an internal release. *) https://github.com/soaringDistributions/ubDistBuild/releases *) Usual commands (As Admin) to download and install ubDist/OS for MSW/WSL. *) _get_vmImg_ubDistBuild-rootfs.bat internal *) _install_vm-wsl2.bat *) _install_vm-wsl2-kernel.bat

*) NVIDIA CUDA Toolkit

*) Python/Pip (external native version NOT part of 'ubcp' may be used automatically) *) Transformers , Torch , YAML

*) datasets

*) BitsAndBytes Wheel

*) accelerate

*) git lfs install (or _wantGetDep git-lfs)

*) pip install huggingface *) You may already have this installed with transformers or datasets.

Usage

 ./ubiquitous_bash.sh

Design (Development - MSW)

Anchor script (eg. '_virtuousCritter.bat') may call python script 

through native python installation .

Anchor script may also, separately, ensure a global InterProcess Communication service is available, such as a CARDinal compatible bus adhering to MetaEngine standards.

Python script may call any ubiquitous_bash function with parameters through a '_bin.bat' anchor script. Autodiscovery and expecting such standard locations as 'C:\core\infrastructure\virtuousCritter_bin.bat' is reasonable.

Design (Development - NIX)

Anchor script (eg. '_virtuousCritter.sh') will call ubiquitous_bash 

function.

Any python script must use environment variables and autodiscovery to correctly proceed with either the autodiscovery and standard locations of MSW (native python, NOT Cygwin), OR must properly use the context provided by native NIX if available.

Proper automated management of any needed python venv is expected for NIX.

Design (Deployment)

All deployment of virtuousCritter is through performant standalone source 

code, such as through MLC LLM.

Strictly avoid any dependencies not provided by the platform itself or likely to change (eg. AVOID any X11 dev dependencies, AVOID any external QEMU binary, AVOID any non-interactive VM).

Safety

Obviously AI is powerful. In automation, there is an unavoidable tradeoff 

between complexity and predictable behavior. AI itself is inherently unpredictable.

AI for automation must only ever be a component within a rules based system itself trivially simple enough to guarantee predictability.

Reference

 

Copyright

This file is part of virtuousCritter.

virtuousCritter is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

virtuousCritter is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with virtuousCritter. If not, see <http://www.gnu.org/licenses/>.

About

Development and deployment build framework for both using AI in a development context and deploying AI within an application needing internal automation.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published