mirror of
https://github.com/turboderp-org/exllamav3.git
synced 2026-04-20 14:29:51 +00:00
Merge pull request #3 from async0x42/fix-setup-tools
Fix Issue #2, Error: setup script specifies an absolute path
This commit is contained in:
2
setup.py
2
setup.py
@@ -35,7 +35,7 @@ extra_compile_args = {
|
||||
library_dir = "exllamav3"
|
||||
sources_dir = os.path.join(library_dir, extension_name)
|
||||
sources = [
|
||||
os.path.abspath(os.path.join(root, file))
|
||||
os.path.relpath(os.path.join(root, file), start=os.path.dirname(__file__))
|
||||
for root, _, files in os.walk(sources_dir)
|
||||
for file in files
|
||||
if file.endswith(('.c', '.cpp', '.cu'))
|
||||
|
||||
Reference in New Issue
Block a user