| # setup_git_lfs.ps1 | |
| # Configuracao de Git LFS para grandes arquivos de modelos AI | |
| Write-Host "========================================" -ForegroundColor Cyan | |
| Write-Host " Configurando Git LFS para AIVisionsLab" -ForegroundColor Cyan | |
| Write-Host "========================================" -ForegroundColor Cyan | |
| # Instalar LFS | |
| git lfs install | |
| Write-Host "Git LFS instalado." -ForegroundColor Green | |
| # Rastrear extensoes de modelos grandes | |
| git lfs track "*.gguf" | |
| git lfs track "*.safetensors" | |
| git lfs track "*.bin" | |
| git lfs track "*.pt" | |
| git lfs track "*.pth" | |
| Write-Host "Extensoes rastreadas: .gguf, .safetensors, .bin, .pt, .pth" -ForegroundColor Green | |
| # Adicionar .gitattributes | |
| git add .gitattributes | |
| Write-Host ".gitattributes atualizado." -ForegroundColor Green | |
| Write-Host "" | |
| Write-Host "LFS configurado com sucesso!" -ForegroundColor Green | |
| Write-Host "Lembre de fazer commit do .gitattributes." -ForegroundColor Yellow | |