2025-11-27 02:31:15 +08:00
|
|
|
# 运行方式
|
|
|
|
|
|
|
|
|
|
```python
|
|
|
|
|
docker pull git.modelhub.org.cn:9443/enginex-hygon/pytorch:2.1.0-ubuntu20.04-dtk24.04.1-py3.10
|
|
|
|
|
|
|
|
|
|
docker run --shm-size 10g --network=host --name=latte --privileged --device=/dev/kfd --device=/dev/dri --group-add video --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -v /opt/hyhal:/opt/hyhal -v 项目地址(绝对路径):/home/ -it bash
|
|
|
|
|
|
|
|
|
|
pip install -r requirements.txt
|
|
|
|
|
pip install timm --no-deps
|
|
|
|
|
|
|
|
|
|
pip uninstall apex
|
2025-12-01 18:49:32 +08:00
|
|
|
|
2025-11-27 02:31:15 +08:00
|
|
|
```
|