Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Llama3 miner 4bit flag, update requirements, etc #235

Merged
merged 18 commits into from
Jun 5, 2024

Conversation

dbobrenko
Copy link
Collaborator

@dbobrenko dbobrenko commented May 19, 2024

Changes

  1. Add autoawq dependency required to run Llama3 70B AWQ model with miner.
  2. Upgrade transformers to 4.41.1, which is required by autoawq.
  3. Replace HuggingFaceMiner model_kwargs with quant_config, which previously resulted in error:
AttributeError: 'BitsAndBytesConfig' object has no attribute 'get_loading_attributes'
  1. Update miner and validator README with Llama3 requirements.
  2. Increase neuron.llm_max_allowed_memory_in_gb default value from 60 to 62. Default value 60 results in:
ValueError: No available memory for the cache blocks. Try increasing gpu_memory_utilization when initializing the engine.

@dbobrenko dbobrenko changed the title Fix IndexError when hotkey removed, change default max memory Fix IndexError if hotkey removed, change default max memory May 19, 2024
@dbobrenko dbobrenko changed the title Fix IndexError if hotkey removed, change default max memory Fix IndexError if hotkey removed, set default max memory to 62 May 21, 2024
@dbobrenko dbobrenko changed the title Fix IndexError if hotkey removed, set default max memory to 62 Fix IndexError if hotkey removed, set max memory to 62 May 21, 2024
@dbobrenko dbobrenko changed the title Fix IndexError if hotkey removed, set max memory to 62 Fix IndexError if hotkey removed, default max memory 62 May 21, 2024
@dbobrenko dbobrenko self-assigned this May 21, 2024
@dbobrenko dbobrenko requested a review from bkb2135 May 21, 2024 22:45
@dbobrenko dbobrenko changed the title Fix IndexError if hotkey removed, default max memory 62 Fix hotkey IndexError, set default max memory to 62 May 22, 2024
@dbobrenko dbobrenko changed the title Fix hotkey IndexError, set default max memory to 62 Set default max memory to 62, update README May 22, 2024
@dbobrenko dbobrenko requested a review from p-ferreira May 22, 2024 23:53
@dbobrenko dbobrenko changed the title Set default max memory to 62, update README Update miner requirements, update README, etc May 23, 2024
@dbobrenko dbobrenko changed the title Update miner requirements, update README, etc Fix miner llama3 4bit, update README, etc May 23, 2024
@dbobrenko dbobrenko changed the title Fix miner llama3 4bit, update README, etc Fix miner Llama3 4bit flag, update README, etc May 23, 2024
@dbobrenko dbobrenko changed the title Fix miner Llama3 4bit flag, update README, etc Fix Llama3 miner 4bit flag, update README, etc May 23, 2024
@dbobrenko dbobrenko changed the title Fix Llama3 miner 4bit flag, update README, etc Fix Llama3 miner 4bit flag, update requirements, etc May 23, 2024
Copy link
Contributor

@p-ferreira p-ferreira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@p-ferreira p-ferreira merged commit 1be9848 into macrocosm-os:staging Jun 5, 2024
@p-ferreira p-ferreira mentioned this pull request Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants