Commit graph

17 commits

Author SHA1 Message Date
kingbri
2da3fb2caf Start: Bump ROCm error version
ROCm support is for 6.0 now. Update that.

Signed-off-by: kingbri <bdashore3@proton.me>
2024-05-11 21:57:51 -04:00
kingbri
3d14283fe0 Start: Lint
Signed-off-by: kingbri <bdashore3@proton.me>
2024-04-13 12:25:41 -04:00
kingbri
4d158dac90 Start: Fix when reading from gpu_lib file
The wrong variable was being set, so fix that.

Signed-off-by: kingbri <bdashore3@proton.me>
2024-04-13 12:24:30 -04:00
kingbri
de41e9f7e9 Start: Add gpu_lib argument
Argument to override the selected GPU library. Useful for daemoniztion
when running for the first time.

Signed-off-by: kingbri <bdashore3@proton.me>
2024-04-08 23:33:19 -04:00
kingbri
8bdc19124f Start: Fix gpu lib when reading from file
Readline doesn't strip out newlines or spaces.

Signed-off-by: kingbri <bdashore3@proton.me>
2024-04-02 22:04:01 -04:00
kingbri
44b7319710 Start: Print pip install command
Helps for debugging.

Signed-off-by: kingbri <bdashore3@proton.me>
2024-03-21 18:14:48 -04:00
kingbri
1e7cf1e5a4 Start: Prompt user for GPU/lib
There is no platform agnostic way to fetch CUDA/ROCm's versions
since environment variables change and users don't necessarily need
CUDA or ROCm installed to run pytorch (pytorch installs the necessary
libs if they don't exist).

Therefore, prompt the user for their GPU lib and store the result in
a textfile so the user doesn't need to constantly enter a preference.

Signed-off-by: kingbri <bdashore3@proton.me>
2024-03-20 15:21:37 -04:00
kingbri
72b08624a3 Start: Update to use pyproject
Signed-off-by: kingbri <bdashore3@proton.me>
2024-03-20 15:21:37 -04:00
kingbri
1ec8eb9620 Tree: Format
Signed-off-by: kingbri <bdashore3@proton.me>
2024-03-13 00:02:55 -04:00
kingbri
b373b25235 API: Move to ModelManager
This is a shared module  which manages the model container and provides
extra utility functions around it to help slim down the API.

Signed-off-by: kingbri <bdashore3@proton.me>
2024-03-12 23:59:30 -04:00
kingbri
78f920eeda Tree: Refactor code organization
Move common functions into their own folder and refactor the backends
to use their own folder as well.

Also cleanup imports and alphabetize import statments themselves.

Finally, move colab and docker into their own folders as well.

Signed-off-by: kingbri <bdashore3@proton.me>
2024-01-25 00:15:40 -05:00
kingbri
ceb388e8a0 Start: Override ROCm env variables
These are used for supporting GPUs that are not on the "officially
supported list".

Signed-off-by: kingbri <bdashore3@proton.me>
2024-01-02 21:01:18 -05:00
kingbri
bb7a8e4614 Config: Add override argparser
Add an argparser that casts over to dictionaries of subgroups to
integrate with the config.

This argparser doesn't contain everything in the config due to complexity
issues with CLI args, but will eventually progress to parity. In addition,
it's used to override the config.yml rather than replace it.

A config arg is also provided if the user wants to fully override the
config yaml with another file path.

Signed-off-by: kingbri <bdashore3@proton.me>
2024-01-01 14:27:12 -05:00
kingbri
f56221ff0c Tree: Format
Signed-off-by: kingbri <bdashore3@proton.me>
2023-12-28 00:31:59 -05:00
kingbri
ee84d892b8 Start: Add shell script
Same as the batch file. Also edit the python script to work when
a venv is clean.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-12-27 23:53:14 -05:00
kingbri
ac0d6f8869 Tree: Format and cleanup start
Signed-off-by: kingbri <bdashore3@proton.me>
2023-12-27 01:17:31 -05:00
kingbri
4d83d1aae4 Start: Switch to python script
Direct python can be used for requirements checking. Remove the ps1
script and create a venv purely in batch.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-12-27 00:37:53 -05:00