Moving virtual env to Pixi + Makefile
Browse files- .gitattributes +2 -0
- .gitignore +3 -0
- Makefile +16 -0
- pixi.lock +0 -0
- pixi.toml +29 -0
.gitattributes
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# SCM syntax highlighting & preventing 3-way merges
|
| 2 |
+
pixi.lock merge=binary linguist-language=YAML linguist-generated=true
|
.gitignore
CHANGED
|
@@ -23,3 +23,6 @@ examples/*
|
|
| 23 |
!examples/goldfish.jpg
|
| 24 |
checkpoints
|
| 25 |
utils/hugging_face/
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
!examples/goldfish.jpg
|
| 24 |
checkpoints
|
| 25 |
utils/hugging_face/
|
| 26 |
+
# pixi environments
|
| 27 |
+
.pixi/*
|
| 28 |
+
!.pixi/config.toml
|
Makefile
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
.PHONY: setup train-image train-maze analysis-image clean
|
| 2 |
+
|
| 3 |
+
setup:
|
| 4 |
+
pixi install
|
| 5 |
+
|
| 6 |
+
train-image:
|
| 7 |
+
pixi run python -m tasks.image_classification.train
|
| 8 |
+
|
| 9 |
+
train-maze:
|
| 10 |
+
pixi run python -m tasks.mazes.train
|
| 11 |
+
|
| 12 |
+
analysis-image:
|
| 13 |
+
pixi run python tasks/image_classification/analysis/run_imagenet_analysis.py
|
| 14 |
+
|
| 15 |
+
clean:
|
| 16 |
+
rm -rf .pixi
|
pixi.lock
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
pixi.toml
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[workspace]
|
| 2 |
+
authors = ["Uday Phalak <udayphlk@gmail.com>"]
|
| 3 |
+
channels = ["pytorch", "conda-forge"]
|
| 4 |
+
name = "continuous-thought-machines"
|
| 5 |
+
platforms = ["osx-arm64"]
|
| 6 |
+
version = "0.1.0"
|
| 7 |
+
|
| 8 |
+
[dependencies]
|
| 9 |
+
python = "3.12.*"
|
| 10 |
+
pytorch = "*"
|
| 11 |
+
torchvision = "*"
|
| 12 |
+
numpy = "*"
|
| 13 |
+
matplotlib = "*"
|
| 14 |
+
seaborn = "*"
|
| 15 |
+
tqdm = "*"
|
| 16 |
+
opencv = "*"
|
| 17 |
+
imageio = "*"
|
| 18 |
+
scikit-learn = "*"
|
| 19 |
+
umap-learn = "*"
|
| 20 |
+
python-dotenv = "*"
|
| 21 |
+
gymnasium = "*"
|
| 22 |
+
datasets = "*"
|
| 23 |
+
huggingface_hub = "*"
|
| 24 |
+
safetensors = "*"
|
| 25 |
+
ffmpeg = "*"
|
| 26 |
+
|
| 27 |
+
[pypi-dependencies]
|
| 28 |
+
autoclip = "*"
|
| 29 |
+
minigrid = "*"
|