mirror of
https://github.com/facefusion/facefusion-pinokio.git
synced 2026-07-23 06:20:48 +02:00
Simplify install for NVIDIA
This commit is contained in:
+5
-13
@@ -56,19 +56,11 @@ module.exports = async kernel =>
|
||||
method: 'shell.run',
|
||||
params:
|
||||
{
|
||||
message: 'conda install conda-forge::cuda-runtime=12.4.1 cudnn=9.2.1.18 --yes',
|
||||
conda:
|
||||
{
|
||||
path: path.resolve(__dirname, '.env')
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
when: '{{ gpu === "nvidia" }}',
|
||||
method: 'shell.run',
|
||||
params:
|
||||
{
|
||||
message: 'pip install tensorrt==10.4.0 --extra-index-url https://pypi.nvidia.com',
|
||||
message:
|
||||
[
|
||||
'conda install conda-forge::cuda-runtime=12.4.1 cudnn=9.2.1.18 --yes',
|
||||
'pip install tensorrt==10.4.0 --extra-index-url https://pypi.nvidia.com'
|
||||
],
|
||||
conda:
|
||||
{
|
||||
path: path.resolve(__dirname, '.env')
|
||||
|
||||
Reference in New Issue
Block a user