函数计算FC这个问题怎么解决?函数配置里GPU 卡型是Tesla 系列 T4 卡型, 规格方案 GPU 16 GB , 新运行函数后,阿里控制台的“监控指标”的“GPU显存使用情况(MB)”显存限额只有4096MB, 代码出错CUDA的OOM如下:RuntimeError: CUDA out of memory. Tried to allocate 7.50 GiB (GPU 0; 3.75 GiB total capacity; 7.50 GiB already allocated; 3.75 GiB free; 7.52 GiB reserved in total by PyTorch)
里面查询显卡信息也只有4G显存
Sat Mar 23 17:57:31 2024
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.129.03 Driver Version: 535.129.03 CUDA Version: 12.3 |
|-----------------------------------------+----------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+======================+======================|
| 0 Tesla T4 On | 00000000:00:07.0 Off | 0 |
| N/A 33C P8 12W / 70W | 0MiB / 3840MiB | 0% Default |
| | | N/A |
+-----------------------------------------+----------------------+----------------------+
+---------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=======================================================================================|
| No running processes found |
+---------------------------------------------------------------------------------------+
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。