mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-16 21:28:24 +03:00
Include compatibility env vars for 680M and 780M APUs
This commit is contained in:
parent
7c5cbbf822
commit
5d1bcdfea8
@ -85,10 +85,18 @@ def apply_amd_compatibility_env_vars():
|
|||||||
logger.info(f"Setting AMD environment variables for {gfx_id} compatibility...")
|
logger.info(f"Setting AMD environment variables for {gfx_id} compatibility...")
|
||||||
|
|
||||||
configs = {
|
configs = {
|
||||||
("gfx902", "gfx909", "gfx90c"): {
|
("gfx902", "gfx909", "gfx90c", "gfx1035", "gfx1103"): {
|
||||||
"HSA_ENABLE_SDMA": "0", # Disable System Direct Memory Access for APU compatibility
|
"HSA_ENABLE_SDMA": "0", # Disable System Direct Memory Access for APU compatibility
|
||||||
"HSA_OVERRIDE_GFX_VERSION": "9.0.0", # Force compatible GFX version
|
|
||||||
"MIGRAPHX_DISABLE_MIOPEN_FUSION": "1", # Disable unsupported fusion optimization
|
"MIGRAPHX_DISABLE_MIOPEN_FUSION": "1", # Disable unsupported fusion optimization
|
||||||
|
},
|
||||||
|
("gfx902", "gfx909", "gfx90c"): { # Vega
|
||||||
|
"HSA_OVERRIDE_GFX_VERSION": "9.0.0", # Force compatible GFX version
|
||||||
|
},
|
||||||
|
("gfx1035"): { # 680M
|
||||||
|
"HSA_OVERRIDE_GFX_VERSION": "10.3.0", # Force compatible GFX version
|
||||||
|
},
|
||||||
|
("gfx1103"): { # 780M
|
||||||
|
"HSA_OVERRIDE_GFX_VERSION": "11.0.0", # Force compatible GFX version
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for gfx_ids, vars in configs.items():
|
for gfx_ids, vars in configs.items():
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user