Open VincentChen95 opened 2 years ago
my configuration: lightseq 2.1.4 ninja 1.10.2.1 torch 1.7.1 torchaudio 0.7.0a0+a853dff torchvision 0.8.2
+-----------------------------------------------------------------------------+ | NVIDIA-SMI 418.87.01 Driver Version: 418.87.01 CUDA Version: 10.1 | |-------------------------------+----------------------+----------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | |===============================+======================+======================| | 0 Tesla P100-PCIE... Off | 00000000:00:04.0 Off | 0 | | N/A 47C P0 36W / 250W | 0MiB / 16280MiB | 0% Default | +-------------------------------+----------------------+----------------------+ | 1 Tesla P100-PCIE... Off | 00000000:00:05.0 Off | 0 | | N/A 51C P0 38W / 250W | 0MiB / 16280MiB | 0% Default | +-------------------------------+----------------------+----------------------+ | 2 Tesla P100-PCIE... Off | 00000000:00:06.0 Off | 0 | | N/A 47C P0 34W / 250W | 0MiB / 16280MiB | 0% Default | +-------------------------------+----------------------+----------------------+ | 3 Tesla P100-PCIE... Off | 00000000:00:07.0 Off | 0 | | N/A 50C P0 30W / 250W | 0MiB / 16280MiB | 0% Default | +-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+ | Processes: GPU Memory | | GPU PID Type Process name Usage | |=============================================================================| | No running processes found | +-----------------------------------------------------------------------------+
The pre-build pypi version only supports 61 70 and 75 arch. Since p100 is 60, you could change this line https://github.com/bytedance/lightseq/blob/4d370305656fe602f8628fc3bc8aa7b81464075b/CMakeLists.txt#L4 and build from source.
hello @Taka152 thank you for your reply how could i build from source? do you mean that git clone first, make the change, then do "pip install -e ."? thank you
Hello team, I trained a model using the lightseq-train command. Then i converted it to "pb" format. Finally, I run the infer with this code:
Received this error:
could you please help me take a look? thank you!