ml-stable-diffusion icon indicating copy to clipboard operation
ml-stable-diffusion copied to clipboard

Getting protobuf spec error

Open f0rodo opened this issue 3 years ago • 4 comments

RuntimeError: Error compiling model: "Error reading protobuf spec. validator error: The model supplied is of version 7, intended for a newer version of Xcode. This version of Xcode supports model version 6 or earlier.".

I am on mac m1 pro

image

f0rodo avatar Dec 02 '22 02:12 f0rodo

Seeing the same error image

sfc-gh-vkrishnamurthy avatar Dec 02 '22 03:12 sfc-gh-vkrishnamurthy

I caught the same error when trying to run the command of Image Generation with Python. I am using macOS 12.6.1

Although there are system requirements in the readme file, but they are in the Image Generation with Swift section, not in the python section.

  • macOS 13 or newer
  • Xcode 14.1 or newer with command line tools installed. Please check developer.apple.com for the latest version.

EnixCoda avatar Dec 02 '22 07:12 EnixCoda

Seems like upgrading to 13.0.1 did the trick

sfc-gh-vkrishnamurthy avatar Dec 02 '22 17:12 sfc-gh-vkrishnamurthy

F@####G Apple, no way to develop without hardware upgrade. (Mac Pro 5.1, Monterey, Vega64).

alessandro893 avatar Dec 03 '22 06:12 alessandro893