Skip to content

zia-ai/academy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install

Ubuntu

build a ubuntu machine to run this

  • docker build . --build-arg password=<password> --build-arg timezone=America/Montreal --build-arg python_version=3.11.6 --build-arg node_version=16.16.0 --build-arg hf_cli_version=1.35.0 -t hf-workbench:latest --no-cache Assuming your source folder cross projects is ~whatever/source then project ~whatever/source/hf/repo (Map your volumes as you wish) This is bash (go fish or not)
  • docker create --name hf-workbench0 -v "$(builtin cd ..;pwd):/home/ubuntu/source/" -t -i hf-workbench bash
  • docker start hf-workbench0

Virtual env and Python install

  • Deactivate in case it is already there source deactivate
  • Delete venv rm -rf ./venv
  • Create venv python -m venv venv
  • Activate venv source venv/bin/activate
  • Update pip python -m pip install --upgrade pip
  • Install requirements: python -m pip install -r requirements.txt

Alternatives using pyenv and virtual env.

You don't need to run this, but you can use pyenv instead of venv

  • More info about using virtualenv can be found here

VS Code extensions reminder

  • Python
  • Gitlens

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages