Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jllllll committed Nov 17, 2023
1 parent f6d1e53 commit f7c6640
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-wheels-oobabooga.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@ jobs:
if ($packageVersion -gt [version]'0.2.13' -and $packageVersion -lt [version]'0.2.19')
{
$pyScripts = (dir '.\llama_cpp_cuda\*.py')
$pyScripts.fullname.foreach({New-Item $_ -itemType File -value (cat $_ -raw).replace('import llama_cpp.llama','from . import llama') -force})
$pyScripts = (Get-ChildItem $(Join-Path '.' 'llama_cpp_cuda' '*.py'))
$pyScripts.fullname.foreach({New-Item $_ -itemType File -value (Get-Content $_ -raw).replace('import llama_cpp.llama','from . import llama') -force})
}
- name: Build Wheel
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-wheels-rocm-full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ jobs:
if ($packageVersion -gt [version]'0.2.13' -and $packageVersion -lt [version]'0.2.19')
{
$pyScripts = (dir '.\llama_cpp_cuda\*.py')
$pyScripts.fullname.foreach({New-Item $_ -itemType File -value (cat $_ -raw).replace('import llama_cpp.llama','from . import llama') -force})
$pyScripts = (Get-ChildItem $(Join-Path '.' 'llama_cpp_cuda' '*.py'))
$pyScripts.fullname.foreach({New-Item $_ -itemType File -value (Get-Content $_ -raw).replace('import llama_cpp.llama','from . import llama') -force})
}
- name: Build Wheel
Expand Down

0 comments on commit f7c6640

Please sign in to comment.