File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
StabilityMatrix.Core/Models/Packages Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ IPyInstallationManager pyInstallationManager
2727 "https://github.com/lshqqytiger/ZLUDA/releases/download/rel.5e717459179dc272b7d7d23391f0fad66c7459cf/ZLUDA-nightly-windows-rocm6-amd64.zip" ;
2828
2929 private const string HipSdkExtensionDownloadUrl = "https://cdn.lykos.ai/HIP-SDK-extension.7z" ;
30+ private const string VenvDirectoryName = "venv" ;
3031
3132 private Process ? zludaProcess ;
3233
@@ -202,6 +203,11 @@ private Dictionary<string, string> GetEnvVars(bool isInstall)
202203 [ "GIT" ] = portableGitBin . JoinFile ( "git.exe" ) ,
203204 } ;
204205
206+ if ( isInstall )
207+ {
208+ envVars [ "VIRTUAL_ENV" ] = VenvDirectoryName ;
209+ }
210+
205211 if ( envVars . TryGetValue ( "PATH" , out var pathValue ) )
206212 {
207213 envVars [ "PATH" ] = Compat . GetEnvPathWithExtensions ( hipBinPath , portableGitBin , pathValue ) ;
You can’t perform that action at this time.
0 commit comments