Код: Выделить всё
cuFFT- ОС: Ubuntu 24.10 x86_64
Хост: G5 5590 < /li>
Ядра: 6.11.0-13-Generic < /li>
CPU: Intel I7-9750HH (12) @ 4,500 ГГц < /li>
GPU: nvidia geforce gtx 1650 Mobile /max-q < /li>
GPU: Intel Coffeelake-H gt2 [UHD Graphics 630 ] < /li>
Python: 3.12.8 < /li>
tensorflow: 2.18.0 < /li>
< /ul>
< P> Методы воспроизведения: < /p>
Свежая установка Ubuntu 24.10 x86_64 < /li>
Установить Anaconda3-2024.10-1-linux- x86_64.sh (последняя версия Anaconda) < /li>
Открытый терминал в каталоге загрузки < /li>
Запустить следующую команду Bash в терминале: < /li>
< /ul>откройте новый терминалКод: Выделить всё
bash ~/Anaconda3-2024.10-1-Linux-x86_64.sh - запустите базу активации conda
< li>запустить conda create --name tf python=3.12.8 - запустить conda active tf
- запустить pip установите 'tensorflow[and-cuda]'
- запустите следующий код Python в терминале:
Код: Выделить всё
python -c "import tensorflow as tf; print(tf.config.list_physical_devices('GPU'))"
Код: Выделить всё
2025-01-23 21:08:06.468437: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:477] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
E0000 00:00:1737659286.484845 763412 cuda_dnn.cc:8310] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
E0000 00:00:1737659286.489647 763412 cuda_blas.cc:1418] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2025-01-23 21:08:06.505984: I tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
[PhysicalDevice(name='/physical_device:GPU:0', device_type='GPU')]
Код: Выделить всё
cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations. To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.Подробнее здесь: https://stackoverflow.com/questions/793 ... porting-it
Мобильная версия