bytedance / bytedance/PXDesign

Share this Install.sh script with peers who are using older Linux systems.

Open
#10 0 comments 0 reactions 1 assignee Claimed by @xinshi-chen View on GitHub
enhancement
Dominant language
Python
Stars
258
Forks
39
PR merge metrics
No merged PRs in 30d

Description

The install.sh script may encounter numerous installation issues if the GPU driver version is not properly compatible. I have made some modifications to make it compatible with more systems:
(1) Upgrade gcc and g++ to version 9 via conda or mamba (maybe micromamba), with proper environment management in place.
(2) Install the Go compiler through conda to avoid the "go not found" error during wandb compilation. But here I actually use the binary version of wandb
(3) Install the NVIDIA toolkit via conda or mamba to adapt to the CUDA version that PXDesign supports; this can be tried if the CUDA driver version is low on some systems.
(4) Configure Tsinghua Open Source Mirror to speed up the download of packages in China.

Currently, the script has been tested successfully on Ubuntu 16 with a 4090 GPU. (This may not be suitable for everyone, but you can try this script if you encounter installation failures.)

[install.sh](https://github.com/user-attachments/files/24297407/install.sh)

--------update--------
I use TRAE to optimize this script, and make it more elegant.

[install.sh](https://github.com/user-attachments/files/24297982/install.sh)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.