-
Notifications
You must be signed in to change notification settings - Fork 2
/
machinelearning.sls
92 lines (82 loc) · 2.85 KB
/
machinelearning.sls
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{# machinelearning #}
{% from 'arch/lib.sls' import aur_install with context %}
include:
- desktop.python.scientific
- hardware.amd.rocm.pytorch
- hardware.amd.rocm.tensorflow
- hardware.amd.rocm.cupy
- hardware.amd.rocm.onnx
- hardware.amd.rocm.localai
- hardware.amd.rocm.koboldcpp
ml_pytorch:
test.nop:
- require:
- sls: hardware.amd.rocm.pytorch
- sls: desktop.python.scientific
ml_tensorflow:
test.nop:
- require:
- sls: hardware.amd.rocm.tensorflow
- sls: desktop.python.scientific
ml_scikit:
pkg.installed:
- pkgs:
- python-scikit-learn
- require:
- sls: desktop.python.scientific
ml_base:
test.nop:
- require:
- test: ml_pytorch
- test: ml_tensorflow
- pkg: ml_scikit
- sls: hardware.amd.rocm.cupy
- sls: hardware.amd.rocm.onnx
- sls: hardware.amd.rocm.localai
- sls: hardware.amd.rocm.koboldcpp
ml_libraries:
pkg.installed:
- pkgs:
# python-tiktoken - A fast BPE tokeniser for use with OpenAI's models
- python-tiktoken
# tensorboard - visualization and tooling needed for machine learning experimentation
- tensorboard
- require:
- test: ml_base
{% load_yaml as pkgs %}
# python-transformers - State-of-the-art Natural Language Processing for Jax, PyTorch and TensorFlow
- python-transformers
# python-deepspeed - DeepSpeed is a deep learning optimization library for distributed training and inference
- python-deepspeed
{% endload %}
{{ aur_install('ml_libraries_aur', pkgs, require='pkg: ml_libraries') }}
# ml_tools_aur
{% load_yaml as pkgs %}
# aichat - Using ChatGPT/GPT-3.5/GPT-4 in the terminal
- aichat
# mods - AI for the command line, built for pipelines
- mods
# chatgpt.sh - Shell wrapper for OpenAI's ChatGPT, DALL-E, Whisper, and TTS.
- chatgpt.sh
{% endload %}
{{ aur_install('ml_tools_aur', pkgs) }}
# ml_scikit_aur
{% load_yaml as pkgs %}
# Surprise - A Python scikit for building and analyzing recommender systems
- python-scikit-surprise
{% endload %}
{{ aur_install('ml_scikit_aur', pkgs, require='pkg: ml_scikit') }}
# ml_pytorch_aur
{% load_yaml as pkgs %}
# torchtext - data processing utilities and popular datasets for natural language
- python-torchtext
# torchdata - modular data loading primitives for easily constructing flexible and performant data pipelines
- python-torchdata
# pytorch-lightning - lightweight PyTorch wrapper for high-performance AI research
- python-pytorch-lightning
# functorch - JAX-like composable function transforms for PyTorch
- python-functorch
# skorch - scikit-learn compatible neural network library that wraps PyTorchhttps://gandalf.lakera.ai/
- python-skorch
{% endload %}
{{ aur_install('ml_pytorch_aur', pkgs, require='test: ml_pytorch') }}