Skip to content

Commit

Permalink
docs: fix conda syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
xhiroga committed Jan 16, 2024
1 parent cf35e4a commit 12dfdab
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ sdk_version: 4.13.0
---

```powershell
conda create -f environment.yml
conda env create -f environment.yml
conda activate chiikawa-yonezu
pip install fugashi ipadic
```
Expand Down
2 changes: 1 addition & 1 deletion software-engineering/llm/_src/flexgen/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

```powershell
git clone https://github.com/FMInference/FlexGen.git || (cd .\FlexGen && git pull)
conda create -n flexgen -f environment.yaml
conda env create -n flexgen -f environment.yaml
conda activate flexgen
conda devlop .
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ sdk_version: 4.13.0
## How to run

```powershell
conda create -f environment.yml
conda env create -f environment.yml
# Note: `gradio` is isntalled by pip, caused by [`gradio deploy` not works with conda-installed `gradio-script.py` · Issue #48 · conda-forge/gradio-feedstock](https://github.com/conda-forge/gradio-feedstock/issues/48)
conda run -n til-gradio-quickstart python app.py
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ See [notebook](/issue_reproduction/evidence.ipynb).
## Render meta.yaml

```powershell
conda create -f environment.yml
conda env create -f environment.yml
conda run -n til_grayskull_gradio_feedstock_issue_48 grayskull pypi gradio
# grayskull created `gradio/meta.yaml`.
```
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Getting Started with PyTorch

```powershell
conda create -n til_pytorch_getting_started python=3.10
conda env create -n til_pytorch_getting_started python=3.10
conda activate til_pytorch_getting_started
pip install -r requirements.txt -f https://download.pytorch.org/whl/
python
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# PyTorch CNN MNIST

```powershell
conda env create -f "$(git rev-parse --show-toplevel)/computer-science/machine-learning/environment.yml"
```

## References

- [MPRGDeepLearningLectureNotebook/02_dnn_simple_pytorch/MNIST_CNN.ipynb at master · machine-perception-robotics-group/MPRGDeepLearningLectureNotebook](https://github.com/machine-perception-robotics-group/MPRGDeepLearningLectureNotebook/blob/master/02_dnn_simple_pytorch/MNIST_CNN.ipynb)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# [【PyTorch入門】PyTorchで手書き数字(MNIST)を学習させる - 株式会社ライトコード](https://rightcode.co.jp/blog/information-technology/pytorch-mnist-learning)

```python
conda create -f environment.yml
conda env create -f environment.yml
```
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui || (cd .\FlexGen && git pull)
make
conda create -n stable-diffusion-webui -f environment.yaml
conda env create -n stable-diffusion-webui -f environment.yaml
conda activate stable-diffusion-webui
cd stable-diffusion-webui
.\webui-user.bat
Expand Down

0 comments on commit 12dfdab

Please sign in to comment.